wait till a button is clickable? (Tasker & TouchTask) - Tasker Tips & Tricks

hey,
i try to make ccleaner a little bit more comfortable with tasker & touchtask.
it works so far, i open ccleaner, tap with the touchtask plug-in the "analyze" button, now the "clean" button is not clickable till the analysis is finished.
now my question: is it possible to determine when the "clean" button is ready to click with touchtasker or any other plug-in??
it would be nice if somebody could help me out, thanks
have a nice day jpm

JPM1042 said:
hey,
i try to make ccleaner a little bit more comfortable with tasker & touchtask.
it works so far, i open ccleaner, tap with the touchtask plug-in the "analyze" button, now the "clean" button is not clickable till the analysis is finished.
now my question: is it possible to determine when the "clean" button is ready to click with touchtasker or any other plug-in??
it would be nice if somebody could help me out, thanks
have a nice day jpm
Click to expand...
Click to collapse
FYI regarding TouchTask......that app is basically a clone of AutoInput. The dev of TouchTask has been more or less hi-jacking many Tasker plug-ins from Joaoapps (developer of Autoinput and moreover the entire AutoApps suite).
I would recommend looking into AutoInput for your task. AutoInput can be set to repeatedly check for when a button is available before actually pressing it. Read the tutorials to familiarize yourself.

Related

BackLight brightness adjust command line utility for Kaiser aka TYTN II

I dunno if I'm only one who has this problem but when I'm occasionally on sun I can't see nothing on my Kaiser and it's really difficult to setup backlight brightness on touchscreen which u can't see.... So I've been looking alot if there is some utility which I can link with button or gesture and I haven't found anything... So I've wrote my own utility. Feel free to use it as well if u find it useful -> http://lobster.ic.cz/?page=bl
is this useful or is there easier way to do that??
Been searching for an app like this for a week.
Works great!
Thanks.
Here's another program that gives you a today plug in for it:
http://forum.xda-developers.com/showthread.php?t=412896
I'll b trying yours tho as I like the idea of UL with icons for up and down
Cheers,
Matthew
I made a cab with this program mapped to the PTT button. I have a AT&T Tilt, Im not sure if your phone has a PTT button or if its called something else or whatever.
With this, just run the cab then I tap the button and it changed the brightness really quickly, no menu or anything, I love it! If I walk out into the sun I just tap the button 3 times and my screen is bright.
Lobsterii, I love this program thanks a ton!
I'm glad that I could helped u out guys... actually there might be more funny stuff possible only if HTC release some documentation on theirs DLL files cos it's pain to guess arguments...
you did it all by guessing? I figured you would have decompiled the dll.
Truly excellent! I have also been looking for something like this for a long time.
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Thanks again for a useful app!
you did it all by guessing? I figured you would have decompiled the dll.
Click to expand...
Click to collapse
I've read some forum where someone pointed out that backlight function should be in some dll by HTC dunno where it was... Then I was googling "dll find export function" and I've found prog "DLL Export Viewer" which can show function names in dll. Unfortunatelly there is generally impossible to find out how many/what arguments the function has. So I've found function name like HTCUtilSetOnBatteryBrightnessLevel and I've simply try prototype int HTCUtilSetOnBatteryBrightnessLevel(int); but it crashed... so I keep going like int HTCUtilSetOnBatteryBrightnessLevel(int*); and it worked... voila...
pudifoot said:
Truly excellent! I have also been looking for something like this for a long time.
Click to expand...
Click to collapse
thx alot...
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Click to expand...
Click to collapse
done. + it's now compiled as an release version so it actually has 50KB less than old version... enjoy it's at the same place instead original files http://www.lobster.3web.cz/bordel/bl/index.htm...
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Thanks for implementing the feature I was looking for. A perfect application - it's small and fast, and it gets the job done with excellence.
Thank you. Works perfectly.
silentanvil said:
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Click to expand...
Click to collapse
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
lobsterii said:
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
Click to expand...
Click to collapse
Awesome! Thanks so much! I've also been looking everywhere for something like this!
Awesome!
Well done! I've been looking for ages for something to do this.
How to use bl02...
Something from lobsterii that helped me:
create link in Total commander (file manager) I think its in options "File -> >>>>> -> Create shortcut" then I have another file bl02.lnk then I open properties of the lnk file, I click tab shortcut and put the text of path into "" and after it I wrote parameters so it looks like
"\Program files\bl\bl02.exe" 1 3 9
OK dumb question and first time posting so don't slaughter me. If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct? Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display? If you get far enough to open the utility then its not that hard to move the brightness up. Sorry for the dumbness of the question.
volleykinginnc said:
If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct?
Click to expand...
Click to collapse
my bl02.exe doesn't put any button anywhere... it's just app which actually toggle brightness. U can try to run it via file explorer it should change brightness...
volleykinginnc said:
Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display?
Click to expand...
Click to collapse
There is plenty of programs to map this app to buttons, finger swipes and some other crazy stuff like voice commands etc.. For example I'm using FTouchFlo (u can use FTouchSl which is easier to configure) and map backlight change for finger swipes... Most easy way is just copy blXX.exe to /Windows/Start Menu/Programs/blxx.exe and then go to Start->Settings->(tab)Personal->Buttons and link it with some buton...
I'm just now at work so have no time for more explanation... but Once I get home I'll create some FAQ at download page cos... cos it'll be easier for all of us
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
volleykinginnc said:
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
Click to expand...
Click to collapse
I'm sure he won't be able to bypass A_C's S2U2, but (assuming you have a Kaiser, you didn't say) if you enable dpad in S2U2 you can always hold your right dpad button to make sure S2U2 is unlocked, even if you can't see the screen, and then hit the button for the "bl02.exe 9" link.
Ha ha...you guys are awesome! Right Dpad enabled and now it works like a charm even in the brightest sun!! Thanks for the great application...makes a big difference in usability.
Some of you experts ought to make a list of these application gems (this program/kaeser tweaks etc) to make it easy for the noobs like me. This is good stuff!!

