Pages

19.12.14

Change EASILY the default program (and other actions) when opening a file

This is a quick post in which I will simply describe my problem and the wonderful solution I found: -I needed to open two .tex files, and I use TexStudio as my default editor (so far it's the best editor I know).
However, TexStudio's default behavior is to open just ONE INSTANCE of the program and load all the files I open on that same instance.
If I want to open a new instance, I found a I nice solution here:
http://tex.stackexchange.com/questions/123660/start-texstudio-portable-in-multiple-instances

Simply go to my direct link access to TexStudio's link icon and add at the end of the target field (i.e. after "(path)\texstudio.exe" to:

" --start-always "%1"
That way, everytime you open Texstudio from this link, you'll open a new instance.
However, if you want to open a new instance everytime you open a .tex file, apparently the best solution is to download this beautiful program:

http://defaultprogramseditor.com/

which allows you to easily change the behavior of your default opening programs. For example:

(I learned this trick from here: http://superuser.com/questions/136133/how-do-i-set-advanced-file-associations-in-windows-7)

And that's all for today.




No comments:

Post a Comment