Skip to content

Commit

Permalink
F3 to EditAutoFile
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Apr 21, 2016
1 parent d0c5a40 commit 5d07965
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Core/Functions.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,6 @@ Clip:
DisplayResult("剪切板内容长度 " . StrLen(clipboard) . " :`n`n" . clipboard)
return

EditConfig:
if (g_Conf.Config.Editor != "")
{
Run, % g_Conf.Config.Editor " """ g_ConfFile """"
}
else
{
Run, % g_ConfFile
}
return

CNY2USD:
DisplayResult("查询中,可能会比较慢或者查询失败,请稍后...")
DisplayResult(QueryCurrencyRate("CNY", "USD", Arg))
Expand Down
24 changes: 24 additions & 0 deletions RunZ.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Hotkey, Tab, TabFunction
Hotkey, f1, Help
Hotkey, +f1, KeyHelp
Hotkey, f2, EditConfig
Hotkey, f3, EditAutoConfig
Hotkey, ^q, RestartRunZ
Hotkey, ^l, ClearInput
Hotkey, ^d, OpenCurrentFileDir
Expand Down Expand Up @@ -614,6 +615,29 @@ ReindexFiles:
GoSub, CleanupRank
return

EditConfig:
if (g_Conf.Config.Editor != "")
{
Run, % g_Conf.Config.Editor " """ g_ConfFile """"
}
else
{
Run, % g_ConfFile
}
return

EditAutoConfig:
if (g_Conf.Config.Editor != "")
{
Run, % g_Conf.Config.Editor " """ g_AutoConfFile """"
}
else
{
Run, % g_AutoConfFile
}
return


ProcessInputCommand:
ControlGetText, g_CurrentInput, %g_InputArea%

Expand Down

0 comments on commit 5d07965

Please sign in to comment.