Can an argument be passed to a prgm on Button Bar?
Moderators: Hacker, petermad, Stefan2, white
Can an argument be passed to a prgm on Button Bar?
I have added a few common applications to the button bar. However, execution of any of those apps (eg: pword, pxl, iexplorer) will launch the app but not load the highlighted file.
Do I need to add an argument to the command line of such apps on the button bar?
If so, what would such an argument be (eg: %1)?
Do I need to add an argument to the command line of such apps on the button bar?
If so, what would such an argument be (eg: %1)?
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, and it's even described in the help. 
Parameter: Parameter(s) passed to the program. Supports the following parameters:
%p Source path
%n Source file name
%t Target path
%m Target file name
? as first item: Show confirmation dialog
So you need to use %p%n

Parameter: Parameter(s) passed to the program. Supports the following parameters:
%p Source path
%n Source file name
%t Target path
%m Target file name
? as first item: Show confirmation dialog
So you need to use %p%n
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Just choose 'Help' from the 'Start menu' of your PocketPC or click the '?' button on a handheld PC to open the TC/CE help file!What help file?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
How do other programs solve this? Should I add a 'Help' menu item to one of the main menus?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Help on menu
I would prefer to see "Help" as an item on the "File" menu. Further, it is customary that "Exit" be at the bottom of the menu. As such, I suggest the "File" menu read:
------------
- Properties
... etc ...
- Find files
------------
- Reload dir
- Help
- Exit
------------
------------
- Properties
... etc ...
- Find files
------------
- Reload dir
- Help
- Exit
------------