Hello,
Can anybody tell me how to use applescript to put the current URL of firefox into a variable (something like set a to URL, but that doesn't seem to work)
Basically, what I wanted to try, was making a program that would track how long I'd spent on each site I'd visit, but if I applescript doesn't know what URL I am on it doesn't know when to start and stop tracking the time.
So could anybody help me ?
-Floris
Edit: I just figured I can get the name of the front window, which is allmost just as good, best would be getting the url though.
Can anybody tell me how to use applescript to put the current URL of firefox into a variable (something like set a to URL, but that doesn't seem to work)
Basically, what I wanted to try, was making a program that would track how long I'd spent on each site I'd visit, but if I applescript doesn't know what URL I am on it doesn't know when to start and stop tracking the time.
So could anybody help me ?
-Floris
Edit: I just figured I can get the name of the front window, which is allmost just as good, best would be getting the url though.