Applescript handler for URL helper application?
Applescript handler for URL helper application?
- Subject: Applescript handler for URL helper application?
- From: Bruce Lacey <email@hidden>
- Date: Sun, 27 May 2001 10:13:56 -0700
I need to write a script that will serve as a URL helper application for FTP
to record download requests prior to processing the download. My plan is to
trap the event, record the URL request information to a log file and then
delegate the event to my ftp application. I have written and compiled a
small script and changed the Internet Control Panel settings to invoke my
script for ftp requests. However, I am stumped as to which event handler I
need to use because my script is invoked but my handler isn9t called. Here
is my test script.
on open location urlToBeOpened
display dialog "Inside open location"
display dialog urlToBeOpened as text
end open location
I have tried the following handlers without success:
on open location URLtoBeOpened
on geturl (URLtoBeOpened)
on URLopen (URLtoBeOpened)
on open (URLtoBeOpened)
on run (URLtoBeOpened)
There must be an event specific to Internet Helper Applications but I can9t
find any information about it on the Internet. What am I missing?
Thanks in advance for your most valuable and needed help.
Bruce