tabnation

intro 11

Feb 25th, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. ;Date: 12/28/2020
  2. ;changes: added some stuff and fixed that one thing
  3. ;Author: tab nation
  4. ;version: 3.2.1
  5.  
  6. ;Avoids checking empty variables to see if they are environment variables
  7. #NoEnv​
  8.  
  9. ;Enables or disables warnings for specific conditions which may indicate an error, such as a typo or missing "global" declaration.
  10. #Warn​, All, Off
  11.  
  12. ;determines whether a script is allowed to run again when it is already running.
  13. #SingleInstance​ force
  14.  
  15. ;Makes Send synonymous with SendInput or SendPlay rather than the default (SendEvent).
  16. SendMode Input
  17.  
  18. ;Changes the script's current working directory.
  19. SetWorkingDir %A_ScriptDir%
  20.  
  21. ;are vars case sent. good for ifs
  22. StringCaseSense, off
  23.  
  24. var=TTT
  25. if var = ttt
  26.  
  27. FileSelectFile, SelectedFile,,, Open a file, Text Documents (*.txt; *.doc)
  28. FileSelectFile, OutputVar , Options, RootDir\Filename, Title, Filter
  29.  
  30. fileread, %SelectedFile%
  31.  
  32. ;---------------------------------------
  33. ;the is a message box hello #000​
  34. ;---------------------------------------
  35. ;the is message box hello #111​
  36. ;the is message box bye #222​
  37.  
  38.  
  39. ;######################################
  40. ;the is a message box hello #111​
  41. ;========================================
  42. f1::
  43. msgbox, Hello
  44. Return
  45.  
  46. ;---------------------------------------
  47. ;the is a message box bye #222​
  48. ;---------------------------------------
  49. f1::
  50. msgbox, Bye
  51. Return
Advertisement
Add Comment
Please, Sign In to add comment