I have a file selected and then I do a sort and the file naturally changes position.
Is there a scripting command to quickly show the selected file in its new position?
Viewing a selected file
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Viewing a selected file
There's actually two commands that you might find helpful in this situation.
#1012 Miscellaneous | Focus Functions | Move Focused Item Into View (Shift+Alt+F6)
#1049 Miscellaneous | Focus Functions | View First Selected Item
You can either call them in a script with the command IDs or assign them keyboard shortcuts. For #1012 the default is Shift+Alt+F6.
#1012 Miscellaneous | Focus Functions | Move Focused Item Into View (Shift+Alt+F6)
#1049 Miscellaneous | Focus Functions | View First Selected Item
You can either call them in a script with the command IDs or assign them keyboard shortcuts. For #1012 the default is Shift+Alt+F6.
-
mrbosco
- Posts: 141
- Joined: 03 Sep 2011 09:40
Re: Viewing a selected file
Perfect! Thanks for the speedy response!
-
mrbosco
- Posts: 141
- Joined: 03 Sep 2011 09:40
Re: Viewing a selected file
Out of curiosity, where was this information about miscellaneous commands in the help documentation?
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Viewing a selected file
There isnt a comprehensive documentation for each and every menu item.mrbosco wrote:Out of curiosity, where was this information about miscellaneous commands in the help documentation?
However try searching in one of these very useful jump lists:
- Help | List all Commands...
Tools | Configuration and button "Jump to Setting..."
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Viewing a selected file
Just to add... In case you were not aware every menu item can be assigned a keyboard shortcut. In addition, there's a number of miscellaneous commands available in the Customize Keyboard Shortcuts dialog which aren't (easily) accessible through the GUI but can be assigned shortcuts.serendipity wrote:There isnt a comprehensive documentation for each and every menu item.mrbosco wrote:Out of curiosity, where was this information about miscellaneous commands in the help documentation?
However try searching in one of these very useful jump lists:If that fails to return anything useful, ask here in the forum.
- Help | List all Commands...
Tools | Configuration and button "Jump to Setting..."
All of these commands in the Shortcuts dialog are what make up the contents of the List all Commands dialog, and the category information shown here (Miscellaneous, Focus Functions) describe how to find them.
Further, if you look up the commands in the Customize Keyboard Shortcuts dialog you'll also find a brief description about what each does - for some this is the extent of their documentation.
-
admin
- Site Admin
- Posts: 66374
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Viewing a selected file
It will stay within the shown part of the list if you tick Configuration | Sort and Rename | Sort | Keep focused item in view after resorting.mrbosco wrote:I have a file selected and then I do a sort and the file naturally changes position.
FAQ | XY News RSS | XY X
XYplorer Beta Club