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:57:33 +1000
On 3 Jun 2020, at 10:55 am, email@hidden wrote:
>
> Here’s another version that gives the exact same error:
>
> set theImage to "Code HD/Users/code27/Downloads/800289_01.jpg"
> tell application "Image Events"
> set dimensionList to the dimensions of theImage -- <-- It always gets
> stuck here.
> set fileWidth to the first item of dimensionList
> set fileHeight to the second item of dimensionList
> end tell
This time you're not even opening the image.
--
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