AppleScript Help - Please...

This area contains the messages from the old Yahoo gcmac group after the port.
Gnarlodious
Posts: 0
Joined: Thu Apr 22, 2004 4:40 pm

Re: very basic applescript help, please

Post by Gnarlodious »

On 4/24/07, Rowland & Wilma Carson wrote: > If anyone cares, here's what works for me: > set myString to "test text" > tell application "GraphicConverter" > activate > make new window with properties {bounds:{20, 40, 300, 70}, > image bit depth:1} > draw textline into window 1 text myString justification 0 > color {0, 0, 0} point {5, 15} font "Lucida Handwriting" size "14" > set myFilename to "PowerBook > HD:Users:Rowland:Development:Scripting:AppleScript:graphicconverter_stuff:testsave.gif" > save window 1 in myFilename as GIF > close window 1 > end tell Cool script, except you should start like this: set myString to "test text" tell application "Finder" to set myFilename to (home as string) & "Development:Scripting:AppleScript:graphicconverter_stuff:testsave.gif" That way the file path is not hardcoded inside the script. -- Gnarlie
Rowland & Wilma Carson
Posts: 0
Joined: Sun Mar 11, 2007 1:10 am

Re: very basic applescript help, please

Post by Rowland & Wilma Carson »

At 2007-04-25 08:15 -0600 Gnarlodious wrote: >you should start like this: > >set myString to "test text" >tell application "Finder" to set myFilename to (home as string) & >"Development:Scripting:AppleScript:graphicconverter_stuff:testsave.gif" > >That way the file path is not hardcoded inside the script Gnarlie - thanks for that. I usually try to avoid "magic numbers" (or "magic text") anywhere in my programming, but at this stage I was just making sure it all worked! As someone who last used AppleScript a good while ago, and only for relatively simple stuff, I appreciate help in any form! regards Rowland -- : Wilma & Rowland Carson http://home.clara.net/rowil/ : <rowil@clara.net> ... that's Rowland with a 'w' ...
Robert Rivkin
Posts: 0
Joined: Tue Oct 28, 2003 6:56 pm

Batch question

Post by Robert Rivkin »

Batch question I have a folder of several hundred scans, many of which are too blue or too pink.  Is there some way to batch alter the hue so that all end up with the same [=normal] coloring? GC 6.1 ub G5 quad 12gb ram 10.4.11 Bob
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

Batch question

Post by Robert Poland »

Hi, I just did a Batch convert of 30 images from .psd to JPEG/JFIF (*.JPG, JPEG. The result was 30 images of type .psd, 30% larger. What am I missing? Robert Poland iMac, Late 2013, 14,2 3.2 GHz Intel Core I5, 27” 16 GB Ram, 1TB Fusion HD OS X 10.10.4 GC 9.7.1 (2045)
thorstenlemke
Posts: 0
Joined: Fri Dec 30, 2016 12:00 pm

Re: Batch question

Post by thorstenlemke »

Hi Robert,did you select JPG as destination format?Thorsten Hi,I just did a Batch convert of 30 images from .psd to JPEG/JFIF (*.JPG, JPEG.The result was 30 images of type .psd, 30% larger.What am I missing?
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

Re: Batch question

Post by Robert Poland »

Yes, I selected "JPEG/JFIF (*.JPG, JPEG.” > On Jul 28, 2015, at 12:34:AM, Thorsten Lemke lemke@lemkesoft.de [gcmac] <gcmac@yahoogroups.com> wrote: > > > > Hi Robert, > > did you select JPG as destination format? > > Thorsten >> >> >> Hi, >> >> I just did a Batch convert of 30 images from .psd to JPEG/JFIF (*.JPG, JPEG. >> >> The result was 30 images of type .psd, 30% larger. >> >> What am I missing? > > > > Robert Poland Fort Collins, CO
thorstenlemke
Posts: 0
Joined: Fri Dec 30, 2016 12:00 pm

Re: Batch question

Post by thorstenlemke »

Dear Robert,I can`t reproduce this here.Please recheck.Thorsten Yes, I selected "JPEG/JFIF (*.JPG, JPEG.”
thorstenlemke
Posts: 0
Joined: Fri Dec 30, 2016 12:00 pm

Re: Batch question

Post by thorstenlemke »

Dear Robert,I can`t reproduce this here.Please recheck.Thorsten Yes, I selected "JPEG/JFIF (*.JPG, JPEG.” (important note: please always include this complete email in your reply)-----------------------------------------------------------------Thorsten LemkeLemke Software GmbHZum Rohkamp 5e31228 PeineGermanyPhone: +49 5171 72200 (German)Phone: +49 5171 72202 (English)Mobile:+49 171 1420235Fax:   +49 5171 72201WWW:   http://www.lemkesoft.comE-Mail:lemke@le ... omfacebookhttp://www.facebook.com/LemkesoftXINGhttp://www.xing.com/profile/Thorsten_LemkeLinkedinhttp://www.linkedin.com/in/thorstenlemkeBusiness details:Amtsgericht Hildesheim HRB 101500Gescha�ftsfuhrer Dipl.-Ing. Thorsten LemkeUSt.IdNr. DE204841752-----------------------------------------------------------------
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

Re: Batch question

Post by Robert Poland »

Thorsten,I just tried again, it failed again. On Jul 28, 2015, at 9:54:AM, Thorsten Lemke lemke@lemkesoft.de [gcmac] <gcmac@yahoogroups.com> wrote:Dear Robert,I can`t reproduce this here.Please recheck.ThorstenYes, I selected "JPEG/JFIF (*.JPG, JPEG.”(important note: please always include this complete email in your reply)-----------------------------------------------------------------Thorsten LemkeLemke Software GmbHZum Rohkamp 5e31228 PeineGermanyPhone: +49 5171 72200 (German)Phone: +49 5171 72202 (English)Mobile:+49 171 1420235Fax:   +49 5171 72201WWW:   http://www.lemkesoft.comE-Mail:lemke@le ... omfacebookhttp://www.facebook.com/LemkesoftXINGhttp://www.xing.com/profile/Thorsten_LemkeLinkedinhttp://www.linkedin.com/in/thorstenlemkeBusiness details:Amtsgericht Hildesheim HRB 101500Gescha�ftsfuhrer Dipl.-Ing. Thorsten LemkeUSt.IdNr. DE204841752-----------------------------------------------------------------._,_.___Posted by: Thorsten Lemke <lemke@lemkesoft.de>  VISIT YOUR GROUP  • New Members 3• Privacy • Unsubscribe • Terms of Use Robert PolandiMac, Late 2013, 14,2  3.2 GHz Intel Core I5, 27”   16 GB Ram, 1TB Fusion HD  OS X 10.10.4GC 9.7.1 (2045)
thorstenlemke
Posts: 0
Joined: Fri Dec 30, 2016 12:00 pm

Re: Batch question [1 Attachment]

Post by thorstenlemke »

Dear Robert,please remove the change format in your batch. You set the format in the popup.The change format batch is designed for command line calling.Thorsten . 
Post Reply