I'm running this shell script as an app in OSX to initiate multiple instances of Chrome with a fresh personal folder:
do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --enable-udd-profiles --user-data-dir=/Users/$USER/Library/Application\\ Support/Google/ChromePersonal > /dev/null 2>&1 &"
This is awesome - because I can CMD-TAB between instances of Chrome without purging cookies/cache etc.
The problem: I'd like to expand the script to overlay a big "2", "3", etc over the Chrome icon for each instance in the Dock and CMD-TAB popup so that I can differentiate between isntances. Right now, all I see are multiple Chrome.app icons.
Any ideas on how to accomplish this? I'm also open to editing the icon, however the Chrome2.app icon does not influence the Dock icon - because the dock icon comes from the original Chrome.app.
UPDATED: Problem Solved, Here's How:
Copy-Paste "Google Chrome.app" to create a carbon copy in the Applications folder.
Name the copy something like Chrome2.app.
Follow the instructions from Google to create the Applescript, based on the NEW copy of Google Chrome.app that is now named Chrome2.app. Could name this script something like LaunchChrome2.app, etc. This will launch the NEW copy of Chrome with the correct (alternate) user profile, therefore no cookie issues will happen.
Change the name of Chrome2.app and the icon of Chrome2.app to whatever you want to show up in the Task Switcher and Task Bar. The base application, NOT the script shortcut, is what determines the icon and name in OS X.
Ta-da.
Optional: Set up Google Sync between the two copies of Chrome so that your bookmarks, prefs, extensions, stay the same!