This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

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

 All Forums
 Lua Scripts
 General Action Scripts
 2X CTRL Q
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

babakm

58 Posts

Posted - 04/18/2014 :  11:42:31  Show Profile
I want two time send "CTRL Q" for closing XnView in Full-screen.

acSendControlDown(^Q)
acSendControlDown(^Q)

But it Not work.
Plz Help

Rob

USA
2615 Posts

Posted - 04/18/2014 :  11:46:50  Show Profile  Visit Rob's Homepage
acSendControlDown() does not accept any parameters, it only sends the Control key down message.

You probably want:

acSendKeys("^q")
Go to Top of Page

babakm

58 Posts

Posted - 04/18/2014 :  11:48:38  Show Profile
Ya. but I want to send it two time...

acSendKeys("^q")
acSendKeys("^q")

But it wrk like one time...probably want a delay parameter

Edited by - babakm on 04/18/2014 11:50:56
Go to Top of Page

Rob

USA
2615 Posts

Posted - 04/18/2014 :  11:49:19  Show Profile  Visit Rob's Homepage
acSendKeys("^q")
acSendKeys("^q")

Go to Top of Page

babakm

58 Posts

Posted - 04/18/2014 :  11:52:06  Show Profile
But it work like one time...probably want a delay parameter.
Go to Top of Page

babakm

58 Posts

Posted - 04/18/2014 :  12:02:47  Show Profile
It works
My mistake was incorrect application profile.
Thanks again


Edited by - babakm on 04/18/2014 12:29:29
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000