Parallel coding

Last year, I had the great privilege of attending “Effective Concurrency” by Herb Sutter; I say great because it was an eye opener for me.  Now, you all know that I’m a Mac developer, so, seeing that I was the only guy in the room with a MacBookPro, I got a humorous look from Herb. … Read more

Adobe Scripting Additions

I’ve been getting warning messages in my Console log stating the “Adobe Unit Types.osax” has deprecated functions. Then, when I starting scripting Xcode with AppleScript, I’ve been getting a bunch of errors about the above listed library. Well, Adobe had something to say about that: http://kb2.adobe.com/cps/516/cpsid_51615.html

Xcode Script Menu and P4

Here is another way that I am able to check out a file using the Xcode Script Menu and a keyboard hot key: #!/bin/sh # This shell script checks out the current file from Perforce # Get the file’s path components FULL_FILE_PATH=”%%%{PBXFilePath}%%%” SRC_FILE=${FULL_FILE_PATH##*/} FILE_PATH=${FULL_FILE_PATH%/*} # This line brings in my settings so that Perforce knows … Read more

Copying a project file to a known location

Within a Visual Studio C++ solution, you can copy a file to a known location as part of the build process. To do that, you have so set the “Custom Build Step” parameters found in the Visual Studio project’s property page: Command line: copy “$(InputPath)” “$(TargetDir)” > nul Description: Copying $(InputFileName) Outputs: $(TargetDir)$(InputFileName) Note, the … Read more