Re: Data events suite
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