Re: Upgrading to Mavericks - is it likely to break EVERYTHING!?
Re: Upgrading to Mavericks - is it likely to break EVERYTHING!?
- Subject: Re: Upgrading to Mavericks - is it likely to break EVERYTHING!?
- From: Deivy Petrescu <email@hidden>
- Date: Fri, 14 Feb 2014 16:03:06 -0500
On Feb 14, 2014, at 15:37 , koenig.yvan <email@hidden> wrote:
>
> Le 14/02/2014 à 21:03, Deivy Petrescu <email@hidden> a écrit :
>
>>
>> On Feb 14, 2014, at 04:01 , koenig.yvan <email@hidden> wrote:
>>
>>>
>>> Le 13/02/2014 à 22:51, Deivy Petrescu <email@hidden> a écrit :
>>>
>>>> …
>>>>>>>>
>>>>>>>> It seems that it's logical.
>>>>>>>>
>>>>>>>> Display dialog is a feature belonging to the OSAX Standard Additions.
>>>>>>>>
>>>>>>>> Since 10.6 we are asked to no longer call OSAX's component from a tell application block.
>>>>>>>>
>>>>>>>> Try to insert « tell me to » in front of the display dialog instruction.
>>>>>>>> It may solve the problem.
>>>>>>>>
>>>>>>>> I apologize but I can't test here because I don't use Indesign.
>>>>>>>>
>>>>>>>>
>>>>>>>> Yvan KOENIG (VALLAURIS, France) jeudi 13 février 2014 17:40:57
>>>>
>>>>
>>>> "Tell me" to will be telling Script Editor to display the dialog.
>>>> If you want the app to display the (modal) dialog then
>>>>
>>>> Tell app “Mail”
>>>> activate
>>>> display dialog “x"
>>>> end
>>>> —> I don’t have indesign.
>>>>
>>>>
>>>> Deivy Petrescu
>>>
>>> Hello Deivy
>>>
>>> Here is the log report for your code :
>>>
>>> tell application "Mail"
>>> activate
>>> display dialog "x"
>>> --> error number -1708
>>> «event ascrgdut»
>>> --> error number -1708
>>> display dialog "x"
>>> --> {button returned:"OK"}
>>> end tell
>>> Résultat :
>>> {button returned:"OK"}
>>>
>>>
>>> Yvan KOENIG (VALLAURIS, France) vendredi 14 février 2014 10:01:44
>>>
>> Yvan,
>> what do you get when you run this (using someone’s suggestion)
>>
>> tell application "Mail"
>> activate
>> display dialog (get id) giving up after 5
>> end tell
>>
>
>
> Hello Deivy.
>
> I made several tests.
>
> Mail, Safari, Keynote 6.1, Numbers 3.1, Pages 4.1 and ImageWell 4.0.6 passed the test flawlessly.
>
> With TextWrangler 4.5.6 it failed.
>
> Yvan KOENIG (VALLAURIS, France) vendredi 14 février 2014 21:37:25
>
Thanks.
Very interestingly, in BBEdit works flawlessly.
May be we can shoot an email to the people at BareBones.
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