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
 Paste as Shortcut
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

babakm

58 Posts

Posted - 08/13/2014 :  05:24:49  Show Profile
Paste as Shortcut: Right-click menu then send "S"
I use this:
acSendKeys("+{F10}")
acDelay(500)
acSendKeys("s")


Anybody can show me another command? After use that, my keyboard not work properly!

Edited by - babakm on 08/16/2014 05:31:24

HarryS

11 Posts

Posted - 08/22/2014 :  11:58:57  Show Profile
acSendKeys("{DELAY=50}^v")
Go to Top of Page

babakm

58 Posts

Posted - 08/23/2014 :  09:51:43  Show Profile
acSendKeys("{DELAY=50}^v")

It only paste...do not create shortcut.

It is the code by your definition:
acSendKeys("+{F10}")
acSendKeys("{DELAY=500}s")

Edited by - babakm on 08/23/2014 09:56:34
Go to Top of Page

HarryS

11 Posts

Posted - 08/24/2014 :  10:25:30  Show Profile
Oh, your trying to open a context menu and then hit the key that corresponds to "create shortcut", but what does paste have to do with this?

I tried both your examples, and they work, i need to change the letter to g, because of other language in windows, and my keyboard works as it should, not the most robust way to script, but it does work.
Go to Top of Page

babakm

58 Posts

Posted - 08/25/2014 :  13:23:59  Show Profile
Your command say:
CTRL+V
with delay!
this do the paste function... but i want, after copying a file, paste only the shortcut of file (like the "past shortcut" in context menu).

Edited by - babakm on 08/25/2014 13:25:11
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