Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/11/profile-start-playing-music-on-bt.html
#profile #StartPlayingMusicOnBTConnected
DESCRIPTION
This profile will allow you to automate music playback when the desired BT device is connected.
Notes:
- I used the Poweramp music player, but you can use your own if you like. To find its itents, go here.
- To set your BT device, edit 'Name' or 'Address' (MAC) from the 'BT Connected' profile settings.
CREDITS
@SmartPhoneLover
VERSION
v1.0
DESCRIPTION
This profile will allow you to automate music playback when the desired BT device is connected.
Notes:
- I used the Poweramp music player, but you can use your own if you like. To find its itents, go here.
- To set your BT device, edit 'Name' or 'Address' (MAC) from the 'BT Connected' profile settings.
CREDITS
@SmartPhoneLover
VERSION
v1.0
#warning #TaskerDev
[HOW-TO] Protip: Create a debug task that you can call from anywhere
It's helpful to create a task such as this one:
Debug (7)
A1: Stop [ With Error:Off Task: ] If [ %Debug !Set ]
A2: Notify [ Title:%par1 Text:%par2 Icon:mw_action_bug_report Number:0 Permanent:Off Priority:5 Repeat Alert:Off LED Colour:Red LED Rate:0 Sound File: Vibration Pattern:0,100,200,200 Category:Debug ] If [ %DebugNotify Set ]
A3: Flash [ Text:%par1
%par2 Long:Off ] If [ %DebugFlash Set ]
Then, from any other task use the Perform Task action to call it and set Parameter 1 and Parameter 2 to the title and text of what you're trying to debug.
The result is something like this: https://youtu.be/z0IuZb8wHbE
Notice how at the top the notification will show the progress of whatever is happening in the following task:
Assistant Command (4)
A1: Voice Command
A2: Perform Task [ Name:Debug Priority:%priority Parameter 1 (%par1):Assistant Parameter 2 (%par2):Opening Return Value Variable: Stop:Off ]
A3: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A4: AutoInput Action [ Configuration:Type: Text
Value: Open explore page
Action : Click Timeout (Seconds):23 ]
A5: Perform Task [ Name:Debug Priority:%priority Parameter 1 (%par1):Assistant Parameter 2 (%par2):clicking Return Value Variable: Stop:Off ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A7: AutoInput Action [ Configuration:Type: Id
Value: com.google.android.googlequicksearchbox:id/opa_hq_content_footer_icon_keyboard
Action : Click Timeout (Seconds):23 ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A9: Perform Task [ Name:Debug Priority:%priority Parameter 1 (%par1):Assistant Parameter 2 (%par2):Writing Return Value Variable: Stop:Off ]
A10: AutoInput Action [ Configuration:Type: Text
Value: Type a message
Action : Click Timeout (Seconds):23 ]
This debugging task also allows you to enable or disable debugging very easily by setting or unsetting the %Debug variable.
You can even just enable or disable debugging via various methods. In this example I allow enabling and disabling of debugging via notifications or flashes by setting/clearing the %DebugNotify or %DebugFlash variables. Since these are normal variables you can even automate them as you wish :)
Import the Debug task here.
Hopefully this'll make debugging in Tasker easier and faster for you! 😁: Keyboard [ Input:write(hello there),Enter Time Between Inputs:500 Don't Restore Keyboard:Off ]
Source: Go!
[HOW-TO] Protip: Create a debug task that you can call from anywhere
It's helpful to create a task such as this one:
Debug (7)
A1: Stop [ With Error:Off Task: ] If [ %Debug !Set ]
A2: Notify [ Title:%par1 Text:%par2 Icon:mw_action_bug_report Number:0 Permanent:Off Priority:5 Repeat Alert:Off LED Colour:Red LED Rate:0 Sound File: Vibration Pattern:0,100,200,200 Category:Debug ] If [ %DebugNotify Set ]
A3: Flash [ Text:%par1
%par2 Long:Off ] If [ %DebugFlash Set ]
Then, from any other task use the Perform Task action to call it and set Parameter 1 and Parameter 2 to the title and text of what you're trying to debug.
The result is something like this: https://youtu.be/z0IuZb8wHbE
Notice how at the top the notification will show the progress of whatever is happening in the following task:
Assistant Command (4)
A1: Voice Command
A2: Perform Task [ Name:Debug Priority:%priority Parameter 1 (%par1):Assistant Parameter 2 (%par2):Opening Return Value Variable: Stop:Off ]
A3: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A4: AutoInput Action [ Configuration:Type: Text
Value: Open explore page
Action : Click Timeout (Seconds):23 ]
A5: Perform Task [ Name:Debug Priority:%priority Parameter 1 (%par1):Assistant Parameter 2 (%par2):clicking Return Value Variable: Stop:Off ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A7: AutoInput Action [ Configuration:Type: Id
Value: com.google.android.googlequicksearchbox:id/opa_hq_content_footer_icon_keyboard
Action : Click Timeout (Seconds):23 ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A9: Perform Task [ Name:Debug Priority:%priority Parameter 1 (%par1):Assistant Parameter 2 (%par2):Writing Return Value Variable: Stop:Off ]
A10: AutoInput Action [ Configuration:Type: Text
Value: Type a message
Action : Click Timeout (Seconds):23 ]
This debugging task also allows you to enable or disable debugging very easily by setting or unsetting the %Debug variable.
You can even just enable or disable debugging via various methods. In this example I allow enabling and disabling of debugging via notifications or flashes by setting/clearing the %DebugNotify or %DebugFlash variables. Since these are normal variables you can even automate them as you wish :)
Import the Debug task here.
Hopefully this'll make debugging in Tasker easier and faster for you! 😁: Keyboard [ Input:write(hello there),Enter Time Between Inputs:500 Don't Restore Keyboard:Off ]
Source: Go!
#profile #NavigationButtonsActions
DESCRIPTION
It will allow you to distinguish what button was pressed, or assign different actions to each button, depending on the time pressed.
This project does not contain predefined actions that execute certain applications, nor does it carry out specific actions. What is included are generic actions as a demonstration, which can then be extrapolated (idea) to other projects.
Notes:
- The project uses the 'Logcat Entry' action, added in Tasker v5.9.beta8.
- To use it just toggle according profile.
- There are several ways to make the profile detect the decided filter: applying regex expressions, filtering by specific words/terms, or searching for matching elements from within the associated task by reading the %(lc_text) var.
- IDs are unique for each device, and also components/services can vary from device to device. Therefore, I recommend you not to take these components/filters that I have used in the profile as them are. If they work, perfect! But if not, you should look for the corresponding ones for your device. But at least you will have a base to start.
- This profile was built based on the Xiaomi Redmi Note 7 device (Xiaomi.eu beta ROM).
- Profiles are bundled in a single project file to make it easier to be imported. So, import it as a project.
CREDITS
@SmartPhoneLover
VERSIONS
v1.0
DESCRIPTION
It will allow you to distinguish what button was pressed, or assign different actions to each button, depending on the time pressed.
This project does not contain predefined actions that execute certain applications, nor does it carry out specific actions. What is included are generic actions as a demonstration, which can then be extrapolated (idea) to other projects.
Notes:
- The project uses the 'Logcat Entry' action, added in Tasker v5.9.beta8.
- To use it just toggle according profile.
- There are several ways to make the profile detect the decided filter: applying regex expressions, filtering by specific words/terms, or searching for matching elements from within the associated task by reading the %(lc_text) var.
- IDs are unique for each device, and also components/services can vary from device to device. Therefore, I recommend you not to take these components/filters that I have used in the profile as them are. If they work, perfect! But if not, you should look for the corresponding ones for your device. But at least you will have a base to start.
- This profile was built based on the Xiaomi Redmi Note 7 device (Xiaomi.eu beta ROM).
- Profiles are bundled in a single project file to make it easier to be imported. So, import it as a project.
CREDITS
@SmartPhoneLover
VERSIONS
v1.0
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/12/task-miui-screen-recorder-intents-v10.html
#task #MIUIScreenRecorderIntents
DESCRIPTION
Intents (broadcast and control) for the MIUI Screen Recorder app, included in all Xiaomi devices.
Notes:
- All is bundled in a single project file, so import it as a prj.
CREDITS
@SmartPhoneLover
VERSION
v1.0
DESCRIPTION
Intents (broadcast and control) for the MIUI Screen Recorder app, included in all Xiaomi devices.
Notes:
- All is bundled in a single project file, so import it as a prj.
CREDITS
@SmartPhoneLover
VERSION
v1.0
#warning #TaskerDev
[HOW-TO] Protip: Have a "One Button" task that does whatever you need the most in any specific situation
I always like to perform tasks in the easiest way possible. This ideally involves not even looking at my phone. For example, I like to simply click on a button on my watch and make Tasker do stuff. There are other kinds of "one button" actions like these like for example:
- Long pressing the volume button
- Double tapping the power button
- Fingerprint unlocking with different fingers
- Tapping the Bixby button
- Holding the Bixby Button
- Navigation Bar Button
- Quick Setting Tile
- Home Screen Shortcut
- Android Wear Watch button (with AutoWear)
All of these are quick and easy to perform and don't require much attention and time.
So why not create a task that runs whenever you do any of these actions (so you don't have to remember which one triggers which) and does something you usually need in that situation?
For example if I click the button on my watch, long press a volume button or unlock my phone with my middle finger:
- when I'm at home
- - if it's morning my phone tells me where I parked my car so I know
- - if it's in the afternoon, my workout app opens
- - If it's in the evening, my lights turn on/off
- - It it's at night my lights dim to a minimum
- - If it's bedtime, my lights turn on for 3 minutes and then turn off so I can get to bed
- when I'm in my car podcasts or music start playing alternatively (I listen to both on different occasions)
- when I'm on my lunch break, podcasts start playing
and all of this with just one single button/action!
If you use my previous protip of using variables for states the task to do this will be very simple too! Check it out:
https://i.imgur.com/ic1JIQZ.png
Basically just have a bunch of If-Elses that for each situation execute different tasks.
This is super convenient to have because you have a button that will do whatever you need the most in any given situation! :)
Let me know what you think!
Source: Go!
[HOW-TO] Protip: Have a "One Button" task that does whatever you need the most in any specific situation
I always like to perform tasks in the easiest way possible. This ideally involves not even looking at my phone. For example, I like to simply click on a button on my watch and make Tasker do stuff. There are other kinds of "one button" actions like these like for example:
- Long pressing the volume button
- Double tapping the power button
- Fingerprint unlocking with different fingers
- Tapping the Bixby button
- Holding the Bixby Button
- Navigation Bar Button
- Quick Setting Tile
- Home Screen Shortcut
- Android Wear Watch button (with AutoWear)
All of these are quick and easy to perform and don't require much attention and time.
So why not create a task that runs whenever you do any of these actions (so you don't have to remember which one triggers which) and does something you usually need in that situation?
For example if I click the button on my watch, long press a volume button or unlock my phone with my middle finger:
- when I'm at home
- - if it's morning my phone tells me where I parked my car so I know
- - if it's in the afternoon, my workout app opens
- - If it's in the evening, my lights turn on/off
- - It it's at night my lights dim to a minimum
- - If it's bedtime, my lights turn on for 3 minutes and then turn off so I can get to bed
- when I'm in my car podcasts or music start playing alternatively (I listen to both on different occasions)
- when I'm on my lunch break, podcasts start playing
and all of this with just one single button/action!
If you use my previous protip of using variables for states the task to do this will be very simple too! Check it out:
https://i.imgur.com/ic1JIQZ.png
Basically just have a bunch of If-Elses that for each situation execute different tasks.
This is super convenient to have because you have a button that will do whatever you need the most in any given situation! :)
Let me know what you think!
Source: Go!
#warning #TaskerDev
[DEV] Tasker 5.9 now rolling out for everyone!
Finally, 5.9 is out! This is a huge release! Some (like me 😁) might event call it the game changer! Check out the release video!
https://www.youtube.com/watch?v=bINUcn0QXvg
Read all about it here: http://bit.ly/tasker5_9
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
Highlights:
- Logcat Entry Event potentially adds thousands of new events to Tasker, like actions for unlocking your phone with different fingers for example!
- AutoAlarm and AutoShortcut's functionalities are now fully integrated into Tasker
- React to Media Buttons
- Faster and more precise location with Get Location v2
- Enable/Disable camera system wide
- App actions with app name (instead of just package name)
- and much MUCH more!
Check out the full changelog here: http://bit.ly/tasker5_9_changelog
It has started to roll out now, so expect to get it in the next 24 hours or so!
Enjoy! :)
Source: Go!
[DEV] Tasker 5.9 now rolling out for everyone!
Finally, 5.9 is out! This is a huge release! Some (like me 😁) might event call it the game changer! Check out the release video!
https://www.youtube.com/watch?v=bINUcn0QXvg
Read all about it here: http://bit.ly/tasker5_9
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
Highlights:
- Logcat Entry Event potentially adds thousands of new events to Tasker, like actions for unlocking your phone with different fingers for example!
- AutoAlarm and AutoShortcut's functionalities are now fully integrated into Tasker
- React to Media Buttons
- Faster and more precise location with Get Location v2
- Enable/Disable camera system wide
- App actions with app name (instead of just package name)
- and much MUCH more!
Check out the full changelog here: http://bit.ly/tasker5_9_changelog
It has started to roll out now, so expect to get it in the next 24 hours or so!
Enjoy! :)
Source: Go!
Forwarded from Tasker | ADVANCED (channel)
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/12/project-current-app-activity-v14.html
#project #CurrentAppActivity
DESCRIPTION
This project will allow you to show the app name, package name and class name of current activity. And in real time!
Notes:
- The project uses the %(WIN) variable, so it requires to have the 'App Check Method' set as 'Accessibility' to work well, if using the root version. (only if launching it from 'Start' task, not applicable with 'Start (loop)')
- If you don't mind switching App Check Method manually every time you want to use the project, it's OK. But, an action is included inside 'Setup' task, that will switch such option automatically for you.
- Logcat Entry profile is set for the non-root version, but you can change the detection method by %(WIN) var if you wish.
- As logcat components and filters may change from device to device, here you have a compatibility list. If you don't find the right for your device, contact us through the TPC chat groups.
CREDITS
@SmartPhoneLover
CHANGELOG
- New: Non-root version. (Tasker v5.9.beta5 needed)
- Other: Optimizations.
VERSION
v1.4
DESCRIPTION
This project will allow you to show the app name, package name and class name of current activity. And in real time!
Notes:
- The project uses the %(WIN) variable, so it requires to have the 'App Check Method' set as 'Accessibility' to work well, if using the root version. (only if launching it from 'Start' task, not applicable with 'Start (loop)')
- If you don't mind switching App Check Method manually every time you want to use the project, it's OK. But, an action is included inside 'Setup' task, that will switch such option automatically for you.
- Logcat Entry profile is set for the non-root version, but you can change the detection method by %(WIN) var if you wish.
- As logcat components and filters may change from device to device, here you have a compatibility list. If you don't find the right for your device, contact us through the TPC chat groups.
CREDITS
@SmartPhoneLover
CHANGELOG
- New: Non-root version. (Tasker v5.9.beta5 needed)
- Other: Optimizations.
VERSION
v1.4
#warning #TaskerDev
[DEV] Tasker 5.9.1 - Fixing some bugs and a couple quick new features
Time for a bugfix beta! If all goes well I'll release this to the public the day after tomorrow (after it's in beta for a day or so).
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
Changelog:
- Added option to automatically follow redirects in the HTTP Request action.
- Added ability to start stop Logcat Entry helper by changing the device's volume
- Changed Shortcut action helper to help you select more types of shortcuts
- Added "Uninstall App" function to the Tasker Function action
- Fixed Compose Email action (and support emails) sometimes not filling out email fields automatically
- Fixed BT Connection state and event not firing sometimes
- Fixed not being able to specify a File name in Google Drive Upload action in some situations
- Fixed Tasker sometimes changing DND mode when user doesn't ask it to.
- Fixed "Variable State" context not memorizing the Invert value
- Fixed copying file with root erroring out even though it copied the file
- Fixed some crashes
Enjoy!
Source: Go!
[DEV] Tasker 5.9.1 - Fixing some bugs and a couple quick new features
Time for a bugfix beta! If all goes well I'll release this to the public the day after tomorrow (after it's in beta for a day or so).
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
Changelog:
- Added option to automatically follow redirects in the HTTP Request action.
- Added ability to start stop Logcat Entry helper by changing the device's volume
- Changed Shortcut action helper to help you select more types of shortcuts
- Added "Uninstall App" function to the Tasker Function action
- Fixed Compose Email action (and support emails) sometimes not filling out email fields automatically
- Fixed BT Connection state and event not firing sometimes
- Fixed not being able to specify a File name in Google Drive Upload action in some situations
- Fixed Tasker sometimes changing DND mode when user doesn't ask it to.
- Fixed "Variable State" context not memorizing the Invert value
- Fixed copying file with root erroring out even though it copied the file
- Fixed some crashes
Enjoy!
Source: Go!
#warning #TaskerDev
[HOW-TO] Live Creations #41 - Custom Mode Controllable By Quick Setting
Hello everyone!
Want to create a special mode in Tasker that can toggle anything you want and control it with a Quick Setting Tile? You've come to the right place! 😁
As a special gift here's this week's Live Creations video for everyone to enjoy: https://www.patreon.com/posts/32495829 (normally it's only available to $5 Patrons)
❄️Enjoy! ❄️
Source: Go!
[HOW-TO] Live Creations #41 - Custom Mode Controllable By Quick Setting
Hello everyone!
Want to create a special mode in Tasker that can toggle anything you want and control it with a Quick Setting Tile? You've come to the right place! 😁
As a special gift here's this week's Live Creations video for everyone to enjoy: https://www.patreon.com/posts/32495829 (normally it's only available to $5 Patrons)
❄️Enjoy! ❄️
Source: Go!
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/12/task-auto-switch-keyboard-v12.html
#task #AutoSwitchKeyboard
DESCRIPTION
Various ways by wich you can select specific keyboard to use, on per-app, or whatever context you want.
Notes:
- Works on root and non-root devices.
CREDITS
@SmartPhoneLover
CHANGELOG
- Fix: Some small configuration errors for default values (plugins).
- Other: Minor changes and UI improvements (labels).
VERSION
v1.2
DESCRIPTION
Various ways by wich you can select specific keyboard to use, on per-app, or whatever context you want.
Notes:
- Works on root and non-root devices.
CREDITS
@SmartPhoneLover
CHANGELOG
- Fix: Some small configuration errors for default values (plugins).
- Other: Minor changes and UI improvements (labels).
VERSION
v1.2
Tasker | ADVANCED (channel)
https://taskerprofilecenter.blogspot.com/2019/12/profile-battery-design-capacity-checker.html
#profile #BatteryDesignCapacityChecker
DESCRIPTION
If you don't know the capacity of your battery, this profile will tell you that. The total detected capacity will be shown in a notification (statusbar) when the phone gets fully charged.
Notes:
- The profile is configured to react when the device is fully charged (specific intent sent), not just when 100% appears.
- The final result in mAh is just approximate, so keep it in mine.
- If the device is rooted, you can get the official value running the following command in a Shell action: 'cat /sys/class/power_supply/battery/charge_full_design'.
CREDITS
@SmartPhoneLover
VERSION
v1.0
DESCRIPTION
If you don't know the capacity of your battery, this profile will tell you that. The total detected capacity will be shown in a notification (statusbar) when the phone gets fully charged.
Notes:
- The profile is configured to react when the device is fully charged (specific intent sent), not just when 100% appears.
- The final result in mAh is just approximate, so keep it in mine.
- If the device is rooted, you can get the official value running the following command in a Shell action: 'cat /sys/class/power_supply/battery/charge_full_design'.
CREDITS
@SmartPhoneLover
VERSION
v1.0