Re: Move cursor with Applescript
Re: Move cursor with Applescript
- Subject: Re: Move cursor with Applescript
- From: Robert Poland <email@hidden>
- Date: Sun, 4 Apr 2010 10:04:37 -0600
I ran this script and the apparent result tells me that cliclick only deals with the desktop screen and no other windows.
(* ClickZoomBox - 4/3/10 Much copied from setBounds *)
set x to (info for (path to frontmost application))'s short name
if x = "" then beep return end if
tell application x tell application "System Events" tell window 1 tell (first process whose frontmost is true) do shell script "cliclick 51 12" end tell end tell end tell end tell
On Apr 3, 2010, at 4:10 PM, Bruce Robertson wrote: On Apr 3, 2010, at 2:42 PM, Craig Williams wrote:
On Apr 3, 2010, at 3:38 PM, Robert Poland wrote:
Thanks to Yvan,
Now I got cliclick to work. But it only seems to deal with the Screen and not individual windows.
Add a click to activate the window first
Maybe that will first require a standard applescript command to bring select the desired app and window. _______________________________________________
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