| View previous topic :: View next topic |
| Author |
Message |
mscdex Guest
|
Posted: Tue Sep 01, 2009 3:38 pm Post subject: |
|
|
| 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)? |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 500 Location: Germany
|
Posted: Wed Sep 16, 2009 6:59 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
wooly_sammoth
Joined: 12 May 2009 Posts: 204 Location: Gloucester UK
|
Posted: Thu Sep 17, 2009 2:10 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 500 Location: Germany
|
Posted: Thu Sep 17, 2009 7:34 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
wooly_sammoth
Joined: 12 May 2009 Posts: 204 Location: Gloucester UK
|
Posted: Fri Sep 18, 2009 4:04 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
wooly_sammoth
Joined: 12 May 2009 Posts: 204 Location: Gloucester UK
|
Posted: Mon Sep 21, 2009 1:55 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Futurity
Joined: 13 Feb 2007 Posts: 17
|
Posted: Tue Sep 22, 2009 1:45 pm Post subject: |
|
|
I have tested some more functions:
SendMessage FAIL
PostMessage FAIL
ControlSend FAIL
ControlFocus FAIL |
|
| Back to top |
|
 |
emmanuel d
Joined: 29 Jan 2009 Posts: 79 Location: Belgium
|
Posted: Fri Sep 25, 2009 4:37 pm Post subject: Autohotkeyce A_ThisMenuItemPos not working |
|
|
A_ThisMenuItemPos not working
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.  |
|
| Back to top |
|
 |
fincs
Joined: 05 May 2007 Posts: 474 Location: Seville, Spain
|
Posted: Tue Sep 29, 2009 10:59 am Post subject: |
|
|
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
(Piccie coming soon) _________________ fincs
SciTE4AutoHotkey v2 script editor
[AutoHotkeyCE] [AutoHotkey_L]
Last edited by fincs on Tue Sep 29, 2009 4:44 pm; edited 1 time in total |
|
| Back to top |
|
 |
wiseley
Joined: 22 Apr 2009 Posts: 21
|
Posted: Tue Sep 29, 2009 11:46 am Post subject: |
|
|
micha, thanks for this great tool.
would you please consider adding dllcall function in the future?
thanks again |
|
| Back to top |
|
 |
fincs
Joined: 05 May 2007 Posts: 474 Location: Seville, Spain
|
|
| Back to top |
|
 |
fincs
Joined: 05 May 2007 Posts: 474 Location: Seville, Spain
|
Posted: Thu Oct 01, 2009 9:15 pm Post subject: |
|
|
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
SciTE4AutoHotkey v2 script editor
[AutoHotkeyCE] [AutoHotkey_L] |
|
| Back to top |
|
 |
selyb
Joined: 20 Jul 2007 Posts: 15
|
Posted: Sat Oct 03, 2009 4:23 pm Post subject: |
|
|
RunWait doesn't wait  |
|
| Back to top |
|
 |
fincs
Joined: 05 May 2007 Posts: 474 Location: Seville, Spain
|
Posted: Sun Oct 11, 2009 3:37 pm Post subject: |
|
|
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
SciTE4AutoHotkey v2 script editor
[AutoHotkeyCE] [AutoHotkey_L] |
|
| Back to top |
|
 |
selyb
Joined: 20 Jul 2007 Posts: 15
|
Posted: Sun Oct 11, 2009 6:11 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
|