Jump to content

Request/Help - Resource for learning to write Script in Workflows


Recommended Posts

There are a few things I want to do with workflows, but I don't want to have to plead for someone else to write the script for me. Could someone direct me to an online resource to learn the basics of script that will work in Alfred workflows?

 

Thanks!

 

I didn't know any real programming languages until I started reading the source code for Alfred extensions and workflows.

 

I started with AppleScript. I visited the documentation found at https://developer.apple.com/library/mac/#documentation/applescript/conceptual/applescriptlangguide/introduction/ASLR_intro.html#//apple_ref/doc/uid/TP40000983-CH208-SW1 MANY times; Apple did an excellent job priming me for other languages.

 

I then learned JavaScript, using the documentation at w3schools.com. JavaScript prepared me for more powerful, succinct languages. It was the hardest for me to learn, because I was used to AppleScript's natural language and didn't understand the object model.

 

PHP is a very popular language, and my personal favorite. It built upon my scripting knowledge from JavaScript. David Ferguson's extensions helped me learn PHP, and I filled in any gaps by reading the documentation at http://www.php.net/manual/en/index.php. If you want, you can read any of my workflows; they're all written in PHP.

 

Let me know if you need more info or help :) Glad you're interested; programming a great skill to have

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...