zbeta Posted August 4, 2004 Posted August 4, 2004 AutohotkeyWhat is it? * Free & open source (GNU General Public License). * A keyboard, joystick, and mouse remapper. * A word recognition engine that expands abbreviations as you type them (auto-replace). * A simple yet powerful hotkey (shortcut key) scripting language for Windows, supporting both mouse and keyboard macros (if you're new to scripting, it might be easier than you think; check out the quick-start tutorial). * A regular scripting language (backward compatible with most existing AutoIt2 scripts). The program includes a script compiler that converts a script to an EXE. It also includes AutoScriptWriter, a macro recorder written by Larry Keys.Who might benefit? * Users who have an interest in creating hotkeys that: o aren't limited to only those combinations allowed by Windows; o are more flexible and capable of greater complexity than those of most other hotkey apps; o are more responsive (take effect more quickly) than standard Windows hotkeys. * Anyone concerned about, or already suffering from Repetitive Stress Injury (RSI). For example, the mouse wheel can be used as an entire substitute for Alt-Tab. * AutoIt2 users who: o aren't ready to completely switch over to AutoIt v3; o want an open source alternative to AutoIt2 that retains backward compatibility while offering enhanced syntax; o want to enhance existing AutoIt2 scripts with new commands and features; o want better hotkey performance, since the overhead of launching a new script for each hotkey is avoided and since scripts are semi-compiled. * AutoIt3 users who want more hotkey power and flexibility, such as mouse & joystick hotkeys, unrestricted single-letter hotkeys, and custom hotkeys that are a combination of any two keys/mouse buttons.Take complete control of your keyboard, joystick, and mouse: AutoHotkey has far better hotkey support than Windows provides (and is more responsive too). It's also more powerful than most commercially available hotkey apps. For example: The built-in Windows shortcut keys such as Win+E and Win+R can be overridden or disabled. Also, any two keys and/or mouse buttons can be combined to become a hotkey.Create GUI install for Adobe Reader instead (bat, cmd) way:Directory info:AdbeRdr60_enu_full.exereg.regrun.ahk (Autohotkey run file..you can compile to exe.)CMD example:REM cmdow @ /HIDCLS@ECHO OFFCOLOR 27ECHO.ECHO Registering Adobe Reader 6.0.1...REGEDIT /S \apps\adober.601\reg.regECHO.ECHO Install Adobe Reader 6.0.1...Please wait!start /wait \apps\adober.601\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""ECHO.ECHO wait 5 sec...sleep.exe 5ECHO.ECHO Removing Adobe Reader 6.0.1 shortcuts... for ALL USERSDEL "%USERPROFILE%\Desktop\Adobe Reader 6.0.lnk"DEL "%USERPROFILE%\Start Menu\Programs\Adobe Reader 6.0.lnk"DEL "%ALLUSERSPROFILE%\Desktop\Adobe Reader 6.0.lnk"DEL "%ALLUSERSPROFILE%\Start Menu\Programs\Adobe Reader 6.0.lnk"ECHO.ECHO Delete Folder shortcuts...RD /S /Q "%USERPROFILE%\Start Menu\Programs\PrintMe Internet Printing"RD /S /Q "%ALLUSERSPROFILE%\Start Menu\Programs\PrintMe Internet Printing"ECHO.ECHO Make shortcut to programs...MKDIR "%ALLUSERSPROFILE%\Start Menu\Programs\[TOOLS]"shortcut.exe /f:"%ALLUSERSPROFILE%\Start Menu\Programs\[TOOLS]\Adobe Reader 6.0.1.lnk" /a:c /t:"%PROGRAMFILES%\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" /W:"%PROGRAMFILES%\Adobe\Acrobat 6.0\Reader"ECHO.ECHO Deleting Temp Installation Files...RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"ECHO.ECHO FinishECHO.EXITconvert to Autohotkey:; Create Progess GUI for Adobe Reader.Progress, b2 M2 w300 CBFFFF00, Installing, Adobe Reader 6.0.1, Adobe Reader 6.0.1Progress, 20; Applying registry tweaks.Run, %windir%\regedit.exe /S %A_WorkingDir%\reg.regSendRaw, {ENTER}Progress, 30Sleep, 1000; Unpack Adobe Reader silent and install.RunWait, %A_WorkingDir%\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""Progress, 40Sleep, 1000; Removing shortcutsMsgBox, 4160, ,Removing messy shortcuts,1FileDelete, %USERPROFILE%\Desktop\Adobe Reader 6.0.lnkFileDelete, %USERPROFILE%\Start Menu\Programs\Adobe Reader 6.0.lnkFileDelete, %ALLUSERSPROFILE%\Desktop\Adobe Reader 6.0.lnkFileDelete, %ALLUSERSPROFILE%\Start Menu\Programs\Adobe Reader 6.0.lnkFileRemoveDir, %USERPROFILE%\Start Menu\Programs\PrintMe Internet Printing,1FileRemoveDir, %ALLUSERSPROFILE%\Start Menu\Programs\PrintMe Internet Printing,1Progress, 60Sleep, 1000; Making shortcuts.MsgBox, 4160, ,Setup shortcut,1FileCreateDir, %ALLUSERSPROFILE%\Start Menu\Programs\[TOOLS]FileCreateShortcut, %PROGRAMFILES%\Adobe\Acrobat 6.0\Reader\AcroRd32.exe, %ALLUSERSPROFILE%\Start Menu\Programs\[TOOLS]\Adobe Reader 6.0.1.lnk, %PROGRAMFILES%\Adobe\Acrobat 6.0\Reader, , My Description, %PROGRAMFILES%\Adobe\Acrobat 6.0\Reader\AcroRd32.exeSleep, 1000Progress, 70; Clean up.MsgBox, 4160, ,Deleting temp installation files,1FileRemoveDir, %systemroot%\Cache\Adobe Reader 6.0.1,1Progress, 100Sleep, 1000Progress, Off
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now