Re: Applescript and Mission Control
Re: Applescript and Mission Control
- Subject: Re: Applescript and Mission Control
- From: 2551 <email@hidden>
- Date: Fri, 22 Nov 2013 21:36:08 +0700
Sorry Robert. Scrub that. I should have tested it on Mavericks first — no go I’m afraid.
They must have changed the defaults command. I’ll see if I can figure out what to over the weekend.
On 22 Nov 2013, at 21:28, Robert Poland <email@hidden> wrote:
> Thanks 2551,
>
> I’ll try to figure that out later, after work.
>
> On Nov 22, 2013, at 7:08 AM, 2551 <email@hidden> wrote:
>
>> 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
>
> Robert Poland - Fort Collins, CO
>
>
>
_______________________________________________
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