Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open application script...

Status
Not open for further replies.

emissions

Technical User
Mar 17, 2002
68
GB
I'm currently developing a image archive, with a three tear admin area, in the admin area I have a page which allows you to modify the metadata stored in the image, and a form that deletes the image. Also on this page I'm looking to enable the picture displayed to be edited in photoshop.

Does anyone know how to have script to open that particular image in photoshop, by clicking the image displayed.

Thanks in advanced
 
YOu need to reference the PhotoSHop lib (COM). Then call the Open method of the applicaion object.

or you can pass in the path and name of the file into the system.diagnosics.process.start "photoshop.exe" arguments

and it will launch

or you can

shell "CMD ""photoshop 'C:\Documents and Settings\Administrator.LAT600\My Documents\biker.jpg'"""
 
Okay I think I missed a few details out;

What I'm trying to do is open a jpg image from the browser in photoshop, the image name and extension are contained in a database field... which is displayed as the image on the page, I either want a button or to click the image, and then open it up in photoshop for editing...
 
You cannot do this in ASP. ASP executes strictly on the sewrver, so it cannot interact with applications on the client machine. You may be able to do this with client-side scripting, such as client-side javascript or VBScript. You should probably check those forums.

-T

barcode_1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top