Look at "Command Line Parameters" in the "User Manual". It explains how
you can run your own script on startup. I don't know if the pocket PC
looks much like Windows but in Windows you can create shortcuts and put
them on the desktop, which, I assume, is what you want.
First, make your script run when loaded. Then, using the Run.. option
from the Start button, figure out how to start J using the command line
parameters described in the User Manual to run your script. You can do
the same thing from a Command Prompt window. Once you have it working
there then put that command into your shortcut.
One facility in Windows which is pretty nice (one of the few) is the
ability to define how file types are handled including a default to run
a command line. I have defined file type ijs to run the script and set
up the full J environment only the ijx window is not displayed. It
means I build a simple script which runs without intervention in a J
session and then I can run it by simply double-clicking the file name in
a directory window.
Mathieu Malenfant wrote:
Hi everyone,
I've a small J application that is built to run on a pocket PC. I
simply want to run it from a shortcut to avoid that the user have to
open J and run the script manually. I tried a lot of things with
ceshortcut_j_ but I'm unable to run the script directly... Somebody
know if there's a method to do this?
Thank you for your help!
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm