Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'don farrar's .command file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
don farrar's .command file
Authored by: pecosbill on May 19, '04 10:30:16PM

I strongly suspect you have a .txt or other extenstion that is hidden. I don't have TE+ but TextEdit (OS X) worked fine for me. I made a new document, set it to plain text (Format menu), and saved it as test.command. When I tried saving it as such, it asked me if I wanted to postpend .txt or use .command. If TE+ doesn't ask, just double check the extension via the Finder. The resultant icon looks like double terminal windows.

---
Pecos Bill



[ Reply to This | # ]
applescript & starting apps
Authored by: pecosbill on May 19, '04 10:36:08PM
activate will not only start an application, but it will also foreground it (or just foreground it if it is already running). I prefer using

tell application "MyApp"
 launch
end tell

which will start the app in the background and I can click on it when I see fit.

---
Pecos Bill

[ Reply to This | # ]