Opening a profile with Applescript

Applescript is a scripting language created by Apple which helps Mac users automate specific work processes. You can use Applescript to automatically launch a particular profile when you open Ghost Browser.

To do this, navigate to your Ghost Browser user data folder.

  • For PCs, go to C:\Users\<username>\AppData\Local\GhostBrowser\User Data.
  • For Macs, go to /Users/<username>/Library/Application Support/GhostBrowser.

This directory contains folders such as “Default”, “Profile 1”, and so on which correspond to your profiles.

To automatically open a  specific profile, you can use the following Applescript (where <Profile name> would be replaced with a profile such as Default, Profile 1, etc.):

make new window with properties {profile:"<Profile name>"}

Need help? Contact us.