AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Autohotkey for Pocket PCs / WinCE
Goto page Previous  1, 2, 3 ... 18, 19, 20, 21  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
mscdex
Guest





PostPosted: Tue Sep 01, 2009 3:38 pm    Post subject: Reply with quote

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

PostPosted: Wed Sep 16, 2009 6:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
wooly_sammoth



Joined: 12 May 2009
Posts: 204
Location: Gloucester UK

PostPosted: Thu Sep 17, 2009 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Micha



Joined: 15 Nov 2005
Posts: 500
Location: Germany

PostPosted: Thu Sep 17, 2009 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
wooly_sammoth



Joined: 12 May 2009
Posts: 204
Location: Gloucester UK

PostPosted: Fri Sep 18, 2009 4:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
wooly_sammoth



Joined: 12 May 2009
Posts: 204
Location: Gloucester UK

PostPosted: Mon Sep 21, 2009 1:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Futurity



Joined: 13 Feb 2007
Posts: 17

PostPosted: Tue Sep 22, 2009 1:45 pm    Post subject: Reply with quote

I have tested some more functions:
SendMessage FAIL
PostMessage FAIL
ControlSend FAIL
ControlFocus FAIL
Back to top
View user's profile Send private message
emmanuel d



Joined: 29 Jan 2009
Posts: 79
Location: Belgium

PostPosted: Fri Sep 25, 2009 4:37 pm    Post subject: Autohotkeyce A_ThisMenuItemPos not working Reply with quote

A_ThisMenuItemPos not working Crying or Very sad
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. Embarassed
Back to top
View user's profile Send private message
fincs



Joined: 05 May 2007
Posts: 474
Location: Seville, Spain

PostPosted: Tue Sep 29, 2009 10:59 am    Post subject: Reply with quote

Hello Smile
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 Razz

(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
View user's profile Send private message
wiseley



Joined: 22 Apr 2009
Posts: 21

PostPosted: Tue Sep 29, 2009 11:46 am    Post subject: Reply with quote

micha, thanks for this great tool. Smile

would you please consider adding dllcall function in the future?
thanks again
Back to top
View user's profile Send private message
fincs



Joined: 05 May 2007
Posts: 474
Location: Seville, Spain

PostPosted: Tue Sep 29, 2009 12:33 pm    Post subject: Reply with quote

Here are some pictures/homepage:
http://www.autohotkey.net/~fincs/cescripts/

The best part is that I'm now able to help testing AutoHotkeyCE Smile
_________________
fincs
SciTE4AutoHotkey v2 script editor
[AutoHotkeyCE] [AutoHotkey_L]
Back to top
View user's profile Send private message
fincs



Joined: 05 May 2007
Posts: 474
Location: Seville, Spain

PostPosted: Thu Oct 01, 2009 9:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
selyb



Joined: 20 Jul 2007
Posts: 15

PostPosted: Sat Oct 03, 2009 4:23 pm    Post subject: Reply with quote

RunWait doesn't wait Sad
Back to top
View user's profile Send private message
fincs



Joined: 05 May 2007
Posts: 474
Location: Seville, Spain

PostPosted: Sun Oct 11, 2009 3:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
selyb



Joined: 20 Jul 2007
Posts: 15

PostPosted: Sun Oct 11, 2009 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 18, 19, 20, 21  Next
Page 19 of 21

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group