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

Notification

Icon
Error

Options
Go to last post Go to first unread
davidp  
#1 Posted : Saturday, February 11, 2023 11:55:26 AM(UTC)
davidp

Rank: Newbie

Reputation:

Groups: Approved
Joined: 1/21/2023(UTC)
Posts: 4

Pls write a script to go back and forward in directory opus(popular file manager),the keys I use for them are "[" for back and "]" for forward.
davidp  
#2 Posted : Saturday, February 18, 2023 1:16:22 PM(UTC)
davidp

Rank: Newbie

Reputation:

Groups: Approved
Joined: 1/21/2023(UTC)
Posts: 4

pls answer
randomConstant  
#3 Posted : Sunday, February 19, 2023 4:32:05 AM(UTC)
randomConstant

Rank: Advanced Member

Reputation:

Groups: Translators, Approved
Joined: 7/17/2021(UTC)
Posts: 135

Thanks: 35 times
Was thanked: 18 time(s) in 15 post(s)
Hi

I have only used the following script to navigate back and forth an application so far, it works well on browsers and default file explorer etc. The script is:
Code:
sp.SendVKey(vk.BROWSER_BACK);  // to go back
sp.SendVKey(vk.BROWSER_FORWARD);  // to go forward


As for your requirement, you can use the Insert Hotkey option in the Script section of S+ and write your own key combinations, for [ and ], their key code may depend on your keyboard device, for example my script for [ and ] is:
Code:
sp.SendVKey(vk.OEM_4);  // to simulate pressing [
sp.SendVKey(vk.OEM_6);  // to simulate pressing ]


I suggest you try the Insert Hotkey yourself and see if that works.

I hope this helps.
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.