# What's in these profiles?

When an application is dropped onto a new SwitchUp document, SwitchUp tries its best to figure out where that apps settings are kept. If the app being dropped was called 'Huckleberry' SwitchUp would look in ~/Library/Application Support/Huckleberry, ~/Library/Caches/Huckleberry, ~/Library/Huckleberry and would also open the .app's plist file to determine where its preferences were stored.

# How do I edit a profile?

To change the contents of a profile, ctrl-click on the profile and select 'Edit'. This allows you to add and remove files that will be switched. To add files you can either drag files from the Finder or use the '+' button.

# What if my application uses different locations?

There are a number of applications where SwitchUp wouldn't correctly locate the files to be switched. To fix this SwitchUp.app has a built in "CustomAppMappings.xml" file that describes some of these applications and where to find their data. If you come across an application that isn't in the mappings file you can create a "CustomAppMappings.xml" file in your user's `Library/Application Support/SwitchUp` folder or by holding the option key and choosing "Open Custom App Mappings" from the File menu. The file should look like this:

    <ApplicationMappings>
    	<application>
    		<name>Foo Bar</name>
    		<bundleID>com.irradiatedsoftware.FooBar</bundleID>
    		<path>~/Library/Application Support/foo_bar</path>
    		<path>~/Library/Caches/foo_bar</path>
    	</application>
    	<application>
    		<name>Baz Qux</name>
    		<bundleID>com.irradiatedsoftware.BazQux</bundleID>
    		<path>~/Library/Application Support/bazqux2</path>
    		<path>~/Library/Preferences/com.irradiatedsoftware.bazqux2</path>
    	</application>
    </ApplicationMappings>

If you have an application that required a custom mapping please send an email to mappings@irradiatedsoftware.com with the details of the XML.