• 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
Loading an external image into an image view object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading an external image into an image view object


  • Subject: Loading an external image into an image view object
  • From: Edward Finkler <email@hidden>
  • Date: Wed, 27 Feb 2002 01:09:19 -0500

Working on a project in Applescript Studio, and I'm running into a problem
with the following code:

set image of image view "imagePreview" of window "main" to load image
thisdestination

Where "thisdestination" is the full path to an image file. I get the
following error:

NScannotCreateScriptcommandError (10)

The "Image" example included with AS Studio loads an image that is embedded
in the project... That appears to work fine, but I'm not sure how to get a
file *not* in the project to load. Any ideas?

Thanks,
--
---[Ed]---
i need assertion devils inside my eye won't let up any motion
i need a surgeon devils inside won't cut me any slack
http://www.funkatron.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: string literals passwords in run only applications
  • Next by Date: Read file using delimiter in 1.6
  • Previous by thread: Re: applescript-users digest, Vol 3 #190 - 16 msgs
  • Next by thread: Read file using delimiter in 1.6
  • Index(es):
    • Date
    • Thread