Re: AppleWorks scripting - database question
Re: AppleWorks scripting - database question
- Subject: Re: AppleWorks scripting - database question
- From: T&B <email@hidden>
- Date: Mon, 5 Aug 2002 02:10:23 +1000
How do I move the record into view?
As you discovered, you set the current record property.
(If you have any suggestions on
how to improve the script as a whole, that would also be much appreciated!
)
How about this:
tell application "AppleWorks 6"
tell document "JobCard.cwk"
set jobList to value of field "Job Name" in every record
choose from list jobList with prompt "Select Job Card" \-
OK button name "Select" \-
without multiple selections allowed \-
and empty selection allowed
set jumpLoc to first item of the result
set jumpID to id of first record whose value of field "Job Name"
is jumpLoc
set current record to record id jumpID
end tell
end tell
Tom
T&B
http://www.tandb.com.au/appleworks/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.