This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<!-- | |
Instruction: | |
1. Replace the placeholder SCRIPT_PATH with the full path to your AppleScript file. | |
Example: /Users/username/Library/Scripts/sync_recorder.scpt | |
2. Save this file in the ~/Library/LaunchAgents/ directory with a .plist extension. | |
Example: ~/Library/LaunchAgents/com.syncdevice.usb.plist | |
3. Load the LaunchAgent using the following command in the terminal: |