Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
For 2021 - online Python 3 training - see ((here)).

Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
Help for Pocket PC devices

Posted by fredep57 (fredep57), 20 May 2003

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 2003
Goodness .... 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.


This page is a thread posted to the opentalk forum at and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2022: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: • WEB: • SKYPE: wellho