• 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
Re: Image events error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image events error


  • Subject: Re: Image events error
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 15 Mar 2009 18:37:05 -0700


Anyone know what the error " Image Events got an error: Can’t get «class psxf» " means? 

This is what that  part of your script looks like in Script Debuggers with raw syntax showing.

  set imageFile to «class psxf» imageFile


So, it may be a coersion error. What class is imageFile? (alias, posix path, text?)  Here's a few things you may try:


set thisImage to open (POSIX file imageFile as text)

or 
set imageFile to   (POSIX path of imageFile)

set thisImage to open (POSIX file imageFile as text)

HTH,

ES
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Image events error
      • From: Ronan O Ciosoig <email@hidden>
References: 
 >Image events error (From: Ronan O Ciosoig <email@hidden>)

  • Prev by Date: Re: Scripting the Colors palette
  • Next by Date: Re: Image events error
  • Previous by thread: Image events error
  • Next by thread: Re: Image events error
  • Index(es):
    • Date
    • Thread