From petri.wunsch at gmail.com Wed Feb 13 08:26:53 2008 From: petri.wunsch at gmail.com (Petri Wunsch) Date: Wed, 13 Feb 2008 09:26:53 +0200 Subject: [PythonCE] getting ctypes to work in 2.4 version Message-ID: Hi, Is there any way to get ctypes to work in pythonCE 2.4 or alternatively. win32gui because i need functions GetForegroundWindow FindWindow etc. and this dll is for some reasons missing from 2.5 -Petri -- I love deadlines. I love the whooshing sound they make as they go by. - Douglas Adams From petri.wunsch at gmail.com Wed Feb 13 15:14:14 2008 From: petri.wunsch at gmail.com (Petri Wunsch) Date: Wed, 13 Feb 2008 16:14:14 +0200 Subject: [PythonCE] getting ctypes to work in 2.4 version In-Reply-To: References: Message-ID: Hi, is there a separate ctypes package dowloadable for pythonCE 2.4 I can find it only for normal python but it's kind of hard to install that foexample in windows mobile device. -Petri > > 2008/2/13, Luke Dunstan : > > > > > > -------------------------------------------------- > > From: "Petri Wunsch" > > Sent: Wednesday, February 13, 2008 4:26 PM > > To: > > Subject: [PythonCE] getting ctypes to work in 2.4 version > > > > > Hi, > > > > > > Is there any way to get ctypes to work in pythonCE 2.4 or > > > alternatively. win32gui because i need functions GetForegroundWindow > > > FindWindow etc. > > > and this dll is for some reasons missing from 2.5 > > > > > > -Petri > > > > I don't understand. Are you using 2.4 or 2.5? If you are using 2.5 then just > > use ctypes to access those functions. If you are using 2.4.3 then I think > > win32gui is included and ctypes is also available as a separate download on > > the SourceForge files page. > > > > Luke > > > > > > > > > -- > I love deadlines. I love the whooshing sound they make as they go by. > - Douglas Adams > -- I love deadlines. I love the whooshing sound they make as they go by. - Douglas Adams From theller at ctypes.org Wed Feb 13 18:43:47 2008 From: theller at ctypes.org (Thomas Heller) Date: Wed, 13 Feb 2008 18:43:47 +0100 Subject: [PythonCE] getting ctypes to work in 2.4 version In-Reply-To: References: Message-ID: Petri Wunsch schrieb: > Hi, > > is there a separate ctypes package dowloadable for pythonCE 2.4 I > can find it only for normal python but it's kind of hard to install > that foexample in windows mobile device. Look for ctypes-1.0.0.winCE-arm-py2.4.zip in this page: http://sourceforge.net/project/showfiles.php?group_id=71702 You have to select the 1.0.0 release. Thomas From n_ultimodruido at email.it Thu Feb 14 14:40:24 2008 From: n_ultimodruido at email.it (Nicola Corino) Date: Thu, 14 Feb 2008 14:40:24 +0100 Subject: [PythonCE] spyke4py Message-ID: <9392449b0802140540s8f6e3d5m2d261198e433be1f@mail.gmail.com> Hi all, i would like to use an old pda as a server for a skype bot. the pda as pocketpc 2003 as os, and i can install skype mobile and pythonCE 2.5 (i guess, not yet tried) on it. My goal was using the 3 skypephone to send (free) chat messages to my skype bot and use is to redirect with cheaper voip sms service. That's why i'm interested in installing skype4py on the pda to use less energy and not being obliged to have the pc on all the time. Do you have experience with it? the requirements are about python 2.4 or higher with ctypes... and accordin to the fact that i don't have an installer for windows CE, where should i pud the skype4py files of the modules in my pda? thanks a lot, have a nice day Nicola From mdipierro at cs.depaul.edu Thu Feb 14 14:52:32 2008 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Thu, 14 Feb 2008 07:52:32 -0600 Subject: [PythonCE] web2py on windowsce Message-ID: Hello everybody, I thought you may be interested in www.web2py.com 1.22. It runs on windowsce although it may need more testing on this platform since there is a problem with file locking? Does windowsce support file locking? How is it done in python? Massimo From tracer at pochtamt.ru Fri Feb 15 13:34:58 2008 From: tracer at pochtamt.ru (tracer) Date: Fri, 15 Feb 2008 04:34:58 -0800 (PST) Subject: [PythonCE] PythonCE on Smartphone (WM6) Message-ID: <15499042.post@talk.nabble.com> Hi, You can use something like this: mainw=Tk() mainw.bind_all("", lambda e : mainw.event_generate("")) mainw.bind_all("", lambda e : mainw.event_generate("")) mainw.bind_all("", lambda e : mainw.event_generate("")) It works fine on my WM6 smartphone Jorgen Bodde-3 wrote: > > Hi All, > > I have PythonCE 2.5 and TKinter running on my smartphone. I wrote a > minimal app and I see a dialog with a button, but since it is a > smartphone which does only have number keys and a jog dial to control > the input, the window stays unresponsive to input. I cannot even set > the focus to a control. > > Is there anything I need to do to get it to redirect the number keys > and make it focus a control? > > Regards, > - Jorgen > -- View this message in context: http://www.nabble.com/PythonCE-on-Smartphone-%28WM6%29-tp13218053p15499042.html Sent from the Python - pythonce mailing list archive at Nabble.com. From jimswalsh at gmail.com Tue Feb 26 06:28:51 2008 From: jimswalsh at gmail.com (jimswalsh at gmail.com) Date: Mon, 25 Feb 2008 21:28:51 -0800 Subject: [PythonCE] 5 way Message-ID: <47c3a395.20018e0a.6f91.4736@mx.google.com> Does anyone know how to capture the five way rocker using tKinter. I tried capturing the event.keycode and got 132 for both up and down. Is there a way to distinguish them? Thanks, Jim W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20080225/9cef6c6c/attachment.htm From tracer at pochtamt.ru Wed Feb 27 10:24:20 2008 From: tracer at pochtamt.ru (tracer) Date: Wed, 27 Feb 2008 01:24:20 -0800 (PST) Subject: [PythonCE] 5 way In-Reply-To: <47c3a395.20018e0a.6f91.4736@mx.google.com> References: <47c3a395.20018e0a.6f91.4736@mx.google.com> Message-ID: <15709321.post@talk.nabble.com> Try this: from Tkinter import * mainw=Tk() s_height = mainw.winfo_screenheight() / 2 s_width = mainw.winfo_screenwidth() / 2 mainw.geometry(str(s_width) + "x" + str(s_height) + "+0+0") mainw.bind_all("", lambda e : label1.configure(text="Down")) mainw.bind_all("", lambda e : label1.configure(text="Up")) mainw.bind_all("", lambda e : label1.configure(text="Left")) mainw.bind_all("", lambda e : label1.configure(text="Right")) mainw.bind_all("", lambda e : label1.configure(text="Return")) mainw.bind_all("", lambda e : mainw.destroy()) label1= Label(mainw, text="Try navigation keys") label1.place(x=5,y=10,width=150,height=30) mainw.mainloop() -- View this message in context: http://www.nabble.com/5-way-tp15684848p15709321.html Sent from the Python - pythonce mailing list archive at Nabble.com.