vk   - AutoItLauncher 1.0 - you can change everything in the command-editor of AutoItLauncher - you can change here but do not change the structure one mistake and it give an error. 

-----------window---------------------------------
x,y,width,height,[Tranparency=0 to 255],[autohide >],x,y,width,height,[Hidegroup],[Idle>modus],[ShowInTaskbar],[AlwaysOnTop]
right,center,146,148,255,0,right,center,40,40,x,0,1,1,-1,912,1677,0,1,0,0,0,1,310,1,0;[camX],[CamY],[CamZ],[borderless],[showmenu],[ShowAxis],[Only for TouchScreen - PosMousePointerRespons 0 to 1000],[Volume 0 to 10],[ShowHint],[Zoom Cam Scale],[FolowToTheMousePointer],[PinShowmenu]
--------------------------------------------------     

-------Temp Path Directory------------------------
.\3 TempRunFiles
--------------------------------------------------

-------location Path AutoHotkey.exe---------------
C:\Program Files (x86)\AutoIt3\AutoIt3.exe
-------------------------------------------------- 

1 pictures\floor.png
2 sounds\trumpet1.wav
keygroup,x,y,z,width,height,[Tranparency=0 to 255],[RollAngle],[^PitchAngle^],[TurnAngle],--glCard--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
z,0,0,0,1000,1800,255,0,90,0,1,0,0,0,0,x,x,1,1;[XTiles],[YTiles]
.au3  - (Autoit file) 
>>>
#notrayicon
<<<

1 pictures\wall.jpeg
2 sounds\trumpet1.wav
keygroup,x,y,z,width,height,[Tranparency=0 to 255],[RollAngle],[^PitchAngle^],[TurnAngle],--glCard--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
z,-590,500,-100,1800,1000,200,0,0,90,1,0,0,0,0,x,x,4,8;[XTiles],[YTiles]
.au3  - (Autoit file) 
>>>
#notrayicon
<<<

1 pictures\wall.jpeg
2 sounds\trumpet1.wav
keygroup,x,y,z,width,height,[Tranparency=0 to 255],[RollAngle],[^PitchAngle^],[TurnAngle],--glCard--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
z,590,500,-100,1800,1000,200,0,0,-90,1,0,0,0,0,x,x,4,8;[XTiles],[YTiles]
.au3  - (Autoit file) 
>>>
#notrayicon
<<<

1 pictures\Card.gif
2 sounds\ChillyWind.mp3
keygroup,x,y,z,width,height,[Tranparency=0 to 255],[RollAngle],[^PitchAngle^],[TurnAngle],--glCard--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
a,-370,90,-500,32,32,255,0,0,0,1,-1,0,0,10,x,x,1,1;[XTiles],[YTiles]
.au3  - (Autoit file)
>>>
#notrayicon
;send ("{enter}")
<<<

1 pictures\Disk.gif
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,[Tranparency=0 to 255],[RollAngle],[^PitchAngle^],[TurnAngle],--glDisk--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,-312,25,-709,32,32,255,0,0,0,2,-10,0,0,0,x,x,50,145,113,-222;[InnerRadius],[OuterRadius],[StartAngle],[SweepAngle]
.au3  - (Autoit file)
>>>
#notrayicon
<<<

1 pictures\Cubus.gif
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,304,27,-626,32,32,20,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
<<<

