AutoHotkey Community

It is currently May 26th, 2012, 9:42 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22 ... 31  Next
Author Message
 Post subject:
PostPosted: September 1st, 2009, 3:38 pm 
Is there any chance to get AutoHotKeyCE working on ANY older versions of CE (i.e. 2.0, 2.11, 3.0) and for other CPUs (i.e. MIPS, SH3, SH4)?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2009, 6:59 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
mscdex wrote:
Is there any chance to get AutoHotKeyCE working on ANY older versions of CE (i.e. 2.0, 2.11, 3.0) and for other CPUs (i.e. MIPS, SH3, SH4)?


Hi old dos cdrom driver or mscdex,

to make it work on other cpus I think a recompilation with the desired settings should work.

To make it run on older CE versions is a little bit more difficult. Some API functions does not work (even exist) on older CE versions.
So
* you have to branch the code and comment out the ahk functions and api calls that are not supported
* or you have to use LoadLibrary and GetProcAddress to try to load the api functions dynamically.

Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2009, 2:10 pm 
Offline

Joined: May 12th, 2009, 2:37 pm
Posts: 640
Location: Gloucester UK
Micha, Firstly Thank you very much for this brilliant Port. I bet you never thought this would still be going almost two years on!

I have only coded one script with AHKCE so far and ran into a little problem.

I have a .ini file which stores quite a long '|' separated list in no particular order.
I call this list into a combo Box for the user to select.
I tried to Sort the list before calling it but it didn't seem to work.
I notice that the Sort command was added in v.7 but I haven't seen any mention of it in this fora.

If it's not too much trouble could you take a look for me?

Thanks once again


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2009, 7:34 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
wooly_sammoth wrote:
...I have a .ini file which stores quite a long '|' separated list in no particular order.
I call this list into a combo Box for the user to select.
I tried to Sort the list before calling it but it didn't seem to work.
I notice that the Sort command was added in v.7 but I haven't seen any mention of it in this fora.
...


Hi, I've tried
Code:
_guiComboSort()
{
  lst=Micha,|Firstly|Thank|you|very|much|for|this|brilliant| Port.|I|bet|you|never|thought|this|would|still|be|going| almost|two|years|on!I|have|only|coded|one|script|with| AHKCE|so|far|and|ran|into|a|little|problem.I|have|a|.ini| file|which|stores|quite|a|long|'|'|separated|list|in|no| particular|order.I|call|this|list|into|a|combo|Box|for| the|user|to|select.I|tried|to|Sort|the|list|before| calling|it|but|it|didn't|seem|to|work.I|notice|that| the|Sort|command|was|added|in|v.7|but|I|haven't| seen|any|mention|of|it|in|this|fora.If|it's|not|too| much|trouble|could|you|take|a|look|for|me?
  Sort, lst , d|
  gui, add, ComboBox, , %lst%
  gui, show
}

and it was working on CE.
If it's not working for you, please send me your script to find the problem.
In the script above I've added some spaces because the long line will render this page of posts with a very huge width.
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2009, 4:04 pm 
Offline

Joined: May 12th, 2009, 2:37 pm
Posts: 640
Location: Gloucester UK
Thanks for the quick reply Micha,

I can't test at the moment as my Pocket PC has to live at the office.
Thinking about it though I'm fairly sure that I forgot the 'D|' in the parse command (boy do I feel stupid). I'll have another go on Monday and let you know either way.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 21st, 2009, 1:55 pm 
Offline

Joined: May 12th, 2009, 2:37 pm
Posts: 640
Location: Gloucester UK
As I thought I'd forgotten to add the D| to the Sort Line. That will teach me to properly read my code before asking for help. Thanks though for taking a look.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 22nd, 2009, 1:45 pm 
Offline

Joined: February 13th, 2007, 3:54 pm
Posts: 21
I have tested some more functions:
SendMessage FAIL
PostMessage FAIL
ControlSend FAIL
ControlFocus FAIL


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 25th, 2009, 4:37 pm 
Offline

Joined: January 29th, 2009, 9:50 pm
Posts: 483
Location: Belgium
A_ThisMenuItemPos not working :cry:
i am using it for dynamic menu's

is this on the list to add

i'm doing something like this:
Code:
menutest() {
CoordMode, Menu, Screen
   Menu, test, add, Test1, MenuHandler
   Menu, test, add, Test2, MenuHandler
   Menu, test, add, Test3, MenuHandler
   Menu, test, add, Test4, MenuHandler
   Menu, test, add, Test5, MenuHandler
   Menu, test, Show, 0, 380
   return
   }

MenuHandler:
   {
   msgbox,% "A_ThisMenu:" A_ThisMenu " `nA_ThisMenuItemPos:" A_ThisMenuItemPos "`n "%A_ThisMenu%%A_ThisMenuItemPos%Link
   return
   }

if i can get the itempos then i can refer it to a var.
Or am i just doing something wrong. :oops:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 29th, 2009, 10:59 am 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Hello :)
Guess what...

I've recently (LOL today) got a Pocket PC and the first thing I did was installing AutoHotkeyCE on it and it works like a charm :P

(Piccie coming soon)

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Last edited by fincs on September 29th, 2009, 4:44 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 29th, 2009, 11:46 am 
Offline

Joined: April 22nd, 2009, 6:04 am
Posts: 29
micha, thanks for this great tool. :)

would you please consider adding dllcall function in the future?
thanks again


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 29th, 2009, 12:33 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Here are some pictures/homepage:
http://www.autohotkey.net/~fincs/cescripts/

The best part is that I'm now able to help testing AutoHotkeyCE :)

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2009, 9:15 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Sorry for double-posting, but I just got CeGCC (a WinCE cross-compiler based on (lol) gcc) working and should now be able to develop native applications! I'll take a look at re-writing the ASM DllCall() code (I know some ARM assembly, that's why I got so mad at the SDK thingy).

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 3rd, 2009, 4:23 pm 
Offline

Joined: July 20th, 2007, 3:20 am
Posts: 15
RunWait doesn't wait :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 11th, 2009, 3:37 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
I have sent Micha the needed source code to implement DllCall.
The C++ part is untested as I don't have Microsoft's ARM compiler (needed to build AHKCE and thus to test the code).

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 11th, 2009, 6:11 pm 
Offline

Joined: July 20th, 2007, 3:20 am
Posts: 15
I only wish I could teach myself enough C++ in one night. I would be working on this as well. I really want to use AHKCE instead of trying to teach myself mortscript syntax and trying to work around mortscript limitations.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22 ... 31  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: bekihito and 9 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group