HideCursor

Hi all,

I am trying since a few time to get Safari running without any cursor shown in the browser; also without any success
:(!!

I tried using applescript but it doesn’t work, being pretty new to applescript…

here the script:
tell application “Safari”
activate
tell application “System Events”
keystroke “http://www.apple.com
HideCursor
end tell
end tell

The Goal of that is to setup a presentation machine for internal advertising in the firm, so the presentation is ok but the cursor is disturbing.
You’d say I have to press the PageUp key to make the cursor disappearing, but the machine is remotely controlled ( ssh, vnc) and so I cannot go downstairs everytime the machine is rebooting ( every days)

Please help!!

http://osaxen.com/files/xtool1.1.html

“temp hide mouse”

Hola jj!!

Thanks a lot, that works fine!!

regards,
Birdy:D:D

For a vanilla alternative, you might also like to try any of the following 3 UI options:

tell application "Safari"
	activate
	set URL of front document to "http://www.apple.com"
end tell

tell application "System Events" to keystroke space using shift down
-- tell application "System Events" to keystroke (ASCII character 30)
-- tell application "System Events" to key code 126

(BTW, the above method for setting the URL may be safer than using keystroke. Even if somebody decides to hide Safari’s Address Bar, it should still work.)