Auto-set Preferences

This Applescript uses OffShoot's Disk Added event to identify an OffShoot app start and sets one or more preferences through the OffShoot API.

How to use

  1. Open the script and edit the settings.

  2. Add the script to the Disk Added event in OffShoot's Settings > Scripting pane.

  3. When OffShoot starts the script will:

    • check if the Disk Added event is triggered by the startup drive (only happens once per app start)

    • set the preferences specified in settings

Settings

set theAPItoken to ""
set settings to ¬
	{auto_eject:"0"} & ¬
	{auto_source_recents_enabled:"0"} & ¬
	{auto_destination_enabled:"0"} & ¬
	{auto_source_on_name_enabled:"0"} & ¬
	{auto_source_on_name:""} & ¬
	{queue_mode:"0"} & ¬
	{checkpoint_enabled:"0"} & ¬
	{logs_enabled:"1"} & ¬
	{ignore_files:""} & ¬
	{rename_files:""} & ¬
	{create_folders:""}

Download

Last updated