Page 1 of 1

Internal associations

Posted: 2012-01-04, 12:03 UTC
by Cooperdale
Hi, I was wondering about a possible feature: there are files which I sometimes want to open with a software, sometimes with another. Graphic files mostly, I can open them with Irfanview to take a look but sometimes I'll want to edit them with Photoshop.

So, would it be possible to have a togglable feature where you can open a file with the windows associated software with the usual left double click, but you can open it with the TC associated software with a middle double click or something like that? I would find it very useful, maybe it would be for others too.

Posted: 2012-01-04, 12:30 UTC
by theosdikaios
In such cases I use ALT+F3 i.e. "External Viewer" with its "Associations".
E.g. XLS is associated with Excel /r (It opens file read only.)

Posted: 2012-01-04, 23:31 UTC
by Cooperdale
Good idea! It would still be cool to have a way to do this with the mouse, I'm a lazy guy...

Posted: 2012-01-05, 09:57 UTC
by ts4242
You can type * in open field to show a context menu of all programs and choose one.
TC Help wrote:Open
Program used for the 'open' action. This is always the default verb (used when pressing ENTER) for internal associations. You need to put %1 or "%1" (or %2) behind the program name so the file is passed as a parameter. The difference between %1 and %2 only appears when right clicking on multiple files. Choosing an internal command with %1 will open all selected files in separate editors, while %2 will pass them all to the same program. This will of course only work when that editor can accept multiple files as parameters.
There are some special commands defined for internal associations:
* A single asterisk causes a context menu with all other verbs to be shown when you press Enter
** A double asterisk opens the file with the default system association
*verb An asterisk followed by a verb opens the file with the specified system verb (e.g. open)
**ext Use packer plugin defined for extension "ext" to view contents of file

Posted: 2012-01-05, 10:04 UTC
by Cooperdale
Right now I've configured it so the F3 key opens the file with Photoshop and double click with Irfanview, very handy.

Posted: 2012-01-08, 09:26 UTC
by qx87
Also you can put IrfanView and Photoshop icons on button bar and drag'n'drop a file onto either icon to open it with corresponding application.

Posted: 2012-01-08, 09:39 UTC
by Cooperdale
Thanks.