I think what you want is the AppleScript command 'load image' described
here:
<http://developer.apple.com/documentation/AppleScript/Reference/StudioRefere
nce/sr3_app_suite/chapter_3_section_25.html>
Basically you'll do this:
set image of image view "image1" of window "yourWindowName" to load image
(POSIX path of theimage)
Topher
-----Original Message-----
From: applescript-studio-bounces+tophu=email@hidden
[mailto:applescript-studio-bounces+tophu=email@hidden] On Behalf
Of Pete Kincaid
Sent: Tuesday, July 05, 2005 12:44 PM
To: applescript applescript
Subject: Load image
Hello, another simple question I hope from a applescript studio begginer.
Mac OS 10.3.8
I have a .nib window with a imageview whose name is image1. I have a script
attached to a button that when clicked opens a "choose file" applescript and
sets the result to variable "theimage".
How do I get "theimage" to appear in my imageview window.
P.S. I want the preview of the image not the path to appear in my imageview
window.
Thanks
Pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden
This email sent to email@hidden