AutoHotkey Portable 1.0.47.6 Development Test 2 [Testers Needed]

b23's picture
Submitted by b23 on April 24, 2008 - 2:39pm

Name: AutoHotkey
Category: Development
Description:
AutoHotkey is a free, open-source utility for Windows. With it, you can:

  • Automate almost anything by sending keystrokes and mouse clicks. You can write a mouse or keyboard macro by hand or use the macro recorder.
  • Create hotkeys for keyboard, joystick, and mouse. Virtually any key, button, or combination can become a hotkey.
  • Expand abbreviations as you type them. For example, typing "btw" can automatically produce "by the way".
  • Create custom data-entry forms, user interfaces, and menu bars. See GUI for details.
  • Remap keys and buttons on your keyboard, joystick, and mouse.
  • Respond to signals from hand-held remote controls via the WinLIRC client script.
  • Run existing AutoIt v2 scripts and enhance them with new capabilities.
  • Convert any script into an EXE file that can be run on computers that don't have AutoHotkey installed.

Download AutoHotkey Portable 1.0.47.6 Development Test 2
[MD5:6751fe184eee3aad9435f5f86da4acda | 2.76 Mb Download | 3.79 Mb Installed]

Release Notes:

Development Test 2 (2008-4-30)

  • Fixed corrupt installer
  • Added SmartGUI version for 9x windows with GetWindowsVersion

Incomplete Upload (2008-4-29)

  • Removed extra splash screen copies and added SmartGUI creator to the package.

Development Test 1 (2008-4-24) Initial Release

  • This is a full package of AHK, with all included programs like the compiler, window spy, and AutoScriptWriter. There are three launchers included in the package.

Things to do:

  • Wait for testers. :)
  • UPX

( categories: )

Instead of 3 launchers, why

Instead of 3 launchers, why not just do what I did for my NSIS portable, and make the exe a passable parameter through [AppName]Portable.ini. This saves on space.

See the Hint: section in this topic.

To do this, you will also have to change

	CheckRunning:
		Sleep 1000
		FindProcDLL::FindProc "${DEFAULTEXE}"                  
		StrCmp $R0 "1" CheckRunning
		Sleep 100

to

	CheckRunning:
		Sleep 1000
		FindProcDLL::FindProc "$PROGRAMEXECUTABLE"                  
		StrCmp $R0 "1" CheckRunning
		Sleep 100

The developer formerly known as ZGitRDun8705

hmm...

I was kind of looking at the way OO.o is set up, for guidance on the whole multiple apps thing.
The thing about NSIS is that you can access all of the other exes (makensisw, zip2exe) through the main menu, and you can't really do that with AHK. That's why I did the multiple launchers. Plus, it's easier to get at through PAM.
I'll take a look at it though, and I'll look at other ways to save space and make it more efficent.
(Not that it is a huge app anyway though, only ~3.3 MB.)

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

b23- if you do switch to the

b23- if you do switch to the ini, would you please leave the source for the others in?

Good gracious! There goes a kangaroo. I must have a practice with me boomerang- Now then, slowly back
If you throw that thing at me, I'll jump right on your head.
Innit marvellous? Got a land full of kangaroos and I had to pick that one.

The other launchers' source? ...

... sure, of course,. But I think I'll stick with the multiple launcher thing for now, it makes it a lot easier to access the apps.
[Edit: duh, an easy way for me to save space would be to remove the 3 extra copies of the same splash screen :p ]

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

i like the multiple

i like the multiple launchers better. No offense to Zach, but I don't care for the way NSIS is set up- I want makensisw.exe, as I can usually get to anything I need from there. So, the ini is set to launch makensisw.exe

But then again, you can't please everyone. Fair warning to you, Brian. And thank you, I like AHK alot!

Good gracious! There goes a kangaroo. I must have a practice with me boomerang- Now then, slowly back
If you throw that thing at me, I'll jump right on your head.
Innit marvellous? Got a land full of kangaroos and I had to pick that one.

Your Welcome

I like the multiple launchers too, that's why I did it that way.
The reason why the ini method works for NSIS, is because a user can access the other exes directly from the main app, and that a user will probably not need to use multiple exes at the same time.
Again, no offense to Zach, it is a very efficent method :) , but it only works good on the right app. For AHK, a user might need to use some of the exes at the same time, and this would be problematic if I set it up with the ini method. Again, with NSIS, it isn't likely that user running the compiler as the default exe will need the zip2exe app at the same time. So each method has it's pros and cons; the ini is efficent, but lacks ease of launching multiple exes, and the multiple launcher method takes up more space but makes the apps easier to launch.
Hmm...Imagine launching the OO.o apps with the ini method! :p

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

