Author |
Topic |
|
patrickcas
26 Posts |
Posted - 03/15/2015 : 14:04:23
|
Hi everybody,
I'm new here.
Since I do not have much expertise in PC's, I need your help in order to create a gesture for closing a window of programs (e.g.: VLC, Photoshop,...).
I would like to create a gesture which could close ANY window of ANY programs: I tried to use Windows - Tab/Close but it did not work (but Windows - Minimize works perfectly for both windows of folders and programs).
Any help is much appreciated.
Thanks, and ciao from Italy. |
|
Hax
128 Posts |
Posted - 03/15/2015 : 15:32:58
|
Hi, you can close a program using
acCloseApplication(nil, gsx, gsy)
or
acSendKeys("{DELAY=50}%{F_4}") |
|
|
patrickcas
26 Posts |
Posted - 03/16/2015 : 04:39:20
|
Hax, thank you very much for you kind and fast reply.
I have poor PC knowledge though, so I need more detailed instructions on how to proceed. If you could write how to do that step by step, I would be very gateful.
Thanks, and ciao from Italy. |
|
|
Hax
128 Posts |
Posted - 03/16/2015 : 09:11:43
|
How to create actions: http://www.strokesplus.com/help/#CreatingActions
So create a new action (or use an older one), choose a gesture (or create a new one) and put acCloseApplication(nil, gsx, gsy) under Lua Script:
|
|
|
patrickcas
26 Posts |
Posted - 03/16/2015 : 13:56:02
|
WOW! It works flawlessly!!!
Thank you again! A wonderful program!!!!
Ciao from Italy. |
|
|
|
Topic |
|
|
|