Help for Pocket PC devices
Posted by fredep57 (fredep57), 20 May 2003Hello,
I am trying to develop for a Pocket PC device. I have gotten tcl 8.4.2 loaded and tk along with it.
Now I am having some issues because I am trying to develop some of the stuff on the Windows xp platform, but find that some things are not working on PPC.
1) How do you "exec"ute an application like Word on the PDA? I can do this with the Console, but need to do this within the tcl script itself. I keep getting the error "cannot execute file. file already exists" and am not sure why.
2) How can I put text into another application? If I can open Word for PocketPC/WindowsCE, I need to insert text, then save the file. I cannot figure out how to do this.
3) Can I switch between open applications on the PocketPC? If I have Word and Excel open, can I issue a command that will switch to the other one?
Thanks in advance
Posted by admin (Graham Ellis), 20 May 2003Goodness .... I'm feeling a little on "thin ice" with this one ... I'm not at all familiar with the PPC. You might find someone who's more PPC knowledgeable on other (not Tcl) forums, and it does strike me that questions (2) and (3) at least would apply equally well to programs / systems in other languages. Even question (1) ... once you know how to exec in any other language, you'll probably get the clue for Tcl.
But of course, I can't resist having a look and making a suggestion. Pehaps "exec" on the PPC creates a temporary file of the commands to be shelled out ... perhaps such a file exists already from previous experiments and permissions are such that it can't be overwritten? Pure guess ... hoping at least to give you a line to start thinking down.
Other Forum Posts
Follow us on ...
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: email@example.com • WEB: http://www.wellho.net • SKYPE: wellho