MAC OS X: Forum

Any Applescript gurus about?

COW Forums : Apple OS X

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
cowcow
BobAny Applescript gurus about?
by on Jun 5, 2006 at 5:27:29 pm

got a script that needs 1 thing to put it over the top, but can't figger it out:

MacWorld's June Geek Factor article - they lay out a neat Automator/Applescript workflow to set the desktop to a downloaded image, but give no tips on how to modify the script for multiple monitors/desktops. Ideally, I'd like the script to only address one of my two desktops.

here's the section (input is above this segment in Automator):

on run {input, parameters}

tell application "Finder"
select window of desktop
set desktop picture to file "Tiger:Library:Desktop Pictures:Solid Colors:Solid Gray.png"
set desktop picture to file (input as text)
end tell
return input
end run

As it is now, if I disable my 2nd monitor, the script works - otherwise, it fails.

ideas? thanks!!



Return to posts index

Simon Carlson-ThiesRe: Any Applescript gurus about?
by on Jun 5, 2006 at 9:45:16 pm

Try the recorde function with both monitors enabled...



Simon Carlson-Thies,
Digital Light Graphics And Animation


Return to posts index

BobRe: Any Applescript gurus about?
by on Jun 5, 2006 at 11:57:49 pm

I'm sorry Simon, but I don't know Applescript well enough to be able to find an appropriate reference to the "record function". Could you point me in the right direction? Thanks!


Return to posts index


Simon Carlson-ThiesRe: Any Applescript gurus about?
by on Jun 6, 2006 at 1:04:25 am

Its been a while but there used to be a record function in apple script, but the last time I used it was in OS9 so I am probably not the best person. But if you look on the developer site in their reference library you should be able to find what you are looking for.



Simon Carlson-Thies,
Digital Light Graphics And Animation


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]