StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mesersmith  
#1 Posted : Thursday, November 3, 2022 9:38:46 AM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
I tried to migrate to this new SP, but many commands that work great in old sp, not work well or at all in new SP.
Close window, Close application, copy, paste amd many more.
What can I do?
Rob  
#2 Posted : Thursday, November 3, 2022 12:29:19 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
What do you mean they don't work?

I use all of these functions every day, as do many others.

Or do you mean old scripts that don't work, since the language/syntax is different?
mesersmith  
#3 Posted : Thursday, November 3, 2022 12:40:24 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
For paste but with clipboard menu from win11, in old sp i use acSendKeys("@v"), in new Sp I use:

// Send the CTRL+V keystroke
sp.SendKeys("@v")


And appear right click menu instead of clipboard menu.
Rob  
#4 Posted : Thursday, November 3, 2022 1:07:03 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
The SendKeys function in the new S+ uses Microsoft's SendKeys method which doesn't support the Windows key.

The easiest way to handle hotkeys is to click the Insert Hotkey button above the script editor, then you press whatever combination you want and click Ok.

For example, pressing Win+V will insert this script:
Code:
sp.SendModifiedVKeys([vk.LWIN], [vk.VK_V]);


mesersmith  
#5 Posted : Thursday, November 3, 2022 1:22:33 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
I have to just put this script and set the gesture? Or I have to set key stroke as well?
Because just with this script does not work.
mesersmith  
#6 Posted : Thursday, November 3, 2022 1:26:48 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
Something's wrong.
From 10 times, it works 2 times.
I don't know why it work only sometimes.
On the same pc, with ols SP works great.
Rob  
#7 Posted : Thursday, November 3, 2022 1:30:22 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
What do you have this associated with?
Just a standard gesture?
Do you have any modifiers?
mesersmith  
#8 Posted : Thursday, November 3, 2022 2:01:27 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
No modifiers, no nothing, just one standard gesture, V
mesersmith  
#9 Posted : Thursday, November 3, 2022 2:44:20 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
I did observe something: when i make a gesture, any gesture, in bottom of the screen appear Global Action:Copy or whatever gesture i make.
When I make V gesture, it appears nothing on the screen.
Rob  
#10 Posted : Thursday, November 3, 2022 3:49:09 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
You may need to delete and retrain the V gesture, perhaps it is not being recognized.
mesersmith  
#11 Posted : Thursday, November 3, 2022 4:41:16 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
I did, but no results.
But I see something else, something very weird.
If the angle of the V is small, it works, if it is large, don't work.
Thant means the shape of the V gesture means a lot and it shouldn't.
In old sp my V gesture was not so good from one drawing to another.

Do you have any idea why the shape of the V gesture means so much?
Rob  
#12 Posted : Thursday, November 3, 2022 4:59:06 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
If you enter training mode (tray icon menu, or middle-click tray icon) and draw the V gesture, you can see what S+ think it's matching. Click Cancel each time for now, as you're just trying to see what's matching.

Odds are it's matching on the Down Up gesture since it's very similar to V.

Once you see which ones keep getting matched, it should help determine what needs to happen. For example, if you don't use Down Up, deleting that one may make a big difference.
thanks 1 user thanked Rob for this useful post.
mesersmith on 11/4/2022(UTC)
mesersmith  
#13 Posted : Thursday, November 3, 2022 5:03:43 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
Thank you for all your answer.
I'll do exactly that tomorrow.
mesersmith  
#14 Posted : Friday, November 4, 2022 6:50:44 AM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
i did what you said and in training mode, anytime I make V gesture, it returns V+Wheel gesture, wich is for volume up and doun. But I don't understand why.
V+wheel is another gesture and is a V gesture and movement of the wheel.
mesersmith  
#15 Posted : Friday, November 4, 2022 12:38:27 PM(UTC)
mesersmith

Rank: Member

Reputation:

Groups: Approved
Joined: 2/8/2022(UTC)
Posts: 18
Romania
Location: calarasi

Thanks: 2 times
I deleted all the gestures that somehow resembled V. Now it seems to be ok. Air up-down vertically, up-down diagonally, V+wheel, etc
I move on to the next gesture with problems and if I don't succeed, I write to you.
I absolutely have to switch to this new SP, because there is no support for the old one.
Thank you very much.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.