AutoHotkey: Get the ftp address as hyperlink: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
mNo edit summary
(Added category AutoHotkey scripts)
 
Line 16: Line 16:


Back to [[AutoHotkey]]
Back to [[AutoHotkey]]
[[Category:AutoHotkey scripts|Get the ftp address as hyperlink]]

Latest revision as of 19:05, 1 June 2008

; Ctrl-Shift-C (Total Commander FTP Details: Get the ftp address as hyperlink to the clipboard)
#IfWinActive FTP: connection details ahk_class TDETAILS
^+c::
   sTCFtpAddress := "ftp://"
   ControlGetText sTemp, TEdit6 ; User name
   sTCFtpAddress .= sTemp ":"
   ControlGetText sTemp, TEdit3 ; Password
   sTCFtpAddress .= sTemp "@"
   ControlGetText sTemp, TEdit7 ; Host name:port
   sTCFtpAddress .= sTemp "/"
   ControlGetText sTemp, TEdit5 ; Remote Dir
   sTCFtpAddress .= sTemp
   Clipboard := sTCFtpAddress
   Return
#IfWinActive

Back to AutoHotkey