Jump to content
GamerChase

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!

Share this post


Link to post

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

Share this post


Link to post

Tyler made some great recommendations. You can hit up Google and find tutorials for just about any language out there. Try looking for 'Hello world" tutorials for whatever language you'd like to learn. That gives you the MOST BASIC starting point of any language.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...