|
Prev: MobileMe. Push or not (includes gratuitous references to iPhone)
Next: Intellipoint Drivers / 10.5
From: Michael H. Phillips on 15 Jul 2008 05:41 Javascripts seem to run faster than Applescripts in Adobe Illustrator. Is there a simple way (i.e. idiot's way) of converting an Applescript to a Javascript? -- Michael mhphillips at gmail dot com
From: Chris Ridd on 15 Jul 2008 07:03 On 2008-07-15 10:41:16 +0100, Michael H. Phillips <mhp(a)odtaa.invalid> said: > Javascripts seem to run faster than Applescripts in Adobe Illustrator. Is > there a simple way (i.e. idiot's way) of converting an Applescript to a > Javascript? Not without rewriting the script, no. How big is the script you want to convert? Cheers, Chris
From: Michael H. Phillips on 15 Jul 2008 08:03 On Tue, 15 Jul 2008 12:03:03 +0100, Chris Ridd wrote: > On 2008-07-15 10:41:16 +0100, Michael H. Phillips <mhp(a)odtaa.invalid> said: > >> Javascripts seem to run faster than Applescripts in Adobe Illustrator. Is >> there a simple way (i.e. idiot's way) of converting an Applescript to a >> Javascript? > > Not without rewriting the script, no. How big is the script you want to > convert? > > Cheers, > > Chris > Not big at all. Only seven lines. -- Michael mhphillips at gmail dot com
From: Chris Ridd on 15 Jul 2008 08:25 On 2008-07-15 13:03:49 +0100, Michael H. Phillips <mhp(a)odtaa.invalid> said: > On Tue, 15 Jul 2008 12:03:03 +0100, Chris Ridd wrote: > >> On 2008-07-15 10:41:16 +0100, Michael H. Phillips <mhp(a)odtaa.invalid> said: >> >>> Javascripts seem to run faster than Applescripts in Adobe Illustrator. Is >>> there a simple way (i.e. idiot's way) of converting an Applescript to a >>> Javascript? >> >> Not without rewriting the script, no. How big is the script you want to >> convert? >> >> Cheers, >> >> Chris >> > > Not big at all. Only seven lines. Could be easy then, but it depends on what those 7 lines are doing :-) Can you post the script here? Cheers, Chris
From: Michael H. Phillips on 15 Jul 2008 08:34 On Tue, 15 Jul 2008 13:25:10 +0100, Chris Ridd wrote: > Could be easy then, but it depends on what those 7 lines are doing :-) > Can you post the script here? Here it is: property schnibbleSize : 2 tell application "Adobe Illustrator" if current document is {} then return tell current document set g to every path item whose editable is true and width < schnibbleSize and height < schnibbleSize set selection to g end tell end tell -- Michael mhphillips at gmail dot com
|
Next
|
Last
Pages: 1 2 Prev: MobileMe. Push or not (includes gratuitous references to iPhone) Next: Intellipoint Drivers / 10.5 |