beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 728

background image

C H A P T E R 1 9

Built-in Applications and System Data

19-54

Summary

cardfile

:BcCreditCards(

inEntry

,

inWhich

) // returns the

// credit card information

cardfile

:BcCustomFields(

inEntry

,

inWhich

) // returns custom

// field information

cardfile

:BcEmailAddress(

entry

,

which

) // returns e-mail

// information

cardfile

:BcEmailNetwork(

entry

,

type

)// returns e-mail

// network information

cardfile

:BcPhoneNumbers(

inEntry

,

inWhich

) // returns an

// array of phone numbers

cardfile

:OpenTo(

entry

, nil) // opens Names to a card

cardfile

:ReplaceInkData(

entry

,

layoutSym

,

oldString

,

checkPath

,

newString

) // replaces a specified ink string with a

// recognized string

RegNamesRouteScript(

symbol

,

routeScriptFrame

) // adds an

// action to the Action picker (platform file func)

cardfile

:SafeRemoveLayout(

layout

) // removes a layout added

// with AddLayout (platform file function)

cardfile

:ShowFoundItem(

entry, nil) // opens a card if Names

// is open

UnRegNamesRouteScript(

symbol

) // removes an action added

// with RegNamesRouteScript (platform file function)

Dates Application Methods

19

calendar

:AddAppointment(

mtgText, mtgStartDate

,

mtgDuration

,

repeatPeriod

,

repeatInfo

) // adds a meeting to a Dates soup

calendar

:AddEvent(

mtgText

,

mtgStartDate

,

repeatPeriod

,

repeatInfo

)

// adds an event to a Dates soup

calendar

:DeleteAppointment(

mtgTextOrFrame

,

mtgStartDate

,

deleteOneOnly

) // deletes specified meeting(s)

calendar

:DeleteEvent(

mtgTextOrFrame

,

mtgStartDate

,

deleteOneOnly

) // deletes specifed event

calendar

:DeleteRepeatingEntry(

mtgTextOrFrame

,

mtgStartDate

,

deleteOneOnly

) // deletes specified repeating meeting or

// event series

calendar

:DisplayDate(

date

,

format

)// displays meetings,

// events, or To Do tasks for a date

calendar

:FindAppointment(

mtgText

,

findWords

,

dateRange

,

type

,

maxNumberToFind

) // returns specified mtgs or events

calendar

:FindExactlyOneAppointment(

mtgText

,

findWords

,

dateRange

,

type

) // returns a specified mtg or event

calendar

:FindNextMeeting(

date)

// returns startDate and

// duration of next meeting after a date