Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
I made a shell script which starts an java application. I was trying to make a clickable interface in mac so that one can start the application. The constraint is that that script should be executed from the directory where it resides, i could set that easily on linux and windows, but on mac the terminal always open in ~. How should I tell script to change the wd to the directory where it resides and run the application.
I tried appending .command to the shell script but it runs in ~. How should I get the information of the directory from where it is invoked?
I know mac lovers are around here, could you tell me how to do this, I am fed up.
I tried this: http://www.entropy.ch/software/applescript/OpenTerminalHere.sit
but couldn't make proper use of it when running the same .term file created from above on another computer.
Suggestions?
Suman K
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members