how to take Screenshot using Tasker? - Tasker Tips & Tricks

Someone please suggest.
I am rooted and have paranoid android 7.1.

Use a Run Shell action with the command:
/system/bin/screencap -p %ScreenShot
Where %ScreenShot is the path and file name to save the screenshot. The file name should have a .png extension. You must have "use root" checked.

ktmom said:
Use a Run Shell action with the command:
/system/bin/screencap -p %ScreenShot
Where %ScreenShot is the path and file name to save the screenshot. The file name should have a .png extension. You must have "use root" checked.
Click to expand...
Click to collapse
Hello
I can't understand this,
"Where %ScreenShot is the path and file name to save the screenshot. The file name should have a .png extension"
I tried adding what I could understand, but it returned some error, please see the screenshots.
Thanks in advance.

Anything that starts with a % is a tasker variable.
You have to create the variable for %ScreenShot. That variable then defines the path with file name. For example:
%ScreenShot = /sdcard/Downloads/Screenshot-%DATE-%TIME.png
The path must already exist, tasker won't create it.
You sound rather new to tasker, maybe reading through [TUT] The Ultimate Noob/Beginners Guide to Tasker will help get your feet under you. ? Some programming knowledge is helpful in understanding how to use this powerful app.

ktmom said:
Anything that starts with a % is a tasker variable.
You have to create the variable for %ScreenShot. That variable then defines the path with file name. For example:
%ScreenShot = /sdcard/Downloads/Screenshot-%DATE-%TIME.png
The path must already exist, tasker won't create it.
You sound rather new to tasker, maybe reading through [TUT] The Ultimate Noob/Beginners Guide to Tasker will help get your feet under you. ? Some programming knowledge is helpful in understanding how to use this powerful app.
Click to expand...
Click to collapse
Thanks a ton.
I was successfully able to add the action.
But I can't add any profile to long press the home button to execute the action.
Please help again.
And yeah, I would definitely go through that post ?

Sjain11 said:
Thanks a ton.
I was successfully able to add the action.
But I can't add any profile to long press the home button to execute the action.
Please help again.
And yeah, I would definitely go through that post ?
Click to expand...
Click to collapse
I don't think you can do a long press home. Try long press search or use a gesture.

ktmom said:
I don't think you can do a long press home. Try long press search or use a gesture.
Click to expand...
Click to collapse
Thanks again. Long press gesture successfully added.
Can I ask you to help me through a couple of other actions using tasker?
First one I need is showing up the power menu, by some gesture, widget or hardware button. I just can't find this action. And I don't know about that shell scripts at all.

Searching before asking is a good idea. The power menu question has been asked before. And a google search brings up The Beginner’s Guide to Shell Scripting: The Basics amongst others.

Sjain11 said:
Thanks again. Long press gesture successfully added.
Can I ask you to help me through a couple of other actions using tasker?
First one I need is showing up the power menu, by some gesture, widget or hardware button. I just can't find this action. And I don't know about that shell scripts at all.
Click to expand...
Click to collapse
wow lol

Related

create shortcut for wifi.

I have been trying to create a shortcut on my desktop to the Wifi Icon found in the start>Connections>Wi-Fi.
I am just unable to find the exe that does launch the app. I found the one that launches the "Wireless LAN" but the "Wi-Fi" one.
thanx.
this isnt a pocket pc phone forum?... try this: enter to connections window, press right button over the Wi-Fi icon and select send to "desktop (shortcut)"
sorry, this is for my kaiser, so thats why I posted in this forum.
With the "press right button over " did u mean right soft key ?
Download the attached file ,It's what you are looking for If you rename it to Long_Send you can also assign it to send button (that's what I did myself).
hma4 said:
Download the attached file ,It's what you are looking for If you rename it to Long_Send you can also assign it to send button (that's what I did myself).
Click to expand...
Click to collapse
this is exactly what I was looking for.
thanx a lot champ.
hma4 said:
Download the attached file ,It's what you are looking for If you rename it to Long_Send you can also assign it to send button (that's what I did myself).
Click to expand...
Click to collapse
EXELENT!! 10/10

No one seems to have a good answer for this. Can you help?

How can I place a shortcut for a new text message in my HTC Home Plugin menu? I used to have this and when I did a hard reset to my phone it is now gone.
Thanks,
Chris
Start Button> Settings > Today > Items
Click the Messaging box.
This info qualifies as User Interface 101... plz don't ask us to tell you how to use your device in the future. Use the search functions of the site.
If you'd rather use a button, not an icon... try this thread my post on page 4 is just about new txts, but the whole thread is really helpful (if you want to have an icon on the screen to podge with your finger, then dont bother reading it tho)
Nick Collision said:
Start Button> Settings > Today > Items
Click the Messaging box.
This info qualifies as User Interface 101... plz don't ask us to tell you how to use your device in the future. Use the search functions of the site.
Click to expand...
Click to collapse
Actually this is exactly what I don't want. Please read the question more closely so you can try and give a correct answer. I am looking to have one of the 6 icons be a blank text icon. I have had it before so I know it can be done.
Thanks
I dont use the HTC plugin... so i cant give explicit instructions, however - if you can add a shortcut (not an exe unless you can edit the command line) try the link in my previous post. If it doesn't help then i'm afarid i cant help as i've decided that 1 hardware button is better than podging the screen! (although the link will help if you want to add the podge to something like resco today - i'm assuming HTC today is similar.....)
cjk5wf, you can create the shortcut to tmail with the following parameters :
"\Windows\tmail.exe" -service "SMS" -to "" -body" ""

