• 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
Lost in AppleScript Studio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lost in AppleScript Studio


  • Subject: Lost in AppleScript Studio
  • From: Ken Brooks <email@hidden>
  • Date: Mon, 15 Nov 2004 22:04:04 -0500

Title: Lost in AppleScript Studio
After five years' intermission, I returned to the world of AppleScript today.  And there I learned about AppleScript Studio and tried to use it.  I typed in the following elementary script:

tell application "Finder"
       say "I live."
   close the front window
end tell

But it didn't run, or at least it didn't actually make the Finder close a window.  It just brought up a blank window of its own and stayed there.
Question: is AppleScript Studio even an appropriate vehicle for simple scripts like this?  Or only Cocoa/script hybrids?  Should I stick with ScriptEdit?

Next question: when writing a script in the AppleScript Studio environment, what is the minimal boilerplate that I need to make the script run properly?
Ken Brooks

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
>om

This email sent to email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: Lost in AppleScript Studio
      • From: Joseph Weaks <email@hidden>
  • Prev by Date: Call PHP to Access Remoter MySQL DB with AppleScript?
  • Next by Date: Why won't it paste?
  • Previous by thread: Re: Toggle buttons
  • Next by thread: Re: Lost in AppleScript Studio
  • Index(es):
    • Date
    • Thread