Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Date: 12/28/2020
- ;changes: added some stuff and fixed that one thing
- ;Author: tab nation
- ;version: 3.2.1
- ;Avoids checking empty variables to see if they are environment variables
- #NoEnv
- ;Enables or disables warnings for specific conditions which may indicate an error, such as a typo or missing "global" declaration.
- #Warn, All, Off
- ;determines whether a script is allowed to run again when it is already running.
- #SingleInstance force
- ;Makes Send synonymous with SendInput or SendPlay rather than the default (SendEvent).
- SendMode Input
- ;Changes the script's current working directory.
- SetWorkingDir %A_ScriptDir%
- ;are vars case sent. good for ifs
- StringCaseSense, off
- var=TTT
- if var = ttt
- FileSelectFile, SelectedFile,,, Open a file, Text Documents (*.txt; *.doc)
- FileSelectFile, OutputVar , Options, RootDir\Filename, Title, Filter
- fileread, %SelectedFile%
- ;---------------------------------------
- ;the is a message box hello #000
- ;---------------------------------------
- ;the is message box hello #111
- ;the is message box bye #222
- ;######################################
- ;the is a message box hello #111
- ;========================================
- f1::
- msgbox, Hello
- Return
- ;---------------------------------------
- ;the is a message box bye #222
- ;---------------------------------------
- f1::
- msgbox, Bye
- Return
Advertisement
Add Comment
Please, Sign In to add comment