. [autohotkeyU.exe] [ l+i.ahk] [ ahk tips ] [ Line brakes → `r ] -_- more AutoHotkey functions [SCR1PT.tk]
AHK TIPS:
• to create an "edit"
shortcut: if the sample file AutoHotkey.AHK in the
documents folder doesn´t show the blue "notepad" symbol
A) create an shortcut B)rightclick on the
file ’properties
C:) add "notepad" to the target field before the file path |notepad "C:\...
→ you can create an reload shortcut from the exe in the
quicklaunch or in a always on top toolbar
my way: a copy of the StartUP folder with the .exe
shortcut as a "always on top" toolbar in the upper left
corner from my screen → view the video still or widescreen.tk
• set up linebrakes with `r
or `n
Preparing phase (
place the code lines @ the beginning
)
• #singleinstance
force . ADVANTAGE
supresses the alert "an older instance of this script
....."
• code,
who reloads automatically scripts 4rtist.com/r.txt
the advantage: there is nothing else requiered if the file is
located in the Startup folder.
Disadvantage: you can´t edit something
•
for .exe files the Autohotkey
full install (3.ly/ahk)
is required
and the following sample
code with additional lines
@ the end of the .ahk files
1) create an .ahk file
ins::
PutUni("♥ █▄ █▄█
▀▄▀ -_- █ ▀█▀ ♥")
return
PutUni(DataIn)
{
SavedClip := ClipBoardAll
ClipBoard =
If RegExMatch(DataIn, "^[0-9a-fA-F]+$")
{
Loop % StrLen(DataIn) / 2
UTF8Code .= Chr("0x" .
SubStr(DataIn, A_Index * 2 - 1, 2))
}
Else
UTF8Code := DataIn
Transform, ClipBoard, Unicode, %UTF8Code%
Send ^v
Sleep 100 ;Generous, less wait or none will often work.
ClipBoard := SavedClip
return
}
;!!NOTE: this .ahk file must
be saved too with utf8
encoding!!
2) → rightclick on the file
→ create exe