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

From TotalcmdWiki
Jump to navigation Jump to search
(wrong field used when reading the host name)
(Added category AutoHotkey scripts)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
     ControlGetText sTemp, TEdit3 ; Password
     ControlGetText sTemp, TEdit3 ; Password
     sTCFtpAddress .= sTemp "@"
     sTCFtpAddress .= sTemp "@"
     ControlGetText sTemp, TEdit7 ; Session
     ControlGetText sTemp, TEdit7 ; Host name:port
     sTCFtpAddress .= sTemp "/"
     sTCFtpAddress .= sTemp "/"
     ControlGetText sTemp, TEdit5 ; Remote Dir
     ControlGetText sTemp, TEdit5 ; Remote Dir
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