Newbie who needs to learn Swift

I am able to get Applescript to do what I need it to do.
Open folders, place and size them, rename files, generate an email etc.

I used AppleScript Studio when Apple made that available, and I was able to make a GUI, add buttons.

For 10 years, I have gotten good at AutoHotKey for PC, as my work requires me to access numerous servers, and open the needed folders all day long. Couldn’t live without the code to search folders for me and open them up.
I Do audio post production for Film and TV.

Now, I need to learn Swift. So can someone help me get started and make an interface, a tall rectangle, with 10 buttons to it, click a button and open a folder………for starters. I have more needs besides this one for button automation.

I played around with Xcode a long time ago. Thanks for any help.

Just wondering here: instead of learning swift could you accomplish what you want using Shortcuts? That might be a bit easier if you aren’t already a skilled programmer.

I guess anything is possible.
what is the difference between AppleScript and Shortcuts.
If I learn Swift, its more powerful, that maybe someday I could use in my life.
thanks, I'll look into it.

Swift is more powerful than AppleScript in the sense that you can do stuff with it that is impossible with AppleScript.
However, depending on what you are doing, it can be way more complicated to achieve the desired result.
Stuff like showing a simple dialogue, telling an application to open a document or asking for all songs in a playlist are trivial with AppleScript and quite ugly with Swift.

I was hoping that is NOT the case but I'm not surprised. Thanks for telling it like it is. I can live with Applescript and its limitations. I hope they never kill it. I wish they would develop it.

1 Like