On mouse


If there is ON IDLE is there ON MOUSEMOUVE or ONCLICK ? Thanks in advance.


Model: iMac G5 1.6 MHZ - 2GB
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

Hi, what you up to? What do you really want to do?

In AppleScript Studio there is ‘On Click’ etc, many more events that a Stay Open AppleScript Application, AppleScript Studio is where you make your own Application, worth an adventure and is easy to learn.

If you want someone else’s application on events then Prefab UI Action can trigger Applescript on notification events. Example move a window in the Finder. As you type into a New Message in Mail.

Basically its a GUI watcher. It wont do things like on save record to disk in Filemaker. Thats not GUI.

Any more question just ask.

Hi Besos,

What I am trying to do ? Have a look at the last post of this Apple discussion thread: http://discussions.apple.com/message.jspa?messageID=4710039#4710039. You can also have a look at this MacScripter thread: http://bbs.applescript.net/viewtopic.php?id=21472.

I am trying to desactivate a little HP background process (HP COMMUNICATIONS) that keeps my iMac having kernell panics. This process is located in the MACINTOSH<LIBRARY<PRINTERS folder.

I thought I had found the solution but forgot that the HP COMMUNICATIONS process activates in EACH user. So my activate/desactivate script as to run for EACH running user. My objective: I want to activate/quit by script the HP COMMUNICATIONS process for all running user.

Hope this is more explicit. Thanks in advance.


Model: iMac G5 1.6 MHZ - 2GB
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

Change User by GUI not to hard.

tell application "System Events"
	tell process "SystemUIServer"
		click menu bar item 8 of menu bar 1
		click menu item "Username" of menu 1 of menu bar item 8 of menu bar 1
	end tell
end tell

Checking if the user is running. That would be down to checking the color of the tick in the menu.

Second problem is how to trigger a AppleScript in the other user environment? UI action I couldn’t see any notifications of change, but i didn’t try everything.

You could have an on idle poling a share folder, name or comment for change. But that would take time.

Its a start, have fun


I am quite surprised to hear that HP Communicatons is cauing trouble.
I fact, over the years it has been the culprit for quite some system trouble but I was forced to use it because of my OfficeJet 6110.
Now, with the latest release, I must say that (whatever its shortcomings as a scanning interface) it sits back in my system with % load,
being neither use- nor harmful.
(My definition of HP Invent)

Hi Eelco,

I have been having kernell panics on my iMac G5 for months. After searching I found that by desactivating «HP Communications» everything was OK. I am using the 6.5.3 version. What is your version ?



Hi Robert,

My HP Device Mgr is 4.53 dated march 4, 2007.

It resides in the Hewlett-Packard folder in my applications folder with HP Scan Pro,
and al the Photosmart Stitch, edit, create, share, studio, stuff I never use (all dated 2007)
All Intel versions.

Hi Eelco,

Are you on Mac OS X or on a PC ? What is the version of your “HP Communications” ?



I am on an Intel Mac and I don’t have the HP Communications app anymore.
In my HP folder in my Apps folder is the stuff mentioned that superseded it.
If you’d go to th HP website and search for the OfficeJet 6110 drivers you’ll find the latest that I have.