Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/05/project-morse-code-translator-v10.html
#project #MorseCodeTranslator
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)
CREDITS
@SmartPhoneLover
VERSION
v1.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)
CREDITS
@SmartPhoneLover
VERSION
v1.0
HASHTAGS LIST OF TASKER PROFILE CENTER CHANNEL
https://t.me/tasker_tpc_channel
Click a hashtag to navigate content...
- SHARES -
#AdGuardToggler #AdvancedPowerMenu #AlwaysOnDisplayToggle #AndroidPieScreenBrightnessWorkaround #AppsCacheCleaner #AppsKeepScreenOn #AutoSwitchKeyboard #BackgroundMusicPlaybackResumeforTwitter #BatteryDesignCapacityChecker #BatteryLevel10 #BatteryMonitor #BitcoinMiningProfitabilityCalculator #BluetoothOn #BTChargerLogReport #BuildpropEditor #CaffeineQSTile #CalendarExpress #CallANumber #CallRecorder #CameraTimestamp #CamScannerAuto #ChangeScreenResolution #CheckAdaptativeBrightness #CheckDeviceOrientation #CheckDeviceOrientationXYZ #CheckInternetAvailability #CheckInternetConnectionType #CheckKeyguardStatus #CheckMobileDataStatus #CheckRadiosSignalStrength #ChessClock #CollectScreenElements #CollectScreenElementsAutoInputUIQuery #ColoredNotes #ColorPickerARGB #ConvertDateTimeFormatIntoEpoch #ConvertFilesToBase64 #CPUStats #CurrentAppActivity #CustomStockNavbar #DeadPixelAnalyzer #DesktopShortcuts #DetectWhenTaskerOpens #DeviceBackupToNAS #DeviceFloatingVolume #DeviceNotchControl #DeviceViewer #DoNotDisturbCallException #EdgeMusicPlayer #EnableSystemScreensaver #EncriptDecryptStringsCipher #Energy3DOverlay #EnergyBar #EvernoteIntents #FilenameChooserforEasyVoiceRecorder #FindMatchingPatternBetweenTwoArrays #FingerprintDemoActions #GetAllAppsInstalledTime #GetAvailableCPUCores #GetLockscreenStatus #GetMinMaxBrightnessLevels #GetMinMaxVolumeSteps #GetMultimediaMetadata #GetPowerampPlaylistDataDB #GrantAccessibilityService #HeadsetButtonHelper #HeartRateCalculator #HeartRateMeter #HexClock #HighTemperatureWarningDevice #HiQMP3RecorderIntents #InformationPresetScreen #IntentsBroadcastMonitor #IntentsCollection #KillBackgroundProcesses #LaunchAppOnGooglePlayStore #LeftRightSpeakerTest #ListenForVolumeChangesDynamically #LockscreenStatusbarLocker #MaterialColorPalette #MaterialDesignRadioButton #MIUIMusicPlayerIntents #MIUIScreenRecorderIntents #MorseCodeTranslator #MusicControl #NavigationButtonsActions #NightClock #OmniaMusicPlayerIntents #OpenAppPermissionsPageInBackground #OpenFileTypesUsingIntents #OpenMultipleWebsitesInDifferentTabs #PerAppDPIChanger #PerAppResolutionChanger #PlaySoundRawExternalOnline #PodcastAddictIntents #PowerampIntents #ProximitySensorWorkaroundRedmiNote7 #QRWiFiConnect #QuickTranslator #RandomDice #RemoveRepeatedElementsFromArray #RerouteAudio #RootChecker #RoundedCorners #SayCurrentOpenedApp #SayWhoIsCallingYou #ScreenAlwaysOnWhenTaskerCoding #ScreenCapture #ScreenRecorder #ScreenshotPlus #SetRandomWallpaperEveryDay #ShellCollection #ShowAppSettings #SideAppsDrawer #SilentVibrateMode #SleepAsAndroidIntents #SleepTracker #SMSParser #SoundMeterRecorder #SpellingCurrentTime #StartPlayingMusicOnBTConnected #StorePicturesIntoDB #StudentClassRecorder #SwitchControl #SwitchDataBTGPSAutomaticallyWhenCharging #SystemLocaleQSTile #TalkingClock #TaskerAppLocker #TaskerBackupsEncryption #TaskerClockScreensaver #TaskerContentViewer #TaskerFingerprintProtection #TaskerKeyboardIssueWorkaround #TaskerProjectsTracker #TaskerScenePositionHelper #TaskerSwitcher #TelegramCleaner #TerminalLog #ToggleAndroidBackgroundProcessLimit #ToggleDNDDuringCall #ToggleDoubleTapToWake #ToggleFlashlight #ToggleImmersiveMode #ToggleLockscreen #TogglePixelStyle #TracksRandomize #TurnOnOffScreenProximitySensor #Vers #VibratorIntensityChanger #WakeOnLANManager #WhatsAppCleaner #WiFiModuleCapabilities #YouTubeSaver
Last Added/Updated (2020-09-06)
#BatteryMonitor
#BitcoinMiningProfitabilityCalculator
#CheckKeyguardStatus
#CPUStats
#DeviceFloatingVolume
#Energy3DOverlay
#GetAllAppsInstalledTime
#GetAvailableCPUCores
#HeadsetButtonHelper
#ListenForVolumeChangesDynamically
#PerAppDPIChanger
#PerAppResolutionChanger
#RerouteAudio
#TaskerClockScreensaver
#TerminalLog
#TogglePixelStyle
- TUTORIALS -
#CustomGrid #HideVoiceDialogAndLongPressedMenuAutoVoice #ImportingXMLTasker #TaskerDualInstanceVMOS
- TASKER DEV ANN -
#JoinAppDev #TaskerDev
https://t.me/tasker_tpc_channel
Click a hashtag to navigate content...
- SHARES -
#AdGuardToggler #AdvancedPowerMenu #AlwaysOnDisplayToggle #AndroidPieScreenBrightnessWorkaround #AppsCacheCleaner #AppsKeepScreenOn #AutoSwitchKeyboard #BackgroundMusicPlaybackResumeforTwitter #BatteryDesignCapacityChecker #BatteryLevel10 #BatteryMonitor #BitcoinMiningProfitabilityCalculator #BluetoothOn #BTChargerLogReport #BuildpropEditor #CaffeineQSTile #CalendarExpress #CallANumber #CallRecorder #CameraTimestamp #CamScannerAuto #ChangeScreenResolution #CheckAdaptativeBrightness #CheckDeviceOrientation #CheckDeviceOrientationXYZ #CheckInternetAvailability #CheckInternetConnectionType #CheckKeyguardStatus #CheckMobileDataStatus #CheckRadiosSignalStrength #ChessClock #CollectScreenElements #CollectScreenElementsAutoInputUIQuery #ColoredNotes #ColorPickerARGB #ConvertDateTimeFormatIntoEpoch #ConvertFilesToBase64 #CPUStats #CurrentAppActivity #CustomStockNavbar #DeadPixelAnalyzer #DesktopShortcuts #DetectWhenTaskerOpens #DeviceBackupToNAS #DeviceFloatingVolume #DeviceNotchControl #DeviceViewer #DoNotDisturbCallException #EdgeMusicPlayer #EnableSystemScreensaver #EncriptDecryptStringsCipher #Energy3DOverlay #EnergyBar #EvernoteIntents #FilenameChooserforEasyVoiceRecorder #FindMatchingPatternBetweenTwoArrays #FingerprintDemoActions #GetAllAppsInstalledTime #GetAvailableCPUCores #GetLockscreenStatus #GetMinMaxBrightnessLevels #GetMinMaxVolumeSteps #GetMultimediaMetadata #GetPowerampPlaylistDataDB #GrantAccessibilityService #HeadsetButtonHelper #HeartRateCalculator #HeartRateMeter #HexClock #HighTemperatureWarningDevice #HiQMP3RecorderIntents #InformationPresetScreen #IntentsBroadcastMonitor #IntentsCollection #KillBackgroundProcesses #LaunchAppOnGooglePlayStore #LeftRightSpeakerTest #ListenForVolumeChangesDynamically #LockscreenStatusbarLocker #MaterialColorPalette #MaterialDesignRadioButton #MIUIMusicPlayerIntents #MIUIScreenRecorderIntents #MorseCodeTranslator #MusicControl #NavigationButtonsActions #NightClock #OmniaMusicPlayerIntents #OpenAppPermissionsPageInBackground #OpenFileTypesUsingIntents #OpenMultipleWebsitesInDifferentTabs #PerAppDPIChanger #PerAppResolutionChanger #PlaySoundRawExternalOnline #PodcastAddictIntents #PowerampIntents #ProximitySensorWorkaroundRedmiNote7 #QRWiFiConnect #QuickTranslator #RandomDice #RemoveRepeatedElementsFromArray #RerouteAudio #RootChecker #RoundedCorners #SayCurrentOpenedApp #SayWhoIsCallingYou #ScreenAlwaysOnWhenTaskerCoding #ScreenCapture #ScreenRecorder #ScreenshotPlus #SetRandomWallpaperEveryDay #ShellCollection #ShowAppSettings #SideAppsDrawer #SilentVibrateMode #SleepAsAndroidIntents #SleepTracker #SMSParser #SoundMeterRecorder #SpellingCurrentTime #StartPlayingMusicOnBTConnected #StorePicturesIntoDB #StudentClassRecorder #SwitchControl #SwitchDataBTGPSAutomaticallyWhenCharging #SystemLocaleQSTile #TalkingClock #TaskerAppLocker #TaskerBackupsEncryption #TaskerClockScreensaver #TaskerContentViewer #TaskerFingerprintProtection #TaskerKeyboardIssueWorkaround #TaskerProjectsTracker #TaskerScenePositionHelper #TaskerSwitcher #TelegramCleaner #TerminalLog #ToggleAndroidBackgroundProcessLimit #ToggleDNDDuringCall #ToggleDoubleTapToWake #ToggleFlashlight #ToggleImmersiveMode #ToggleLockscreen #TogglePixelStyle #TracksRandomize #TurnOnOffScreenProximitySensor #Vers #VibratorIntensityChanger #WakeOnLANManager #WhatsAppCleaner #WiFiModuleCapabilities #YouTubeSaver
Last Added/Updated (2020-09-06)
#BatteryMonitor
#BitcoinMiningProfitabilityCalculator
#CheckKeyguardStatus
#CPUStats
#DeviceFloatingVolume
#Energy3DOverlay
#GetAllAppsInstalledTime
#GetAvailableCPUCores
#HeadsetButtonHelper
#ListenForVolumeChangesDynamically
#PerAppDPIChanger
#PerAppResolutionChanger
#RerouteAudio
#TaskerClockScreensaver
#TerminalLog
#TogglePixelStyle
- TUTORIALS -
#CustomGrid #HideVoiceDialogAndLongPressedMenuAutoVoice #ImportingXMLTasker #TaskerDualInstanceVMOS
- TASKER DEV ANN -
#JoinAppDev #TaskerDev