|
|
try a shell script..
You could create a quick shell script that runs the bbs command for you:
Edit the script with vi or whatever editor:
vi foo.shThe contents would be something like this (the first line is critical): #!/bin/sh /path-to-bbs/bbs -flag1 -flag2 -flag3Then make it executable: chmod +x foo.shChanging permissions can probably be done from the Finder, but I'm more of a command line kind of guy :). You can then double click on foo.sh from the finder and select the Terminal to run it from, or cmd-option-drag it onto the Terminal icon in the Dock to run it. This isn't exactly perfect, but if you could permanently associate it to run with the Terminal, then you could double-click it and it would run every time. Anyone out there know how to make certain type of file get run with a particular program every time?
script execution from the finder
You can indeed run both scripts and command line compiled programs by command-option dragging them into the terminal program. If you want them to open in the terminal by default on double click, just use the file inspector (command-i) and go to the application pane. Now you can click on the empty square to pick an application to default to for this particular file. You can choose the terminal, but must use the pop-up menu to show all apps, not just recommended ones.
script execution from the finder
I believe that if you change the file extension to .command, you'll get an icon you can double-click and run in the Terminal.
script execution from the finder
I think I have also seen a software called "Shell scriptor" that allowed you to issue shell commands from AppleScript. I have downloaded it, but didn't find the time so far to figure out, how useful it is. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|