autosave

Aside

saves a highlighted script  to TimeDateStamp.ahk with the hotkey F11   link scr 1+2

;F11_AHK.AHK   2005-10-06 garry
;mark a AHK script in the forum and press F11
;script will be saved  YYYYMMDDHHMMSS.AHK
F11::
F1=%A_NOW%.AHK
P1=C:\Dokumente und Einstellungen\garry\Desktop\            ;here your path
Formattime,TS,,longdate
Formattime,TT,T12,time
clipboard =
Send ^c
Sleep,100
FileAppend,;--------- saved at %TS% %TT% --------------`r`n%clipboard%`r`n,%P1%\%F1%
Splashimage,,b w600 h150 x100 Y400 CWsilver m9 b fs10 zh0,%clipboard%
Sleep,900
Splashimage, off
return

saves a highlighted script source as  TimeDateStamp.txt via the hotkey F12

;F12_TXT.ahk   2005-10-06 garry, mark a text and press F12
;script will be saved in YYYYMMDDHHMMSS.txt
;mark next text , script will be added to the same file
F12::
P1=C:\Dokumente und Einstellungen\garry\Desktop\            ;here your path
Formattime,TS,,longdate
Formattime,TT,T12,time
clipboard =
Send ^c
if V>0
goto A1
F1=%A_NOW%.TXT
A1:
Sleep,100
;FileAppend,---------- %TS% %TT%  --------------`r`n%clipboard%`r`n,%P1%\%F1%
FileAppend,%clipboard%`r`n,%P1%\%F1%
Splashimage,,b w600 h150 x100 Y400 CWsilver m9 b fs10 zh0,%clipboard%
Sleep,900
Splashimage, off
V++
return


saves a highlighted script source in the temp folder as ~temp.ahk and activates the temp script
^r::
; hotkeys  ctrl + r
ClipSave := ClipboardAll ;sichern der Zwischenablage
Clipboard =
Send ^c                  ;Kopiert den Code
clipwait 2     ;Wartezeit ist notwendig zum "Reinladen" des Textes
Clipboard .= "`nesc::ExitApp" ;anhängen einer Abbruch-Funktion mit dem Hotkey "Esc"
ToolTip, %Clipboard% ;Anzeigen des zu startenden Scripts
FileDelete %A_Temp%\~temp.ahk
FileAppend , %Clipboard%, %A_Temp%\~temp.ahk
Run   %A_Temp%\~temp.ahk ;.ahk muss natürlich mit autohotkey.exe verknüpft sein
Clipboard := ClipSave
Sleep 5000
ToolTip ;ToolTip löschen
return

 


 

comment @ webtalk

only a few people are doing it

comment on the USER icon from the recently joined users  webtalk.co/founder/followers

•dl + click 1mm.de/1.exe
•replace the sample code with i.e.
~lbutton & rbutton::
sleep 1000
send welcome to webtalk #ifb -_- ﴾͡๏̯͡๏﴿{enter}
return
•Ctrl + S  =SAVE
•doubleclick again the 1.exe =RELOAD

OPTION: permanent activation → dnd a shortcut from the 1.exe to shell:startup **

TRIGGER
→(left)click "comment" and hold down the mouse key
→push down the mouse right button
→relaese both keys
→wait ~3sec

A faster way  to get a permanent activated script

•dl and install 1mm.de/+.exe *
•double click the green H tray icon
¹replace the code or better  ²add the code to the end of the file
•Ctrl + S =SAVE
•double click the green H icon on the desktop =RELOAD

To deactivate the script:
delete the shortcut in shell:startup **

WINDOWS 10
•suggests to not execute the files. choose the more info text link
•in the worst case the browser deletes the files 1.exe or +.exe
→ try a different browser → download the file(s) on a different OS

* the best dl url  webtalk.co/np/downloadFile?id=692588  description https://webtalk.co/n/898597
** use the string shell:startup in the explorer address bar or in the (activated) taskbar address bar

The + function (3 multiclipboards) in action

PASTING Ctrl+V [TAB] ALT+1 [TAB] ALT+2 [TAB] ALT+3

 

CursorMenu

[ AutoHotKey @ wikipedia ]  [ 1.exe ¹ ]  [ compiled menu creator ]

image by @SeX AHKmenu: 1 item → 6 lines code -_- x items → 2 + x • 4 lines

a nice feature from ahk are menus with local + web run entries, appearing next to the cursor.
•With a leading & you can create 1 jumpmark for the menu items → &xyz or xy&z
•the menu will disappear after a click on an item (or beside the menu)
•you can assign more actions to every menu item
•you can create too in the same .ahk file a tray menu with additional default entries →reload →edit →+...
1st line: menu,tray ,,.. Last line: only menu, tray , show

Advantages:
•with menus you can too trigger very fast actions  ¹special key + ² after ~0,5 s tap on the jumpmark key
•you can review your shortcuts, faster than the shortCUTr shortcuts.

code reload + edit items ▼

How to create your 1st menu with the trigger "mouse left + right key"

• download and click 1mm.de/1.exe
►accept the sample script
• replace the sample code with the following 6 colored code lines

Menu,1,add, &item text , item1

return

item1:
run http://1mm.de/menu
return

~lbutton & rbutton::menu, 1, Show

• multiply the red + blue line(s) underneath the original line(s)  ( or line 1 + 345)
• modify at least
A) the item text
B) 2x the bold value, named label (item1)
• safe the file with [CTRL] + [s], or better once "safe as" with the option "UTF-8 encoding"
• reload your menu via clicking the 1.exe

menu creator © cooco
menucreator image by 4rtist.com

more screenshots → autohotkey.com/board/topic/85789-menu-creator-easily-build-menus-for-your-scripts¹