(no subject)
(no subject)
- Subject: (no subject)
- From: "Sprague, Graham" <email@hidden>
- Date: Tue, 18 Dec 2001 15:54:38 -0500
Anyone know how to load an image into an image view when the image resides
outside of the project folder? I tried the following but can't seem to get
it to work. I get an error message "NSCannotCreateScriptCommandError (10)".
on clicked theObject
tell application "Finder"
set theImage to "Macintosh HD:80g3.jpg"
end tell
set skuNumber to contents of text field "sku" of window "imagefinder"
set image of image view "image" of window "imagefinder" to load image
theImage
set contents of text field "imagename" of window "imagefinder" to skuNumber
as string
end clicked
Thanks,
Graham Sprague