On 21-Apr-2009, at 06:45, Step Schwarz wrote:
> tell application "Finder"
>    open document file "Test Movie.jsfl" of folder "Commands" of folder
> "Configuration" of folder "en" of folder "Flash CS3" of folder  
> "Adobe" of
> folder "Application Support" of folder "Library" of folder "step" of  
> folder
> "Users" of startup disk
> end tell
>
> I'm not the best AppleScript writer in the world, so if there's a  
> cleaner
> way to do this, please let me know.

I'd write it like this:

Set thefile to "/Users/step/Library/Application Support/Adobe/Flash  
CS3/en/Configuration/Commands/Test Movie.jsfl"
set myFile to POSIX file theFile
tell application "Finder" to open myFile


-- 
I leave symbols to the symbol-minded  - George Carlin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "supp...@barebones.com" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to