• 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
Re: Won't run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Won't run


  • Subject: Re: Won't run
  • From: Christopher Stone <email@hidden>
  • Date: Tue, 26 Mar 2013 13:42:12 -0500

On Mar 26, 2013, at 13:26, Robert Poland <email@hidden> wrote:
This sample doesn't run. Error - Can't get window whose name of it = "TestScript".
______________________________________________________________________

Hey Bob,

Try this:

tell application "Smile"
  close window "TestScript" with saving
  -- OR
  close window "TestScript" without saving
end tell

I haven't fiddled with the check-for-updates script for Smile yet, but I will when I have some time.  The idea is to write a context-script for Smile that will perform the check when it [Smile] starts up, but I haven't delved into that stuff for years and need to refresh my memory.

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Won't run
      • From: Robert Poland <email@hidden>
    • Re: Won't run
      • From: Robert Poland <email@hidden>
References: 
 >Won't run (From: Robert Poland <email@hidden>)

  • Prev by Date: Won't run
  • Next by Date: Re: Won't run
  • Previous by thread: Won't run
  • Next by thread: Re: Won't run
  • Index(es):
    • Date
    • Thread