Hi all,
Anyone use the “register” command in the Applescript Dictionary entry for the Firefox/Netscape browsers ?
Specifically, the “Spyglass entry” in the AS dictionary is:
Spyglass:
OpenURL: Load a URL
OpenURL string
– URL to load
register URL echo: Register a URL echo handler. The handler will get called whenever a new URL is loaded
register URL echo type class
– signature of listener
unregister URL echo: Cancels URL echo
unregister URL echo type class
– signature of listener
The OpenURL command works fine. I can’t seem to get the register command to work. Anybody have an example?
Note: I am using AS 1.9.1 on Mac OSX 10.2.8 and ScriptEditor 2.0 (beta version).
Any thoughts would be greatly appreciated!
Thanks,
Ed Mansky
Model: PB G4
AppleScript: 1.9.1
Browser: Firefox 1.0.2
Operating System: Mac OS X (10.2.x)