待研究的几款window下面使用提升开发效率工具

来源:互联网 发布:淘宝客服面试自我介绍 编辑:程序博客网 时间:2024/06/06 19:58

AutoHostKey
!`::
SetTitleMatchMode,1
IP=%clipboard%
Send !q
WinWait, Quick Connect, , 5
if ErrorLevel
{
return
}
else
{
IfWinNotActive Quick Connect
{
WinActivate
}
Sendinput %IP%{enter}
GroupAdd, SecureCRT, PAM authentication Authentication
GroupAdd, SecureCRT, New Host Key
WinWaitActive, ahk_group SecureCRT, , 5
if ErrorLevel
{
return
}
else
{
IfWinActive PAM authentication Authentication
{
Sendinput luotao1130{enter}
}
else
{
IfWinActive New Host Key
{
Sendinput {enter}
WinWait, PAM authentication Authentication, , 5
if ErrorLevel
{
return
}
else
{
IfWinNotActive PAM authentication Authentication
{
WinActivate
}
Sendinput luotao1130{enter}
GroupAdd, Confirm, PAM authentication -
GroupAdd, Confirm, %IP%
Loop
{
WinWait, ahk_group Confirm, , 1
if ErrorLevel
{
return
}
IfWinExist PAM authentication -
{
WinActivate
Sendinput {enter}
Sleep, 100
continue
}
IfWinExist %IP%
{
Sleep, 100
WinActivate
Sendinput sudo su - user00{enter}
return
}

}
}
}
}
}

}
return

!`::
SetTitleMatchMode,1
IP=%clipboard%
Send !q
WinWait, Quick Connect, , 5
if ErrorLevel
{
return
}
else
{
IfWinNotActive Quick Connect
{
WinActivate
}
Sendinput %IP%{enter}
GroupAdd, SecureCRT, PAM authentication Authentication
GroupAdd, SecureCRT, New Host Key
WinWaitActive, ahk_group SecureCRT, , 5
if ErrorLevel
{
return
}
else
{
IfWinActive PAM authentication Authentication
{
Sendinput luotao1130{enter}
}
else
{
IfWinActive New Host Key
{
Sendinput {enter}
WinWait, PAM authentication Authentication, , 5
if ErrorLevel
{
return
}
else
{
IfWinNotActive PAM authentication Authentication
{
WinActivate
}
Sendinput luotao1130{enter}
GroupAdd, Confirm, PAM authentication -
GroupAdd, Confirm, %IP%
Loop
{
WinWait, ahk_group Confirm, , 1
if ErrorLevel
{
return
}
IfWinExist PAM authentication -
{
WinActivate
Sendinput {enter}
Sleep, 100
continue
}
IfWinExist %IP%
{
Sleep, 100
WinActivate
Sendinput sudo su - user00{enter}
return
}

}
}
}
}
}

}
return
Everything

totalcommand

0 0