Scripting Thoughts in my Head?

Discussion in 'General Mac Discussion' started by eclipse525, Dec 5, 2003.

  1. eclipse525 macrumors 6502a

    eclipse525

    Joined:
    Aug 5, 2003
    Location:
    USA, New York
    #1
    Well here's the thing....I'm a graphic designer and very visual. Which is probably why I didn't continue into programming in college. Lately, I've been growing warmer to the idea of creating scripts or small app's to help in my everyday work and home projects. The problem is that I'm not sure which would be the best language to start learning. I've been told to venture into the following one's, Apple Script, Java, C++, Visual Basic. What do you guys think has the smallest learning curve and/or will benefit me to learn all-around? Thanks!

    ~e
     
  2. dukemeiser macrumors 6502a

    dukemeiser

    Joined:
    Dec 17, 2002
    Location:
    Iowa
    #2
    I'd try AppleScript first. It's pretty strait-forward. They should be some sample scripts already on your computer. /Applications/AppleScript/Sample Scripts

    Enjoy.
     
  3. sonofslim macrumors 6502a

    sonofslim

    Joined:
    Jun 6, 2003
    #3
    second that. it's a "natural language" script, which means the syntax is pretty straightforward and easy to read. you'll see a lot of statements like "tell application 'Finder'" and 'click button "ok"' and such, instead of a lot of computerese. it makes it easier to jump in when you don't have to learn a completely new syntax.

    not to mention that your mac is meant to be applescripted. a lot of applications are scriptable, which gives you even more control. go to Apple's applescript page for more information.
     
  4. FattyMembrane macrumors 6502a

    FattyMembrane

    Joined:
    Apr 14, 2002
    Location:
    bat country
    #4
    applescript is very powerful and taps into the power of osx's core technologies. you can even use applescript studio to create full aqua applications.

    don't overlook shell scripting or perl scripting, they run through the command line (mostly) but are very powerful.

    if you're looking for more programming-language type scripting, there's a project to allow you to create cocoa applications using little more than python code.
     
  5. eclipse525 thread starter macrumors 6502a

    eclipse525

    Joined:
    Aug 5, 2003
    Location:
    USA, New York
    #5
    This may be a dumb question BUT can I carry over the AppleScript coding outside of the Mac platform? Well, perhaps not use the coding per say but it's structure into another type of multiplatform coding? I think that makes sense?...Hmmmm.... :rolleyes:
     
  6. FattyMembrane macrumors 6502a

    FattyMembrane

    Joined:
    Apr 14, 2002
    Location:
    bat country
    #6
    applescript only works on the mac os. if you're looking for cross-patform compatibility, i'd suggest another language.
     
  7. OutThere macrumors 603

    OutThere

    Joined:
    Dec 19, 2002
    Location:
    NYC
    #7
    As far as I have used it Applescript Studio is fun, easy and powerful. Since you can use it to execute terminal commands it opens up a lot more. I have had a good time using it. If you want cross platform portability then you might want to look into RealBasic, which is more complex than applescript, yet still simpler than say, Objective C.
     

Share This Page