• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Applescript and Mission Control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript and Mission Control


  • Subject: Re: Applescript and Mission Control
  • From: 2551 <email@hidden>
  • Date: Fri, 22 Nov 2013 21:08:13 +0700

I’m not sure if I understand you correctly. Do you mean you want to change all the Desktop/Spaces to display the same background image?

If so, I wrote a bash script to do that back in 10.7. You could convert it to an applescript by running the ‘defaults write’ line from a ‘do shell script’ instead.

Note, it only work on one monitor at a time. I never did solve the problem of getting it to work across monitors.

-----------------------------------------------------------------------
#! /bin/bash
#script to change all desktop backgrounds

echo "Drag and drop an image file here"
echo -n "then press return or press control-c to cancel..."

read -e WLPR;

function change_wallpaper
{
defaults write com.apple.desktop Background "{default = {ImageFilePath='$WLPR'; };}"; killall Dock
}

change_wallpaper

#EOF

-----------------------------------------------------------------

On 22 Nov 2013, at 20:21, Robert Poland <email@hidden> wrote:

> Hi,
>
> I am just getting into Mission Control.
>
> It’s annoying to me that the Desktop has different images in different Spaces
>
> Is there any reasonable way for Applescript of switch these images?
>
> I see that Mission Control has no Applescript dictionary.
>
> TIA,
>
>
> Robert Poland
> iMac, Mid 2011, 12,2
>  2.7 GHz Intel Core I5, 27”
>  12 GB Ram, 1TB HD
>  OS X 10.9
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Applescript and Mission Control
      • From: Robert Poland <email@hidden>
References: 
 >Applescript and Mission Control (From: Robert Poland <email@hidden>)

  • Prev by Date: Applescript and Mission Control
  • Next by Date: Re: Applescript and Mission Control
  • Previous by thread: Applescript and Mission Control
  • Next by thread: Re: Applescript and Mission Control
  • Index(es):
    • Date
    • Thread