Re: GraphicConverter 5.5 questions
Re: GraphicConverter 5.5 questions
- Subject: Re: GraphicConverter 5.5 questions
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 15 Apr 2005 14:03:48 -0400
nino wrote [4/15/05 6:53 AM]:
> Previous versions and even 5.5 on OSX does this conversion automatically at
> file open but this seems not working under OS9 and cannot find a command to
> change the Color Mode.
>
> Any suggestion?
Menu...
Picture > Mode > {choices}
Check prefs for 5.5 for what might be available under the 'File>Open' tab.
> The other question i s about get file imageinfo command, dictionary says:
>
> get file imageinfo: get some information about the file content from the
> file reference
> get file imageinfo
> Result: a list of string -- returns the info as an array {³width²,
> ³height², ³x-resolution², ³y-resolution², ³mode², ³bit depth², ³format²}
>
> but there is no parameter for the "file reference" and under OSX I get
> "The variable imageinfo is not defined." error message.
Nino,
I think you're just telling the wrong object. If you use that outside a
'tell GC' block, then you will get that error, with the appropriate text
highlighted. So, you need to do that and you need to supply a useful
"reference" to the file.
Granted, the dictionary language is clunky (most, not just GC) in letting
you know what is acceptable.
Just supply one of the standards. Either a string path or an alias. The
file can be either open or closed (but can't be busy).
TESTED / GC Classic 5.5.2 / OS 9.1 & 9.2 --
set cf to choose file
-- alias "Odysseus:Desktop Folder:manchuriancandidate_02_1280.jpg"
set scf to (cf as string)
-- "Odysseus:Desktop Folder:manchuriancandidate_02_1280.jpg"
tell application "GC"
get file imageinfo cf
-- {"1280", "1024", "72.00", "72.00", " (RGB)", "32", "JPEG/JFIF"}
get file imageinfo scf
-- {"1280", "1024", "72.00", "72.00", " (RGB)", "32", "JPEG/JFIF"}
end tell
If the file is open, then just talk to the window, girlfriend.
You can then get the color space directly by:
tell application "GC" to window 1's color space
-- "rgb"
--
Gary
P.S.
For avid GC users, version 5.6 is out _today_.
Here is an email from the AM:
Thorsten Lemke wrote [4/15/05 8:53 AM]:
> I am currently uploading the 5.6.
>
> Thorsten
>> Von: Gary <email@hidden>
>> Datum: Fri, 15 Apr 2005 08:29:33 -0400
>> An: <email@hidden>
>> Betreff: Broken Download Link
I did not check for a link yet.
If you are cached up and can not get a
link to either 5.5.x or 5.6, then check the Switch mirror.
<http://mirror.switch.ch/ftp/mirror/lemkesoft/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden