OS X: Triggering Handlers from the Dock
OS X: Triggering Handlers from the Dock
- Subject: OS X: Triggering Handlers from the Dock
- From: cris <email@hidden>
- Date: Thu, 31 Jan 2002 02:38:39 +0100
Wouldn't it be great if handlers could be triggered by control-click in the
Dock!? I can imaging thousand useful things we could do with stay open
running scripts this way.
The menu item entries of course should be definable. It could look so:
Script property:
dock entries{{name:"My Task 1", enabled:true}, {name:"My Task 2",
enabled:true}}
on dockEntries(theChoosenItem)
if theChoosenItem = "My Task 2" then
set enabled of item "My Task 2" of dock entries to false
-- do task 1
else ...
end
end
Something like that...
I don't know if AS Studio provides this (had only time to complete the Hello
World thing :), but it would be great if every applet could do this!
Greetings
cris :-)
--
English is my second language, please write slowly!
www.cooc.de