| 4755 | |
| 4756 | |
| 4757 | LPTSTR Script::DefaultDialogTitle() |
| 4758 | { |
| 4759 | // If the script has set A_ScriptName, use that: |
| 4760 | if (mScriptName) |
| 4761 | return mScriptName; |
| 4762 | // If available, the script's filename seems a much better title than the program name |
| 4763 | // in case the user has more than one script running: |
| 4764 | return (mFileName && *mFileName) ? mFileName : T_AHK_NAME_VERSION; |
| 4765 | } |
| 4766 | |
| 4767 | UserFunc* Script::CreateHotFunc() |
| 4768 | { |