Jump to content

Adobe Reader 6.0.1 [AutoHotKey] with GUI


Recommended Posts

Posted

Autohotkey

What 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.exe

reg.reg

run.ahk (Autohotkey run file..you can compile to exe.)

CMD example:

REM cmdow @ /HID

CLS

@ECHO OFF

COLOR 27

ECHO.

ECHO Registering Adobe Reader 6.0.1...

REGEDIT /S \apps\adober.601\reg.reg

ECHO.

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 5

ECHO.

ECHO Removing Adobe Reader 6.0.1 shortcuts... for ALL USERS

DEL "%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 Finish

ECHO.

EXIT

convert to Autohotkey:

; Create Progess GUI for Adobe Reader.

Progress, b2 M2 w300 CBFFFF00, Installing, Adobe Reader 6.0.1, Adobe Reader 6.0.1

Progress, 20

; Applying registry tweaks.

Run, %windir%\regedit.exe /S %A_WorkingDir%\reg.reg

SendRaw, {ENTER}

Progress, 30

Sleep, 1000

; Unpack Adobe Reader silent and install.

RunWait, %A_WorkingDir%\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""

Progress, 40

Sleep, 1000

; Removing shortcuts

MsgBox, 4160, ,Removing messy shortcuts,1

FileDelete, %USERPROFILE%\Desktop\Adobe Reader 6.0.lnk

FileDelete, %USERPROFILE%\Start Menu\Programs\Adobe Reader 6.0.lnk

FileDelete, %ALLUSERSPROFILE%\Desktop\Adobe Reader 6.0.lnk

FileDelete, %ALLUSERSPROFILE%\Start Menu\Programs\Adobe Reader 6.0.lnk

FileRemoveDir, %USERPROFILE%\Start Menu\Programs\PrintMe Internet Printing,1

FileRemoveDir, %ALLUSERSPROFILE%\Start Menu\Programs\PrintMe Internet Printing,1

Progress, 60

Sleep, 1000

; Making shortcuts.

MsgBox, 4160, ,Setup shortcut,1

FileCreateDir, %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.exe

Sleep, 1000

Progress, 70

; Clean up.

MsgBox, 4160, ,Deleting temp installation files,1

FileRemoveDir, %systemroot%\Cache\Adobe Reader 6.0.1,1

Progress, 100

Sleep, 1000

Progress, Off

post-80-1091585620_thumb.jpg


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...