edit started over
Radial menu.ahk
/*==Description=========================================================================
Radial menu application is encapsulated, so you can put your code at appropriate places and make your perfect portable master script.
Hotkeys, hotstrings, timers, GUI-s, additional menus... anything you need. The code is clean - there are no global variables.
*/
;===Auto-execute========================================================================
RMApp_AutoExecute()
; you can put or include your auto-execute code here
#Include *i %A_ScriptDir%\My Codes\gui cb.ahk
#Include *i %A_ScriptDir%\My Codes\acad caps.ahk
#Include *i %A_ScriptDir%\My Codes\my misc.ahk
;#Include *i %A_ScriptDir%\My Codes\gui cb 2.ahk
Return
;===Hotkeys=============================================================================
#Include *i %A_ScriptDir%\My Codes\My hotkeys.ahk ; you can put your hotkeys here
;===Hotstrings==========================================================================
#Include *i %A_ScriptDir%\My Codes\My hotstrings.ahk ; you can put your hotstrings here
;===Subroutines=========================================================================
#Include %A_ScriptDir%\Internal\Codes\RMApp sub.ahk ; reserved prefix: RMApp_
#Include *i %A_ScriptDir%\My Codes\gui cbs.ahk
; you can put or include your subroutines here
RMApp_OnExit: ; on exit subroutine
RMApp_OnExit()
; you can put or include your OnExit code here
ExitApp
;===Functions===========================================================================
#Include %A_ScriptDir%\Internal\Codes\Gdip.ahk ; reserved prefix: Gdip_
#Include %A_ScriptDir%\Internal\Codes\RM2module.ahk ; reserved prefix: RM2_
#Include %A_ScriptDir%\Internal\Codes\RMApp lib.ahk ; reserved prefix: RMApp_
#Include *i %A_ScriptDir%\My Codes\NCHITTEST.ahk ; reserved prefix: NCHT_
#Include *i %A_ScriptDir%\My Codes\My mouse gestures.ahk ; reserved prefix: MG_
#Include *i %A_ScriptDir%\My Codes\My functions.ahk
; you can put or include your functions here
gui cb
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#Persistent
#SingleInstance Force
Gui cb: +LastFound +AlwaysOnTop +resize -Caption +ToolWindow
Gui cb: Font, s10
Gui cb: Add, edit, readonly VScroll vMyText w275 r6
Gui cb: Show, x1200 y950 NoActivate
Gui pad: +LastFound +AlwaysOnTop +resize -Caption +ToolWindow
Gui pad: Font, s10
Gui pad: Add, edit, VScroll w275 r6
Gui pad: Show, x1500 y950 NoActivate
;OnClipboardChange:
;GuiControl, cb: , MyText, %clipboard%
; return
gui cbs
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <[email protected]>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
OnClipboardChange:
GuiControl, cb: , MyText, %clipboard%
return
It looks like I needed a subroutine.
What is the difference between the 2 lines below?
#Include %A_ScriptDir%
#Include *i %A_ScriptDir%