Re: Move files to second monitor
Re: Move files to second monitor
- Subject: Re: Move files to second monitor
- From: Roy McCoy <email@hidden>
- Date: Sun, 1 Feb 2009 22:39:59 +0100
Deivy Marck Petrescu wrote: I do confess that rereading the message I still do not get it. Basically, because If I wanted to move the icons I do it in 1 second via the finder, with a mouse!
That's kind of what I was thinking and saying too. There are, however, certain similarly simple operations - like dragging to the trash or ejecting a disk for example, and I have some others unique to my own situation - which are handy to have automated, and hence the normal system keycodes. If I were to be moving icons between monitors all the time, I think I too would want to automate that somehow.
I notice the Classic utility Desktop Resetter is now available for OS X, (halfway?) renamed as Desktility ( http://www.desktility.com/mac_more.html). I haven't been feeling the need for this as I did before, but it's only ten bucks so I might pick it up, and it might interest the guy who's moving his icons to a second monitor if he ever wants to move them back.
--- set p to path to "desk" as string tell application "Finder" set p to folder p tell p repeat with j in (get its every item) set l to get desktop position of (contents of j) --set desktop position of item j to {x, y} end repeat end tell end tell ---
Two questions:
(1) I don't get "set l to get desktop position of (contents of j)". That's in a repeat, so it would change every time through the loop unless I severely misunderstand. I don't understand its use, then.
(2) How does "set desktop position of item j to {x, y}" determine that the icon moves to the secondary monitor rather than the primary one? Can you do that with just "{x, y}"?
Thanks,
|
_______________________________________________
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