Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple OS X Any Applescript gurus about?

  • Any Applescript gurus about?

    Posted by Bob Woodhead on June 5, 2006 at 5:27 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!!

    Simon Carlson-thies replied 20 years, 2 months ago 2 Members · 3 Replies
  • 3 Replies
  • Simon Carlson-thies

    June 5, 2006 at 9:45 pm

    Try the recorde function with both monitors enabled…

    Simon Carlson-Thies,
    Digital Light Graphics And Animation

  • Bob Woodhead

    June 5, 2006 at 11:57 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!

  • Simon Carlson-thies

    June 6, 2006 at 1:04 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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy