• 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: Emmanuel LEVY <email@hidden>
  • Date: Wed, 27 Mar 2013 11:30:21 +0100

or, you can say: delete window "TestScript".

Best,
Emmanuel

On Mar 26, 2013, at 8:23 PM, Robert Poland wrote:

> Chris,
>
> Had to embellish your last a little.
>
> tell application "Smile"
> 	try
> 		close window "TestScript" without saving
> 	end try
> 	activate
> end tell
>
>
> On Mar 26, 2013, at 12:42 PM, Christopher Stone <email@hidden> wrote:
>
>> 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
>
> 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


 _______________________________________________
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>
References: 
 >Won't run (From: Robert Poland <email@hidden>)
 >Re: Won't run (From: Christopher Stone <email@hidden>)
 >Re: Won't run (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Removing a row or column
  • Next by Date: Re: Won't run
  • Previous by thread: Re: Won't run
  • Next by thread: Re: Won't run
  • Index(es):
    • Date
    • Thread