Re: applescript-users digest, Vol 3 #547 - 12 msgs
Re: applescript-users digest, Vol 3 #547 - 12 msgs
- Subject: Re: applescript-users digest, Vol 3 #547 - 12 msgs
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 14 Jun 2002 13:46:32 -0400
- Organization: [very little]
>
Date: Thu, 13 Jun 2002 09:00:18 +1000
>
Subject: Desktop pic
>
From: Steve Partos <email@hidden>
>
To: AppleScript Users <email@hidden>
>
>
Hi,
>
I'm new to AppleScript..
>
I want to change the desktop picture everytime I login right..So I thought
>
of a way to do it but I don9t know how to apply it, unless their is a easier
>
way..
>
>
I would set my desktop picture to a certain picture named picture1.jpg it
>
would then get another file in the list change it's name to picture1 and
>
picture1 to its name ..
>
Would this work.?
It would work but you'd end up with a lot of pictures with the wrong
names. It would make more sense to
1.delete picture1.jpg
2.duplicate some file from the folder
3.change its name to picture1.jpg
What would be even better is to script the Appearance control panel:
tell application "Finder"
set theFile to (some file of folder "[folder path goes here]") as alias
end tell
tell application "Appearance"
set picture file of monitor 1 to theFile
end tell
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[6/14/02 1:46:14 PM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.