Re: Trying to get image dimensions
Re: Trying to get image dimensions
- Subject: Re: Trying to get image dimensions
- From: Shane Stanley via AppleScript-Users <email@hidden>
- Date: Thu, 4 Jun 2020 21:30:34 +1000
On 4 Jun 2020, at 6:25 pm, Yvan KOENIG via AppleScript-Users
<email@hidden> wrote:
>
> Given a variable k containing a descriptor of a file
> if k is of class alias, «class furl», text, its accepted by Image Events:
> tell application "Image Events"
> set im to open k
> ….
> end tell
Not with aliases in Catalina.
> What is rejected is the attempt to coerce an alias into an alias which is
> what the original code was doing because k was defined by
> set k to choose file which for years, as far as I know, is returning an alias
> object.
That's not the only thing that fails. This code, which used to work, fails
under Catalina:
set k to (choose file)
tell application "Image Events"
set openedFile to open k
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <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