PDA

View Full Version : Apple Dos - batch?


v777tony
09-14-2006, 04:26 AM
I'm not that familiar with macs so, I was wondering if there was some kind of batch system like windows. So, that I could execute some commands.

tricolaire
09-14-2006, 04:16 PM
I don't know windows that well, certianly not well enough to know what batches are, but I'm guessing you want to look into shell scripts

oracleguy
09-14-2006, 05:24 PM
I don't know windows that well, certianly not well enough to know what batches are, but I'm guessing you want to look into shell scripts

Yeah batch files in DOS/Windows are basically shell scripts.

v777tony
09-15-2006, 03:31 AM
Yes, that's it. So how do I do that with macs.

v777tony
09-24-2006, 02:10 AM
hellooooo

oracleguy
09-24-2006, 06:01 AM
http://www.macdevcenter.com/pub/a/mac/2003/11/07/scripting_osx.html

Googled "OS X shell scripting"

new_to_python
09-24-2006, 03:02 PM
what type of commands are you trying too execute
are you trying too use commands too run applications
or something else. if you are trying to execute commands
to run applications use applescript you find it in the applications
folder. here is a script that i use to run internet connect:

tell application "internet connect"
activate
end tell

i hope that i am giving you what you are looking for
and if this is what you are look for i hope it helps.

v777tony
11-15-2006, 03:26 AM
umm... I don't rly know. Just give me as much as you know. Maybe it will help me. But I gots to test out stuff at school comp. cause I don't have a mac.

...basically I'm trying to run commands from a file. Like in .bat files. I know how to get to Darwin but I don't know how to make a file that runs the commands as soon as the file is run.