Re: Won't run
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