MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Diana Cassady <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 6 Jan 2006 12:51:52 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Hi. This seems like it should be an incredibly easy thing to do. It  
may just be a communications problem with the client. I don't have  
Photoshop CS, myself. I made a simple applescript for them that  
worked with Photoshop 7 onsite and now they're trying to make it work  
with Photoshop CS, and we're trying to work remotely because they're  
over 100 miles away. All the script needs to do is open a file and  
run some actions, but it's having trouble opening the file. I've  
verified that the filepath is correct and is returned as a string:

set myfile to MountedVolume:Folder:Folder:document.jpg

We've tried:

tell application "Photoshop CS"
open alias myfile
end tell

That's what used to work with Photoshop 7.

I had them remove "alias", then I had them add "file" instead of  
"alias". None of those combinations work.

Does anyone have any other suggestions other than driving 100 miles  
just to get a silly open statement to work? It's one of those  
situations where I think the drive is going to take me about 200  
times longer than solution.

I appreciate any help you can provide.

Thanks!

Warmest Regards,

Diana
[log in to unmask]                 "Will Work for Chocolate"
http://www.vivaladata.com           (and its worth every byte!)

ATOM RSS1 RSS2