What to AS in an App
What to AS in an App
- Subject: What to AS in an App
- From: Alberto De La Torre <email@hidden>
- Date: Wed, 18 Jul 2001 00:48:57 +0200
--
Hi to all!
After a time enjoying of my summer holidays and my all new TiPb, I
discovered that I can include a resource called scpt on an
application (with ResEdit 2.1 and up).
Now my question is, what can I do with this?. I saw I could include a
simple and a complex AS on this resource, but, after reviewing my app
(FileMaker Pro 4.0 in this case) I couldn4t find my AS working
anywhere.
I even tried with a handler from the example:
tell application "Finder"
activate
setItem of me with item_comments
display dialog the item_comments
end tell
on setItem with item_comments
global item_comments
tell application "Finder"
set the item_comments to the comment of the system folder
if the item_comments is "" then set the item_comments ,
to "This item has nothing to say."
end tell
end setItem
introducing the handler
on setItem with item_comments
global item_comments
tell application "Finder"
set the item_comments to the comment of the system folder
if the item_comments is "" then set the item_comments ,
to "This item has nothing to say."
end tell
end setItem
on the resource scpt, and
tell application "Finder"
activate
setItem of me with item_comments
display dialog the item_comments
end tell
an a simple database, no records only one ScriptMaker Script with a
perform AppleScript script step with the 2nd above part.
Any idea here?
Thank you,
Alberto