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

Notification

Icon
Error

Options
Go to last post Go to first unread
sery111  
#1 Posted : Friday, May 5, 2023 8:18:52 AM(UTC)
sery111

Rank: Newbie

Reputation:

Groups: Approved
Joined: 12/29/2021(UTC)
Posts: 9

Is there any script that can achieve such a function :
in windows explorer, if a file is selected ,enter the left arrow key; if no file is selected, return to the upper level folder ?

Edited by user Friday, May 5, 2023 8:20:37 AM(UTC)  | Reason: Not specified

soooulp  
#2 Posted : Saturday, May 6, 2023 3:08:36 AM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Moderators, Approved
Joined: 4/23/2020(UTC)
Posts: 162
China

Thanks: 46 times
Was thanked: 23 time(s) in 17 post(s)
Code:

var files = sp.GetSelectedFilesInExplorer(action.Window.HWnd);
if(files.Length == 1) {
    sp.SendVKey(vk.LEFT);

} else {
    sp.SendModifiedVKeys([vk.LMENU], [vk.LEFT]);

}
sery111  
#3 Posted : Saturday, May 6, 2023 8:49:42 AM(UTC)
sery111

Rank: Newbie

Reputation:

Groups: Approved
Joined: 12/29/2021(UTC)
Posts: 9

Can StrokesPlus do similar thing in other file managers such as "Q-dir"or "winrar" ?
soooulp  
#4 Posted : Monday, May 8, 2023 3:56:14 AM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Moderators, Approved
Joined: 4/23/2020(UTC)
Posts: 162
China

Thanks: 46 times
Was thanked: 23 time(s) in 17 post(s)
It seems unable to get the state when files are selected on "Q-dir" or "WinRAR"
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.