StrokesPlus.net Forum
»
General Discussion
»
General Discussion
»
Is there any script that can achieve such function?
Rank: Newbie
Groups: Approved
Joined: 12/29/2021(UTC) Posts: 8
|
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
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Approved Joined: 4/23/2020(UTC) Posts: 160  Thanks: 46 times Was thanked: 22 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]);
}
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 12/29/2021(UTC) Posts: 8
|
Can StrokesPlus do similar thing in other file managers such as "Q-dir"or "winrar" ?
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Approved Joined: 4/23/2020(UTC) Posts: 160  Thanks: 46 times Was thanked: 22 time(s) in 17 post(s)
|
It seems unable to get the state when files are selected on "Q-dir" or "WinRAR"
|
|
|
|
StrokesPlus.net Forum
»
General Discussion
»
General Discussion
»
Is there any script that can achieve such function?
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.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close