Parcel Calculator released!

After some time of development I am very pleased to announce the initial release of Parcel Calculator. A native Cocoa application for calculating girth, volumetric weight and for tracking parcels. Integrated tools provide additional options. It is designed for Mac OS X and released as Open Source under a FreeBSD license variant. Please visit the Parcel Calculator section on this site for a detailed feature overwiew. Sourcecode and related stuff can be accessed at the GitHub project page. Future versions will support a wider range of shipping companies and the ability to save certain parcel IDs, so you can track them again later. More will be coming up soon, I have some great ideas. A huge thanks to everyone who supported me in the development of Parcel Calculator. Now grab yourself a copy, Sparkle will keep it up to date. I am very excited about your feedback. If you encounter any bugs, feel free to make use of the ‘Report Issues’ item inside the help menu.

ptarget.h

Portable C header for embedding in your own projects. ptarget.h provides conditional compilation for it’s own functions, based on preprocessor directives. The compiler is asked to specify it’s target system, compiler information, compilation date and time. Works with cross-compilers, too. You can call these values with simple C-functions: portout(), compout(), compdate(), comptime(), from inside your application. With ptarget.h embed, you are able to detect major target operating systems like Mac OS X, Linux, BSD variants and Windows. Detected compilers are GCC, Borland / Codegear C, MSVC and MinGW32.

Continue reading...

switchtemp.c

This snippet is meant as a template, written in highly portable C. On the basis of switchtemp.c you are able to create a command line tool that takes switches. Various flags are already set, for example -h for help output. A placeholder for your own functions is defined as well as a customizable switch counter. It serves the purpose to limit the maximum amount of arguments your appliction will process. General version information can be determined via a preprocessor directive for the entire application.

Continue reading...

Batch scale App with Automator

Today I will introduce you to Automator with a short and interesting example. Automator is developed by Apple and was first released with Mac OS X 10.4 Tiger. It is a powerful environment for automating repetitiveĀ tasks. A wide range of applications are supported, including for example Finder, Safari and Xcode. It can also work with third-party applications like Adobe Photoshop and Pixelmator. Automator provides an interface for automating tasks without the knowledge of programming and scripting languages. Tasks can be recorded as you perform them. In addition, there is a library where predefined tasks can be selected from a list. In this tutorial we will create an useful application for batch scaling images without a single line of code.

Continue reading...