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: Wed, 3 Jun 2020 10:42:03 +1000
On 3 Jun 2020, at 10:25 am, Jenni via AppleScript-Users
<email@hidden> wrote:
>
> Here’s another version I’ve tried:
>
> set theImage to "Code HD:Users:code27:Downloads:800289_01.jpg" as alias
You're still using "as alias". Image Events doesn't like aliases any more --
you've just moved the coercion. If you're starting from an HFS path, use this:
set theImage to "Code HD:Users:code27:Downloads:800289_01.jpg" as «class furl»
That gives you a file, similar to that returned by 'choose file'.
--
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