Log in

View Full Version : How to make this shortcut?


terrypin
04-29-2004, 09:26 AM
I recently posted an enquiry in microsoft.public.pocketpc and microsoft.public.pocketpc.developer asking how I would write a shortcut that would open selected .TXT files in Pocket Word, rather than their usual association. Beverly Howard (Ms-MVP/MobileDev) put me on the right track. So this worked: 55#\windows\pword.exe \my documents\MyPPCMisc\Contacts.txt But so did 58#, 54#, 1#, 999#...! And subsequent experiment seemed to show that the prefix isn't necessary at all. If so, that's good news, as it's hardly intuitive IMO and a bit of a chore.

So my first question is: What is the definitive syntax for a PPC shortcut in WM2003 please?

Secondly, looking at the shortcut for Pocket Word, I see it is :MSPWORD, i.e. not as shown above.

So why doesn't the following work?
:MSPWORD\My Documents\MyPPCMisc\Contacts.txt
(Nor does nn#:MSPWORD\My Documents\MyPPCMisc\Contacts.txt
where nn is any of several numbers I tried, such as 88, 90, etc.)

Thirdly and finally, I'm currently trying to get another shortcut in place that will open a
Tomeraider file directly, instead of just opening Tomeraider (which starts by displaying a list of all .TR files, rather like Pocket Word.) Although following the syntax above, none of the following work. They don't even open Tomeraider, much less the specific file:
\iPAQ File Store\Proporta Ltd TomeRaider\TrPPC.exe \CF Card\My
Documents\CF Library\IMDB-Full.tr

86#\iPAQ File Store\Proporta Ltd TomeRaider\TrPPC.exe \CF Card\My
Documents\CF Library\IMDB-Full.tr

88#\iPAQ File Store\Proporta Ltd TomeRaider\TrPPC.exe \CF Card\My
Documents\CF Library\IMDB-Full.tr

I had no responses from any developers in the above newsgroup, so would appreciate any advice from the experts here please. (I'm not a programmer myself BTW...)

--
Terry, West Sussex, UK
Using iPAQ 2210 with WM2003.

rhmorrison
04-29-2004, 09:49 AM
Thirdly and finally, I'm currently trying to get another shortcut in place that will open a Tomeraider file directly, instead of just opening Tomeraider (which starts by displaying a list of all .TR files, rather like Pocket Word.) Although following the syntax above, none of the following work. They don't even open Tomeraider, much less the specific file.And what makes you think that Tomeraider accepts command line arguments?

This must be programmed by the application! Although it still should start the Tomeraider program even if it doesn't support command line arguments (or the .tr file to open).

Steven Cedrone
04-29-2004, 03:25 PM
Thread locked. Please do not cross post! Feel free to continue the conversation here: http://www.pocketpcthoughts.com/forums/viewtopic.php?t=27430&highlight=

Steve