• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NEWBIE - using filepaths in applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NEWBIE - using filepaths in applescript


  • Subject: NEWBIE - using filepaths in applescript
  • From: Jeff Brown <email@hidden>
  • Date: Mon, 18 Jul 2005 17:12:33 -0700 (PDT)

Hi Guys

For some reason my post to applescript users keeps
getting rejected. Maybe you can help.

I wrote this bit of applescript to run a javascript
but it gives me an error:
File /Applications/Portrait Patch
2/aJBFiles/resizeImagesTest.js does not exist.
But it does exist. What am I doing wrong?


tell application "Adobe Photoshop CS"
	activate
	set scriptFile to {"/Applications/Portrait Patch
2/aJBFiles/resizeImagesTest.js"} as alias
	do javascript scriptFile
end tell

Cheers
Jeff
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NEWBIE - using filepaths in applescript
      • From: Satoshi Matsumoto <email@hidden>
  • Prev by Date: Re: [RESOLVED] [[NSBundle mainBundle] bundlePath] and trailng slashes...
  • Next by Date: Re: NEWBIE - using filepaths in applescript
  • Previous by thread: Re: [[NSBundle mainBundle] bundlePath] and trailng slashes...
  • Next by thread: Re: NEWBIE - using filepaths in applescript
  • Index(es):
    • Date
    • Thread