I find the application

Hello,
I am looking for one small utility.Please can You help me?
If I holded the call button on the top of the screen were circeled name of application to run..Total Commander,Communication manager and if I did unhold the button the application was run.
Do You know name of this utility??
Thank You for help
mdoom said:
Hello,
I am looking for one small utility.Please can You help me?
If I holded the call button on the top of the screen were circeled name of application to run..Total Commander,Communication manager and if I did unhold the button the application was run.
Do You know name of this utility??
Thank You for help
Click to expand...
Click to collapse
I apologize, if English is not your first language, but every time I try to read this, it simply confuses me. You might need to try to reorganize your thoughts before you get a coherent answer.
First, there isn't a call button at the top of any screen I can find. There are call buttons at the bottom of several screens, mostly in the contacts apps. You need to be specific about which screen you are describing.
Total Commander is a third party application that has to be installed by an individual or cooked into a home-made ROM, so its integration into any button combination is automatically suspicious.
It almost sounds like you're talking about the Task Manager, in that you can switch between active programs using that tool. If that's what you were talking about, you should already have it. Go to Start > Settings > System (usually) > Task Manager. It usually has a white icon, and in many home-cooked ROMs there is more than one present. The one you want was written by/for HTC, not by DotFred or anyone else. Click the third tab of this app, and check Enable Quick Menu on Today screen.
Myrddin Wyllt said:
I apologize, if English is not your first language, but every time I try to read this, it simply confuses me. You might need to try to reorganize your thoughts before you get a coherent answer.
First, there isn't a call button at the top of any screen I can find. There are call buttons at the bottom of several screens, mostly in the contacts apps. You need to be specific about which screen you are describing.
Total Commander is a third party application that has to be installed by an individual or cooked into a home-made ROM, so its integration into any button combination is automatically suspicious.
It almost sounds like you're talking about the Task Manager, in that you can switch between active programs using that tool. If that's what you were talking about, you should already have it. Go to Start > Settings > System (usually) > Task Manager. It usually has a white icon, and in many home-cooked ROMs there is more than one present. The one you want was written by/for HTC, not by DotFred or anyone else. Click the third tab of this app, and check Enable Quick Menu on Today screen.
Click to expand...
Click to collapse
I am sorry for my bad english..
I migrated from ProVen Rom to Energy ROM.
In ProVen ROM there was the small utility that name I don't know.
This utility make possible to run whatever application what I want and setting.For example Total commander,Navigation,etc..
Start some application was did holded the call button (hw button for create a call)If I holded this button long time.On the top of the display was circled name of application's.Total commander,Navigation,atc.And if I unholded the call button if on the display was for example Navigation,The Navigation was running.
I missed this utility in Energy ROM.Do You know her name?
Thank You for help.
mdoom said:
I am sorry for my bad english..
I migrated from ProVen Rom to Energy ROM.
In ProVen ROM there was the small utility that name I don't know.
This utility make possible to run whatever application what I want and setting.For example Total commander,Navigation,etc..
Start some application was did holded the call button (hw button for create a call)If I holded this button long time.On the top of the display was circled name of application's.Total commander,Navigation,atc.And if I unholded the call button if on the display was for example Navigation,The Navigation was running.
I missed this utility in Energy ROM.Do You know her name?
Thank You for help.
Click to expand...
Click to collapse
Could it be Hbutton? or MortButtons? Give it a try... one or both.
It is HButton...super.
Thank You very much!!!

