Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!ncar!tank!nucsrl!accuvax.nwu.edu!bob From: bob@accuvax.nwu.edu (Bob Hablutzel) Newsgroups: comp.sys.mac.programmer Subject: Re: Map CDev Message-ID: <10050067@accuvax.nwu.edu> Date: 11 Jan 89 14:07:12 GMT References: <9068@cit-vax.Caltech.Edu> Organization: Northwestern U, Evanston IL, USA Lines: 29 > How do I (a Lightspeed C programmer) read the location, time zone, and > city name selected by the Map cdev? Is there a technote on this? These routines are available in the Script Manager 2.0 release, according to the "Inside Macintosh Interim Chapter Draft - Script Manager 2.0". They seem to be part of the script manager, but I do not at this time have the interface files for these routines. The routines are: Procedure ReadLocation( Var Loc : Location ); Procedure WriteLocation( Loc : Location ); Type MachineLocation [sic] = Record Latitude, longitude : Fract; Case Integer of 0 : ( dlsDelta: signedByte ); 1 : ( gmtDelta: Longint ); End; gmtDelta is a three byte value, by the way, using only the low three bytes of the LongInt. I don't have any other information about this at this time. I didn't read the entire chapter, so I have be misleading you. Contact Apple for more information. Bob Hablutzel BOB@NUACC.ACNS.NWU.EDU Disclaimer: I swear _to_ nothing; I swear _at_ things.