Created
December 9, 2021 05:39
-
-
Save edenwaith/c70a7c32cbb0af08dbd296c1f0132bac to your computer and use it in GitHub Desktop.
AppleScript to create an alias in the Applications folder which points to the Accessibility Inspector.app contained within Xcode.
This file contains 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
-- File: CreateAccessibilityInspectorAlias.scpt | |
-- Description: Create an alias in the Applications folder which points to the | |
-- Accessibility Inspector.app contained within Xcode. | |
-- Author: Chad Armstrong ([email protected]) | |
-- Date: 8 December 2021 | |
tell application "Finder" | |
set destinationFolder to "Macintosh HD:Applications" | |
set sourceApplication to "Macintosh HD:Applications:Xcode.app:Contents:Applications:Accessibility Inspector.app" | |
make new alias file at destinationFolder to sourceApplication | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment