HotKeySet vs HotStringSet

  • HotKeySet commands can execute autoit scripts by typing a keyboard shortcuts combinations.
  • HotStringSet commands can execute autoit scripts by typing text combinations.

    HotKeySet vs HotStringSet

The Best Commands in Autoit Languages.

These commands are the most usefull functions in Autoit scripting languages. with HotKeyset command you can execute any kind of scripting codes by typing only a keyboard shortcuts combination on your fisical keyboard and it will run direct the autoit code lines. and with HotStringSet command you can type any kind of text to run direct the autoit codes lines.

How to Install HotStringSet.au3 file to the default path of autoit.

Step 1 : Download and install autoit on your system.
Step 2 : Download and unzip HotStringFile.zip
here you will find the HotString.au3 file.
To use HotStringSet function you will need manually install the HotString.au3 file.
Copy the file into path C:\Program Files (x86)\AutoIt3\Include
And it is done. You can now use this in every autoit scripts.

Autoitlauncher 1.0 example ShortText into LongText.

Here you will find a Autoitlauncher 1.0 example together with this power tool you can do many things and it is everything in 3d.
Download and unzip the file ShortText-into-LongText.zip And run the exe file.
In this example it will use the same HotString.au3 file.
You can copy this file to the default path of autoit and you can use the HotStringSet function in every Autoitlauncher examples.

Play

HotKeyset a simple autoit script example.

; Push F1 to paste the text from the clipboard memory.
HotKeySet(“{F1}”, “Paste”)

Func Paste()
send (“^v”)
EndFunc

HotStringSet autoit script example.

#include <HotString.au3>

HotKeySet (“{F1}”, “quit”)
HotStringSet(“kbc{SPACE}”, replace1)
HotStringSet(“sil{SPACE}”, replace2)
HotStringSet(“ema{SPACE}”, replace3)
HotStringSet(“pi{SPACE}”, replace4)
HotStringSet(“ohm{SPACE}”, replace5)
HotStringSet(“calc{SPACE}”, replace6)

Func quit()
Exit
EndFunc

Func replace1()
;MsgBox(0,””,”You did typed kbc! :)”)
send (“{BS 4}keyboard control “) ; replace [kbc] into [keyboard control]
EndFunc

Func replace2()
;MsgBox(0,””,”You did typed sil! :)”)
send (“{BS 4}ShortText into LongText “) ; replace [sil] into [ShortText into LongText]
EndFunc

Func replace3()
;MsgBox(0,””,”You did typed ema! :)”)
send (“{BS 4}example@gmail.com “) ; replace [ema] into [example@gmail.com]
EndFunc

Func replace4()
;MsgBox(0,””,”You did typed pi! :)”)
send (“{BS 3}{ASC 960} “) ; replace [pi] into [symbol π]
EndFunc

Func replace5()
;MsgBox(0,””,”You did typed ohm! :)”)
send (“{BS 4}{ASC 234} “) ; replace [ohm] into [symbol Ω]
EndFunc

Func replace6()
;MsgBox(0,””,”You did typed calc! :)”)
Local $iPID = ShellExecute (“calc.exe”) ; If you type calc it wil run the application calculator.
EndFunc

While 1
Sleep(10)
WEnd

Changelog

The Autoitlauncher changelog news by date:

Autoitlauncher 1.0 | AutoItLauncher-1.0-r170325 | Released on software.informer.com | what’s new : New update checker, New in the Command Editor you have code examples insert buttons, New buttons for select text and do in one click a Google, Youtube or WikiPedia search, New buttons do in one mouse or touch click a translation from the selected text Simultaneous Sounds.

Has been published on http://autoitlauncher.software.informer.com/

By Arnold Burg | Apr 06, 2017 |

 

Autoitlauncher 1.0 | AutoItLauncher-1.0-r170325 | Released on softpedia.com | what’s new : New the Command Editor with code examples insert buttons, New buttons for select text and do in one click a Google, Youtube or WikiPedia search, New buttons do in one mouse or touch click a translation from the selected text Simultaneous Sounds.

Has been published on http://www.softpedia.com/get/System/OS-Enhancements/Autoitlauncher.shtml

By Arnold Burg | Apr 04, 2017 |

 

Autoitlauncher 1.0 | AutoItLauncher-1.0-r170325 | Released on download.cnet.com | what’s new : Command Editor with code examples insert buttons, New buttons for select text and do in one click a Google, Youtube or WikiPedia search., New buttons do in one mouse or touch click a translation from the selected text., Simultaneous Sounds

Has been published on http://download.cnet.com/Autoitlauncher/3000-2084_4-77503816.html

By Arnold Burg | Mar 30, 2017 |

 

autoit-v3-setup.exe | click here to download autoit.
AutoIt v3.3.14.0 was Released by Jonathan Bennett | Jul 10, 2015|
on website https://www.autoitscript.com/site/