Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 01, 2015, 02:59:07 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)  (Read 46646 times)

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #50 on: January 17, 2009, 03:14:14 PM »
Wow excellent work Ryan!

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,503
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #51 on: March 06, 2009, 03:52:11 PM »
I wrote some code for starting scripts when Axem launches. It will save the checked scripts to the .ini file, when Axem is reloaded it will read the .ini file and restart all of the scripts that were running before.
...

Add "GoSub, RunStartup" after "GoSub, ShowWindow"

1 Add the RunStartup subroutine...
Code: AutoIt
  1.  
2 Add the following code to the "READINI" subroutine...   
Code: AutoIt
  1.  
3 And add the following code to the "WRITEINI" subroutine...   
Code: AutoIt
  1.  

this would be great  :)

I'm looking at the AHK file
so I
Add "GoSub, RunStartup" after "GoSub, ShowWindow"
I add 1 directly after "GoSub, RunStartup"
I add 2 directly after "GoSub READINI"
I add 3 directly after "GoSub WRITEINI" -
but I see there's two of them ... the first is followed by "Winhide", the second with "Gosub, ButtonRescan"
so I go for the first

Well that works (I'm a bit gobsmacked - not that it shouldnt work - but maybe that it shouldnt work if I do it lol)
so thanks for that Ryan_S  :Thmbsup: :)

Afterthoughts:
I hope I used the most recent AHK version :-\
On a different note, there's something in this post that seems to block previewing it after the first preview - I tried in opera and then FF. First I thought it was with all posts but it 's only with this one - who knows, maybe it's a friday night thing ... maybe it's that I emptied the code boxes in the quote
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,503
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #52 on: March 08, 2009, 02:19:03 PM »
since I added that code (see last post)
when I minimise or click hide button on axem it seems to close completely - It's not in the sys tray and I cant find it in Proccess Explorer. I dont think this is expected behaviour, it used to show in the tray anyway

Oddly, I just noticed - if I close the axem window it then shows in the tray :D
Tom

Ryan_S

  • Participant
  • Joined in 2009
  • *
  • Posts: 6
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #53 on: March 09, 2009, 08:48:59 AM »
You might want to check where you added that code.

1 should be added as it's own subroutine. check that where you added it is below the calls at the top. it should be between "Gosub, wait" and "Showwindow:" approx line 46.

2 should be added to the READINI subroutine, the actual line is about 321, and the code should be between the READINI:
 and Return

3 should be added to the WRITEINI subroutine, the line is about 341, as above the code should be between WRITEINI: and Return

The "Gosub, WRITEINI" is just the call to that subroutine. If you add it where you did it will not be called every time that subroutine runs. That probably explains your problems.

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #54 on: March 09, 2009, 09:04:26 AM »
I'll try and have a look at this this week and release it with Axem if that's ok by Ryan, might save you the hassle of trying to get it to work :)

Ryan_S

  • Participant
  • Joined in 2009
  • *
  • Posts: 6
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #55 on: March 09, 2009, 10:38:17 AM »
I don't have a problem with that.  :D

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,503
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #56 on: March 09, 2009, 11:24:24 AM »
I don't have a problem with that.  :D

:Thmbsup: and I'd be very happy about it :)
Tom

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
AHK Coding Snack Idea: Deluxe AHK Script Manager v1.50 out TODAY
« Reply #57 on: March 10, 2009, 07:56:55 AM »
Version 1.50 is out!!!

Message:
* Up to 3 times as fast due to improvements in Autohotkey.
* On starting, restart all of the scripts that were running when Axem closed (thanks for Ryan_S for the code)
* DcUpdater support!


tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,503
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #58 on: March 10, 2009, 08:46:21 AM »
Version 1.50 is out!!!

Message:
* Up to 3 times as fast due to improvements in Autohotkey.
* On starting, restart all of the scripts that were running when Axem closed (thanks for Ryan_S for the code)
* DcUpdater support!

Woo Hoo :D
Tom

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #59 on: July 22, 2009, 10:21:26 AM »
I'm not using this program myself anymore which means it's not likely to be updated regularly. However I'm happy to give people svn access if they want to contribute.
You can get the latest version (not released) via a few ways:

Web
code - http://code.assembla...ion/nodes/trunk/Axem
tickets - http://www.assembla....d-autohotkey/tickets

SVN (read only)
svn co http://svn2.assembla...tohotkey/trunk/Axem/

I'm happy to give people write access so they can help keep updating the program, just IM me and I will add you to the team. You will need a free assembla account.


justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #60 on: June 04, 2010, 09:44:17 AM »
I got a request to make Axem compatible with autohotkey portable by not using the registry to read the autohotkey.exe path but instead finding the path to it. would you use this?

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • gravatar avatar
  • Posts: 2,702
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #61 on: June 04, 2010, 03:46:28 PM »
I got a request to make Axem compatible with autohotkey portable by not using the registry to read the autohotkey.exe path but instead finding the path to it. would you use this?
By "authotkey portable" are you referring to the .zip download available via:

  http://www.autohotkey.com/download/

?  Or perhaps something else?

I have been interested in Axem for a while but have held off because I work off of an uncompressed copy of the AHK zip file alluded to above.

stanmarsh

  • Participant
  • Joined in 2009
  • *
  • gravatar avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #62 on: June 06, 2010, 04:45:11 AM »
hello justice,

thank you for replying to my email, :) a compromise would be another way, AXEM would read the registry first for the path, if AXEM could not find the path in the registry, you can specify the path for the autohotkey.exe.

@ewemoa

yes, i was referring to the .zip download, also, by adding AutoHotkey.ini in the directory it won't write to the registry nor create a .ahk file in my documents.

this is where i found the trick.
http://www.portablefreeware.com/?id=217
http://www.autohotke...orum/topic16490.html

cheers

thanks

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • gravatar avatar
  • Posts: 2,702
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #63 on: June 06, 2010, 06:39:42 AM »
yes, i was referring to the .zip download, also, by adding AutoHotkey.ini in the directory it won't write to the registry nor create a .ahk file in my documents.

this is where i found the trick.
http://www.portablefreeware.com/?id=217
http://www.autohotke...orum/topic16490.html
Thanks for sharing this  :Thmbsup:

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 142
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #64 on: September 24, 2010, 05:08:23 AM »
I think it would be good if you could add a certain header to your ahk script that AXEM would read and this would signify that you wanted this script ignored by axem.   This would mean that you could leave all your scipts in one folder and wouldnt have to move ones that you wanted ignoring.
I dont know what that header would be  "noAXEM"  ??

jdd

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 214
    • View Profile
    • Donate to Member
Re: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #65 on: September 25, 2010, 09:07:52 AM »
Justice, can you add a setting or tick box to allow one show *.exe files as an alternative to or in addition to *.ahk files?

Thanks,
jdd

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: DONE: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)
« Reply #66 on: June 26, 2012, 06:48:50 AM »
If you want to play with the latest source, you can now fork from Bitbucket:
https://bitbucket.org/svandragt/axem/

I'll keep posting executable releases in this topic when they're available.