looking for a simple button reconfigurator

Hello,
i'm looking for a replacement for AEBplus
I only need a few simple things:
left and right button - should rotate my screen, like it does when i open the keypad
ok button - task manager (or today screen from where i could start the taskmanager)
ok button (long press) - start an application
end call (long press) - lock the device (the you need to enter your password kind of lock)
What program other that AEB can do that and wont use as much CPU resources as AEB does?
you can just go to settings>buttons and assign either keft or right soft key to screen rotate, easiest way IMO
No i cant..there is only the left and right softkey button. Nothing else..and i could not setup a long press this way.
nurps said:
No i cant..there is only the left and right softkey button. Nothing else..and i could not setup a long press this way.
Click to expand...
Click to collapse
x1ButtonMapper, already tried that?
cheers
I use AEButon Plus on my X1a and I am thrilled with it. It doesn't have much (if any) negative effect on performance on mine.
Have you tried it on the X1?
Also for End Key there is a program called "Long Press End Key" I think. It is nice, and cooked into a lot of ROMs.
Hannigan174 said:
I use AEButon Plus on my X1a ...
Have you tried it on the X1?
Click to expand...
Click to collapse
hi m8, he's trying to replace it with an alternative app...as stated in #1
DrakenKorin said:
x1ButtonMapper, already tried that?
cheers
Click to expand...
Click to collapse
Havent tried that yet, can it do what i want?
I guess i could use mortscript for rotation, long press is obviously possible.
But what do i use as fast taskmanager? Can i start the built in taskmanager as application? And what can i use to password lock my device?
Edit: seems i loose the TAB key with X1ButtonMapper and the EndCall button isnt inclueded...thats bad
Is there a way to change some of the keys directly in the registry?
nurps said:
Havent tried that yet, can it do what i want?
I guess i could use mortscript for rotation, long press is obviously possible.
But what do i use as fast taskmanager? Can i start the built in taskmanager as application? And what can i use to password lock my device?
Edit: seems i loose the TAB key with X1ButtonMapper and the EndCall button isnt inclueded...thats bad
Click to expand...
Click to collapse
have a look here, didn't check, just searched (doing your homework btw...)
nurps said:
Is there a way to change some of the keys directly in the registry?
Click to expand...
Click to collapse
advanced config - menu (button) - more settings - key mappings
Mobile Magic doenst support the buttons i need. No longpress for End and no support for the OK button at all..that was the first program i tried.
To bad the options for the End key are grey in Advanced Conifg.
X1BC should allow for a lot more options than mx X1ButtonMapper. I think there is also a second application from the same author called X1BH or something. Check that out.
X1ButtonMapper is pretty lightweight actually. The most overhead involved will be by calling the script functionality but that is done asynchronous, meaning that X1ButtonMapper doesn't wait for the called application or script to finish - it just launches it.
I didn't remap the red and green phone buttons because they can't be easily remapped and I think they are central buttons which should keep their original functionality. I think remapping them will cause more bugs than you will gain functionality. With X1ButtonMapper you already gain enough options for the remaining keys (each with short and long press) which should be enough for most applications. You can also reassign the missing FN+key combos on the keyboard.
I did use the Tab key as Ctrl substitude because I think Tab is not important for Windows Mobile. It is substituted in most dialogs with the right/left keys so use these. You can get the original Tab function when pressing FN+Tab for the few situations where you really need it.
I am using X1ButtonMapper for a long time now and havn't had any stability issues - maybe that's the trade off for having less features.
X1Button manager somehow didnt react to my OK key. I allready have a standalone taskmanager mortscript could run but Ok didnt do anythink. Longpress of the softkeys to rotate the screen worked nicely though.
Longpress delay is a little longer than im used to but that not a big problem.
The longpress of the End key has allready a keylock function as standard setting (wich i find totally stupid because i turn the device of with the switch on top). There must be a registry setting that i could alter so it would run the password lock instead.
I will check into X1BC...
X1BC works thank you...and i like it much more than X1BM because i can setup everything to my likings, longpress timing, vibration on/off and wether i want a Control key replacement.
I could even use the panel key to lock my device if reprogramming of the end key button is not possible.
Does anyone know wich program i have to run to password lock my device? Maybe its possbile with mortscript..i should check that...

