Forwarded from Tasker | TPC (channel)
Morse_Translator__ESP_.prj.xml
65.7 KB
Forwarded from Tasker | TPC (channel)
#project #MorseTranslator
DESCRIPTION
What the current project does?
It was originally designed to only translate plain text (letters and numbers) into morse code. But during these days I managed to add some new features, and also rework all the tasks, and this is what I got: translate text or numbers (+ signs) into morse, and vice versa; encrypt/decrypt both translations (or raw inputs) using Cipher with AES protection (128/192/256bits); merge all the previous existing tasks into a single one (MC - Translator); added some new parameters to control it from a second task (MC - Start); permanent notification with the current status of the task, and a few more things.
How does it work?
First, we need to take a look at the 4 main tasks: 'MT - Start', 'MT - Stop', 'MT - Translator' and 'MT - Key Generator'.
- Start: Here we will have to set every of the available paramaters to pass to the task who really does the job. Them are: Message, where we will write the string (text, numbers, signs); Translation, this will tell Tasker what we want to translate from and to (alpha-morse or morse-alpha), and the available commands are: 'A-M' and 'M-A', respectively; Encryption, with it we can encrypt and decrypt strings, and the args are: '0', 1-KEY', '2-KEY', where (0) means disabled, (1)-KEY is to encrypt, and (2)-KEY decrypts the passed string from 'Message', and where 'KEY' appears we will need to write our own AES key; Interpretation, does the job of playing the translated string into Sound (beeps), Vibration (pattern) and Flashlight (pattern), and to control it: 'S' = sound, 'V' = vibrator, 'L' = flashlight (take into account that morse to alpha will only use Voice to play what we sent to it); Clipboard, it will allow us to automatically copy contents of main task to clipboard, for example useful when we use encrypt feature, because as Morse doesn't recognize capital letters, I had to modify the output string to allow Tasker to understand it and also decrypt it correctly.
- Stop: It just manages all the actions to does just one thing: stop the main task immediately, after pressing on the notification (Processing..., Playing...). So, you can decide, if the message is too long and want to stop Tasker from doing the hard work, just press the notification. Also works while playing the translated string. (you DO NOT HAVE to toggle the associated profile manually, but Tasker will)
- Translator: So here we are with the main task that does the job. I think will better not to explain how it works. Take a look and understand what it does ;) But what I can tell is: A4-A11 stores all the characters and associated morse code for translation, so may have to edit them to fit your requirements.
- Key Generator: This is a stand-alone task to generate our own random keys, to use with Cipher actions. You can decide how long and secure will be the password by choosing from 16, 24 or 32 hardcoded characters (128/192/256bits). But take into account that, first: using encryption will increase the final string lenght to be translated, so if morse is choosed, it will take more time to process if the raw input is too big; and, second: because morse code does not support capital letters, I had to modify the task to tell Tasker where the capital letters are, by adding a sequence of numbers next to the encrypted code, so it can make it insecure, and also will requiere more time to process. (USE ENCRYPTION AT YOUR OWN RISK)
AUTHOR
@SmartPhoneLover
VERSION
1.0
DESCRIPTION
What the current project does?
It was originally designed to only translate plain text (letters and numbers) into morse code. But during these days I managed to add some new features, and also rework all the tasks, and this is what I got: translate text or numbers (+ signs) into morse, and vice versa; encrypt/decrypt both translations (or raw inputs) using Cipher with AES protection (128/192/256bits); merge all the previous existing tasks into a single one (MC - Translator); added some new parameters to control it from a second task (MC - Start); permanent notification with the current status of the task, and a few more things.
How does it work?
First, we need to take a look at the 4 main tasks: 'MT - Start', 'MT - Stop', 'MT - Translator' and 'MT - Key Generator'.
- Start: Here we will have to set every of the available paramaters to pass to the task who really does the job. Them are: Message, where we will write the string (text, numbers, signs); Translation, this will tell Tasker what we want to translate from and to (alpha-morse or morse-alpha), and the available commands are: 'A-M' and 'M-A', respectively; Encryption, with it we can encrypt and decrypt strings, and the args are: '0', 1-KEY', '2-KEY', where (0) means disabled, (1)-KEY is to encrypt, and (2)-KEY decrypts the passed string from 'Message', and where 'KEY' appears we will need to write our own AES key; Interpretation, does the job of playing the translated string into Sound (beeps), Vibration (pattern) and Flashlight (pattern), and to control it: 'S' = sound, 'V' = vibrator, 'L' = flashlight (take into account that morse to alpha will only use Voice to play what we sent to it); Clipboard, it will allow us to automatically copy contents of main task to clipboard, for example useful when we use encrypt feature, because as Morse doesn't recognize capital letters, I had to modify the output string to allow Tasker to understand it and also decrypt it correctly.
- Stop: It just manages all the actions to does just one thing: stop the main task immediately, after pressing on the notification (Processing..., Playing...). So, you can decide, if the message is too long and want to stop Tasker from doing the hard work, just press the notification. Also works while playing the translated string. (you DO NOT HAVE to toggle the associated profile manually, but Tasker will)
- Translator: So here we are with the main task that does the job. I think will better not to explain how it works. Take a look and understand what it does ;) But what I can tell is: A4-A11 stores all the characters and associated morse code for translation, so may have to edit them to fit your requirements.
- Key Generator: This is a stand-alone task to generate our own random keys, to use with Cipher actions. You can decide how long and secure will be the password by choosing from 16, 24 or 32 hardcoded characters (128/192/256bits). But take into account that, first: using encryption will increase the final string lenght to be translated, so if morse is choosed, it will take more time to process if the raw input is too big; and, second: because morse code does not support capital letters, I had to modify the task to tell Tasker where the capital letters are, by adding a sequence of numbers next to the encrypted code, so it can make it insecure, and also will requiere more time to process. (USE ENCRYPTION AT YOUR OWN RISK)
AUTHOR
@SmartPhoneLover
VERSION
1.0
Forwarded from Tasker | TPC (channel)
#task #CollectScreenElementsAutoInputUIQuery
DESCRIPTION
Generates a TXT file with all the shown elements that AutoInput could get on screen, using the UI Query action.
This is the info that the user will get: ids, ids (text), coordinates and package name from the app that AutoInput was collecting data from.
Notes:
- As it is only the task, you may need to link it to a profile (app, sensors, etc…)
AUTHOR
@SmartPhoneLover
VERSION
1.0
DESCRIPTION
Generates a TXT file with all the shown elements that AutoInput could get on screen, using the UI Query action.
This is the info that the user will get: ids, ids (text), coordinates and package name from the app that AutoInput was collecting data from.
Notes:
- As it is only the task, you may need to link it to a profile (app, sensors, etc…)
AUTHOR
@SmartPhoneLover
VERSION
1.0
Forwarded from Tasker | TPC (channel)
Convert_Files_To_Base64.tsk.xml
1.5 KB
Forwarded from Tasker | TPC (channel)
#task #ConvertFilesToBase64
DESCRIPTION
This task allows converting and encoding/decoding any type of file to/from base64, allowing, as an example, to store a "raw" file in a simple variable.
AUTHOR
@SmartPhoneLover
VERSION
1.0
DESCRIPTION
This task allows converting and encoding/decoding any type of file to/from base64, allowing, as an example, to store a "raw" file in a simple variable.
AUTHOR
@SmartPhoneLover
VERSION
1.0
Forwarded from Tasker | TPC (channel)
Encrypt_Strings__cipher_.tsk.xml
4.9 KB
Forwarded from Tasker | TPC (channel)
Decrypt_Strings__cipher_.tsk.xml
3.9 KB
Forwarded from Tasker | TPC (channel)
Key_Generator.tsk.xml
1.4 KB
Forwarded from Tasker | TPC (channel)
#task #EncriptDecryptStringsCipher
DESCRIPTION
With these tasks you can encrypt and decrypt any kind of text you want, using Cipher algorithm.
Notes:
- The ‘Key Generator‘ task generates a 128/192/256 bits key length password (hardcoded), that you will need to use in other tasks (%pass).
AUTHOR
@SmartPhoneLover
VERSION
1.1
CHANGELOG
v1.1
- Solved an important issue that prevented the task to actually encrypt strings.
DESCRIPTION
With these tasks you can encrypt and decrypt any kind of text you want, using Cipher algorithm.
Notes:
- The ‘Key Generator‘ task generates a 128/192/256 bits key length password (hardcoded), that you will need to use in other tasks (%pass).
AUTHOR
@SmartPhoneLover
VERSION
1.1
CHANGELOG
v1.1
- Solved an important issue that prevented the task to actually encrypt strings.
Forwarded from Tasker | TPC (channel)
#task #PlaySoundRawExternalOnline
DESCRIPTION
Here you have various methods by wich you can play sound for whatever the source of the track is: from internal app's resource (/res/raw), Internal/External device's memory, Internet.
AUTHOR
@SmartPhoneLover
VERSION
1.0
DESCRIPTION
Here you have various methods by wich you can play sound for whatever the source of the track is: from internal app's resource (/res/raw), Internal/External device's memory, Internet.
AUTHOR
@SmartPhoneLover
VERSION
1.0
Forwarded from Tasker | TPC (channel)
Tracks_Randomize.tsk.xml
2.9 KB
Forwarded from Tasker | TPC (channel)
#task #TracksRandomize
DESCRIPTION
Track randomization task.
The task automatically and dynamically choose the tracks to be played, and how many of them. It can play only once, and a specific track, or multiple of them and also repeat some.
Notes:
- Adjust A4 with the maximum value of number of tracks you want Tasker to play on every execution.
- Adjust the maximum value for A8/A14 according with the number of tracks available in the dir.
AUTHOR
@SmartPhoneLover
VERSION
1.0
DESCRIPTION
Track randomization task.
The task automatically and dynamically choose the tracks to be played, and how many of them. It can play only once, and a specific track, or multiple of them and also repeat some.
Notes:
- Adjust A4 with the maximum value of number of tracks you want Tasker to play on every execution.
- Adjust the maximum value for A8/A14 according with the number of tracks available in the dir.
AUTHOR
@SmartPhoneLover
VERSION
1.0
Forwarded from Tasker | TPC (channel)
#warning
Hi all,
I recently noticed that there was actually a very similar, if not equal, version of one of my previous recents projects here called 'Battery Monitor', from our buddy @MeloProfessional on his channel (link), known as 'Monitorar Bateria', currently on v3.3.
So, I apologize if someone, including Melo, has thought that the project that was shared on this channel was really a plagiarism, and without references.
I didn't realize about that he already had its own version on his channel, so I just want to clarify that it was just a coincidence.
Hi all,
I recently noticed that there was actually a very similar, if not equal, version of one of my previous recents projects here called 'Battery Monitor', from our buddy @MeloProfessional on his channel (link), known as 'Monitorar Bateria', currently on v3.3.
So, I apologize if someone, including Melo, has thought that the project that was shared on this channel was really a plagiarism, and without references.
I didn't realize about that he already had its own version on his channel, so I just want to clarify that it was just a coincidence.
Forwarded from Tasker | TPC (channel)
Screen_Recorder.prj.xml
274.6 KB
Forwarded from Tasker | TPC (channel)
resources_sc_904780914.zip
1.8 KB