Android vnc server

has anybody seen this?
http://code.google.com/p/android-vnc-server/
It would be nice to make this into a app, I am going to try to do that, how do i use console commands in a app?
Also, Im trying to figure out what all the keymappings are
A-Z:Same
1-9:Same
1-9 Numpad:Unsure
Symbols:Ctrl-Alt-Delete+Letter
Home:Home
Back:Escape
End:End
Menu:F1
Call/Answer:F3
brandon15811 said:
has anybody seen this?
http://code.google.com/p/android-vnc-server/
It would be nice to make this into a app, I am going to try to do that, how do i use console commands in a app?
Also, Im trying to figure out what all the keymappings are
A-Z:Same
1-9:Same
1-9 Numpad:Unsure
Symbols:Ctrl-Alt-Delete+Letter
Home:Home
Back:Escape
End:End
Menu:F1
Click to expand...
Click to collapse
Thanks, bookmarked
Not sure if it's the same thing, but when you mean VNC, do you mean to connect to your computer and control? If so then there already is a VNC server app
Brandon, this might help you: http://forum.xda-developers.com/showthread.php?t=486486
Maisum said:
Not sure if it's the same thing, but when you mean VNC, do you mean to connect to your computer and control? If so then there already is a VNC server app
Click to expand...
Click to collapse
Stop filling up development posts with unintelligent questions. I hope this post will filter this thread from many more meaningless posts.
Thanks Brandon. Had been looking for this for a long time.
Just in case, others run into the same problem I did to get it working,
I first adb pushed it to /sdcard and tried changing the permissions to make it an executable. But chmod does not work on /sdcard.
Finally, I deleted the file from /sdcard and pushed it to /data/local. I was able to chmod 766 there.
Runs well now. Thanks for the keyboard mappings,
Can't yet figure out "Back", "Call" and "Hang Buttons".
Long Press works on the home screen, but not on selected elements.
Also haven't yet figured out how to scroll down a list. eg. in Astro, I can't figure out how to get context popup on a file or how to scroll down to see the next page. "Page Down" and "Down Arrow" keys don't work. The mouse scroll wheel does not work either.
This server is horribly laggy, its good for the first few seconds (with RealVNC, at least) then lags to hell.
@os2baba If your running this on HTC Magic a.k.a T-mobile G1 Back is Esc, Hang is End, but im not sure what Call is
@happyface_0 I will try to compile a new version with a faster refresh rate when i get home from school
EDIT:anybody have any idea how to compile this?
brandon15811 said:
@os2baba If your running this on HTC Magic a.k.a T-mobile G1 Back is Esc, Hang is End, but im not sure what Call is
@happyface_0 I will try to compile a new version with a faster refresh rate when i get home from school
EDIT:anybody have any idea how to compile this?
Click to expand...
Click to collapse
./configure
make
thanks for the info
In the main directory there is a android.mk, i have no idea how to use that
This is great, got it working but cant interact with it from my computer
any help?
Try this:
http : / / onaips.blogspot.com/2010/06/android-vnc-server-02.html

Help with anycut or bettercut

