Re: Place file command in InDesign 2020 doesn't seem to work
Re: Place file command in InDesign 2020 doesn't seem to work
- Subject: Re: Place file command in InDesign 2020 doesn't seem to work
- From: Bert Groeneveld via AppleScript-Users <email@hidden>
- Date: Tue, 7 Jan 2020 15:02:56 +0100
Many, many thanks for the answer(s)!
I beleive this change is caused by Catalina and not by InDesign 2020.
- - - - - - - - - - - - - - - - - - - - - - -
> On 6 Jan 2020 - wk 2, at 23:33, Shane Stanley <email@hidden>
> wrote:
>
> On 7 Jan 2020, at 3:00 am, Bert Groeneveld via AppleScript-Users
> <email@hidden
> <mailto:email@hidden>> wrote:
>>
>> How can I get the place file command to work?
>
> Several alternatives work. One is to move the command:
>
> tell application "Adobe InDesign 2020"
> set myDoc to document 1
> tell myDoc
> set myPage to page 1
> tell myPage
> set myresult to make new rectangle with properties
> {geometric bounds:{10, 10, 110, 110}}
> tell myresult
> set (content type) to graphic type
> --place file pic
> end tell
> end tell
> end tell
> place file pic on myresult
> end tell
>
> Another is to use an alias, but as a coercion:
>
> place pic as alias
>
> A third is to use a «class furl» object or alias created outside InDesign's
> scope:
>
> set pic to "Macintosh_HD:Users:bertus:Documents:Applescript:DEEN:HIGHRES
> IMAGES:91969 - Hutspot 500 gram-KLEIN.tif" as «class furl»
>
> tell application "Adobe InDesign 2020"
> set myDoc to document 1
> tell myDoc
> set myPage to page 1
> tell myPage
> set myresult to make new rectangle with properties
> {geometric bounds:{10, 10, 110, 110}}
> tell myresult
> set (content type) to graphic type
> place pic
>
>
> This sort of change is pretty disturbing, so I hope you are reporting it as a
> bug.
>
> My strong personal preference would be the third way, moving the creation of
> the file object outside InDesign's scope.
>
> --
> Shane Stanley <email@hidden <mailto:email@hidden>>
> <www.macosxautomation.com/applescript/apps/
> <http://www.macosxautomation.com/applescript/apps/>>, <latenightsw.com
> <http://latenightsw.com/>>
>
>
_______________________________________________
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