+定位注册表

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 事先拷贝注册表路径,该脚本直接定位到那个路径
; 
; gaochao.morgen@gmail.com
; 2014/2/4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#SingleInstance Force
#NoTrayIcon
#NoEnv

StringReplace, Clipboard, Clipboard, \, , All			; 网络文章"\",""不分
StringReplace, Clipboard, Clipboard, /, , All			; "/"改为""
StringReplace, Clipboard, Clipboard, \, , All			; "/"改为""
Clipboard := RegExReplace(Clipboard, "\$", "")			; 若最后一个字符为""则去掉

; 本想先探测是否存在改键,但是此方法无法判断出"(默认)"为空的项
;pos := RegExMatch(Clipboard, "HKEY_(.*?)\", RootKey)	; "我的电脑HKEY_CURRENT_USERSoftware"与"HKEY_CURRENT_USERSoftware"一样
;SubKey := SubStr(Clipboard, pos+StrLen(RootKey))
;StringReplace, RootKey, RootKey, , , All
;
;RegRead, content, %RootKey%, %SubKey%
;if (content = null && ErrorLevel = 1)
;{
;	MsgBox, %Clipboard% is not found.
;	Return
;}

; 关闭已经打开的注册表
IfWinExist, ahk_class RegEdit_RegEdit
{
	WinClose 
    WinWaitClose
}

; 写入
RegWrite, REG_SZ, HKEY_CURRENT_USER, SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit, LastKey, %Clipboard%

; 打开,自动定位到写入位置
Run, regedit
ExitApp


+定位注册表

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 事先拷贝注册表路径,该脚本直接定位到那个路径
; 
; gaochao.morgen@gmail.com
; 2014/2/4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#SingleInstance Force
#NoTrayIcon
#NoEnv

StringReplace, Clipboard, Clipboard, \, , All			; 网络文章"\",""不分
StringReplace, Clipboard, Clipboard, /, , All			; "/"改为""
StringReplace, Clipboard, Clipboard, \, , All			; "/"改为""
Clipboard := RegExReplace(Clipboard, "\$", "")			; 若最后一个字符为""则去掉

; 本想先探测是否存在改键,但是此方法无法判断出"(默认)"为空的项
;pos := RegExMatch(Clipboard, "HKEY_(.*?)\", RootKey)	; "我的电脑HKEY_CURRENT_USERSoftware"与"HKEY_CURRENT_USERSoftware"一样
;SubKey := SubStr(Clipboard, pos+StrLen(RootKey))
;StringReplace, RootKey, RootKey, , , All
;
;RegRead, content, %RootKey%, %SubKey%
;if (content = null && ErrorLevel = 1)
;{
;	MsgBox, %Clipboard% is not found.
;	Return
;}

; 关闭已经打开的注册表
IfWinExist, ahk_class RegEdit_RegEdit
{
	WinClose 
    WinWaitClose
}

; 写入
RegWrite, REG_SZ, HKEY_CURRENT_USER, SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit, LastKey, %Clipboard%

; 打开,自动定位到写入位置
Run, regedit
ExitApp


+定位注册表

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 事先拷贝注册表路径,该脚本直接定位到那个路径
; 
; gaochao.morgen@gmail.com
; 2014/2/4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#SingleInstance Force
#NoTrayIcon
#NoEnv

StringReplace, Clipboard, Clipboard, \, , All			; 网络文章"\",""不分
StringReplace, Clipboard, Clipboard, /, , All			; "/"改为""
StringReplace, Clipboard, Clipboard, \, , All			; "/"改为""
Clipboard := RegExReplace(Clipboard, "\$", "")			; 若最后一个字符为""则去掉

; 本想先探测是否存在改键,但是此方法无法判断出"(默认)"为空的项
;pos := RegExMatch(Clipboard, "HKEY_(.*?)\", RootKey)	; "我的电脑HKEY_CURRENT_USERSoftware"与"HKEY_CURRENT_USERSoftware"一样
;SubKey := SubStr(Clipboard, pos+StrLen(RootKey))
;StringReplace, RootKey, RootKey, , , All
;
;RegRead, content, %RootKey%, %SubKey%
;if (content = null && ErrorLevel = 1)
;{
;	MsgBox, %Clipboard% is not found.
;	Return
;}

; 关闭已经打开的注册表
IfWinExist, ahk_class RegEdit_RegEdit
{
	WinClose 
    WinWaitClose
}

; 写入
RegWrite, REG_SZ, HKEY_CURRENT_USER, SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit, LastKey, %Clipboard%

; 打开,自动定位到写入位置
Run, regedit
ExitApp


+定位注册表

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 事先拷贝注册表路径,该脚本直接定位到那个路径
; 
; gaochao.morgen@gmail.com
; 2014/2/4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#SingleInstance Force
#NoTrayIcon
#NoEnv

StringReplace, Clipboard, Clipboard, \, , All			; 网络文章"\",""不分
StringReplace, Clipboard, Clipboard, /, , All			; "/"改为""
StringReplace, Clipboard, Clipboard, \, , All			; "/"改为""
Clipboard := RegExReplace(Clipboard, "\$", "")			; 若最后一个字符为""则去掉

; 本想先探测是否存在改键,但是此方法无法判断出"(默认)"为空的项
;pos := RegExMatch(Clipboard, "HKEY_(.*?)\", RootKey)	; "我的电脑HKEY_CURRENT_USERSoftware"与"HKEY_CURRENT_USERSoftware"一样
;SubKey := SubStr(Clipboard, pos+StrLen(RootKey))
;StringReplace, RootKey, RootKey, , , All
;
;RegRead, content, %RootKey%, %SubKey%
;if (content = null && ErrorLevel = 1)
;{
;	MsgBox, %Clipboard% is not found.
;	Return
;}

; 关闭已经打开的注册表
IfWinExist, ahk_class RegEdit_RegEdit
{
	WinClose 
    WinWaitClose
}

; 写入
RegWrite, REG_SZ, HKEY_CURRENT_USER, SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit, LastKey, %Clipboard%

; 打开,自动定位到写入位置
Run, regedit
ExitApp


+定位注册表

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 事先拷贝注册表路径,该脚本直接定位到那个路径
; 
; gaochao.morgen@gmail.com
; 2014/2/4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#SingleInstance Force
#NoTrayIcon
#NoEnv

StringReplace, Clipboard, Clipboard, \, , All			; 网络文章"\",""不分
StringReplace, Clipboard, Clipboard, /, , All			; "/"改为""
StringReplace, Clipboard, Clipboard, \, , All			; "/"改为""
Clipboard := RegExReplace(Clipboard, "\$", "")			; 若最后一个字符为""则去掉

; 本想先探测是否存在改键,但是此方法无法判断出"(默认)"为空的项
;pos := RegExMatch(Clipboard, "HKEY_(.*?)\", RootKey)	; "我的电脑HKEY_CURRENT_USERSoftware"与"HKEY_CURRENT_USERSoftware"一样
;SubKey := SubStr(Clipboard, pos+StrLen(RootKey))
;StringReplace, RootKey, RootKey, , , All
;
;RegRead, content, %RootKey%, %SubKey%
;if (content = null && ErrorLevel = 1)
;{
;	MsgBox, %Clipboard% is not found.
;	Return
;}

; 关闭已经打开的注册表
IfWinExist, ahk_class RegEdit_RegEdit
{
	WinClose 
    WinWaitClose
}

; 写入
RegWrite, REG_SZ, HKEY_CURRENT_USER, SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit, LastKey, %Clipboard%

; 打开,自动定位到写入位置
Run, regedit
ExitApp


给TA捐赠
共{{data.count}}人
人已捐赠
其他案例

+办公软件

2020-3-20 0:34:33

其他

+日常软件

2020-3-20 0:46:29

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索