Has anyone done it? Wuffers I disagree that this off topic it's about batch scripting which is programming and he's asking to run code from one language on a another machine. I don't think that's off-topic - it could be that running. Do you need to run. For example: Greg Hewgill Greg Hewgill 4, 2 21 When the script runs, you'll have to enter your password and be an administrator If the end user isn't an administrator, but you need to do something that required root access, you can use su someAdminName , which will perform the command as someAdminName you'll need his password.
Cullub Cullub 6 Is there a way to make a command file not to log out? I want to have a command file which opens the terminal with predefined path variable.
A script is just a series of commands, so you could put it into a bash script. However, if you are getting diagnostic info, for example, you can have a script that does!
- download gamecube games for mac.
- Help in creating batch file.
- how to make your menu bar transparent mac.
- find firefox bookmarks on mac.
- Your Answer!
Allan Allan Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Help in creating batch file | MacRumors Forums
Helpful answers Drop Down menu. Asatoran Asatoran.
It's more graphical so some concepts took a "AHA! You don't mention what "stops working" but likely it's "just" a step that is missing from your workflow. For example, in one of my workflows, the "AHA! Perhaps you'd be more comfortable with Applescript, especially if you've done any C or other programming language beyond batch files.
If you're up for it, or if your needs are that complex, you could create shell scripts. In fact, my latest Automator work flow calls a shell script because it's actually the KeePass Windows executable run in Mono.
I know I probably could have done the whole thing as a shell script, but Automator was easier and would have been simple if it wasn't for this one shell script. Mac OS X Speciality level out of ten: I'm not familiar with the workings of python, but that just looks like you're running a particular script file with python. That's easy. The same can be achieved with the single-line command: Loading page content.
How to create a simple "batch file"
For Dos it's a no-brainer. But for Mac??? Reply Helpful Thread reply - more options Link to this Post. You'll need to know how to write Unix shell scripts in order to do that kind of thing, which is not something for the faint of heart.