Author Topic: Anyone ever heard of a workbook for Applescript?  (Read 2689 times)

0 Members and 1 Guest are viewing this topic.

Offline AutoFetishist

  • Sr. Member
  • ****
  • Posts: 397
  • Karma: 2
  • Gender: Male
Anyone ever heard of a workbook for Applescript?
« on: June 02, 2011, 03:53:32 PM »
In other words, a book on Applescript but with more exercises, problems-to-solve, as opposed to an author describing/writing about the language.

I feel like I need to push myself.

Offline Publi-Script

  • Administrator
  • Hero Member
  • *****
  • Posts: 596
  • Karma: 16
  • Gender: Male
  • Automate your Life!
    • Publi-Script.com
Re: Anyone ever heard of a workbook for Applescript?
« Reply #1 on: June 02, 2011, 04:51:45 PM »
Want to push yourself???

Write me a code that converts regular number into roman numerals and vice versa...

BTW. I wrote this a while ago, you would be amazed at the few lines of codes you need to actually accomplish this!

Happy scripting!
Michel Lemieux
Forum Administrator
-------------------------
OS X 10.6.4
Quark 6.5 / 7.5 / 8.1.6
Adobe Design Premium CS / CS2 / CS3 / CS4 / CS5
Script Debugger 4.5

Offline Jean-Marie Schwartz

  • Sr. Member
  • ****
  • Posts: 436
  • Karma: 6
  • Gender: Male
Re: Anyone ever heard of a workbook for Applescript?
« Reply #2 on: June 06, 2011, 02:15:51 AM »
I even found one several years ago converting figures into text (in French!). I don't know if I still have it on my machine…
Jean-Marie Schwartz
May the Schwartz be with you :-)

= Mac Pro Quad-Core Intel 2.8 GHz • 10 Go 1066 MHz DDR3 • Mac OS 10.8.5 • QuarkXPress 9.5.4.1 • Adobe CS5 =

Offline cdms

  • Full Member
  • ***
  • Posts: 111
  • Karma: 6
  • Gender: Male
Re: Anyone ever heard of a workbook for Applescript?
« Reply #3 on: June 07, 2011, 11:42:27 AM »
Part of the reason you don't see this sort of thing as a book is that it is very dependent on what application you are trying to manipulate so you almost need a workbook for each app. Try finding the thing you do most in a week and working out what you have to write to make it easier.

P.S.
That was an interesting challenge and you are right very few lines of code once you have sorted an approach (about 10 to romanize and 12 to unRomanize).
I will share if you like but leave others to have a go first.

« Last Edit: June 07, 2011, 11:45:57 AM by cdms »

Offline Emma

  • Full Member
  • ***
  • Posts: 205
  • Karma: 9
Re: Anyone ever heard of a workbook for Applescript?
« Reply #4 on: June 30, 2011, 11:44:10 AM »
I started with a book called The Tao of Applescript by Derrick Schneider. You can ignore the rather Californian title!

I don't know if it's been updated as my copy is based on System 7, but there's still a lot of useful basic stuff. They take a project and then build it up gradually, introducing new skills.

I suspect you'll already know most of what's in it. It even has a chapter on scripting Quark 3.2!

But it is the only book I've come across with that sort of step by step approach and I found it very helpful. Eek, mine was printed in 1994.






































































------------
Quark 6.5
OS X 10.4.8
G4

Offline AutoFetishist

  • Sr. Member
  • ****
  • Posts: 397
  • Karma: 2
  • Gender: Male
Re: Anyone ever heard of a workbook for Applescript?
« Reply #5 on: July 25, 2011, 05:12:03 PM »
Hey Emma!

Good to hear from you.
Actually, I had thought that Tao was updated as an ebook... but I can't find any reference to such a thing.