Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie questions



excuse me for asking stupid questions but i have problems to begin with
AppleScriptStudio. I have already red many of the past messages, but
unsuccessfully

1/ how to open an image (pdf or jpg format) which was stored on the
disk. I do these pieces of script :
set theFile to (choose file with prompt "Secectioner une image a lire:"
of type {"PDF"})
open for access theFile
set fileContents to (read theFile)
close access theFile
set (image of image view "image" of view of tab view item "TabImages"
of tab view "TabInfo" of window "Main") to load image fileContents
but it doesn't work ;-))
I think that in the line [ set fileContents to (read theFile) ] I
didn't specified the format. I have tried to find in the documentation
an explanation about the format for "open for access" but,
unsuccessfully.

2/ What I need to do is to load 2 different image, and after to combine
them one over the other and to rotate them in a different way...
a little bit like a clock : you can load 3 images and after show them
all together one over the other with in background the clock dial image
(who stay fixed), the image of the minute hand (with a rotation of 3600
every hour) and the image of the hour hand (with a rotation of 3600
every 12 hour)

I don't know if it's possible to do such a thing. I think I have to use
"CustomView" but i can't find many information about it in the
AppleScriptStudio doc.

tanks for your help, and excuse me for the time i make you loosing

sincerely

gerard (email@hidden)

P.S.
an other question is where to find informations about
AppleScriptStudio. The PDF that comes with AppleScriptStudio are every
month with a little more informations, but I can't find some thing a
complete information, and the book i see seems to be for AppleScript
(god) but not relay for AppleScript Studio. Any information is welcome
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.