Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Menu, tray, Icon , face1.ico, 1, 1
Gui, New, +AlwaysOnTop,
;Gui, Add, Picture, x2 y-1 w70 h70 +BackgroundTrans, C:\Users\\Desktop\as\New folder\emoji tool\general\Border-68-A4--Arvin61r58.png
;Gui, Add, Picture, x72 y-1 w70 h70 +BackgroundTrans, C:\Users\\Desktop\as\New folder\emoji tool\general\Border-68-A4--Arvin61r58.png
Gui, Add, Picture, x2 y-1 w70 h70 +BackgroundTrans, C:\Users\\Desktop\as\New folder\emoji tool\Smileys\face-positive\face1.png
Gui, Add, Picture, x72 y-1 w40 h70 +BackgroundTrans, C:\Users\\Desktop\as\New folder\emoji tool\general\cooltext283191731048165.png
Gui, Add, Picture, x82 y-1 w40 h70 +BackgroundTrans, C:\Users\\Desktop\as\New folder\emoji tool\general\cooltext283191742318754.png
Gui, Add, Picture, x102 y-1 w40 h70 +BackgroundTrans, C:\Users\\Desktop\as\New folder\emoji tool\general\cooltext283191749514729.png
Gui, Add, Picture, x2 y69 w70 h30 , C:\Users\\Desktop\as\New folder\emoji tool\general\cooltext283191636545992.png
Gui, Add, Picture, x72 y69 w50 h30 , C:\Users\\Desktop\as\New folder\emoji tool\general\cooltext283191684825069.png
Gui, Add, Picture, x22 y99 w100 h50 +BackgroundTrans, C:\Users\\Desktop\as\New folder\emoji tool\general\cooltext283191884884057.png
Gui, Add, Picture, x2 y149 w140 h30 , C:\Users\\Desktop\as\New folder\emoji tool\general\cooltext283192787526476.png
Gui, Add, Picture, x42 y179 w60 h40 , C:\Users\\Desktop\as\New folder\Yes.png
; Generated using SmartGUI Creator 4.0
Gui, Show, x478 y186 h220 w147, New GUI Window
;gui, destroy
;Gui, Show, x478 y186 h220 w147, New GUI Window
Return
GuiClose:
ExitApp
I want to move the GUI though.
So how do I make it so that either
1) [] (maximize button) does not exist.
2) Clicking and dragging the GUI will move it.
3) Clicking and dragging the titlebar will move it.
I don't know if all three are possible but if they are, then it's great! Thanks a lot!