StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
 All Forums
 General Discussion
 General Discussion
 Help with actions

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
kracov Posted - 04/18/2019 : 21:53:21
I'm a new user and I'm trying to add an action. Actually I was trying to edit the Refresh gesture action.
This is what I edited:

-- this code sends the F5 key to refresh the window

acSendKeys("^+r")

Where "^+r" is supposed to be CTRL+SHIFT+R. But it actually disables it. I use it for refreshing gmail in the browser.
9   L A T E S T    R E P L I E S    (Newest First)
Rob Posted - 04/19/2019 : 05:03:55
Ah, that would probably do it too! Glad you got it figured out.
Rob Posted - 04/19/2019 : 05:02:53
Just copy and paste them from above in place of your acSendKeys code. Only copy one set (5 lines) per try, otherwise it would execute all of them. Click Apply or OK then see if the gesture reloads GMail. If not, try the next set of 5 lines.
kracov Posted - 04/19/2019 : 05:02:17
ohh i see. i added a hotkey in the Hotkeys tab that was conflicting with it. i removed it and the gesture works now
kracov Posted - 04/19/2019 : 04:58:55
how do i add those scripts?
Rob Posted - 04/19/2019 : 04:57:16
Did you try any of the three script sets above? The keyboard layout isn't something within StrokePlus, that would be in Windows.
kracov Posted - 04/19/2019 : 04:55:18
i dont know about any of that. what preferences file should i send to you and where?
Rob Posted - 04/19/2019 : 04:52:03
What keyboard layout are you using? Meaning, is it a non-US English layout?

Do any these behave any differently?
acSendControlDown()
acSendShiftDown()
acSendKeys("r")
acSendShiftUp()
acSendControlUp()

OR

acSendKeyDown(162)  --Left Control
acSendKeyDown(160)  --Left Shift
acSendKeys("r")     --r
acSendKeyUp(160)    --Left Control
acSendKeyUp(162)    --Left Shift

OR

acSendKeyDown(162) --Left Control
acSendKeyDown(160) --Left Shift
acSendKeyDown(82)  --r
acSendKeyUp(82)    --r 
acSendKeyUp(160)   --Left Control
acSendKeyUp(162)   --Left Shift
kracov Posted - 04/19/2019 : 04:37:34
Yeah. The gesture doesn't work. And when I try the keyboard command nothing happens. It's fixed by exiting Strokesplus
Rob Posted - 04/19/2019 : 03:58:01
I just copied and pasted your acSendKeys("^+r") line and tested in GMail, it seems to reload fine for me.

What do you mean when you say "But it actually disables it."?

StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000