This profile scans wifi SSIDs and places the phone in vibrate in an number of situations such as religious centers, schools, theaters, and the like. Of course, it will not help if the location does not have wifi or if the wifi name does not contain a listed keyword, but on balance this profile should reduce the number of embarrassing or annoying disruptions. view | save
Announce Hours
Announce Profiles
Minimalist Cheets
- One-liner to calculate the binary value to toggle, enable, or disable an option via Java Function or Tasker Settings:
-
%val = ceil((abs(%val - 1) + %par(#?1/on/true) - %par(#?0/off/false))/(2+%par(#)))
- %val is the binary value of the current state, if first retrieved. Otherwise, will perform toggle, or will perform absolute stating if passed a parameter
- One-liner to extract a base-12 hour from Tasker’s base-24 %TIME variable:
-
%hour = floor(%TIME) - floor(%TIME/13)*12 + floor(abs(floor(%TIME) - 24)/24)*12
- The first segment extracts the hour by discarding the minutes; the second segment subtracts any p.m. offset (from 13.00 to 23.00); the third segment converts midnight (00:00) to 12.
- One-liner to add arbitrary minutes to Tasker’s base-24 %TIME variable:
-
%future = floor(%TIME) + floor(((%TIME - floor(%TIME))*100 + %mins)/60) - floor((floor(%TIME) + floor(((%TIME - floor(%TIME))*100 + %mins)/60))/24)*24 + (((floor(%TIME)*60 + (%TIME - floor(%TIME))*100 + %mins)) % 60)/100
- To prettify the output, append
+100.001
to the formula and a separate variable search/replace for1(?=\d\d\.)|(?<=\.\d\d)1
which will eliminate the hundred and hundredth, leaving behind the placeholders.
Conserve Data & Battery
This task is extremely useful for prolonging battery life while also conserving data consumption. Aside from activating airplane mode, turning the data connection off is the next best power saver! Users may often find themselves in situations like work or school where a constant data connection serves no purpose and drains the battery. By cycling data usage, battery life can be extended by hours! view | save |more ›
Toggle Always-on Display
ADB Wifi
A windows batch file quickly enables Tasker to unlock all of the ADB wifi commands. Copy/paste these lines and save as “adb.bat”. Run the batch file after connecting Android devices to a windows machine.more ›
Cell Near Context Hack
This “ignore cells” regex will cause the profile to remain active by disregarding building deadspots and transient misreads of tower IDs.
!~R^(\p{L}{3,}:(\d{4,}|\d{3}\.\d{3})\.\d{3,})?(?:\b|$)
Call Rejector & Logger
This profile will automatically reject and log pre-defined callers. Three examples are provided in within its anonymous task: The first demonstrates the format for denying a specific number; the second demonstrates the format for blocking a specific extension (i.e. 222-333-XXXX); the third demonstrates syntax for combining rejection rules (preferable to numerous OR conditions for faster processing). Any blocked numbers are stored in a CSV file on the root directory. view | savemore ›