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: Thu, 13 Feb 2014 16:51:37 -0500
On Feb 13, 2014, at 13:10 , Jörgen Stahle <email@hidden> wrote:
> Yvan. Now I've tried it, and it did't work. (And I think I have tried it before). The following does not stop me from editing any open Indesign document, and does not prevent he dialog from being forgotten behind it:
>
> tell application "Adobe InDesign CS6"
> tell me to display dialog "x"
> end tell
>
> Jörgen
>
>
>
>
> 13 feb 2014 kl. 17:59 skrev koenig.yvan <email@hidden>:
>
>> It's why I wrote :
>> Try to insert « tell me to » in front of the display dialog instruction.
>>
>> It's the official way to get rid of the problem.
>>
>> Yvan KOENIG (VALLAURIS, France) jeudi 13 février 2014 17:59:32
>>
>>
>>
>> Le 13/02/2014 à 17:56, Jörgen Stahle <email@hidden> a écrit :
>>
>>> Still, sometimes it's very useful to call alerts and dialogs from within applications. Then you block the use of that application and thereby, for example, prevent the user from missing it.
>>>
>>>
>>>
>>> .......................
>>> Jörgen Stahle (mobil)
>>>
>>>> 13 feb 2014 kl. 17:41 skrev "koenig.yvan" <email@hidden>:
>>>>
>>>>
>>>>> Le 13/02/2014 à 17:31, Jörgen Stahle <email@hidden> a écrit :
>>>>>
>>>>> James.
>>>>>
>>>>> I have written a lot of solutions in applescript for companys print production for clients and servers, like automatic page building thru Indesign. Many of them are very huge and complex. Nowhere do I use Photoshop, but the more Indesign. In one case also Illustrator.
>>>>> While all our clients and mac servers runs on Mountain Lion, I write and test most of the solution in Mavericks on my own machine – and so far I haven’t hade any big problems, or differences in the behavior between the platforms.
>>>>>
>>>>> The only problems that I can i have discovered with running my scripts and apps from Mavericks are very few and small. I can only recall these:
>>>>> • The ”give up”-parameter for dialogs and alerts does not work inside Indesign. That is – only inside Indesign blocks.
>>>>
>>>> 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
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