Skip to content

Instantly share code, notes, and snippets.

RBTitle := 1
switch (RBTitle)
{
case 1:
msg := "Troubleshoot "
case 2:
msg := "Configure "
case 3:
msg := "Discuss "
@JoeGlines
JoeGlines / GUI example.ahk
Created April 1, 2022 16:45
Saving and Importing to a GUI - example from friday support call
#SingleInstance, Force
; Create the sub-menus for the menu bar:
Menu, FileMenu, Add, &New, Clear
Menu, FileMenu, Add
Menu, FileMenu, Add, &Import, Import
Menu, FileMenu, Add, &Export, Export
Menu, FileMenu, Add
Menu, FileMenu, Add, E&xit, GuiClose
a=1
b=2
c=a + b
*///////////////.
DEFINE !Describer (Buy2 !TOKENS (1) / Title !Tokens (1) / ord !Tokens (1) /Varys !CMDEND)
Desc !Varys /sort (!ORD) /stats Mean.
script "B:\SPSS\Scripts\S1\Swap Mean.SBS".
Script "B:\SPSS\Scripts\Change N to Count.SBS".
Script "B:\SPSS\Scripts\Parse\Move Row.sbs"("Other").
Script "B:\SPSS\Scripts\Parse\Move Row.sbs"("None of the above").
script 'B:\SPSS\Scripts\Parse\Change Title.sbs' (!Title).
Script "B:\SPSS\Scripts\S1\Size labels to avoid line-wrapping.sbs".
!ENDDEFINE.
GitName:="JoeGlines" ;Add your name here
if (!GitName){
MsgBox You need to provide the name of your GIT...
Exitapp
}
;***********just sort*******************
SQL_UpperCase_Sort:
Clipboard_Backup_Copy_Selected_Text()
Sort, Clipboard, U CL ;sort, case insensitive, remove duplicates
gosub Remove_Blank_Lines
Clipboard := RegExReplace(Clipboard,"m)^[_\s]*|[_\s]*$") ;removes spaces at beginning and end
Source:="Sort, Uppercase, Dedupe and count"
gosub Count_Rows
Clipboard_Paste_and_Restore_Clipboard(Clipboard_Backup)
;*******************************************************
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY
; Right now you can get a coupon code here: https://the-Automator.com/Learn
;*******************************************************
;**************************************
;~ gui,+AlwaysOnTop
gui, font, S12 ;Change font size to 12
Gui, Add, GroupBox, x0 w460 h150, Search ;add a groupbox
gui, Add, Checkbox, x20 y30 checked1 vahk, AutoHotkey.com ;first checkbox and move down / over a bit
gui, Add, Checkbox, checked0 vstack, StackOverflow.com
;*******************************************************
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY
; Right now you can get a coupon code here: https://the-Automator.com/Learn
; This code was orinated by Maestrith for Joe Glines and Hellbent
;**************************************
NumbImages:=50
NumbLoops:=100
#SingleInstance,Force
Gui,Add,ActiveX,w800 h500 vwb,mshtml:
;*******************************************************
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY
; Right now you can get a coupon code here: https://the-Automator.com/Learn
;*******************************************************
;********************Jean Lalonde script from Live help on Fridays ***********************************
;********************https://the-Automator.com/Fridays***********************************
#requires AutoHotkey v1.1
#SingleInstance,Force
#NoEnv
Appskey & z:: ;launch my zoom meeting and turn on video
run %comspec% /c ""C:\Users\Joe\AppData\Roaming\Zoom\bin\Zoom.exe" "--url=zoommtg://zoom.us/join?action=join&confno=81557xxxx"",,hide
WinWait, Zoom Meeting
Sleep, 100
Send !v ;Alt V is typical hotkey for toggling video
return