1 pictures\Sphere.gif
2 sounds\ChillyWind.mp3
[keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glsphere--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,363,25,-759,32,32,32,0,0,0,4,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
<<<

1 pictures\Cylinder.gif
2 sounds\ChillyWind.mp3
keygroup,x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcylinder--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,427,24,-654,32,32,32,0,0,0,5,-10,0,0,0,x,x,70,70;[TopRadius],[BottomRadius]
.au3  - (Autoit file)
>>>
#notrayicon
<<<

1 pictures\gun1 shoot 2 times in 1 second continu.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,-62,27,48,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
local $t = 1
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot1","REG_DWORD","1")

While ($t=1)
If WinActive ("[CLASS:Notepad]") then ; Here you can put the class name from any game you want to use. Change this and it is done.                     
send ("1") ; put here your keystroke code 
sleep (500) ; put here the frequency time example [shoot 2 times in 1 second continu] (formula sleep500x2=1000=1 second)
Local $t = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot1")
else
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot1","REG_DWORD","0")
endif
wend
<<<

1 pictures\stop.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,-20,27,48,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot1","REG_DWORD","0")
<<<

1 pictures\Gun2 shoot 2 times in 1 second continu.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,20,27,48,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
local $t = 1
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot2","REG_DWORD","1")

While ($t=1)
If WinActive ("[CLASS:Notepad]") then ; Here you can put the class name from any game you want to use. Change this and it is done.                     
send ("2") ; put here your keystroke code 
sleep (500) ; put here the frequency time example [shoot 2 times in 1 second continu] (formula sleep500x2=1000=1 second)
Local $t = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot2")
else
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot2","REG_DWORD","0")
endif
wend
<<<

1 pictures\stop.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,60,27,48,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot2","REG_DWORD","0")
<<<

1 pictures\shoot 20 times in 1 second loop 1 time.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,-60,27,123,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
local $t = 1
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot3","REG_DWORD","1")

; put here the frequency time example [shoot 2 times in 1 second continu] (formula sleep500x2=1000=1 second)


While ($t=1)

For $i = 1 To 20 Step 1
If WinActive ("[CLASS:Notepad]") then ; Here you can put the class name from any game you want to use. Change this and it is done.                     
send ("3") ; put here your keystroke code 
sleep (50) ; put here the frequency time example [shoot 20 times in 1 second, loop 1 time] (formula loop20xsleep50=1000=1 second)
Local $t = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot3")
else
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot3","REG_DWORD","0")
endif
next
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot3","REG_DWORD","0")
wend

<<<

1 pictures\stop.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,-20,27,123,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot3","REG_DWORD","0")
<<<

1 pictures\shoot 50 time in 1 second loop 1 minute long.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,20,27,123,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
local $t = 1
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot3","REG_DWORD","1")

; put here the frequency time example [shoot 2 times in 1 second continu] (formula sleep500x2=1000=1 second)


While ($t=1)

; (formula sleep20xa3000=60.000=1 minute)
For $i = 1 To 2000 Step 1
If WinActive ("[CLASS:Notepad]") then ; Here you can put the class name from any game you want to use. Change this and it is done.                     
send ("4") ; put here your keystroke code 
sleep (20) ; put here the frequency time example [shoot 50 times in 1 second, loop 1 minute long]
Local $t = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot4")
else
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot4","REG_DWORD","0")
endif
next
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot4","REG_DWORD","0")
wend
<<<

1 pictures\stop.png
2 sounds\ChillyWind.mp3
[Keygroup],x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--glcubus--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
w,60,27,123,32,32,5,0,0,0,3,-10,0,0,0,x,x;
.au3  - (Autoit file)
>>>
#notrayicon
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\loop","AutoShoot4","REG_DWORD","0")
<<<

1 pictures\readme.png
2 sounds\ChillyWind.mp3
keygroup,x,y,z,width,height,[Tranparency=0 to 255],[RollAngle],[^PitchAngle^],[TurnAngle],--glCard--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
a,-2,90,79,109,49,255,0,0,0,1,-1,0,0,10,x,x,1,1;[XTiles],[YTiles]
.au3  - (Autoit file)
>>>
#notrayicon
Local $iPID = ShellExecute ("readme.txt") 
<<<

1 pictures\3DS_airplane.jpeg
2 sounds\trumpet1.wav
keygroup,x,y,z,width,height,depth,[RollAngle],[^PitchAngle^],[TurnAngle],--3DS--,[Push>Scale],[Push>Pitch],[Push>Turn],[RepeatKeyFreq 0 to 1000],[Hidegroup],[Showgroup]
a,4,78,-101,800,800,800,0,0,0,6,-1,0,0,0,x,x,1,1 pictures\airplane.3ds;[1=pmFill,2=pmLines,3=pmPoints],[colourfile lokated in directory (1 picture/)]
.au3  - (Autoit file)
>>>
#notrayicon
<<<

1 pictures\none
2 sounds\none
xxxxxxxxxxxxxxxxxxxxxxxxx;  (last one start automatic) 
xxxxxxxxxxxxxxxxxxxxxxxxx;
.au3  - (Autoit file)
>>>
Local $iPID = ShellExecute ("notepad.exe") 

;[^=ctrl] [#=window] [!=Alt] [+=shift] 
;-----------------------------------------------------------------------------------------------
Global $g_bPaused = False


;quit AutoIt if close AutoItLauncher 1.0
HotKeySet("{F8}", "Terminate") ;[222]

Func Terminate()
    Exit
EndFunc   
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples","QuitAutoIt3Sendkey","REG_SZ","{F8}") ;[222]
; [you can {esc} change in any key if you needed but must be the same like see [222] ]
;-----------------------------------------------------------------------------------------------

;------Follow the mouse pointer ----------------------------------------------------------------------
; Middle Mouse Button-----------------------------------------------------------------------------------------------

#include <Misc.au3>
#include <MsgBoxConstants.au3>
Local $hDLL = DllOpen("user32.dll")

While 1
    If _IsPressed("04", $hDLL) Then  ;04 Middle mouse button
        ConsoleWrite("_IsPressed - Shift Key was pressed." & @CRLF)
              ;MsgBox($MB_SYSTEMMODAL, "_IsPressed", "The Middle mouse button was pressed, therefore we will close the application.")
        Local $zz = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples","Folowpointer") ;read Folowpointer
       Local $aa = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples","a") 
if $zz then
if $aa then
 ;MsgBox($MB_SYSTEMMODAL, "_IsPressed", "The Middle mouse button was pressed, therefore we will close the application.")
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples","Hidewindow","REG_DWORD","0") ;show window 
sleep (200)
Local $xx = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\Cursor","x") ;read xx pos cursor
Local $yy = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\Cursor","y") ;read yy pos cursor
 
;--------if pointer y is down then window is up------------------------------------------------
Local $yScreenHeight = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher","ScreenHeight") ;read ScreenHeight
Local $yMainMaxWindowHeight = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\PosWindow\MainMaxWindow","Height") ;read yMainMaxWindowHeight

$yScreenHeight=$yScreenHeight-$yMainMaxWindowHeight+20
if $yy>$yScreenHeight then 
  $yy=$yy-$yMainMaxWindowHeight-10
Else
  $yy=$yy+10
EndIf
;----------------------------------------------------------------------------------------------

;--------if pointer x is to the right then window is left--------------------------------------
Local $xScreenWidth = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher","ScreenWidth") ;read ScreenWidth
Local $xMainMaxWindowWidth = RegRead("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\PosWindow\MainMaxWindow","Width") ;read xMainMaxWindowWidth

$xScreenWidth=$xScreenWidth-$xMainMaxWindowWidth-10
 
if $xx>$xScreenWidth then 
$xx=$xx-$xMainMaxWindowWidth-10
Else
$xx=$xx+10
EndIf
;----------------------------------------------------------------------------------------------
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\PosWindow\MainMaxWindow","left","REG_SZ",$xx)
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\PosWindow\MainMaxWindow","top","REG_SZ",$yy)
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples\PosWindow\MainMaxWindow","StartAuto","REG_DWORD","1") ;move window
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples","a","REG_DWORD","0") 
Else
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples","Hidewindow","REG_DWORD","1") ;hide window
RegWrite ("HKEY_CURRENT_USER\software\AutoItLauncher\GamingShootLoopExamples","a","REG_DWORD","1")
EndIf
EndIf

While _IsPressed("04", $hDLL)  ;04 Middle mouse button
           Sleep(50)
       WEnd
       ConsoleWrite("_IsPressed - Middle mouse button was released." & @CRLF)


    EndIf
    Sleep(250)



WEnd
<<<

