Installscript:=func(partframe, removeframe) begin // patch the Company Card RegisterViewDef(GetViewDefs('person).personal, EnsureInternal('company)); // these are the views specific for Videos RegisterViewDef(GetLayout("view_length.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_music.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_producer.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_director.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_stars.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_story.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_studio.layout"),kAppSymbol); // these are the views specific for Books RegisterViewDef(GetLayout("view_publisher.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_edition.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_authors.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_catalog.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_location.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_chapter.layout"),kAppSymbol); // these are the views specific for CDs RegisterViewDef(GetLayout("view_artist.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_label.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_recording.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_track.layout"),kAppSymbol); // these are for general items (IVY) RegisterViewDef(GetLayout("view_model.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_make.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_serial.layout"),kAppSymbol); // these are the view specific for Articles RegisterViewDef(GetLayout("view_journal.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_issue.layout"), kAppSymbol); RegisterViewDef(GetLayout("view_volume.layout"), kAppSymbol); RegisterViewDef(GetLayout("view_page.layout"), kAppSymbol); RegisterViewDef(GetLayout("view_date.layout"), kAppSymbol); RegisterViewDef(GetLayout("view_keywords.layout"), kAppSymbol); //RegisterViewDef(GetLayout("view_title.layout"),kAppSymbol); // these are for everything RegisterViewDef(GetLayout("view_category.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_rating.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_released.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_purchased.layout"),kAppSymbol); RegisterViewDef(GetLayout("view_current.layout"),kAppSymbol); end; RemoveScript:=func(removeFrame) begin // for Video UnRegisterViewDef('length,kAppSymbol); UnRegisterViewDef('music,kAppSymbol); UnRegisterViewDef('producer,kAppSymbol); UnRegisterViewDef('stars,kAppSymbol); UnRegisterViewDef('story,kAppSymbol); UnRegisterViewDef('studio,kAppSymbol); // for IVY UnRegisterViewDef('make,kAppSymbol); UnRegisterViewDef('model,kAppSymbol); UnRegisterViewDef('serial,kAppSymbol); // for Books UnRegisterViewDef('authors,kAppSymbol); UnRegisterViewDef('publisher,kAppSymbol); UnRegisterViewDef('edition,kAppSymbol); UnRegisterViewDef('isbn,kAppSymbol); UnRegisterViewDef('location,kAppSymbol); UnregisterViewDef('chapter,kAppSymbol); // for CDs UnRegisterViewDef('artist,kAppSymbol); UnRegisterViewDef('label,kAppSymbol); UnRegisterViewDef('recording,kAppSymbol); //for Articles UnRegisterViewDef('page,kAppSymbol); UnRegisterViewDef('volume,kAppSymbol); UnRegisterViewDef('issue,kAppSymbol); UnregisterViewDef('journal,kAppSymbol); UnregisterViewDef('date,kAppSymbol); UnregisterViewDef('keywords,kAppSymbol); // for everything UnRegisterViewDef('category,kAppSymbol); UnRegisterViewDef('rating,kAppSymbol); UnRegisterViewDef('released,kAppSymbol); UnRegisterViewDef('purchased,kAppSymbol); UnRegisterViewDef('current,kAppSymbol); end;