Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a dockable X11 application' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a dockable X11 application
Authored by: ncrocker on Mar 08, '04 06:00:31PM

The script that glusk says to save as an application bundle should let you "open graphic-files by dragging them to the dock icon" if you select the "stay open" option when you save the script. I haven't tried it myself, but it seems to have the magic ingredient for a script application which lets the user open files by dropping them onto the dock icon: an "open" subroutine (a.k.a. an "open" handler in Applescript terminology), which is given by the block of code bracketed by the lines "on open filelist" and "end open"



[ Reply to This | # ]