• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
What to AS in an App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: AW: Info about javaScripting!!!
  • Next by Date: Re: can't make { . . . } into an item [error message] deivy's original again pt. 2
  • Previous by thread: AW: Info about javaScripting!!!
  • Next by thread: (OFF) An Apology...
  • Index(es):
    • Date
    • Thread