Sorry to bother you guys but I'm trying to work out how to do 4 simple tasks that I currently manually do. If I was doing this under windows I could simply write a batch file with the commands in but I'm unsure of how to go about the same thing on my Mac. If you are more comfortable with Microsoft Windows, you can use any text editor (such as Notepad or WordPad) to create your batch files; as long as the file extension ends with.bat. In the example below, we use the Windows Notepad to create a batch file. Type: Notepad in the Run box and press Enter.

It's a no brainer using bash #!/bin/bash #this is a comment-the first line sets bash as the shell script cd /Applications; cd./localproxy; python./proxy.py; exit; Give it a name (eg: myscript), save the script, set it executable. Example: chmod +x ~/Desktop/myscript If you want to click it to run it, add '.command' to the end of it. Home

Eg; myscript.command # Here is a simple script I wrote that reads text from a file and pastes it to the clipboard. #!/bin/bash # catx - a script to read text # from a text file and paste it # to the clipboard. FNAME=$1 if [[ -z '$FNAME' ]]; then echo 'catx ' echo ' catx is a script to read text from a' echo ' text file and paste it to the clipboard.' Exit; fi cat '$FNAME' pbcopy exit; Kj. Having come from a Apple ][ & DOS background, it took me a while to learn Automator. 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!' Was realizing I needed to specify a name by 'Get Specified Finder Item' before I could work with it. 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.

AuI ConverteR 48x44 software have DSF FLAC WAV AIFF metadata editor ability (also available as stand alone tool). Watch and share: How to edit metadata FLAC WAV AIFF DSF The software edit text metadata and manage up to several artworks at file. Loops Also, metadata makes search easier on your computer, because this is the kind of information Windows search looks for to return a search query. This means that most metadata information you add.

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. Having come from a Apple ][ & DOS background, it took me a while to learn Automator. 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!'

How Write Batch Executable File For Mac

Was realizing I needed to specify a name by 'Get Specified Finder Item' before I could work with it. 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.

In MS-DOS, a batch file is a text file containing a series of commands intended to be executed by the command interpreter. It's very convenient and handy.

Is it possible to do the same in Mac OS? Since Mac OS X is a Unix system, yes, that's certainly possible. 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. If you're not familiar with Unix, you'll have quite a bit of learning to do. I tried the automator of Mac OS and copied the workflow, but it is quite clumzy and painfully slow, and stops working afte a relaunch.