Clip.ClearClipboard
Win.Keys("^c")

sURL             = BrowserURL

sSubDomain       = BrowserSubDomain

sEditedSubDomain = ReplaceChars(Clip Select 15, ":", "_")

sEditedSubDomain = ReplaceChars(sEditedSubDomain, "\"", "-")

; paste clipboard to file
Clip.ToFile("D:\\ILC\\RS\\" ++ sEditedSubDomain ++ ".txt")

; paste URL to file
Exec.ToFile("D:\\ILC\\RS\\" ++ sEditedSubDomain ++ ".txt", "[" ++ sURL ++ "]")

This is basically copied right out of the manual except for the download 
location. 

On another script I was able to use sTitle = win.caption("active") very well 
and get what I wanted but in trying to use it for the 'News Archiver' I can't 
figure out how to get it to save with the page name itself.

Also just wondering if it is possible to set how many letters to go in before 
copying the name and how many letters from the end going backwards as well. So 
as to be able to change this: 
Amazon.com: Ghostbusters (1984) - Mozilla Firefox
To This:
Ghostbusters (1984)

Reply via email to