Need help creating these shortcuts with bettercut or anycut in the make your own section can anyone help??? thanks J
# Settings > Applications > Manage Applications > Browser > Clear caches
# Settings > Applications > Manage Applications > Streetview > Clear Data
menu for make your own in bettercut
here is the settings menu for make your own. what the hell do i put in here?
ACTION (what do i put here)
DATA (what do i put here)
TYPE (what do i put here)
thanks for the help guys......JH
Really nobody? I've tried everything sad. I just want one to clear caches with a touch of a button without getting a root only app or having to go into applications in the setting menu to access net to do this. Doesn't anyone use this app? What short cuts can you makee work?
Hey, you are not alone.....
blackerwater said:
Really nobody? I've tried everything sad. I just want one to clear caches with a touch of a button without getting a root only app or having to go into applications in the setting menu to access net to do this. Doesn't anyone use this app? What short cuts can you makee work?
Click to expand...
Click to collapse
I am having exactly the same problem. Nobody seems to care about this app or to make it work, everybody will rather download another app from market that does the same thing this app can do.
The support from the dev is also non-existing. They send you to a page that is the most basic in describing what to do with these fields, useless.
Good luck trying to reach then via email - I have confronted them that I want a refund due to the lack of support on this, but they just ignore me.
What I want is way to create the "sync now" function, but have finally given up on that too.
Either nobody with brains use this app, or those that do, only use it for basic stuff and have no intention to 'create their own' shortcuts.
If you find anything more out or get a solution, please let me know and I'll do the same.
Bert
For sync now, I just download a curvefish sync widget and tap it twice, once to disable, then once to enable sync. Starts syncing right away.
This is just some of the stuff Ive found for it.
http://developer.android.com/reference/android/content/Intent.html
in the action section of the anycut thing you type this:
android.intent.action.VIEW (This is if you wanna view something)
android.intent.action.EDIT (If you want to edit something)
android.intent.action.INSERT (If you want to insert something)
Thats all i know so far.
I made an that dials voicemail. Pretty cool.
Ok so so far this is what i got.
To make contacts shortcut:
Action: android.intent.action.VIEW
Data: content://contacts/people
Leave type blank.
To Make a Direct Call Shortcut:
Action: android.intent.action.DIAL
Data: content://contacts/people/(Here goes the number defined to the specific contact ex: For me when i put "1" after people/, it sends me straight to my dad's phone number and I can just press the call button and it will start the call)
Leave type blank
To Make a Direct Song Shortcut:
Action: android.intent.action.VIEW
Data: content://media/external/audio/media/(The same thing applies as for the Direct Call shortcut)
leave type blank
Hope this helps alittle.
nice
Macrophage001 said:
This is just some of the stuff Ive found for it.
http://developer.android.com/reference/android/content/Intent.html
in the action section of the anycut thing you type this:
android.intent.action.VIEW (This is if you wanna view something)
android.intent.action.EDIT (If you want to edit something)
android.intent.action.INSERT (If you want to insert something)
Thats all i know so far.
I made an that dials voicemail. Pretty cool.
Ok so so far this is what i got.
To make contacts shortcut:
Action: android.intent.action.VIEW
Data: content://contacts/people
Leave type blank.
To Make a Direct Call Shortcut:
Action: android.intent.action.DIAL
Data: content://contacts/people/(Here goes the number defined to the specific contact ex: For me when i put "1" after people/, it sends me straight to my dad's phone number and I can just press the call button and it will start the call)
Leave type blank
To Make a Direct Song Shortcut:
Action: android.intent.action.VIEW
Data: content://media/external/audio/media/(The same thing applies as for the Direct Call shortcut)
leave type blank
Hope this helps alittle.
Click to expand...
Click to collapse
this is great that's a couple things we can do . To bad we don't have a resource for this because it would bypass alot of apps that cost money.....
blackerwater said:
this is great that's a couple things we can do . To bad we don't have a resource for this because it would bypass alot of apps that cost money.....
Click to expand...
Click to collapse
agreed. I made a thread on here though where if any one else finds a way to make a shortcut they could post it on there.
Question about creating shortcuts with BetterCut
I would like to create two shortcuts using BetterCut or any other app that go to missed calls and received messages.
Is it possible?
well having used anycut many times. is there a way to get and receive/send pic mes.
Does anyone know the Data and type to create a shortcut that will clear all notifications in 1 click please? thnx

[Q][DEV]Remapping G button to action?

Hi guys.
I have a question. How (if it's even possible) can i assign any action to G buttonn. For example: i want to record voice thru Easy audio recorder free, just by pressing the G button, and then stop recording by pressing it again, just like with the widget. Please help, cause it's werry important for me. Thanks.
Edit: now i noticed there is similar thread, but not for specific action, only for camera or screen on/off.
Send from LG-P970 via Tapatalk 2
the related file is located at /system/usr/keylayout/TWL4030_Keypad.kl
it's the "key 95"
I don't know extended cmds (for launching external apps etc...), so my help will over here
Well...
Ilko said:
the related file is located at /system/usr/keylayout/TWL4030_Keypad.kl
it's the "key 95"
I don't know extended cmds (for launching external apps etc...), so my help will over here
Click to expand...
Click to collapse
Well yes, that's what i knew. It was in the other giudes and threads. I've alredy done it. But the point is, how to tell android that he have to do this and then do this...
This is question for devs, cause i dont know if it's even possible. But maybe, when a look at the lines, there are (IMO) in some of them multiple commands like
Code:
key 259 TESTMODE_UNLOCK WAKE
It's also at vole buttons, they have thiers volume functions and also wake functions (if it's enabled in system settings i think)...
I'll take a look at this and tell u what i found
Edit: Well, i found this guide -> How to Remap Hardkey Actions || Custom App Launching
Down there is some idea that should be tested, it's good for start. But (if i got it right) this metod need compiling from source, and that is over my abillities :/ ... now. Is here someone who can test it? it will b nice make this work
Sorry for my bad english

Categories

Resources