That seems a little cumbersome.

To me.
I'd prefer to have multiple exe launchers, then tell the End User to delete or move the other ones. I'd love to have all 3 of them on the menu, digging in to change the INI is a little messy to the End User.
I hope somebody will make an INI maker for PAF.
That way we won't have to dig in through the portableapps folder.

π(pi)=3.14159265358979323...
The other night, I had a nightmare. I dreamt, that.... My dad, no I can't say it, HE INSTALLED VISTA ONTO MY PC!!!!!!!!!!!
Somebody give me a portable video editor... Please!

Maybe I'll try doing that.

I've been trying to learn to code. Maybe that would be a good place to start. :)

Jacobm001

I would suppose using

AutoIt.
Hmm... Here's an idea: make a program that manages your PortableApps so that you don't have to dig in there, including:

  • An INI file maker
  • Updater
  • Uninstaller
  • Help file linker.
  • Backup data
  • App icon changer./app renamer(recompile the app or do what geek.menu does)
  • emergency file restorer (checks what app EXE's are missing and restore them from an archive)

π(pi)=3.14159265358979323...
The other night, I had a nightmare. I dreamt, that.... My dad, no I can't say it, HE INSTALLED VISTA ONTO MY PC!!!!!!!!!!!
Somebody give me a portable video editor... Please!

SmartGUI Creator

I'm working on adding SmartGUI creator to the AHK Portable package. It'll be available in the next release.

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

I'd say make an add-on installer.

To do:Ask John how to make an add-on installer.

π(pi)=3.14159265358979323...
The other night, I had a nightmare. I dreamt, that.... My dad, no I can't say it, HE INSTALLED VISTA ONTO MY PC!!!!!!!!!!!
Somebody give me a portable video editor... Please!

Hmmm

I've never heard about an add-on installer, but I'll look into it.
SmartGUI isn't really an add on though, it's a separate program.
I've been working on it the last few days, and I have tomorrow and wednesday off, so I'll have time to do it.

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

Problems with SmartGUI base app

hmm...
I've been working on SmartGUI Creator Portable for the AHK Portable package, but there's bug that causes it to open again after it closes. It's really weird. I just watched it in taskmanager. This is what happens.

  1. First, the launcher starts the base app successfully,
  2. then I close the app,
  3. then the launcher closes,
  4. and then, strangely, the base app opens again, without the launcher.

I've checked, and I'm confused :puzzled: , because this doesn't happen when I click on the base app directly. I can't find a problem with the launcher, which was taken from a working one already in AHK Portable. This even happens when I kill the process manually with task manager! :(
Has anyone seen this before?

[List closed correctly by moderator SL]

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

Goto TheEnd

i would assume it is because you don't have a Goto TheEnd, after the base app closes and your script does cleanup, and so your script would fall to the LaunchAndExit: before closing.

Ha!

that must have just slipped by me. It's fixed now.

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

Development Test 2 Released

Added SmartGUI and removed extra splashes.
I need some testers to look at the source and find out what is needed and what isn't, as far as reg keys, etc. Thanks.

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

Um..installer doenst work

When ever i try to install this, i keep gtting any error about corrputed file. Can someon help me?

New to Making POrtable apps, but not to portable apps

Needs a new upload.

Needs a new upload. Installer seems corrupt!

sigh...

I'll fix it asap.
[EDIT: It's up, made some changes too.]

A Dozen, a Gross and a Score,
plus three times the square root of four,
divided by seven,
plus five times eleven,
equals nine squared and not a bit more.

Thank You

Thank You, I'll test his out. Can this make macros then turn it into .exe? or am i think of something else?

New to Making POrtable apps, but not to portable apps

Yes it can.

Yes it can.

The developer formerly known as ZGitRDun8705

Sweet, but Hotkeys

But is it simple? i mean ther is no scripting invilved or is there? i mean if i record something and then can i just say save as a exe (or the porcess).

And can i use Hotkeys to record and stop?

New to Making POrtable apps, but not to portable apps

Not too sure, I never used

Not too sure, I never used the macro recorder, I just learned the scripting language, it's much more customizable that way, and it really is fairly simple to understand, as long as you have a general knowledge of coding/scripting.

The developer formerly known as ZGitRDun8705

ok, thank you

Ok, thank You.

New to Making POrtable apps, but not to portable apps