View Full Version : Scripting Thoughts in my Head?
eclipse525
Dec 5, 2003, 12:30 PM
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
dukemeiser
Dec 5, 2003, 12:32 PM
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.
sonofslim
Dec 5, 2003, 01:26 PM
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 (http://www.apple.com/applescript/) for more information.
FattyMembrane
Dec 5, 2003, 01:26 PM
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 (http://q41.de/downloads/pashua_en/)) 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 (http://pyobjc.sourceforge.net/) code.
eclipse525
Dec 5, 2003, 04:28 PM
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:
FattyMembrane
Dec 5, 2003, 04:58 PM
applescript only works on the mac os. if you're looking for cross-patform compatibility, i'd suggest another language.
OutThere
Dec 5, 2003, 07:11 PM
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.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.