StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 Creating a gesture to cycle thru win (i.e Win+Tab)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dukelov3

Singapore
2 Posts

Posted - 08/15/2012 :  12:22:21  Show Profile  Reply with Quote
Hello good people, I need some help.
Cycling through windows (hold Win key + Tab) requires win key to be held down.
I haven't found a solution except using the following combination:
Win key down, keystroke Tab, delay 3000, win key up.

However this combination seems to pose some problems because repeated execution of the action caused strokesplus to crash.

Is there a better solution to be able to execute win key up based on the next left click instead of using delay?
I'm trying to execute the gesture using scroll up modifier.

Thanks a bunch!

Rob

USA
2573 Posts

Posted - 08/15/2012 :  13:14:38  Show Profile  Visit Rob's Homepage  Reply with Quote
Does acNextApplication() not handle your needs?

Not to disregard your actual question, but I'm away from the computer at the moment and can't got anything out.
Go to Top of Page

Rob

USA
2573 Posts

Posted - 08/15/2012 :  16:35:44  Show Profile  Visit Rob's Homepage  Reply with Quote
Also, this command pulls up the Aero 3D task list and lets you click whichever window you want or use the mouse wheel to scroll through. No need to have any delays or send win down calls.

acSendKeys("^@{TAB}") --Send CTRL+WIN+Tab

Again, I may be misinterpreting your objective, so let me know.
Go to Top of Page

Dukelov3

Singapore
2 Posts

Posted - 08/15/2012 :  21:38:05  Show Profile  Reply with Quote
Hello Rob, thanks for the reply. Aero 3D was exactly what I was trying to invoke. Your suggestion of using Ctrl + Win +Tab worked!

Seems like the additional Ctrl key did the magic, it didn't require the Win key to be held down.

Thanks so much and btw, strokesplus is great programme.
Go to Top of Page

Rob

USA
2573 Posts

Posted - 08/15/2012 :  21:56:11  Show Profile  Visit Rob's Homepage  Reply with Quote
Glad to hear, and thanks!
Go to Top of Page

iyhk

8 Posts

Posted - 05/25/2013 :  00:57:09  Show Profile  Reply with Quote
acSendWinDown()
acSendKeys("{tab}")
while true do
if acGetClassName(acGetForegroundWindow(), nil, nil) ~= "Flip 3D" then
acSendWinUp()
break
end
end
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000