WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Samples from Users
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

UrlClip


;URL Clip 
;fix URL in clipboard so it can be pasted into an address bar
;Do you receive emails that contain links that don't work?  The problem is when the URL is broken up with carriage returns, 
;reply delimiters (such as >), spaces, etc.  I got tired of copying the multi-line link, opening notepad and pasting it in, fixing 
;it so that it was a one-line link with the special characters removed, then copying it again into the clipboard and pasting it into a browser address box.  So.... ;URLClip remedies this.  Simply highlight the entire, multiline, URL link, can copy it to the clipboard.  Then run URLCLIP and the URL in the clipboard will be cleaned up, 
;and then opened up in a browser window.  For even added convenience, add URLCLIP to your Quick Launch bar, and your a click 
;away from remedying this minor annoyance!  :-)

URL=StrReplace(StrReplace(StrReplace(StrReplace(ClipGet(),@CRLF,"")," ",""),">",""),@TAB,"")
ClipPut(Url)
	if StrIndex(StrTrim(ClipGet()),"://",1,@FWDSCAN)==0
		Message("Error","Clipboard doesn't appear to have a URL in it.  Copy the URL to the clipboard, then re-run")
	Else
		ShellExecute(URL,"","",@NORMAL,"OPEN")
	EndIf
	

Article ID:   W16210
File Created: 2004:03:30:15:43:16
Last Updated: 2004:03:30:15:43:16