Jump to content
LaunchBox Community Forums
BetaLeaf

AutoHotKey/AutoIt Smart Switch

Recommended Posts

Installation Instructions  
  
To use the smart switch, do the following:  
  - Rename AutoHotkey.exe to AHK.exe  
  - Copy AutoIt3.exe into the Launchbox\AutoHotkey directory
  - Copy AutoHotkey.exe included in ZIP file into the Launchbox\AutoHotkey directory
  
How to use  

The smart switch will default to using AutoHotkey to maintain compatibility with existing scripts.  
To use AutoIt3.exe, have the first line contain ";AutoIt"  

Example: 

Msgbox(0,"Hello World","You are using AutoIt!") ;AutoIt  

You can download AutoIt3.exe at https://www.autoitscript.com/files/autoit3/autoit-v3.zip

Source Code
Source Code is included. View the file AutoHotkey.au3 in SciTE.exe packaged with AutoIt or via the notepad.

AutoHotKey/AutoIt Smart Switch License

MIT License

Spoiler

 

Copyright (c) 2018 Jeff "BetaLeaf" Savage

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

 

 

 

 

 

AutoHotkey.zip

Edited by BetaLeaf

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...