lördag, december 04, 2010

Automator - run app with command line paramters

Every day I'm finding new tools in Mac OS X that are really helpfull. No need for all those mini powertools in Windows that you have to have hundreds off to accomplish your goals, everything is built into the OS.

Here I'm using Automator to run an other application, but with command line parameters.

You do like this:
  • Search for "shell" in the search field in Automator
  • Then use Run Shell Script (no need to change the default values)
  • Then enter: open /Applications/Google\\ Chrome.app --args -enable-default-apps (notice the double backslashes!)
Looks like there is tons of other useful featurs in Automator that I need to check out in the feature. They look really promising!

tisdag, juni 22, 2010

Windows 7 - move profile folder to non-system partition

As you know, Windows 7/Vista put all system data and user data on the same partition, normally it’s drive C.

Under this condition we must backup our user data every time we re-install our Windows 7/Vista. From Windows Vista, Microsoft supply us a tool mklink which can create a symbolic link under Windows 7 or Vista just as the command ln under unix/linux. Below is an example about how to put user data on non-system using mklink in Windows 7.

  1. Enable administrator account and set a password for it. 
  2. Logoff and login with administrator account. Relocate your user data to other non-system partion, for example from C:\users\J to D:\users\J
  3. Use mklink to create a symbolic link from C:\users\J to D:\users\J: mklink /D C:\Users\J D:\users\J
  4. Re-login use your own account,you will find nothing changed, but in fact your physical user data is on drive D.

Done. The next time you re-install your OS, just use the same user name, remove C:\users\J then run the command of step 3 again then your user data is back.

Source: http://www.windows7home.net/how-to-move-user-data-folder-to-non-system-partition-in-windows-7vista/

torsdag, januari 14, 2010

Tunatic for Windows 7 and Vista

Tunatic is acoustic fingerprint software that allows you to listen to songs through a microphone and identify the song, and it works even for Windows 7 and Vista!

If you want to identify the current song you are playing on your computer instead of using a mic, you can do the following:

  1. Go to Control Panel => Sound => then to the 'Recording' tab
  2. Right-click in the list and Show Disabled Devices

Then, hopefully, if your sound card supports it, something named 'Stereo Mix' (could have other names!) will appear in the list. It has a icon that looks like a pci card. -Right-click and enable it!

Then start playing the song you want and make Tunatic identify it!

You will see a moving oscilloscope in the background of Tunatic when it hear sound. If it doesn't you can try to right-click in Tunatic and choose Settings and maybe choose the correct input device.

You can download Tunatic here: http://www.wildbits.com/tunatic/

Other similar softwares: Shazam, Midomi