Welcome Guest.   Make a donation to an author on the site July 24, 2014, 10:41:36 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 2 [3]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: AHK Coding Snack Idea: Deluxe AHK Script Manager (AXEM)  (Read 40913 times)
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #50 on: January 17, 2009, 03:14:14 PM »

Wow excellent work Ryan!
Logged

tomos
Charter Member
***
Posts: 8,345



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« 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...
Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
  1.  
2 Add the following code to the "READINI" subroutine...   
Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
  1.  
3 And add the following code to the "WRITEINI" subroutine...   
Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
  1.  

this would be great  smiley

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 smiley

Afterthoughts:
I hope I used the most recent AHK version undecided
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
Logged

Tom
tomos
Charter Member
***
Posts: 8,345



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« 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 cheesy
Logged

Tom
Ryan_S
Participant
*
Posts: 6


View Profile Give some DonationCredits to this forum member
« 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.
Logged
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« 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 smiley
Logged

Ryan_S
Participant
*
Posts: 6


View Profile Give some DonationCredits to this forum member
« Reply #55 on: March 09, 2009, 10:38:17 AM »

I don't have a problem with that.  cheesy
Logged
tomos
Charter Member
***
Posts: 8,345



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #56 on: March 09, 2009, 11:24:24 AM »

I don't have a problem with that.  cheesy

Thmbsup and I'd be very happy about it smiley
Logged

Tom
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« 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!

Logged

tomos
Charter Member
***
Posts: 8,345



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« 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 cheesy
Logged

Tom
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« 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.com/...bversion/nodes/trunk/Axem
tickets - http://www.assembla.com/s...es/svd-autohotkey/tickets

SVN (read only)
svn co http://svn2.assembla.com/...vd-autohotkey/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.

Logged

justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« 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?
Logged

ewemoa
Honorary Member
**
Posts: 2,387



View Profile Give some DonationCredits to this forum member
« 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.
Logged
stanmarsh
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #62 on: June 06, 2010, 04:45:11 AM »

hello justice,

thank you for replying to my email, smiley 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.autohotkey.com/forum/topic16490.html

cheers

thanks
Logged
ewemoa
Honorary Member
**
Posts: 2,387



View Profile Give some DonationCredits to this forum member
« 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.autohotkey.com/forum/topic16490.html
Thanks for sharing this  Thmbsup
Logged
delwoode
Supporting Member
**
Posts: 142


see users location on a map View Profile Give some DonationCredits to this forum member
« 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"  ??
Logged
jdd
Charter Member
***
Posts: 214


see users location on a map View Profile Give some DonationCredits to this forum member
« 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
Logged
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« 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.
Logged

Pages: Prev 1 2 [3]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.214s | Server load: 0.06 ]