I wrote an Applescript, which uses display dialog
and choose from list
to allow to me to easily/quickly adjust some settings on my computer via a UI. I exported it from Script Editor as an Application, and it works great!
However, philosophically and aesthetically, I really believe this Applescript ought to live in System Preferences. In other words, I want to make it into a Preference Pane, instead of an Application Bundle.
I noticed that .prefpane's and .app's use a similar folder structure. Is there any sort of file trickery that will allow me to create a prefpane out of my Applescript without using XCode, similar to how a shell script can be turned into an app bundle by adding an info.plist and placing an executable in the right location?
Alternately, if this is stupid and XCode is required, can instructions be provided that do not assume prior knowledge of Objective-C or Swift?
Note: I am imagining something like the Java Control Panel, which launches from System Prefences but opens in a separate window. I'm well aware I can't build a proper System Preferences layout with just Applescript!