; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other ; ; Script Function: ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder) ; if not A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+ ExitApp } ;^!p:: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. ;SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. SetWorkingDir %A_WorkingDir% ;EnvGet, WORK_DIR, RUN_PATH ;******************************************:// ;//******************************************:// ;//OFFICE_2003CN******************************************:// SERVICE_END: ;Goto,SERVICE_END_X ;//******************************************:// global title,include_txt title := "Windows" RegRead, lang, HKEY_LOCAL_MACHINE, SYSTEM\CurrentControlSet\Control\Nls\Language, Default ;MsgBox, lang is: %lang% if (lang = 0804) { include_txt := "不再显示此消息" }else if( lang = 0411 ) { include_txt := "今後、このメッセージを表示しない" }else if( lang = 0412 ) { include_txt := "이 메시지를 다시 보지 않음" } ;MsgBox, title is: %title% ;MsgBox, include_txt is: %include_txt% WinWait,%title%,%include_txt%, 20 if ErrorLevel { exit 2 }else{ } ControlCheck(title,"Button2",include_txt) WinWaitAndClikButton(title,"Button1",include_txt) exit 0 #include BUTTON_LIB.ahk