Command to start my program
Command to start my program
- Subject: Command to start my program
- From: Joey Mukherjee <email@hidden>
- Date: Wed, 5 Oct 2005 10:41:58 -0500
I am really interested in creating a more Mac like start program for my
applications which are a mix/match of native applications, X11
applications, and Tcl/Tk stapacks. If you don't know what the last one
is, it is like an executable that can be run from the command line.
We have our own custom installer which is identical for all platforms
(Windows, Mac, Unix) which puts things in either the user's home
directory or /usr/local or another directory of their choosing. After
the program is installed our way, I'd like to drop <something> into the
users Applications folder or Desktop or whatever that the user can
click on to start our software.
What I am having a problem with is how to easily create that
<something>. I was thinking of AppleScript but I don't really know it,
but am willing to learn if this is something I can write(and then
compiled?) and can be distributed with our application that will
basically look for our software in the common locations and if not
found, ask the user where it is installed, save that information, and
then run our start program as if they typed it from the command line,
as well as maybe start X11 if it isn't already loaded.
Alternatively, I could write a Cocoa? program which would do the same
thing?
OpenOffice has a similar deal I think and I don't know how they did
their start program, but I think ours could be similar.
Since other Unix/X11 porters probably have similar issues, does anyone
have an idea of a good starting position for me or another alternative
that I did not think of? If anyone has some Applescript they could
send me that I could modify, I'd be eternally grateful! :-)
Thanks in advance!
Joey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden