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

Won't run


  • Subject: Won't run
  • From: Robert Poland <email@hidden>
  • Date: Tue, 26 Mar 2013 12:26:56 -0600

Hi,

This sample doesn't run. Error - Can't get window whose name of it = "TestScript".

tell application "Smile" to tell (window whose name of it is equal to "TestScript") -- close test window
	activate
	delay 1
	tell application "System Events" to keystroke "W" using command down
end tell

I want to close this window, if it exists. Name of window 1 doesn't work either.

Is there another way?

TIA,

Robert Poland - Fort Collins, CO




 _______________________________________________
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: Christopher Stone <email@hidden>
  • Prev by Date: Re: Ping Script
  • Next by Date: Re: Won't run
  • Previous by thread: Re: The variable speak hour is not defined
  • Next by thread: Re: Won't run
  • Index(es):
    • Date
    • Thread