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
 2X CTRL Q
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

babakm

58 Posts

Posted - 04/18/2014 :  11:42:31  Show Profile  Reply with Quote
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
2537 Posts

Posted - 04/18/2014 :  11:46:50  Show Profile  Visit Rob's Homepage  Reply with Quote
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  Reply with Quote
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
2537 Posts

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

Go to Top of Page

babakm

58 Posts

Posted - 04/18/2014 :  11:52:06  Show Profile  Reply with Quote
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  Reply with Quote
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  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000