Part of the Samples Website. 8/16/97.

samples.appleScript.script2

«Accessing the object database from AppleScript
copy db.get ("user.name") to username --copy from the database to a local
display dialog "What is your name?" default answer username
copy text returned of result to username
db.set ("user.name", username) --copy the result back to the database
speaker.beep ()


This page was last built on Sat, Aug 16, 1997 at 6:31:08 PM. You can download the current set of sample scripts from our FTP site. Dave