Re: Finder "duplicate" requirements
Re: Finder "duplicate" requirements
- Subject: Re: Finder "duplicate" requirements
- From: Deivy Petrescu <email@hidden>
- Date: Mon, 29 Jun 2015 17:13:10 -0400
> On Jun 29, 2015, at 16:59 , Yvan KOENIG <email@hidden> wrote:
>
>
>> Le 29/06/2015 à 22:52, Deivy Petrescu <email@hidden> a écrit :
>>
>>
>>> On Jun 29, 2015, at 15:20 , Yvan KOENIG <email@hidden> wrote:
>>>
>>>>
>>>> Le 29/06/2015 à 20:24, Christopher Stone <email@hidden> a écrit :
>>>>
>>>> On Jun 29, 2015, at 11:00, Deivy Petrescu <email@hidden> wrote:
>>>>> However, declaring a variable before as in
>>>>>
>>>>> set pp to POSIX file posixPath
>>>>> exists pp
>>>>>
>>>>> will always work.
>>>>> The “get” inside the first command will always error.
>>>> ______________________________________________________________________
>>>>
>>
>>
>
> Hello Deivy
>
> It seems that you missed a sentence :
>
>> What is not matching the rule is the fact that the first one works.
Indeed I did!
>
> My understanding is that in the 1st case, some tests which are made in the 2nd one aren't executed so the script doesn't see that what it is doing is "illegal".
>
> Yvan KOENIG (VALLAURIS, France) lundi 29 juin 2015 22:58:51
Yvan both should work.
Try this:
tell application "Finder"
display dialog "Hello"
say "Au revoir"
end tell
It runs fine in spite the fact that say and display dialog are SA commands.
Deivy Petrescu
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