Matt
Tom
Matt
I'm not sure about from a shell script.
Tom
Matt
"alt" key down
"down" key down
"down" key up
"alt" key up
Tom
sendevent /dev/input/event5 1 33 1 sendevent /dev/input/event5 0 0 0 <-- These two lines press "alt" <--- "alt" is still pressed --->
sendevent /dev/input/event5 1 55 1 sendevent /dev/input/event5 0 0 0
sendevent /dev/input/event5 1 55 0 sendevent /dev/input/event5 0 0 0 <-- Press and release down sendevent /dev/input/event5 1 33 0 sendevent /dev/input/event5 0 0 0 <-- These two lines release "alt"
ALT ALT DOWN would be the same as press & hold ALT, press DOWN.
So, you can try:
"alt" key down
"alt" key up
"alt" key down
"alt" key up
"down" key down
"down" key up
Tom
> Some keyboards interpret a double press as a sticky press, so:
>
> ALT ALT DOWN would be the same as press & hold ALT, press DOWN.
That is great info... If that works then maybe it would be possible to get a paste function with the keyboard shortcut ' hold menu + V'
That is probably wishfull thinking but night be worth a shot.... :)
> http://forum.xda-developers.com/showthread.php?p=38072214#post38072214
Thanks GermainZ... I missed this post earlier. Very clear and informative .. your efforts are much appreciated. It would appear that a paste function might very well be possible. I will give a try.. Rich.
> Hope you all out there can use this to write more fantastic tasks!
Would you be willing to paste the task / profile here as a example for others?
Long press on task /profile name / export / export description to clipboard..
It would be very much appreciated ..... Rich...
Test (34)
A1: Open File [ File:%PWallpaperSet Mime Type: ]
A2: Wait [ MS:100 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A3: Run Shell [ Command:input swipe 20 1250 20 50 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A4: Wait [ MS:25 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: Run Shell [ Command:input tap 30 1250 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A6: Wait [ MS:25 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A7: Run Shell [ Command:input tap 520 800 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
You'll see it works VERY well :) .
Thanks for all the great info... I will be using this shortly.... :)
Rich..
>
> I'd be very interested in whether this is possible/succeeds.
Success .... I have posted it in a new topic " How to paste in tasker"
Rich..
There is a tasker action to pull down status bar...
Display / status bar
Rich..
renice -n -10 -p $(pidof net.dinglisch.android.taskerm)
Matt
Matt
I'm running 4.1.1 without root, and can remove my keyguard using this task:
Disable Keyguard (120)
A1: Secure Settings [ Configuration:Clear Password Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
A2: Secure Settings [ Configuration:Keyguard Disabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
A3: Perform Task [ Name:Set Slide_lock ~ enabled Stop:Off Priority:10 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ]
A4: Variable Set [ Name:%Keyguard To:disabled Do Maths:Off Append:Off ]
A5: Zoom State [ Element:Slide Lock Toggle.w / Switcher1 State:2 ]
I don't know if you meant with the latest version of android or something.
Thanks to everyone for all of the assistance provided here. I've learned a new method of input from all of this!I found that Vladamir's method works best. Not only is it EXTREMELY fast (and since I have an S3, it's not an issue whatsoever). I used Tasker's 'Run Shell' action, and put in an 'input swipe <x1> <y1> <x2> <y2>' command to scroll my app's screen to the bottom where the buttons are, and then I used (in another 'Run Shell' action) 'input tap <x> <y>' to hit the appropriate buttons. I put in a couple of very small wait times (25ms) in between taps so that the application had time to respond to the previous tap and bring up the appropriate buttons.This is now working PERFECTLY! I've not automated wallpaper resizing with the help of a 3rd party app that doesn't have Tasker support in it :p .Having said that... there is one thing that I found you will need to do when trying to figure out your screen co-ordinates (for the <x> and <y> numbers above). The easiest way to find out where your buttons are is to go into the 'Developer options' of your phone and turn on 'Show pointer location'. When that is turned on, you can see the X and Y co-ordinates of where your finger is touching the screen. If you point at a button you want to have Tasker click with the 'input tap' command, you can get the X and Y co-ordinate numbers using this, and can then complete your 'input tap <x> <y>' command with the right numbers.
Hope you all out there can use this to write more fantastic tasks!
Thanks again all! :)
I think he's just saying hes shocked lol
Jay M
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
I have tried that. Didn't do anything. I use tasker on a Nexus 7 2nd gen...
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/2_OZM45QzPo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.