| View previous topic :: View next topic |
| Author |
Message |
agent.2020
Joined: 30 Sep 2008 Posts: 1
|
Posted: Tue Sep 30, 2008 2:42 pm Post subject: Open With Shortcut |
|
|
hi guys,
Is there a way to write a script to open a file with say adobe photoshop?
is it something like photoshop.exe -filename.pdf
thanks,
jeff. |
|
| Back to top |
|
 |
kidmar
Joined: 04 Oct 2007 Posts: 30
|
Posted: Tue Sep 30, 2008 2:59 pm Post subject: |
|
|
IE for notepad:
| Code: |
Run, Notepad.exe sth.txt
|
If it doesn't work for Photoshop try going to a folder, click on Tools, Folder options, File types. Now go to a file extension usually opened by Photoshop, select it and click on Advanced.
Select the "open" event and click on modify. Here you can find how Photoshop wants to be called to open a file. |
|
| Back to top |
|
 |
Sivvy
Joined: 21 Jul 2008 Posts: 711 Location: Calgary, AB, Canada
|
Posted: Tue Sep 30, 2008 3:11 pm Post subject: |
|
|
| Code: | | Run, Notepad.exe sth.txt |
Notepad works like that because it's in a system path. For PhotoShop, you will need to put the path to the exe, and then the path to the file to open.
| Code: | | Run, c:\MyFolder\Adobe\PhotoShop.exe c:\MyFolder\MySavedStuff\CurrentProjectname.WhateverPhotoShopExtensionIs |
Replace the path and names/extensions with whatever yours are. |
|
| Back to top |
|
 |
|