background preloader

Programming

Facebook Twitter

Visualisation

Optimize. Fonts. The Ultimate Beginner’s Guide To AppleScript « AppStorm. This is the first post in a new series that revisits some of our readers' favorite posts from the past that still contain awesome and relevant information that you might find useful. This post was originally published on July 7, 2009. The best part about AppleScript is that you don't have to be a genius programmer to use it. In fact, you don't have to have any programming experience whatsoever. This article will show you how to write an AppleScript for nearly any application using the simple instructions that come hidden within each app's framework. What is AppleScript? AppleScript is a powerful scripting language that comes built-in to OS X. The Main Window Getting Started: The Tell Block To create an AppleScript, open the application "Script Editor" located inside the AppleScript folder within the Applications folder. [applescript] tell application "Finder" display dialog "Hello World" end tell [/applescript] Always remember to end your tell blocks correctly or the code will not compile!

Aquamacs: Emacs for Mac OS X. Introduction to Developing Web Applications with AJAX - Part 2 • Top 10 endpoint backup mistakes Tutorial Suppose you fill out a form that requires a unique field value, for example a userid in a registration form. Ordinarily, you would specify a userid value and the other field values and submit the form with the Submit button. If the userid is not already taken you would be able to register, but if the userid is taken you would get a message that the user id value is invalid and you would have to fill out and resubmit the entire form.

With the AJAX web technique the userid value may be validated at the time the value is specified in the input form, thus avoiding any need to resubmit the form. In the previous AJAX tutorial, we introduced the AJAX technology and performed the preliminary setup for a sample AJAX application. The example AJAX application validates data input in an HTML form. The procedure to send an XMLHttpRequest request involves the following procedure: Invoke a JavaScript function from an HTML event. XmlHttpRequest.send(null); Mylyn Open Source Project. RobotProg.