• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OS X: Triggering Handlers from the Dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Previous by thread: AppleScript & UNIX Example
  • Next by thread: Unique ID
  • Index(es):
    • Date
    • Thread