Page 1 of 1
Viewing a selected file
Posted: 11 Apr 2013 22:30
by mrbosco
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?
Re: Viewing a selected file
Posted: 11 Apr 2013 22:44
by TheQwerty
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.
Re: Viewing a selected file
Posted: 11 Apr 2013 22:54
by mrbosco
Perfect! Thanks for the speedy response!
Re: Viewing a selected file
Posted: 11 Apr 2013 22:59
by mrbosco
Out of curiosity, where was this information about miscellaneous commands in the help documentation?
Re: Viewing a selected file
Posted: 11 Apr 2013 23:41
by serendipity
mrbosco wrote:Out of curiosity, where was this information about miscellaneous commands in the help documentation?
There isnt a comprehensive documentation for each and every menu item.
However try searching in one of these very useful jump lists:
- Help | List all Commands...
Tools | Configuration and button "Jump to Setting..."
If that fails to return anything useful, ask here in the forum.

Re: Viewing a selected file
Posted: 12 Apr 2013 01:55
by TheQwerty
serendipity wrote:mrbosco wrote:Out of curiosity, where was this information about miscellaneous commands in the help documentation?
There isnt a comprehensive documentation for each and every menu item.
However try searching in one of these very useful jump lists:
- Help | List all Commands...
Tools | Configuration and button "Jump to Setting..."
If that fails to return anything useful, ask here in the forum.

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.
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.

Re: Viewing a selected file
Posted: 12 Apr 2013 16:53
by mrbosco
Thank you!
Re: Viewing a selected file
Posted: 12 Apr 2013 17:32
by admin
mrbosco wrote:I have a file selected and then I do a sort and the file naturally changes position.
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.