The useless "Search" soft key.

Any apps to make it open something else?
Thanks.
there are plenty
quicksettings
quickdesk
handcent sms
are a few off the top of my head
i used to have a bunch more, but i have since uninstalled after trying nearly all the apps i want to try
(these will allow you to launch them by long press. i dont know if you can replace the short press)
Pretty sure short press is not easily changed. With froyo though longpress opens Google voice commands.
Sent from my SAMSUNG-SGH-I897 using XDA App
Nice.
Thank you.
id be interested in a kernel or rom that would allow this to be changed. long press on menu opens search so why a seperate key that can be usefull as something else? can any of those apps change the short press? ive only seen long press on search and on home.
I use visual task switcher and assigned the long press of the search key to bring up a list of currently running apps. Pretty handy.
I installed "screen lock" and assigned it to screen lock to take some stress off the power button.
I don't remember where, but I found a post somewhere on how to change it, short press on mine opens camera.
Button Shortcut in the market.
Sent from my Captivate.
Dani897 said:
id be interested in a kernel or rom that would allow this to be changed. long press on menu opens search so why a seperate key that can be usefull as something else? can any of those apps change the short press? ive only seen long press on search and on home.
Click to expand...
Click to collapse
AReynante said:
I don't remember where, but I found a post somewhere on how to change it, short press on mine opens camera.
Click to expand...
Click to collapse
wow, this is an old thread, for those interested dragon remaps the key as camera launch.
can be done in button remapper. also touch jestures can be mapped as keys in galay tuner.
for people who want to get custom and dont see the otions they want in button remapper, i think the key table is in /system/usr/keylayout/s3c-keypad.kl
this is good for fixing i9000 roms (partially) when no kernel is available for those who want to try samsung gingerbread
I like the long press for google voice search. Thanks for the idea.
If you end up flashing a ROM, CM7 has a way to change the search key in the settings menu
I took a look at the system/usr/keylayout/s3c-keypad.kl file but I'm having trouble figuring it out. Anyone know how to get more info on it? Would love to map QuickDesk to it
Dani897 said:
wow, this is an old thread, for those interested dragon remaps the key as camera launch.
can be done in button remapper. also touch jestures can be mapped as keys in galay tuner.
for people who want to get custom and dont see the otions they want in button remapper, i think the key table is in /system/usr/keylayout/s3c-keypad.kl
this is good for fixing i9000 roms (partially) when no kernel is available for those who want to try samsung gingerbread
Click to expand...
Click to collapse
OK.. I have the issue, seems quite random with the Search button. Am wondering if it is related to moisture from my palm (right-handed)... not sure. Will have to try the rice trick.
Have also taken a look at the remapping option, but don't seem to have write permissions to any of the files, much less, what values to place in the file(s).
Any assistance would be appreciated on teh edit option.
BTW: Captivate with CM7.1 (and a functional GPS after a number of patch/fixes applied)
cm7 has this option.

Reprogramming the Left, AI button for custom actions

I'm not 100% sure this is the right forum, if it's not, some mod feel free to re-categorise it.
For a while I've wanted to assign custom actions to the single button on the left of the device, but the most I was able to find is an Xposed script that runs, and then you use the volume keys to pick a few baked in actions (These didn't work for me in the end anyway).
So I thought I'd post my working solution, note that it uses a paid app, I don't get any kickbacks or anything.
I'm using "Xposed Edge Pro". It has a "Keys" option, which you can add new keys too.
You just click the "add key" button, press the AI button on the left and it recognises it!
From there you can assign things for the button (and any other of the buttons) to do, it supports single click, double click, and click-hold.
I've got mine setup to open a 3rd party camera, and through the "Actions", start recording straight away.
There's a magisk module for this, free of charge.
leledumbo said:
There's a magisk module for this, free of charge.
Click to expand...
Click to collapse
Which one? I believe it's the one I refenced already in my post.
https://forum.xda-developers.com/Mi-9/themes/mod-mi-ai-button-remapper-t3918291/amp/
I choose the do nothing option in magisk and then I use tasker to do what I want
swan11jf said:
https://forum.xda-developers.com/Mi-9/themes/mod-mi-ai-button-remapper-t3918291/amp/
I choose the do nothing option in magisk and then I use tasker to do what I want
Click to expand...
Click to collapse
Unfortunately that did not work for me, it's the one I referenced in my original post. I guess it doesn't work on all devices.
Interesting - on pixel experience plus if that helps with future rom decisions...

Categories

Resources