[Q] Problem in loading an image
[Q] Problem in loading an image
- Subject: [Q] Problem in loading an image
- From: JongAm Park <email@hidden>
- Date: Sat, 30 Sep 2006 07:48:17 -0700
Hello.
I ran into this weird problem
set YouTubeIcon to load image "YouTubeVideo"
display dialog ((class of (load image "YouTubeVideo")) as
string) & " " & (class of YouTubeIcon) as string
-- it shows that the (load image "YouTubeVideo") returns image
type, and YouTubeIcon is also image type.
However this works :
set image of image view "iconImageView" of window "CocoaTube" to
load image "YouTubeVideo"
While this doesn't work.
set image of image view "iconImageView" of window "CocoaTube" to
YouTubeIcon
Can anyone please explain this to me?
Thank you.
P.S. AppleScript is more difficult to me than Objective-C/C++ is!!!!!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden