Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I used to be able to edit the Windows Registry to have Styler open as the default program for *.xml/*.dita files. However, since Windows 2007, the registry is has changed, so I can't figure-out how to do this "hack" anymore. So, I have to launch Styler first, then open a *.xml/*.dita file. Has anyone figured out how to set Styler as the default program? (I'm on Arbortext 6.1 if that makes any difference).
Thanks, Todd
Solved! Go to Solution.
Hi Todd
If you create a shortcut to the executable and edit it to use the -styler argument then Styler will start by default from that shortcut...
Simon
Hi Todd
If you create a shortcut to the executable and edit it to use the -styler argument then Styler will start by default from that shortcut...
Simon
I asked PTC support this question 04/22/13 case number is C11336372. If you have both styler and editor installed it will always use styler first as it is the program installed last.
Bryon
You opened case 11336372 with PTC Technical Support on 4/22/2013, with the following description:
“ If you have styler and editor installed, how do you set editor to be the primary program to open in windows 7 insted of Styler.”
The last one that's installed takes over the registry, so if you installed Styler last then Styler will "own" the registry entry for "editor.exe".
Here is a knowledgebase article to help you:
https://www.ptc.com/appserver/cs/view/solution.jsp?n=144503
Sincerely,
Brent Kelly
Second follow up email
You can go to the Editor install path (via a command prompt) and change directories to the "bin" folder and run this command:
editor -UnRegAnyServer
then
editor -RegServer
To try to reclaim the COM registration for Editor. (this way you wouldn't need to deinstall/reinstall).
Thanks,
Brent
Hope this helps.
Bryon
Hi,
I have a similair problem with getting styler to open instead of editor. I need to specifiy the path to Arbortext Styler. The install path is for editor.exe. I'm trying to create a link in our repository to open Arbortext. It works great except the link/URL reference fails when I add -styler to the following path file:///c:/Program Files/PTC/Arbortext Editor/bin/x64/editor.exe -styler. In short, is there a way to open styler from a link/URL path?
If you are using Windchill for content management, you can set the APTOPENINSTYLER environment variable to indicate that Styler should be opened rather than Editor
https://support.ptc.com/help/arbortext/r8.1.2.0/en/#page/admin%2Fadmin%2Fhelp27771.html
This will probably work in any case where you are using the arbortext-editor: protocol to open a document.
--Patti