• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Data events suite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data events suite


  • Subject: Re: Data events suite
  • From: pete boardman <email@hidden>
  • Date: Tue, 10 May 2005 14:26:02 +0100

On 2005-05-10  , at 00:03, Neil Faiman wrote:

It might be; but if I'm supposed to figure out how to manipulate an SQLite database from the scripting dictionary for that application, forget it. I think it would be easier just to "do shell script" the sqlite3 commands.

You inspired me to have a dekko too, but I didn't get far before I got stuck.


tell application "Database Events"
make new database with properties {name:"test"}
--> database "test"
get properties of database "test"
--> {class:database, name:"test", location:"~/Documents/ Databases"}
make new record with properties {name:"name", value:"address"}
--> record id 137424091 of database "test"
get properties of record id 137424091 of database "test"
--> {class:record, name:"name", id:137424091}
make new field with properties {name:"name", value:"address"}
--> field "name" of record id 137424091 of database "test"
get properties of field "name" of record id 137424091 of database "test"
--> {class:field, name:"name", value:"address"}
end tell


It seems to work OK, and looks promising, but I can't see any files in ~/Documents/Databases... I'll wait until it gets some documentation...!

Pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Data events suite (From: Neil Faiman <email@hidden>)
 >Re: Data events suite (From: Adam Wuellner <email@hidden>)
 >Re: Data events suite (From: Neil Faiman <email@hidden>)

  • Prev by Date: Re: [OT] When will Apple learn?
  • Next by Date: Re: Write Unicode characters to HTML
  • Previous by thread: Re: Data events suite
  • Next by thread: Re: Data events suite
  • Index(es):
    • Date
    • Thread