50 lines
1.2 KiB
AutoHotkey
50 lines
1.2 KiB
AutoHotkey
|
; ENVIRONMENT
|
||
|
;------------------------------------------------
|
||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||
|
;#Warn ; Enable warnings to assist with detecting common errors.
|
||
|
;DetectHiddenWindows, On
|
||
|
#SingleInstance, Force
|
||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||
|
;SetKeyDelay, 500
|
||
|
CoordMode, ToolTip, Screen
|
||
|
CoordMode, Mouse, Screen
|
||
|
;#NoTrayIcon
|
||
|
|
||
|
; Notes/Extra Info/#Includes
|
||
|
;------------------------------------------------
|
||
|
; #Include C:\Users\%A_Username%\Syncthing\Scripts\AutoHotKey\RadialMenu\My codes\My Global Variables.ahk
|
||
|
;Menu, Tray, Icon, %A_ICODir%\ICONAME
|
||
|
|
||
|
|
||
|
|
||
|
; VARIABLES
|
||
|
;------------------------------------------------
|
||
|
FileCreateDir, C:\Users\%A_Username%\Documents\ShareX
|
||
|
FileCopyDir, %A_ScriptDir%\ShareX, C:\Users\%A_Username%\Documents\ShareX, 1
|
||
|
sleep, 1000
|
||
|
FileCopy, %A_ScriptDir%\ShareX\*, C:\Users\%A_Username%\Documents\ShareX\*, 1
|
||
|
|
||
|
msgbox
|
||
|
|
||
|
|
||
|
; MAIN SCRIPT
|
||
|
;------------------------------------------------
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
; Functions
|
||
|
;------------------------------------------------
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
; Misc
|
||
|
;------------------------------------------------
|
||
|
; Escape::ExitApp
|