Stack Exchange

Author Archive

AppleScript sales-tax calculator: Variables, operations, and comments

2011-10-03 by Nathan Greenstein. 1 comments

Welcome back to AppleScripting! So far, we’ve learned about what AppleScript is for, and said hello. Today we’ll really be diving into the language. We will talk about variables, datatypes, operations, comments, and some basic debugging. First I’ll introduce you to the concepts, and then we’ll look at a small example application: a sales-tax calculator. Let’s begin.

more »

Introduction to AppleScript: Hello World

2011-09-28 by Nathan Greenstein. 6 comments

Many Mac users have heard of AppleScript. They know that it exists, and maybe they’ve even tried it out. But few people have actually learned AppleScript and seen how it can help them do more with their Mac. That’s why I’m here. I’ve been AppleScripting for a long time, and my goal is to teach you a little something. Over the course of this five-post series, I will be giving you an introduction to AppleScript that I believe is both fast-paced and accessible. If you’ve programmed or scripted before, great; you’ll catch on quick. If not, you’ll still be able to keep up fine and learn a lot from this series; AppleScript is a fun first language. And the best part is, you’ve got a great resource for any questions: Ask Different! Just ask your question on the site and I or another user will help you out. So, without further ado, let’s jump right in!

more »