Make your own free website on Tripod.com


Well this page is dedicated to my scripting efforts. Here are some scripts that i've been working on that may be useful to People trying to interface VB with Silktest API. It Appears distorted here but copy the whole thing and paste it into your Silk editor and then you can see the beauty!

[ ] //----------------------------------------------------------------------------- [ ] // [ ] // Filename: trellixweb.inc [ ] // Date Created: 4/4/2000 [ ] // Author: Brendan Stewart [ ] // Description: Window Declaration Include File for TrellixWeb. [ ] // Note: Also Includes Standard Functions. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [ ] use 'globals_static.inc' //Global Static Variable Include File [ ] [ ] //----------------------------------------------------------------------------- [ ] [ ] //Custom Window Classes [-] winclass TrellixWin : VBForm [ ] //Common Controls [-] VBCommandButton SignUp [ ] tag "Sign up now!" [-] VBCommandButton HaveAccount [ ] tag "Already have account" [-] VBCommandButton Cancel [ ] tag "Cancel" [-] VBImage PCIcon [ ] tag "#1" [+] winclass TrellixDialog : DialogBox [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Apply [ ] tag "Apply" [+] PushButton Help [ ] tag "Help" [+] PageList PageList [ ] tag "#1" [ ] [ ] //----------------------------------------------------------------------------- [ ] [ ] //Main Window Declarations... [+] window MainWin TrellixWeb [+] multitag "Trellix" //Could be just Trellix or *Trellix Web [ ] "*Trellix Web" [ ] [ ] // The working directory of the application when it is invoked [ ] const sDir = "{sTrellixDir}" [ ] [ ] // The command line used to invoke the application [ ] const sCmdLine = "{sTrellixDir}\TRELLIX.EXE" [ ] [ ] // The first window to appear when the application is invoked [ ] const wStartup = this [ ] [ ] // The list of windows the recovery system is to leave open [ ] //const lwLeaveOpen = {StartUp} [ ] [+] Menu File [ ] tag "File" [+] MenuItem New [ ] tag "New" [+] MenuItem Open [ ] tag "Open" [+] MenuItem Save [ ] tag "Save" [+] MenuItem SaveAs [ ] tag "Save As" [+] MenuItem Close [ ] tag "Close" [+] Menu WebSiteSignUp [ ] tag "Web Site Sign-up" [+] MenuItem Concentric [ ] tag "Concentric" [+] MenuItem FortuneCity [ ] tag "Fortune City" [+] MenuItem HostPro [ ] tag "Host Pro" [+] MenuItem Interland [ ] tag "Interland" [+] MenuItem Interliant [ ] tag "Interliant" [+] MenuItem Prodigy [ ] tag "Prodigy Business Solutions" [+] MenuItem Tripod [ ] tag "Tripod" [+] MenuItem WebProvider [ ] tag "WebProvider" [+] MenuItem CheckNewHosts [ ] tag "Check for New Web Hosting Companies" [+] MenuItem Other [ ] tag "Other" [+] MenuItem PreviewWebSite [ ] tag "Preview Web Site" [+] MenuItem PublishWebSite [ ] tag "Publish Web Site" [+] MenuItem PageSetup [ ] tag "Page Setup" [+] MenuItem Print [ ] tag "Print" [+] MenuItem PreviousFile [ ] tag "1 *" [+] MenuItem Exit [ ] tag "Exit" [+] Menu Edit [ ] tag "Edit" [+] MenuItem Undo [ ] tag "Undo" [+] MenuItem Redo [ ] tag "Redo" [+] MenuItem Cut [ ] tag "Cut" [+] MenuItem Copy [ ] tag "Copy" [+] MenuItem Paste [ ] tag "Paste" [+] MenuItem PasteSpecial [ ] tag "Paste Special" [+] MenuItem Delete [ ] tag "Delete" [+] MenuItem SelectAll [ ] tag "Select All" [+] Menu BreakPage [ ] tag "Break Page" [+] MenuItem CreateNewPage [ ] tag "Create New Page" [+] MenuItem CreateLinkedPage [ ] tag "Create Linked Page" [+] MenuItem AddToSequence [ ] tag "Add to Sequence" [+] Menu Image [ ] tag "Image" [+] MenuItem Resize [ ] tag "Resize" [+] MenuItem Crop [ ] tag "Crop" [+] MenuItem Find [ ] tag "Find" [+] MenuItem Replace [ ] tag "Replace" [+] MenuItem FindPages [ ] tag "Find Pages" [+] MenuItem GoTo [ ] tag "Go To" [+] Menu Properties [ ] tag "Properties" [+] MenuItem Map [ ] tag "Map" [+] MenuItem MapElement [ ] tag "Map Element" [+] MenuItem Link [ ] tag "Link" [+] MenuItem Table [ ] tag "Table" [+] MenuItem Image [ ] tag "Image" [+] MenuItem Object [ ] tag "Object" [+] MenuItem PageArea [ ] tag "Page Area" [+] MenuItem Page [ ] tag "Page" [+] Menu View [ ] tag "View" [+] Menu Outline [ ] tag "Outline" [+] MenuItem Show [ ] tag "Show" [+] MenuItem FloatIt [ ] tag "Float" [+] MenuItem FlatList [ ] tag "Flat List" [+] Menu SplitPageArea [ ] tag "Split Page Area" [+] MenuItem Horizontally [ ] tag "Horizontally" [+] MenuItem Vertically [ ] tag "Vertically" [+] MenuItem RemoveSplit [ ] tag "Remove Split" [+] MenuItem StandardToolbar [ ] tag "Standard Toolbar" [+] MenuItem FormatToolbar [ ] tag "Format Toolbar" [+] MenuItem StatusBar [ ] tag "Status Bar" [+] MenuItem OpenFile [ ] tag "1 *" [+] Menu Format [ ] tag "Format" [+] MenuItem Font [ ] tag "Font" [+] MenuItem Paragraph [ ] tag "Paragraph" [+] MenuItem Bullets [ ] tag "Bullets" [+] MenuItem Tabs [ ] tag "Tabs" [+] MenuItem Style [ ] tag "Style" [+] Menu PageArea [ ] tag "Page Area" [+] MenuItem LeftBorder [ ] tag "Left Border" [+] MenuItem TopBorder [ ] tag "Top Border" [+] MenuItem RightBorder [ ] tag "Right Border" [+] MenuItem BottomBorder [ ] tag "Bottom Border" [+] MenuItem PageBody [ ] tag "Page Body" [+] MenuItem ApplyPageLayout [ ] tag "Apply Page Layout" [+] MenuItem DefinePageLayout [ ] tag "Define Page Layout" [+] MenuItem EditPageLayouts [ ] tag "Edit Page Layouts" [+] MenuItem ChangeDocDesign [ ] tag "Change Document Design" [+] MenuItem UnlockStatTxt [ ] tag "Unlock Static Text" [+] MenuItem ConvFieldToTxt [ ] tag "Convert Field to Text" [+] Menu Map [ ] tag "Map" [+] Menu Main [ ] tag "Main" [+] MenuItem HideMainMap [ ] tag "Hide Main Map" [+] MenuItem FloatIt [ ] tag "Float" [+] MenuItem OneHundredPerc [ ] tag "100%" [+] MenuItem TwoHundredPerc [ ] tag "200%" [+] Menu OverAll [ ] tag "OverAll" [+] MenuItem Show [ ] tag "Show" [+] MenuItem FloatIt [ ] tag "Float" [+] MenuItem ShowSBars [ ] tag "Show Scroll Bars" [+] Menu Alignment [ ] tag "Alignment" [+] MenuItem Left [ ] tag "Left" [+] MenuItem Center [ ] tag "Center" [+] MenuItem Right [ ] tag "Right" [+] MenuItem Top [ ] tag "Top" [+] MenuItem Middle [ ] tag "Middle" [+] MenuItem Bottom [ ] tag "Bottom" [+] Menu Priority [ ] tag "Priority" [+] MenuItem BringToFront [ ] tag "Bring to Front" [+] MenuItem SendToBack [ ] tag "Send to Back" [+] MenuItem BringForwOne [ ] tag "Bring Forward One" [+] MenuItem SendBackOne [ ] tag "Send Backward One" [+] Menu Link [ ] tag "Link" [+] Menu LinkToPage [ ] tag "Link to a Page Using" [+] MenuItem Selection [ ] tag "Selection" [+] MenuItem TitleField [ ] tag "Title Field" [+] MenuItem TitleSumFields [ ] tag "Title & Summary Fields" [+] MenuItem OtherFields [ ] tag "Other Fields" [+] Menu LinkToAnchor [ ] tag "Link to an Anchor on" [+] MenuItem CurrentPage [ ] tag "Current Page" [+] MenuItem AnotherPage [ ] tag "Another Page" [+] MenuItem CreateLink [ ] tag "Create Link to URL or File" [+] Menu CreateList [ ] tag "Create List from" [+] MenuItem CurrentPageSeq [ ] tag "Current Page's Sequence" [+] MenuItem OtherSeq [ ] tag "Another Sequence" [+] MenuItem CreateNaviLink [ ] tag "Create Navigational Link" [+] MenuItem Unlink [ ] tag "Unlink" [+] Menu Insert [ ] tag "Insert" [+] MenuItem Page [ ] tag "Page" [+] MenuItem Sequence [ ] tag "Sequence" [+] MenuItem Label [ ] tag "Label" [+] Menu Shape [ ] tag "Shape" [+] MenuItem ImageClipart [ ] tag "Image?Clipart" [+] MenuItem Rectangle [ ] tag "Rectangle" [+] MenuItem Oval [ ] tag "Oval" [+] MenuItem Line [ ] tag "Line" [+] MenuItem ContainPage [ ] tag "Container Page" [+] MenuItem TourSeq [ ] tag "Tour Sequence" [+] MenuItem Table [ ] tag "Table" [+] MenuItem Field [ ] tag "Field" [+] MenuItem Anchor [ ] tag "Anchor" [+] MenuItem ImageClipart [ ] tag "Image?Clipart" [+] MenuItem Object [ ] tag "Object" [+] MenuItem WebGems [ ] tag "Web Gems" [+] MenuItem ScanOrCamera [ ] tag "Scanner or Digital Camera Image" [+] Menu Tools [ ] tag "Tools" [+] MenuItem Spelling [ ] tag "Spelling" [+] MenuItem Options [ ] tag "Options" [+] MenuItem PageLayoutEditor [ ] tag "Page Layout Editor" [+] MenuItem WebGems [ ] tag "Web Gems" [+] Menu Table [ ] tag "Table" [+] MenuItem InsTable [ ] tag "Insert Table" [+] Menu Select [ ] tag "Select" [+] MenuItem Table [ ] tag "Table" [+] MenuItem CellsInRows [ ] tag "All Cells in Rows" [+] MenuItem CellsInColumns [ ] tag "All Cells in Columns" [+] MenuItem CellsInTable [ ] tag "All Cells in Table" [+] Menu InsertRows [ ] tag "Insert Rows" [+] MenuItem BeforeCurSel [ ] tag "Before Current Selection" [+] MenuItem AfterCurSel [ ] tag "After Current Selection" [+] Menu InsertColumns [ ] tag "Insert Columns" [+] MenuItem BeforeCurSel [ ] tag "Before Current Selection" [+] MenuItem AfterCurSel [ ] tag "After Current Selection" [+] MenuItem DeleteRows [ ] tag "Delete Rows" [+] MenuItem DeleteColumns [ ] tag "Delete Columns" [+] MenuItem DeleteTable [ ] tag "Delete Table" [+] MenuItem MergeCells [ ] tag "Merge Cells" [+] MenuItem UnmergeCells [ ] tag "Unmerge Cells" [+] MenuItem CellProps [ ] tag "Cell Spacing?Cell Padding" [+] MenuItem Borders [ ] tag "Borders" [+] MenuItem Background [ ] tag "Background" [+] MenuItem SizeAlign [ ] tag "Size and Alignment" [+] Menu Help [ ] tag "Help" [+] MenuItem HelpTopics [ ] tag "Help Topics" [+] MenuItem ScreenTips [ ] tag "Screen Tips" [+] MenuItem SampleWebSites [ ] tag "Sample Web Sites" [+] MenuItem GuidedTour [ ] tag "Guided Tour" [+] MenuItem AboutWebPub [ ] tag "All About Web Publishing" [+] MenuItem Tutorial [ ] tag "Hands-On Tutorial" [+] MenuItem TechSupport [ ] tag "Technical Support" [+] MenuItem Training [ ] tag "Training" [+] MenuItem Updates [ ] tag "Updates and Downloads" [+] MenuItem AboutTrellix [ ] tag "About Trellix Web" [+] StatusBar StatusBar [ ] tag "#1" [+] DynamicText DynaText1 [ ] tag "#1" [+] DynamicText DynaText2 [ ] tag "#2" [+] DynamicText DynaText3 [ ] tag "#3" [+] DynamicText DynaText4 [ ] tag "#4" [+] ChildWin SiteMap [ ] tag "[TlxTrellixCtrl]#1/[AfxOleControl42]Map" [+] ChildWin SitePage [ ] tag "[TlxTrellixCtrl]#1/[AfxOleControl42]Page" [ ] [+] ChildWin LeftFrame [ ] tag "[OLERegionView]Left/[OLETextView]Text" [+] ChildWin TopFrame [ ] tag "[OLERegionView]Top/[OLETextView]Text" [+] ChildWin MiddleFrame [ ] tag "[OLERegionView]Middle/[OLETextView]Text" [+] ChildWin RightFrame [ ] tag "[OLERegionView]Right/[OLETextView]Text" [+] ChildWin PageLayoutEditor [ ] tag "[TlxTrellixCtrl]#1/[AfxOleControl42]Page Layouts" [ ] [+] PushButton Finished [ ] tag "#1" [+] PushButton NewPageLayout [ ] tag "#2" [+] PushButton Help [ ] tag "#3" [+] PopupList Page [ ] tag "#1" [+] ToolBar TrellixToolBar1 [ ] tag "[TlxRebarParent]#1/[ReBarWindow32]#1/[ToolBar]#1" [ ] [+] PushButton AddPage [ ] tag "Add Page" [+] PushButton AddText [ ] tag "Add Text" [+] PushButton AddImage [ ] tag "Add Image" [+] PushButton WebGems [ ] tag "Web Gems" [+] PushButton Cut [ ] tag "Cut" [+] PushButton Copy [ ] tag "Copy" [+] PushButton Paste [ ] tag "Paste" [+] PushButton Undo [ ] tag "Undo" [+] PushButton Link [ ] tag "Link" [+] PushButton Spelling [ ] tag "Spelling" [+] PushButton Map [ ] tag "Map" [+] PushButton Publish [ ] tag "Publish" [+] ToolBar TrellixToolBar2 [+] multitag "[TlxRebarParent]#1/[ReBarWindow32]#1/[ToolBar]#2" [ ] "$457" //Page Layout Editor [ ] [+] PushButton New [ ] tag "New" [+] PushButton Open [ ] tag "Open" [+] PushButton Save [ ] tag "Save" [+] PushButton Bold [ ] tag "#4" [+] PushButton Italic [ ] tag "#5" [+] PushButton Underline [ ] tag "#6" [+] PushButton Left [ ] tag "#7" [+] PushButton Center [ ] tag "#8" [+] PushButton Right [ ] tag "#9" [+] PushButton DecIndent [ ] tag "#10" [+] PushButton IncIndent [ ] tag "#11" [+] PushButton Bullets [ ] tag "#12" [+] PushButton Table [ ] tag "Table" [+] PushButton Color [ ] tag "#14" [+] PushButton Crop [ ] tag "#15" [+] PopupList PageLayout [ ] tag "#1" [+] PopupList FontStyle [ ] tag "#2" [+] ComboBox FontSize [ ] tag "#1" [ ] [ ] //Custom Methods... [+] void Invoke() [ ] //Check to see if it already exists, set it active if so... [+] if ( this.Exists() ) [ ] this.CloseWindows() [ ] this.SetActive() [+] else [ ] derived :: Invoke() [ ] this.CloseWindows() [ ] [+] void Setup() [ ] //Move to the top of the screen... [+] do [+] if ( this.GetState() != WS_MAXIMIZED ) [ ] this.Move(0,0) [ ] this.Maximize() [+] except [ ] //Sometimes SilkTest raises an exception when it can't move MainWin? [ ] LogWarning("WARNING: The TrellixWeb application could not be positioned!") [ ] [+] window DialogBox StartUp [ ] tag "Start Using Trellix Web" [ ] parent TrellixWeb [ ] [+] RadioList StartOption [ ] tag "#1" [+] PopupList WebSiteFName [ ] tag "Templates include customizable pages and links designed for different types of web sites." [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] CustomWin StartWorking [+] multitag "[BitMap]#1" [ ] "$238" [+] StaticText Wizard [ ] tag "Need a web site fast? Use this step-by-step wizard to guide you through the process." [+] StaticText Template [ ] tag "Templates include customizable pages and links designed for different types of web sites." [+] PushButton Learn [ ] tag "Learn >>" [ ] [ ] //These controls only appear when the Learn Button is pressed! [+] CustomWin Divider [ ] multitag "[BitMap]Templates include customizable pages*" [+] CustomWin LearnMore [ ] tag "[BitMap]#3" [+] StaticText NeedHelp [ ] tag "Need help getting started?" [+] StaticText GuidedTour [ ] tag "Experience the full power of Trellix Web.?(about 20 minutes)" [+] StaticText Publishing [ ] tag "How does the web work? How can you publish your own site? (about 10 minutes)" [+] StaticText Tutorial [ ] tag "Practice creating and publishing a small web site. (about 15 minutes)" [ ] [ ] //File Dialogs [+] window DialogBox NewFile [ ] tag "New Trellix Web File" [ ] parent TrellixWeb [ ] [+] StaticText SelectTempTxt [ ] tag "Select a template:" [+] ListBox SelectTemp [ ] tag "Select a template:" [+] StaticText DocDesignTxt [ ] tag "Document design to start with:" [+] ListBox DocDesign [ ] tag "Document design to start with:" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] CustomWin TempPic [ ] tag "[EtchedFrame]#1" [+] StaticText UseTemp [ ] tag "Use this template to start a basic web site with four pages." [+] PushButton Browse [ ] tag "Browse" [+] TextField Path [ ] tag "Path:" [+] StaticText LookInTxt [ ] tag "Look In:" [+] StaticText PathTxt [ ] tag "Path:" [+] PopupList LookIn [ ] tag "Look In:" [+] CustomWin PageDesignPic [ ] tag "[EtchedFrame]#2" [+] window DialogBox Open [ ] tag "Open" [ ] parent TrellixWeb [ ] [+] StaticText LookInTxt [ ] tag "Look in:" [+] PopupList LookInFolder [ ] tag "Look in:" [+] ListView LookInDir [ ] tag "Look in:" [+] StaticText FileNameTxt [ ] tag "File name:" [+] TextField FileName [ ] tag "File name:" [+] StaticText FileTypeTxt [ ] tag "Files of type:" [+] PopupList FileType [ ] tag "Files of type:" [+] CheckBox OpenReadOnly [ ] tag "Open as read-only" [+] PushButton Open [ ] tag "Open" [+] PushButton Cancel [ ] tag "Cancel" [+] ToolBar OpenOpts [ ] tag "Look in:" [+] PushButton UpOne [ ] tag "#1" [+] PushButton ViewDesktop [ ] tag "#2" [+] PushButton CreateFolder [ ] tag "#3" [+] RadioList DetailsList [ ] tag "#1" [+] ScrollBar ScrollBar [ ] tag "#1" [+] window DialogBox SaveAs [ ] tag "Save As" [ ] parent TrellixWeb [ ] [+] StaticText SaveInTxt [ ] tag "Save in:" [+] PopupList SaveInFolder [ ] tag "Save in:" [+] ListView SaveInDir [ ] tag "Save in:" [+] StaticText FileNameTxt [ ] tag "File name:" [+] TextField FileName [ ] tag "File name:" [+] StaticText FileTypeTxt [ ] tag "Save as type:" [+] PopupList FileType [ ] tag "Save as type:" [+] PushButton Save [ ] tag "Save" [+] PushButton Cancel [ ] tag "Cancel" [+] ToolBar SaveOpts [ ] tag "Save in:" [+] PushButton UpOne [ ] tag "#1" [+] PushButton ViewDesktop [ ] tag "#2" [+] PushButton CreateFolder [ ] tag "#3" [+] RadioList DetailsList [ ] tag "#1" [+] ScrollBar ScrollBar [ ] tag "#1" [+] window TrellixDialog PageSetup [ ] tag "Page Setup" [ ] parent TrellixWeb [ ] [+] DialogBox General [ ] tag "General" [+] StaticText MarginsTxt [ ] tag "Margins" [+] TextField Top [ ] tag "#1" [+] TextField Left [ ] tag "Margins" [+] TextField Right [ ] tag "#3" [+] TextField Bottom [ ] tag "#4" [+] DialogBox Layout [ ] tag "Layout" [+] StaticText SpecifyPagesTxt [ ] tag "Specify how many Trellix pages are on a printed sheet:" [+] RadioList SpecifyPages [ ] tag "Specify how many Trellix pages are on a printed sheet:" [+] CheckBox NoPartPages [ ] tag "No partial pages" [+] CheckBox AddInfo [ ] tag "Add information to help readers follow links in the printed copy" [+] CheckBox AddDivider [ ] tag "Put a divider between Trellix pages" [+] DialogBox PrintPageHeadr [ ] tag "Print Page Header?Footer" [+] StaticText HeaderTxt [ ] tag "Header:" [+] TextField PrintPageHeaders [ ] tag "Print Page headers appear above Trellix Page headers." [+] PushButton HeaderOpts [ ] tag "Header Options" [+] StaticText FooterTxt [ ] tag "Footer:" [+] TextField Footer [ ] tag "Footer:" [+] PushButton FooterOpts [ ] tag "Footer Options" [+] StaticText PrintPageHeadersTxt [ ] tag "Print Page headers appear above Trellix Page headers." [+] DialogBox TrellixPageHeadr [ ] tag "Trellix Page Header" [+] StaticText HeaderTxt [ ] tag "Header:" [+] TextField Header [ ] tag "Trellix Page headers appear below Print Page headers." [+] PushButton HeaderOpts [ ] tag "Header Options" [+] StaticText TrellixPageHeadrTxt [ ] tag "Trellix Page headers appear below Print Page headers." [ ] [ ] //File: Publishing Dialogs [+] window VBForm PrevPubWebSite [+] multitag "Preview Web site" [ ] "Publish Web site" [ ] parent TrellixWeb [ ] [+] VBCommandButton Help [ ] tag "Help" [+] VBCommandButton Options [ ] tag "Options" [+] VBCommandButton Preview [ ] tag "Preview" [+] VBCommandButton Publish [ ] tag "Publish" [+] VBCommandButton ViewSite [ ] tag "View Site" [+] VBCommandButton Close [ ] tag "Close" [+] VBLabel WebSiteHostTxt [ ] tag "Web Site Host:" [+] VBLabel WebSiteNameTxt [ ] tag "Web Site Name:" [+] VBLabel WebSiteURLTxt [ ] tag "Web Site URL:" [+] VBLabel StatusTxt [ ] tag "Status:" [+] VBLabel WebSiteHost [ ] tag "$*ProviderName" [+] VBLabel WebSiteName [ ] tag "$*SiteName" [+] VBLabel WebSiteURL [ ] tag "$*URL" [+] VBLabel Status [ ] tag "$*Status" [+] VBLabel ProgressBar [ ] tag "$lblProgress" [+] window VBForm PrevPubWebSiteOpts [ ] tag "Web Site Options" [ ] parent PrevPubWebSite [ ] [+] VBPictureBox TabHolder [ ] tag "#1" [+] VBCommandButton Help [ ] tag "Help" [+] VBCommandButton OK [ ] tag "OK" [+] VBCommandButton Cancel [ ] tag "Cancel" [+] OLETabStrip Top [ ] tag "#1" [+] VBPictureBox SiteNavigate [ ] tag "$picOptions1" [+] VBCheckBox UseHTMLFrames [ ] tag "Use HTML Frames" [+] VBCommandButton Browse [ ] tag "Browse" [+] VBTextBox HomePage [ ] tag "Home Page:" [+] VBCheckBox Publish [ ] tag "Publish with a Trellix site map" [+] VBLabel HomePageTxt [ ] tag "Home Page:" [+] VBPictureBox HostSetup [ ] tag "$picOptions2" [+] VBLabel WebSiteHostTxt [ ] tag "Web Site Host:" [+] VBLabel WebSiteNameTxt [ ] tag "Web Site Name:" [+] VBCheckBox PubToSubdir [ ] tag "Publish to Subdirectory:" [+] VBComboBox WebSiteHost [ ] tag "Web Site Host:" [+] VBComboBox WebSiteName [ ] tag "Web Site Name:" [+] VBComboBox TxtSubsite [ ] tag "#3" [+] VBCommandButton AddNewSite [ ] tag "Add New Site" [+] VBCommandButton Modify [ ] tag "Modify" [+] VBCommandButton RemoveSite [ ] tag "Remove Site" [ ] [+] window VBForm WebSiteInfo [ ] tag "Enter Web Site Information" [ ] parent TrellixWeb [ ] [+] VBTextBox Instructions [ ] tag "#1" [+] VBCommandButton TellMeMore [ ] tag "Tell Me More" [+] VBCommandButton HelpSiteName [ ] tag "$*HelpSiteName" [+] VBCommandButton HelpWebSiteAddress [ ] tag "$*HelpWebSiteAddress" [+] VBCommandButton HelpFTP [ ] tag "$*HelpFTP" [+] VBCommandButton HelpPassword [ ] tag "$*HelpPassword" [+] VBCommandButton HelpFilename [ ] tag "$*HelpFilename" [+] VBCommandButton OK [ ] tag "OK" [+] VBCommandButton Cancel [ ] tag "Cancel" [+] VBTextBox SiteName [ ] tag "Site Name:" [+] VBTextBox WebSiteAddress [ ] tag "Web Site Address:" [+] VBTextBox FTPHostAddress [ ] tag "FTP Host Address:" [+] VBTextBox FTPDir [ ] tag "FTP Directory:" [+] VBTextBox FTPUserName [ ] tag "FTP User Name:" [+] VBTextBox FTPPassword [ ] tag "FTP Password:" [+] VBTextBox ConfirmPwd [ ] tag "Confirm Password:" [+] VBComboBox DefFilename [ ] tag "Default Filename:" [+] VBLabel SiteNameTxt [ ] tag "Site Name:" [+] VBLabel WebSiteAddressTxt [ ] tag "Web Site Address:" [+] VBLabel FTPHostAddressTxt [ ] tag "FTP Host Address:" [+] VBLabel FTPDirTxt [ ] tag "FTP Directory:" [+] VBLabel FTPUserNameTxt [ ] tag "FTP User Name:" [+] VBLabel FTPPasswordTxt [ ] tag "FTP Password:" [+] VBLabel ConfirmPwdTxt [ ] tag "Confirm Password:" [+] VBLabel DefFilenameTxt [ ] tag "Default Filename:" [+] window VBForm Registration [ ] tag "Registration" [ ] parent PrevPubWebSite [ ] [+] VBCommandButton PrivPolicy [ ] tag "Privacy Policy" [+] VBCommandButton Proceed [ ] tag "Proceed" [+] VBTextBox FirstName [ ] tag "First Name:" [+] VBTextBox LastName [ ] tag "Last Name:[1]" [+] VBTextBox Email [ ] tag "Last Name:[2]" [+] VBLabel RegisterTxt [ ] tag "Please enter your name and email address below to register for customer support. Registered users have access to Trellix Web l*" [+] VBLabel EmailAddyTxt [ ] tag "Email Address:" [+] VBLabel LastNameTxt [ ] tag "Last Name:" [+] VBLabel FirstNameTxt [ ] tag "First Name:" [ ] [ ] //File: Publishing Dialogs with Multiple Parents [+] window TrellixWin HostSignUp [ ] tag "~ActiveApp/[VBForm]Trellix Web" //Can have multiple parents [ ] [ ] //Welcome Controls [-] VBCommandButton SignUpLater [ ] tag "Sign up later" [-] VBLabel Instructions [ ] tag "To publish your site*" [-] VBLabel WelcomeTxt [ ] tag "Welcome to Trellix Web!" [ ] [ ] //Host Signup Controls [+] VBLabel Register [ ] tag "Register your ?eb site" //Could be Web or web [+] VBLabel ProviderName [ ] tag "$*ProviderName" [+] VBLabel SignUpNow [ ] tag "*Sign up now!*" [+] VBLabel OneStepPub [ ] tag "*One-Step Publish*" [+] VBLabel AcctSetupInfo [ ] tag "Before you can publish your site*" [+] window VBForm SignUpNow [ ] tag "~ActiveApp/[VBForm]Trellix Web" //Can have multiple parents [ ] [-] VBCommandButton Continue [ ] tag "Continue" [-] VBLabel SignUpWithHost [ ] tag "You will now be signing up with a web hosting company." [-] VBLabel AboutSigningUp [ ] tag "All About Signing Up" [-] VBLabel Instruct1 [ ] tag "1. Your Internet browser window will open." [-] VBLabel Instruct2 [ ] tag "2. You'll be asked to fill out information needed to set up your account.*" [-] VBLabel Instruct3 [ ] tag "3. After you've signed up, continue working on your web site." [+] window VBForm SignUpConfirm [ ] tag "~ActiveApp/[VBForm]Trellix Web" //Can have multiple parents [ ] [+] VBCommandButton TellMeMore [ ] tag "Tell me more" [+] VBCommandButton Cancel [ ] tag "Cancel" [+] VBImage Clock [ ] tag "$Image1" [+] VBLabel Instruct1 [ ] tag "Wait a few moments for automatic account confirmation.*" [+] VBImage Provider [ ] tag "$imgLogo" [+] VBLabel WaitingLogo [ ] tag "Waiting for sign-up confirmation" [+] VBLabel Instruct2 [ ] tag "If you do not want to wait for automatic confirmation*" [+] VBLabel HostProTxt [ ] tag "Host Pro" [+] window VBForm HaveAccount [ ] tag "~ActiveApp/[VBForm]Trellix Web" //Can have multiple parents [ ] [+] VBCommandButton Help [ ] tag "?" [+] VBCheckBox SavePwd [ ] tag "Save Password" [+] VBTextBox Password [ ] tag "Password:" [+] VBTextBox UserName [ ] tag "User name:" [+] VBCommandButton Cancel [ ] tag "Cancel" [+] VBCommandButton OK [ ] tag "OK" [+] VBTextBox SiteName [ ] tag "$txtAddress" [+] VBLabel TellUsTxt [ ] tag "Tell us about your account" [+] VBLabel ProviderName [ ] tag "$*ProviderName" [+] VBLabel SiteNameTxt [ ] tag "Site name:" [+] VBLabel UserNameTxt [ ] tag "User name:" [+] VBLabel PasswordTxt [ ] tag "Password:" [+] VBTextBox SiteNameHelp [ ] tag "$txtSiteNameHelp" [ ] [ ] //Edit Dialogs [+] window DialogBox PasteSpecial [ ] tag "Paste Special" [ ] parent TrellixWeb [ ] [+] StaticText SourceTxt [ ] tag "Source:" [+] TextField Source [ ] tag "Source:" [+] RadioList Paste [ ] tag "Source:" [+] StaticText AsTxt [ ] tag "As:" [+] ListBox As [ ] tag "As:" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] StaticText ResultTxt [ ] tag "Result" [+] CustomWin Result [ ] tag "[OLE2UIresimage]Result" [+] StaticText Instructions [ ] tag "^Result" [+] RadioList PasteOpts [ ] tag "Result" [+] window DialogBox Find [+] multitag "Find" [ ] "Find and Replace" [ ] parent TrellixWeb [ ] [+] StaticText SearchTxt [ ] tag "Text to search for:" [+] TextField Search [ ] tag "Text to search for:" [+] StaticText SearchInText [ ] tag "Search in:" [+] RadioList SearchIn [ ] tag "Search in:" [+] CheckBox Beginning [ ] tag "Start from beginning" [+] CheckBox MatchCase [ ] tag "Match case" [+] PushButton FindNext [ ] tag "Find Next" [+] PushButton Replace [ ] tag "Replace*" [+] PushButton ReplaceAll [ ] tag "Replace All" [+] PushButton Close [ ] tag "Close" [+] PushButton Help [ ] tag "Help" [+] TextField Criteria [ ] tag "#3" [+] StaticText TextFoundInTxt [ ] tag "Text found in:" [+] TextField TextFoundIn [ ] tag "Text found in:" [+] StaticText ReplaceWithTxt [ ] tag "Replace with:" [+] TextField ReplaceWith [ ] tag "Replace with:" [+] window DialogBox FindMapPages [ ] tag "Find Pages In Map" [ ] parent TrellixWeb [ ] [+] StaticText SearchTxt [ ] tag "#1" [+] TextField Search [ ] tag "Text to search for:" [+] CheckBox MatchCase [ ] tag "Match case" [+] PushButton FindPages [ ] tag "Find Pages" [+] PushButton Stop [ ] tag "Stop" [+] PushButton Close [ ] tag "Close" [+] PushButton Help [ ] tag "Help" [+] StaticText StatusTxt [ ] tag "#2" [+] CustomWin ProgressBar [ ] tag "[msctls_progress32]Progress1" [+] window DialogBox GoToPage [ ] tag "Go To Another Page" [ ] parent TrellixWeb [ ] [+] ListView Pages [ ] tag "#1" [+] Header Sort [ ] tag "#1" [+] PushButton ID [ ] tag "ID" [+] PushButton ShortTitle [ ] tag "Short title" [+] PushButton Title [ ] tag "Title" [+] StaticText AnchorsTxt [ ] tag "Anchors on page:" [+] PopupList AnchorsOnPage [ ] tag "#1" [+] PushButton GoTo [ ] tag "Go To" [+] PushButton Close [ ] tag "Close" [+] PushButton Help [ ] tag "Help" [ ] [ ] //Edit: Properties Dialogs [+] window TrellixDialog MapProps [ ] tag "Map Properties" [ ] parent TrellixWeb [ ] [+] DialogBox General [ ] tag "#1" [ ] [+] DialogBox Opts [ ] tag "#1" [+] StaticText ColorTxt [ ] tag "Color:" [+] PushButton Color [ ] tag "Color:" [+] CheckBox ScrollPage [ ] tag "Always scroll current page into view" [+] CheckBox LabelsOnPages [ ] tag "Display labels on pages when zoomed in 200%" [+] CheckBox GridSnapOn [ ] tag "Turn grid snapping on" [+] StaticText WidthTxt [ ] tag "Width:" [+] TextField Width [ ] tag "Width:" [+] StaticText HeightTxt [ ] tag "Height:" [+] TextField Height [ ] tag "Height:" [+] UpDown WidthSpin [ ] tag "#1" [+] UpDown HeightSpin [ ] tag "#2" [+] window TrellixDialog PageProps [+] multitag "Page Properties" //Multiple Dialogs [ ] "Container Page Properties" [ ] parent TrellixWeb [ ] [+] DialogBox AllOpts [ ] tag "$0/[DialogBox]$0" [ ] [ ] //Fields Tab [+] StaticText TitleTxt [ ] tag "Title:" [+] TextField Title [ ] tag "Title:" [+] StaticText ShortTitleTxt [ ] tag "Short Title:" [+] TextField ShortTitle [ ] tag "Short Title:" [+] StaticText SummaryTxt [ ] tag "Summary:" [+] TextField Summary [ ] tag "Summary:" [+] StaticText AuthorTxt [ ] tag "Author:" [+] TextField Author [ ] tag "Author:" [+] StaticText KeywordsTxt [ ] tag "Keywords:" [+] TextField Keywords [ ] tag "Keywords:" [+] StaticText CommentsTxt [ ] tag "Comments:" [+] TextField Comments [ ] tag "Comments:" [+] StaticText IDTxt [ ] tag "ID:" [+] StaticText ID [ ] tag "^ID:" [+] CheckBox HomePage [ ] tag "Set as Home page" [ ] [ ] //Custom Fields Tab [+] StaticText Custom1Txt [ ] tag "Custom 1:" [+] TextField Custom1 [ ] tag "Custom 1:" [+] StaticText Custom2Txt [ ] tag "Custom 2:" [+] TextField Custom2 [ ] tag "Custom 2:" [+] StaticText Custom3Txt [ ] tag "Custom 3:" [+] TextField Custom3 [ ] tag "Custom 3:" [ ] [ ] //Page Area Tab [+] PushButton Top [ ] tag "Top" [+] PushButton Left [ ] tag "Left" [+] PushButton Bottom [ ] tag "Bottom" [+] PushButton Right [ ] tag "Right" [+] PushButton PageBody [ ] tag "Page Body" [+] StaticText BorderPriorityTxt [ ] tag "Border priority:" [+] ListBox BorderPriority [ ] tag "(drag to rearrange)" [+] StaticText PageAreaProps [ ] tag "Page area properties:" [+] StaticText DragText [ ] tag "(drag to rearrange)" [ ] [ ] //Contents Tab - Only On Container Page Props Dialog [+] CustomWin Contents [ ] tag "[OLELinkEditor]#1" [ ] [+] StaticText ContentsTxt [ ] tag "Contents:" [+] PopupList Choice [ ] tag "Contents:" [+] TextField Contents [ ] tag "#1" [+] PushButton Browse [ ] tag "Browse" [ ] [ ] //Advanced Tab [+] PushButton Arrangement1 [ ] tag "#2" [+] PushButton Arrangement2 [ ] tag "#1" [+] PushButton Arrangement3 [ ] tag "#3" [+] PushButton Arrangement4 [ ] tag "#4" [+] CustomWin BodyIcon [ ] tag "[BitMap]Arrangement of user text:" [+] StaticText PromptText [ ] tag "Prompt text:" [+] StaticText OneTxt [ ] tag "1:" [+] TextField One [ ] tag "1:" [+] StaticText TwoTxt [ ] tag "2:" [+] TextField Two [ ] tag "2:" [+] StaticText ThreeTxt [ ] tag "3:" [+] TextField Three [ ] tag "3:" [+] StaticText FourTxt [ ] tag "4:" [+] TextField Four [ ] tag "4:" [+] StaticText BodyTxt [ ] tag "Body:" [+] TextField Body [ ] tag "Body:" [+] StaticText Arrangement [ ] tag "Arrangement of user text:" [+] StaticText DocDesigns [ ] tag "Use these settings to modify Document Designs." [+] window TrellixDialog PageBodyProps //Page Body, Left, Right, Top, Bottom Border Props... [+] multitag "Page Body Properties" [ ] "Left Border Properties" [ ] "Right Border Properties" [ ] "Top Border Properties" [ ] "Bottom Border Properties" [ ] parent TrellixWeb [ ] [+] DialogBox AllProps [ ] tag "$0/[DialogBox]$0" [ ] [ ] //General Tab [+] StaticText TextMargins [ ] tag "Text margins (in pixels):" [+] TextField Top [ ] tag "$215" [+] UpDown RightSpin [ ] tag "$226" [+] TextField Left [ ] tag "$221" [+] UpDown TopSpin [ ] tag "$227" [+] TextField Right [ ] tag "$223" [+] UpDown BottomSpin [ ] tag "$228" [+] TextField Bottom [ ] tag "$222" [+] UpDown LeftSpin [ ] tag "$229" [ ] [ ] //General Tab Controls Only On Border Props.. [+] CheckBox ShowBorder [ ] tag "Show this border" [+] CheckBox UseScrollBars [ ] tag "Use scroll bars when needed" [+] CheckBox NavigateLinks [ ] tag "Only when navigation links" [+] StaticText BorderSizeTxt [+] multitag "Border Width:" [ ] "Border Height:" [+] RadioList BorderSize [+] multitag "Border Width:" [ ] "Border Height:" [+] StaticText IdealSizeTxt [+] multitag "Ideal Width:" [ ] "Ideal Height:" [+] TextField IdealSize [+] multitag "Ideal Width:" [ ] "Ideal Height:" [+] StaticText MinSizeTxt [+] multitag "Minimum Width:" [ ] "Minimum Height:" [+] TextField MinSize [+] multitag "Minimum Width:" [ ] "Minimum Height:" [+] StaticText Activated [ ] tag "are activated" [ ] [ ] //Background Tab [+] StaticText BackColorTxt [ ] tag "Color:" [+] PushButton BackColor [ ] tag "BackColor" [+] CheckBox Image [ ] tag "Image:" [+] TextField ImageName [ ] tag "$246" [+] PushButton Browse [ ] tag "Browse" [+] PushButton Properties [ ] tag "Properties" [+] StaticText AlignmentTxt [ ] tag "Alignment:" [+] PushButton UpperLeft [ ] tag "UPPER_LEFT_" [+] PushButton UpperCenter [ ] tag "UPPER_CENTER_" [+] PushButton UpperRight [ ] tag "UPPER_RIGHT_" [+] PushButton MidLeft [ ] tag "MID_LEFT_" [+] PushButton MidCenter [ ] tag "MID_CENTER_" [+] PushButton MidRight [ ] tag "MID_RIGHT_" [+] PushButton LowerLeft [ ] tag "LOWER_LEFT_" [+] PushButton LowerCenter [ ] tag "LOWER_CENTER_" [+] PushButton LowerRight [ ] tag "LOWER_RIGHT_" [+] CheckBox TileVert [ ] tag "Tile vertically" [+] CheckBox TileHoriz [ ] tag "Tile horizontally" [+] CheckBox ScrollImage [ ] tag "Scroll image with text" [ ] [ ] //Edge Tab [+] StaticText EdgeColorTxt [ ] tag "Color:" [+] PushButton EdgeColor [ ] tag "EdgeColor" [+] StaticText WidthTxt [ ] tag "Width (in pixels):" [+] TextField TopWidth [ ] tag "$240" [+] UpDown TopWidthSpin [ ] tag "$241" [+] PushButton TopHilite [ ] tag "$255" [+] PushButton TopShadow [ ] tag "#3" [+] TextField LeftWidth [ ] tag "$242" [+] UpDown LeftWidthSpin [ ] tag "$243" [+] PushButton LeftHilite [ ] tag "#4" [+] PushButton LeftShadow [ ] tag "#5" [+] TextField RightWidth [+] multitag "#3" [ ] "$246" [+] UpDown RightWidthSpin [ ] tag "$247" [+] PushButton RightHilite [ ] tag "#6" [+] PushButton RightShadow [ ] tag "#7" [+] TextField BottomWidth [ ] tag "$244" [+] UpDown BottomWidthSpin [ ] tag "$245" [+] PushButton BottomHilite [ ] tag "#8" [+] PushButton BottomShadow [ ] tag "#9" [ ] [ ] //Default Text Tab [+] TextField Attributes [ ] tag "$250" [+] PushButton Modify [ ] tag "Modify" [ ] [ ] //HtmlLink Colors Tab [+] StaticText LinkSetts [ ] tag "Use these settings to set link colors in pages exported to HTML." [+] StaticText Link [ ] tag "Link" [+] CheckBox AutoLink [ ] tag "^Link" [+] PushButton UnVisitLinkColor [ ] tag "UnvisitedColor" [+] StaticText VisitLink [ ] tag "Visited Link" [+] CheckBox AutoVisitLink [ ] tag "^Visited link" [+] PushButton VisitLinkColor [ ] tag "VisitedColor" [+] window TrellixDialog ImageProps [ ] tag "Image Properties" [ ] parent TrellixWeb [ ] [+] DialogBox Opts [ ] tag "#1" [ ] [ ] //General Tab [+] StaticText ImageSourceTxt [ ] tag "Image source:" [+] TextField ImageSource [ ] tag "Image source:" [+] StaticText DescriptTxt [ ] tag "Description:" [+] TextField Descript [ ] tag "Description:" [+] TextField ImageParams [ ] tag "$208" [+] PushButton Image [ ] tag "Description:" [ ] [ ] //Crop Tab [+] TextField OrigSize [ ] tag "Original size:" [+] TextField CropSize [ ] tag "Cropped size:" [+] StaticText OrigSizeTxt [ ] tag "Original size:" [+] StaticText CropSizeTxt [ ] tag "Cropped size:" [+] PushButton Reset [ ] tag "Reset" [+] StaticText CropTxt [ ] tag "Crop from (in pixels)" [+] TextField Top [ ] tag "$242" [+] UpDown TopSpin [ ] tag "#1" [+] TextField Left [ ] tag "$232" [+] UpDown LeftSpin [ ] tag "#2" [+] TextField Right [ ] tag "$236" [+] UpDown RightSpin [ ] tag "#3" [+] TextField Bottom [ ] tag "$244" [+] UpDown BottomSpin [ ] tag "#4" [ ] [ ] //Resize Tab [+] StaticText CropSizeTxt2 [+] multitag "Cropped size:" [ ] "$255" [+] TextField CropSize2 [+] multitag "Cropped size:" [ ] "$204" [+] StaticText NewSizeTxt [ ] tag "New size:" [+] TextField NewSize [ ] tag "New size:" [+] StaticText WidthTxt [ ] tag "Width:" [+] TextField Width [+] multitag "Width:" [ ] "$221" [+] UpDown WidthSpin [ ] tag "$222" [+] PopupList WidthPix [ ] tag "Width:" [+] StaticText HeightText [ ] tag "Height:" [+] TextField Height [+] multitag "Height:" [ ] "$213" [+] UpDown HeightSpin [ ] tag "$220" [+] PopupList HeightPix [ ] tag "Height:" [+] CheckBox MaintainProport [ ] tag "Maintain proportions" [+] PushButton SizeToArea [ ] tag "Size to Area" [ ] //Reset Button not declared again, use prior decl. [+] StaticText SizeTxt [ ] tag "Size:" [ ] [ ] //Transparent Tab [+] CheckBox TransColor [ ] tag "Transparent color:" [+] PushButton Transparent [ ] tag "Transparent" [+] window TrellixDialog LinkProps [ ] tag "Link Properties" [ ] parent TrellixWeb [ ] [+] DialogBox TargetDisplay [ ] tag "#1" [+] CustomWin LinkProps [ ] tag "[OLELinkEditor]#1" [+] StaticText LinkToTxt [ ] tag "Link To:" [+] PopupList SequenceList [ ] tag "Link To:" [+] PopupList SequenceList2 [ ] tag "#2" [+] TextField Sequence [ ] tag "#1" [+] PushButton Browse [ ] tag "Browse" [+] StaticText LinkDescriptTxt [ ] tag "Link description:" [+] PopupList LinkDescrpt [ ] tag "Link description:" [+] TextField Displaying [+] multitag "List" [ ] "Displaying:" [+] StaticText LinkDescript [ ] tag "List" [+] StaticText DisplayingTxt [ ] tag "Displaying:" [+] PushButton Format [ ] tag "Format" [+] window TrellixDialog TableProps [ ] tag "Table Properties" [ ] parent TrellixWeb [ ] [+] DialogBox Borders [ ] tag "Borders" [+] StaticText CellSpaceTxt [ ] tag "Cell spacing:" [+] TextField CellSpace [ ] tag "Cell spacing:" [+] UpDown CellSpaceSpin [ ] tag "#1" [+] StaticText CellPadTxt [ ] tag "Cell padding:" [+] TextField CellPad [ ] tag "Cell padding:" [+] UpDown CellPadSpin [ ] tag "#2" [+] CheckBox ShowBorders [ ] tag "Show borders" [+] StaticText OutsideBorderTxt [ ] tag "Outside border:" [+] PushButton Frame [ ] tag "Frame" [+] StaticText WidthTxt [ ] tag "Width:" [+] TextField Width [ ] tag "Width:" [+] UpDown WidthSpin [ ] tag "#3" [+] StaticText InsideBorderTxt [ ] tag "Inside border:" [+] PushButton Rules [ ] tag "Rules" [+] StaticText HiliteColorTxt [ ] tag "Highlight color:" [+] PushButton LightColor [ ] tag "LightColor" [+] StaticText ShadowColorTxt [ ] tag "Shadow color:" [+] PushButton DarkColor [ ] tag "DarkColor" [+] StaticText CellSpacePixel [ ] tag "pixels[1]" [+] StaticText CellPadPixel [ ] tag "pixels[2]" [+] StaticText CellWidthPixel [ ] tag "pixels[3]" [+] DialogBox Background [ ] tag "Background" [+] CheckBox TransTable [ ] tag "^Table background color" [+] PushButton TblBckClr [ ] tag "TblClr" [+] CheckBox TransCell [ ] tag "^Cell background color" [+] PushButton CellBackClr [ ] tag "CellClr" [+] StaticText TableBgdColorTxt [ ] tag "Table background color" [+] StaticText CellBgdColorTxt [ ] tag "Cell background color" [+] DialogBox SizeAndAlign [ ] tag "Size and Alignment" [+] StaticText MinRowHeightTxt [ ] tag "Minimum row height" [+] TextField MinRowHeight [ ] tag "Minimum row height" [+] UpDown MinRowHeightSpin [ ] tag "#1" [+] StaticText ColWidthTxt [ ] tag "Column width" [+] TextField ColWidth [ ] tag "Column width" [+] UpDown ColWidthSpin [ ] tag "#2" [+] RadioList VertAlign [ ] tag "Vertical alignment" [+] StaticText PixelTxt [ ] tag "pixels[1]" [+] StaticText VerticalAlignTxt [ ] tag "Vertical alignment" [+] StaticText PixelsTxt2 [ ] tag "pixels[2]" [ ] [ ] //Misc Dialogs [+] window MessageBoxClass MessageBox [ ] tag "~ActiveApp/[DialogBox]$MessageBox" [ ] [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Yes [ ] tag "Yes" [+] PushButton No [ ] tag "No" [+] StaticText Message [ ] tag "#1" [+] window MessageBoxClass TrellixMessage [ ] tag "Trellix" [ ] parent TrellixWeb [ ] [+] StaticText Message [ ] tag "#1" [+] PushButton OK [ ] tag "OK" [+] window DialogBox CreateNewLayout [ ] tag "Create New Page Layout" [ ] parent TrellixWeb [ ] [+] StaticText NameTxt [ ] tag "Name:" [+] TextField Name [ ] tag "Name:" [+] StaticText BasedOnTxt [ ] tag "Based on:" [+] PopupList BasedOn [ ] tag "Based on:" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] netscape4 window DialogBox NC_SecurityInfo [ ] tag "Netscape" [ ] parent Browser [ ] [ ] const wInvoke = Netscape.Communicator.SecurityInfo [ ] [+] BrowserChild SecurityInfo [ ] tag "[BrowserChild]#1/[BrowserChild]#1" [+] BrowserChild Links [ ] tag "[BrowserChild]#1/[BrowserChild]#2" [+] HtmlHeading Navigator [+] multitag "[HtmlLink]Navigator" [ ] "[HtmlHeading]Navigator" //Seems to ramdomly switch window class? [+] BrowserChild Buttons [ ] tag "[BrowserChild]#1/[BrowserChild]#5" [+] HtmlPushButton OK [ ] tag "OK" [+] HtmlPushButton Cancel [ ] tag "Cancel" [+] HtmlPushButton Help [ ] tag "Help" [+] BrowserChild NC_SecuritySettings [ ] tag "[BrowserChild]#1/[BrowserChild]These settings allow you to control" [+] HtmlHeading ShowWarning [ ] tag "Show a warning before:" [+] HtmlCheckBox EnteringSite [ ] tag "Entering an encrypted site" [+] HtmlCheckBox LeavingSite [ ] tag "Leaving an encrypted site" [+] HtmlCheckBox ViewingPage [ ] tag "Viewing a page with an encrypted?unencrypted mix" [+] HtmlCheckBox SendingInfo [ ] tag "Sending unencrypted information to a Site" [ ] [ ] //Error Dialogs [+] window DialogBox TrellixErr [+] multitag "~ActiveApp/[DialogBox]Trellix Web" //Can have multiple parents [ ] "~ActiveApp/[DialogBox]*index.html" [ ] [+] PushButton OK [ ] tag "OK" [+] StaticText Error [ ] tag "#1" [+] StaticText HostContactFail [ ] tag "Unable to contact Web hosting company to login.*" [+] window DialogBox HostError [ ] tag "TlxWebHost" [ ] parent PrevPubWebSite [ ] [+] StaticText BrowserFailure [ ] tag "Can't start web browser" [+] PushButton OK [ ] tag "OK" [ ] [ ] //View Dialogs [ ] //None. [ ] [ ] //Format Dialogs [+] window DialogBox Font [ ] tag "Font" [ ] parent TrellixWeb [ ] [+] StaticText FontTxt [ ] tag "Font:" [+] ComboBox Font [ ] tag "Font:" [+] StaticText FontStyleTxt [ ] tag "Font style:" [+] ComboBox FontStyle [ ] tag "Font style:" [+] StaticText SizeTxt [ ] tag "Size:" [+] ComboBox Size [ ] tag "Size:" [+] StaticText EffectsTxt [ ] tag "Effects" [+] CheckBox Strikeout [ ] tag "Strikeout" [+] CheckBox Underline [ ] tag "Underline" [+] StaticText ColorTxt [ ] tag "Color:" [+] PushButton Color [ ] tag "Color:" [+] StaticText SampleTxt [ ] tag "Sample" [+] StaticText TrueTypeFont [ ] tag "This is a TrueType font*" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] window DialogBox Paragraph [ ] tag "Paragraph" [ ] parent TrellixWeb [ ] [+] StaticText AlignmentTxt [ ] tag "Alignment:" [+] PopupList Alignment [ ] tag "Alignment:" [+] StaticText IndentTxt [ ] tag "Indentation" [+] StaticText LeftTxt [ ] tag "Left:" [+] TextField Left [ ] tag "Left:" [+] UpDown LeftSpin [ ] tag "#1" [+] StaticText RightTxt [ ] tag "Right:" [+] TextField Right [ ] tag "Right:" [+] UpDown RightSpin [ ] tag "#2" [+] StaticText SpecialTxt [ ] tag "Special:" [+] PopupList Special [ ] tag "Special:" [+] StaticText ByTxt [ ] tag "By:" [+] TextField By [ ] tag "By:" [+] UpDown BySpin [ ] tag "#3" [+] StaticText SpacingTxt [ ] tag "Spacing" [+] StaticText BeforeTxt [ ] tag "Before:" [+] TextField Before [ ] tag "Before:" [+] UpDown BeforeSpin [ ] tag "#4" [+] StaticText AfterTxt [ ] tag "After:" [+] TextField After [ ] tag "After:" [+] UpDown AfterSpin [ ] tag "#5" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] window DialogBox Bullets [ ] tag "Bullets" [ ] parent TrellixWeb [ ] [+] PushButton Bullet1 [ ] tag "newbullet1" [+] PushButton Bullet2 [ ] tag "newbullet2" [+] PushButton Bullet3 [ ] tag "newbullet3" [+] PushButton Bullet4 [ ] tag "newbullet4" [+] PushButton Bullet5 [ ] tag "newbullet5" [+] PushButton Bullet6 [ ] tag "newbullet6" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Remove [ ] tag "Remove" [+] PushButton Help [ ] tag "Help" [+] window DialogBox Tabs [ ] tag "Tabs" [ ] parent TrellixWeb [ ] [+] StaticText TabStopPosTxt [ ] tag "Tab stop position:" [+] ComboBox TabStopPosition [ ] tag "Tab stop position:" [+] PushButton Set [ ] tag "Set" [+] PushButton Clear [ ] tag "Clear" [+] PushButton ClearAll [ ] tag "Clear All" [+] RadioList Alignment [ ] tag "Alignment:" [+] RadioList Leader [ ] tag "Leader:" [+] TextField Custom [ ] tag "#1" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] StaticText AlignmentTxt [ ] tag "Alignment:" [+] StaticText LeaderTxt [ ] tag "Leader:" [+] window DialogBox Styles [ ] tag "Styles" [ ] parent TrellixWeb [ ] [+] StaticText StylesTxt [ ] tag "Styles:" [+] ListBox Styles [ ] tag "Styles:" [+] PushButton NewStyle [ ] tag "New Style" [+] PushButton Modify [ ] tag "Modify" [+] PushButton Delete [ ] tag "Delete" [+] StaticText StyleAttribTxt [ ] tag "Style attributes:" [+] TextField StyleAttrib [ ] tag "Style attributes:" [+] StaticText LocalFormatTxt [ ] tag "Local Formatting:" [+] TextField LocalFormat [ ] tag "Local Formatting:" [+] CheckBox RemoveFormat [ ] tag "Remove local font formatting when applying style" [+] PushButton ApplyStyle [ ] tag "Apply Style" [+] PushButton Close [ ] tag "Close" [+] PushButton Help [ ] tag "Help" [+] window DialogBox ApplyLayout [ ] tag "Apply Page Layout" [ ] parent TrellixWeb [ ] [+] StaticText PageLayoutsTxt [ ] tag "Page layouts:" [+] ListBox PageLayouts [ ] tag "Page layouts:" [+] ComboBox SortLayouts [ ] tag "Page layouts:" [+] RadioList PageApply [ ] tag "Apply page layout to:" [+] CheckBox NewPages [ ] tag "Use this layout for new pages" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Apply [ ] tag "Apply" [+] PushButton Help [ ] tag "Help" [+] StaticText PageApplyTxt [ ] tag "Apply page layout to:" [+] window DialogBox DefineNewLayout [ ] tag "Define New Page Layout" [ ] parent TrellixWeb [ ] [+] TextField LayoutName [ ] tag "Name of new page layout:" [+] ListBox ExistLayouts [ ] tag "Existing Layouts:" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] StaticText LayoutNameTxt [ ] tag "Name of new page layout:" [+] StaticText ExistLayoutsTxt [ ] tag "Existing Layouts:" [+] StaticText Intro [ ] tag "You have asked to create a new page layout*" [+] window DialogBox ChangeDocDesign [ ] tag "Change Document Design" [ ] parent TrellixWeb [ ] [+] ListBox Template [ ] tag "Path:" [+] PushButton Browse [ ] tag "Browse" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Apply [ ] tag "Apply" [+] PushButton Help [ ] tag "Help" [+] TextField Path [ ] tag "Path:" [+] StaticText LookInTxt [ ] tag "Look In:" [+] StaticText PathTxt [ ] tag "Path:" [+] PopupList Folder [ ] tag "Look In:" [+] CustomWin Design [ ] tag "[EtchedFrame]#1" [ ] [ ] //Map Dialogs [ ] //None. [ ] [ ] //Link Dialogs [+] window DialogBox CreateLink [ ] tag "Trellix" [ ] parent TrellixWeb [ ] [+] PushButton Yes [ ] tag "Yes" [+] PushButton No [ ] tag "No" [+] StaticText CreateLinkMsg [ ] tag "You are in the middle of creating a link.*" [+] window DialogBox ChooseAnchor [ ] tag "Choose an Anchor" [ ] parent TrellixWeb [ ] [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] ListBox Anchor [ ] tag "#1" [+] StaticText DisplayingTxt [ ] tag "Displaying:" [+] TextField Displaying [ ] tag "Displaying:" [+] window DialogBox ContentsAndFormat [ ] tag "~ActiveApp/[DialogBox]List Contents and Format" //Multiple Parents [ ] [+] StaticText LinkedFieldTxt1 [ ] tag "First field (linked)" [+] PopupList LinkedField1 [ ] tag "First field (linked)" [+] StaticText LinkedFieldTxt2 [ ] tag "Second field" [+] PopupList LinkedField2 [ ] tag "Second field" [+] StaticText OneField [ ] tag "One-field formats" [+] PushButton List1 [ ] tag "listtype1" [+] PushButton List2 [ ] tag "listtype2" [+] PushButton List3 [ ] tag "listtype3" [+] PushButton List4 [ ] tag "listtype4" [+] StaticText MultiFieldFormat [ ] tag "One and two-field formats" [+] PushButton List5 [ ] tag "listtype5" [+] PushButton List6 [ ] tag "listtype6" [+] PushButton List7 [ ] tag "listtype7" [+] PushButton List8 [ ] tag "listtype8" [+] RadioList Seperators [ ] tag "One and two-field formats" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] StaticText PlusTxt [ ] tag "+" [+] StaticText SelectFormat [ ] tag "Select the format of the list:" [+] StaticText CreateList [ ] tag "Create a list using these fields:" [ ] [ ] //Insert Dialogs [+] window DialogBox InsertNewPage [ ] tag "Insert New Page" [ ] parent TrellixWeb [ ] [+] StaticText PageTitleTxt [ ] tag "Title of Page:" [+] TextField PageTitle [ ] tag "Title of Page:" [+] StaticText PageLayoutTxt [ ] tag "Page Layout:" [+] PopupList PageLayout [ ] tag "Page Layout:" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] window DialogBox InsertImage [ ] tag "Insert Image?Clipart" [ ] parent TrellixWeb [ ] [+] StaticText LookInTxt [ ] tag "Look in:" [+] PopupList LookInFolder [ ] tag "Look in:" [+] ListView LookInDir [ ] tag "Look in:" [+] StaticText FileNameTxt [ ] tag "File name:" [+] TextField FileName [ ] tag "File name:" [+] StaticText FileTypeTxt [ ] tag "Files of type:" [+] PopupList FileType [ ] tag "Files of type:" [+] CheckBox OpenReadOnly [ ] tag "Open as read-only" [+] PushButton Open [ ] tag "Open" [+] PushButton Cancel [ ] tag "Cancel" [+] ToolBar OpenOpts [ ] tag "Look in:" [+] PushButton UpOne [ ] tag "#1" [+] PushButton ViewDesktop [ ] tag "#2" [+] PushButton CreateFolder [ ] tag "#3" [+] RadioList DetailsList [ ] tag "#1" [+] ScrollBar ScrollBar [ ] tag "#1" [+] DialogBox Preview [ ] tag "#1" [+] CheckBox Preview [ ] tag "Preview" [+] CheckBox ShowDetails [ ] tag "Show details" [+] PushButton Image [ ] tag "b" [+] TextField Details [ ] tag "#3" [+] CheckBox LimitSize [ ] tag "Limit image size (in pixels) to:" [+] TextField Width [ ] tag "#1" [+] StaticText WidthTxt [ ] tag "Wide by" [+] TextField Height [ ] tag "#2" [+] StaticText HeightTxt [ ] tag "High" [+] PushButton Rotate1 [ ] tag "IDB_ROR90" [+] PushButton Rotate2 [ ] tag "IDB_ROR180" [+] PushButton Rotate3 [ ] tag "IDB_ROR270" [+] PushButton Rotate4 [ ] tag "IDB_FLIPHORIZ" [+] PushButton Options [ ] tag "Options" [+] window DialogBox InsertTable [ ] tag "Insert Table" [ ] parent TrellixWeb [ ] [+] StaticText NumRowsTxt [ ] tag "Number of rows:" [+] TextField NumRows [ ] tag "Number of rows:" [+] UpDown NumRowsSpin [ ] tag "#1" [+] StaticText NumColumnsTxt [ ] tag "Number of columns:" [+] TextField NumColumns [ ] tag "Number of columns:" [+] UpDown NumColsSpin [ ] tag "#2" [+] StaticText ColWidthTxt [ ] tag "Initial column width:" [+] TextField ColWidth [ ] tag "Initial column width:" [+] UpDown ColWidthSpin [ ] tag "#3" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] StaticText PixelsTxt [ ] tag "pixels" [+] window DialogBox InsertField [ ] tag "Insert Field" [ ] parent TrellixWeb [ ] [+] StaticText SelectFieldTxt [ ] tag "Select a field to insert:" [+] PopupList SelectField [ ] tag "Select a field to insert:" [+] StaticText SelectSourceTxt [ ] tag "Select source of field:" [+] PopupList SelectSource [ ] tag "Select source of field:" [+] CheckBox Linked [ ] tag "Linked" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] window DialogBox InsertAnchor [ ] tag "Insert Anchor" [ ] parent TrellixWeb [ ] [+] StaticText AnchorNameTxt [ ] tag "Anchor name:" [+] TextField AnchorName [ ] tag "Anchor name:" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] PushButton Help [ ] tag "Help" [+] window DialogBox InsertObject [ ] tag "Insert Object" [ ] parent TrellixWeb [ ] [+] RadioList Create [ ] tag "#1" [+] StaticText FileTxt [ ] tag "#1" [+] StaticText FileName [ ] tag "#2" [+] TextField File [ ] tag "File:" [+] PushButton Browse [ ] tag "Browse" [+] PushButton OK [ ] tag "OK" [+] PushButton Cancel [ ] tag "Cancel" [+] StaticText ResultTxt [ ] tag "Result" [+] CustomWin Image [ ] tag "[OLE2UIresimage]Result" [+] StaticText Instruction [ ] tag "Inserts the contents of the file as an object into your document*" [+] window VBForm InsertDevice [ ] tag "Insert Scanner or Digital Camera Image" [ ] parent TrellixWeb [ ] [+] VBCommandButton Help [ ] tag "Help" [+] VBCommandButton Insert [ ] tag "Insert" [+] VBCommandButton Cancel [ ] tag "Cancel" [+] VBLabel Message [ ] tag "#1" [ ] [ ] //Tools Dialogs [+] window DialogBox Spelling [ ] tag "Spelling" [ ] parent TrellixWeb [ ] [+] StaticText CheckInTxt [ ] tag "Check in:" [+] RadioList CheckIn [ ] tag "Check in:" [+] CheckBox StartFromBegin [ ] tag "Start from beginning" [+] PushButton Start [ ] tag "Start" [+] PushButton Close [ ] tag "Close" [+] PushButton Help [ ] tag "Help" [+] PushButton Ignore [ ] tag "Ignore" [+] PushButton IgnoreAll [ ] tag "Ignore All" [+] PushButton Add [ ] tag "Add" [+] PushButton Delete [ ] tag "Delete" [+] TextField ChangeTo [ ] tag "Change To:" [+] StaticText SuggestTxt [ ] tag "Suggestions:" [+] ListBox Suggest [ ] tag "Suggestions:" [+] PushButton Change [ ] tag "Change" [+] PushButton ChangeAll [ ] tag "Change All" [+] TextField Section [ ] tag "#1" [+] TextField Word [ ] tag "#3" [+] CustomWin ProgressBar [ ] tag "[msctls_progress32]Progress1" [+] StaticText ChangeToTxt [ ] tag "Change To:" [+] StaticText CheckingTxtIn [ ] tag "Checking text in:" [+] window TrellixDialog Options [ ] tag "Options" [ ] parent TrellixWeb [ ] [+] DialogBox SelectOpts [ ] tag "#1" [ ] [ ] //General Tab [+] StaticText CreatedOnText [ ] tag "Created on:" [+] TextField CreatedOn [ ] tag "Created on:" [+] StaticText LastSavedOnTxt [ ] tag "Last saved on:" [+] TextField LastSavedOn [ ] tag "Last saved on:" [+] StaticText FileSizeTxt [ ] tag "File size:" [+] TextField FileSize [ ] tag "File size:" [+] StaticText CurrentDesignTxt [ ] tag "Current design:" [+] TextField CurrentDesign [ ] tag "Current design:" [+] StaticText StartOpt [ ] tag "Show Start Using Trellix Web Dialog" [+] CheckBox AtStartup [ ] tag "At Startup" [+] CheckBox AfterFileClose [ ] tag "After File Close" [+] StaticText CurrentDocTxt [ ] tag "Current Document" [ ] [ ] //Text Tab [+] StaticText HiddenChars [ ] tag "Show hidden characters" [+] CheckBox Spaces [ ] tag "Spaces" [+] CheckBox Tabs [ ] tag "Tabs" [+] CheckBox NamedAnchors [ ] tag "Named anchors" [+] CheckBox LinkSymbol [ ] tag "Link symbol in the map" [+] StaticText EditingPrefs [ ] tag "Editing preferences" [+] StaticText FollowLinksTxt [ ] tag "Follow links using" [+] StaticText ShowContainerTxt [ ] tag "Show container page content" [+] RadioList FollowLinks [ ] tag "Follow links using" [+] RadioList ShowContainer [ ] tag "Show container page content" [ ] [ ] //Image Save Tab [+] CheckBox SaveEdit [ ] tag "Save only edited images, not originals, when original is" [+] TextField Width [ ] tag "When saving document" [+] StaticText By [ ] tag "x" [+] TextField Height [ ] tag "x" [+] StaticText Pixels [ ] tag "pixels or larger" [+] CheckBox ReduceSize [ ] tag "Remind me how to reduce the size of my file" [+] StaticText SaveDoc [ ] tag "When saving document" [ ] [ ] //Photo CD Tab [+] StaticText ImportSave [ ] tag "When importing Photo CD images, save image in Trellix Web as:" [+] RadioList Format [ ] tag "When importing Photo CD images, save image in Trellix Web as:" [+] StaticText ImportQuality [ ] tag "When making a JPG from the Photo CD image, use the quality setting:" [+] TextField ImportQualitySett [ ] tag "When making a JPG from the Photo CD image, use the quality setting:" [+] UpDown ImportQualitySpin [ ] tag "Spin1" [+] StaticText ImageSizeTxt [ ] tag "Use the following image size (width x height in pixels):" [+] RadioList ImageSize [ ] tag "Use the following image size (width x height in pixels):" [+] StaticText QualityInstruct [ ] tag "1 is highest quality, 50 is lowest.*" [+] window VBForm WebGems [ ] tag "Web Gems" [ ] parent TrellixWeb [ ] [+] VBCommandButton Upgrade [ ] tag "Upgrade!" [+] VBCommandButton SeeItInAct [ ] tag "See it in action!" [+] VBCommandButton Help [ ] tag "Help" [+] VBCommandButton Choose [ ] tag "Choose" [+] VBListBox ListGoodies [ ] tag "#1" [+] VBCommandButton Cancel [ ] tag "Cancel" [+] VBPictureBox Demo [ ] tag "#1" [+] VBTextBox WebGemDescription [ ] tag "$txtDescrip" [+] VBImage WebGemHolder [ ] tag "$imgDescrip" [+] VBLabel WebGemName [ ] tag "$lblName" [+] VBImage WegGemIcon [ ] tag "$imgDescrip1" [+] CustomWin HTTP1 [ ] tag "[OLEHTTP]#1" [+] VBLabel WebGemExtra [ ] tag "EXTRA! EXTRA! Grab the latest Web Gem Collection!*" [ ] [ ] //Table Dialogs [ ] //None. [ ] [ ] //Help Dialogs [+] window DialogBox AboutTrellixWeb [ ] tag "About Trellix Web" [ ] parent TrellixWeb [ ] [+] StaticText VersionTxt [ ] tag "#1" [+] TextField Version [ ] tag "#1" [+] StaticText License [ ] tag "This product is licensed to:" [+] StaticText Copyright [ ] tag "Copyright 199?-200? Trellix Corporation. All Rights Reserved." [+] StaticText USPatentNum [ ] tag "U.S. Patent Numbers*" [+] TextField Licensee [ ] tag "#2" [+] TextField Credits [ ] tag "#3" [+] TextField Warning [ ] tag "#4" [+] StaticText TrellixWebTxt [ ] tag "Trellix Web" [+] PushButton Close [ ] tag "Close" [+] PushButton Copy [ ] tag "Copy" [+] PushButton FilesInfo [ ] tag "Files Info" [ ] //None others required at this point... [ ] [ ] //----------------------------------------------------------------------------- [ ] [ ] [ ] //TrellixWeb Functions [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: OpenFile() [ ] // Date Created: 4/7/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will open a Trellix Site file. [ ] // Arguments: sFile - The complete path and filename of the Trellix file. [ ] // Ex: C:\Program Files\Trellix Web\WebDesigns [ ] // bReadOnly - Optional argument to open file as read-only. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] OpenFile(string sFile, boolean bReadOnly optional) [-] if ( TrellixWeb.Exists() ) [ ] TrellixWeb.SetActive() [ ] TrellixWeb.File.Open.Pick() [ ] [ ] //Open the file by passing in the complete path\filename... [-] if ( Open.Exists(iShortTO) ) [ ] Open.SetActive() [ ] Open.FileName.SetText(sFile) [ ] [ ] //Open in read-only mode... [+] if ( bReadOnly == TRUE ) [ ] Open.OpenReadOnly.Check() [ ] [ ] Open.Open.Click() [+] else [ ] raise 1, "ERROR: The TrellixWeb Open dialog did Not come up!" [-] else [ ] raise 1, "ERROR: The TrellixWeb application did Not exist!" [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: CloseFile() [ ] // Date Created: 4/7/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will close the open Trellix Site file. [ ] // Arguments: eSave - Optional argument to Save, Not Save, or Cancel. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] type SAVE is enum [ ] Yes [ ] No [ ] Cancel [ ] [+] CloseFile(SAVE eSave optional) [ ] string sGetMsg [ ] [+] if ( TrellixWeb.Exists() ) [ ] TrellixWeb.SetActive() [ ] TrellixWeb.File.Close.Pick() [ ] [ ] //The MessageBox should come up [+] if ( MessageBox.Exists(iShortTO) ) [ ] MessageBox.SetActive() [ ] sGetMsg = MessageBox.Message.GetText() //Make sure message came up! [ ] [ ] //Choose to Save, Not Save, or Cancel... [+] switch(eSave) [+] case Yes [ ] MessageBox.Yes.Click() [+] case No [ ] MessageBox.No.Click() [+] case Cancel [ ] MessageBox.Cancel.Click() [+] default [ ] MessageBox.Yes.Click() [ ] [ ] Print("The following Close File Message was issued: [{sGetMsg}]!") [+] else [ ] raise 1, "ERROR: The TrellixWeb application did Not exist!" [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: PreviewWebSite() [ ] // Date Created: 4/5/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will attempt to Preview a web site in a browser [ ] // from the Preview or Publish dialog feature. [ ] // Arguments: None. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] PreviewWebSite() [ ] //Launch the default browser to preview the web site being designed in TrellixWeb. [ ] integer iCount = 0 [ ] [ ] //Launch the browser from the TrellixWeb Main Window to preview the site... [+] if ( !PrevPubWebSite.Exists() ) [ ] TrellixWeb.SetActive() [ ] TrellixWeb.File.PreviewWebSite.Pick() [ ] [+] if ( PrevPubWebSite.Exists(iShortTO) ) [ ] PrevPubWebSite.SetActive() [+] else //It's possible that the dialog already exists... [ ] PrevPubWebSite.SetActive() [ ] PrevPubWebSite.Preview.Click() [ ] [ ] //Poll the Progress Bar and the Preview Button in the Preview DialogBox window... [ ] SetBrowserType(aBrowser) [ ] [+] while ( (PrevPubWebSite.ProgressBar.IsActive() && !PrevPubWebSite.Preview.IsEnabled()) && !Browser.Exists() ) [ ] iCount = iCount + 1 [ ] sleep(1) [ ] [+] if ( iCount == 300 ) //Only wait 5 minutes, else something went wrong? [ ] break [+] else [ ] continue //Loop until the site is built in the Browser... [ ] [+] if ( !Browser.Exists(iLongTO) ) [ ] PrevPubWebSite.Preview.Click() //If the browser failed to launch, give it another try, might have lost focus? [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: StartPublish() [ ] // Date Created: 4/17/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will invoke the Publish Web Site dialog and [ ] // return current status information. [ ] // Arguments: bSuppress - Optional argument to suppress the status info [ ] // if set to TRUE. [ ] // Return Value: Returns a list of the status info... [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] list of string StartPublish(boolean bSuppress optional) [ ] //Invoke the Publish dialog and return status information... [ ] string sHost,sSite,sURL,sStatus [ ] list of string lsStatusInfo [ ] [ ] TrellixWeb.SetActive() [ ] TrellixWeb.File.PublishWebSite.Pick() [ ] [+] if ( PrevPubWebSite.Exists(iLongTO) ) [ ] PrevPubWebSite.SetActive() [ ] [ ] //Get the status info for the site... [ ] sHost = PrevPubWebSite.WebSiteHost.GetText() [ ] sSite = PrevPubWebSite.WebSiteName.GetText() [ ] sURL = PrevPubWebSite.WebSiteURL.GetText() [ ] sStatus = PrevPubWebSite.Status.GetText() [ ] ListMerge(lsStatusInfo, {sHost,sSite,sURL,sStatus}) //Create a list to return... [ ] [ ] //Don't print if set to TRUE... [+] if ( bSuppress != TRUE ) [ ] Printf("%s\n\n","The current Publish Status for the site is:") [ ] Print("Host: [{sHost}]") [ ] Print("Site: [{sSite}]") [ ] Print("URL: [{sURL}]") [ ] Printf("%s\n\n","Status: [{sStatus}]") [ ] [ ] return lsStatusInfo [+] else [ ] raise 1, "ERROR: The Publish Web Site dialog did Not come up!" [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: EndPublish() [ ] // Date Created: 4/17/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will close the Publish Web Site dialog and [ ] // report any errors found. [ ] // Arguments: None. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [-] EndPublish() [ ] //Just check for errors and close down the dialog... [ ] string sErr [ ] [-] if ( PrevPubWebSite.Exists(iShortTO) ) [ ] //Quick Error Check here... [-] if ( TrellixErr.Exists() ) [ ] sErr = TrellixErr.Error.GetText() [ ] TrellixErr.OK.Click() [ ] LogError("ERROR: The following error occurred: [{sErr}]!") [ ] [ ] PrevPubWebSite.SetActive() [ ] Print("Current Status: [{PrevPubWebSite.Status.GetText()}]") [ ] PrevPubWebSite.Close.Click() [+] else [ ] raise 1, "ERROR: The Publish Web Site dialog did Not exist!" [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: PublishOpts() [ ] // Date Created: 4/17/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will attempt to publish a web site created in [ ] // the editor to a supported host provider using one of the [ ] // publishing options. [ ] // Arguments: sPubOpts - The Publishing option to select; Preview, View Site, [ ] // Options, Help, etc... [ ] // [ ] //----------------------------------------------------------------------------- [ ] [-] type PUBOPTS is enum [ ] Preview [ ] Publish [ ] ViewSite [ ] SetOptions [ ] Help [ ] [-] PublishOpts(PUBOPTS ePubOpts) [ ] //Select the Publish Option to Use... [+] if ( PrevPubWebSite.Exists() ) [-] switch(ePubOpts) [+] case Preview [ ] PreviewWebSite() //Just call this function! [ ] CheckBrowser(TRUE) [+] case Publish [ ] //Incomplete. [+] case ViewSite [+] if ( PrevPubWebSite.Exists(iShortTO) ) [ ] PrevPubWebSite.SetActive() [ ] [ ] //Only enabled after a site has been previously published... [-] if ( PrevPubWebSite.ViewSite.IsEnabled() ) [ ] PrevPubWebSite.ViewSite.Click() [ ] CheckBrowser() [+] else [ ] raise 1, "ERROR: The site has to be Published before Viewing!" [+] else [ ] raise 1, "ERROR: The Publish dialog did Not exist!" [+] case SetOptions [ ] //Incomplete. [+] case Help [ ] //Incomplete. [+] else [ ] TrellixWeb.File.PublishWebSite.Pick() [ ] [ ] //----------------------------------------------------------------------------- [ ] [ ] [ ] //Browser Functions [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: CloseBrowser() [ ] // Date Created: 4/5/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will close down the browser left open from the [ ] // test script run. Browser extensions turned off afterwards. [ ] // Arguments: None. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] CloseBrowser() [ ] SetBrowserType(aBrowser) //Just a precaution... [ ] Browser.SetActive() //Do this or SilkTest might close itself... [ ] [ ] //Need to restore a minimized browser to close it... [+] if ( Browser.GetState() == WS_MINIMIZED ) [ ] Browser.Restore() [ ] [ ] Browser.CloseWindows(TRUE) //Check for any error dialogs that might exist... [ ] Browser.Close() [ ] SetBrowserType(NULL) //Disable Browser Extensions and Browser Recovery System... [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: DisableAlerts() [ ] // Date Created: 4/5/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will disable browser security checking. [ ] // Arguments: None. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] DisableAlerts() [ ] //Disable the security alert dialogs from coming up! [ ] SetBrowserType(aBrowser) //Just a precaution... [ ] Browser.SetActive() [ ] [+] switch( GetBrowserType() ) [+] case netscape4 //NC 4.x [+] if ( Netscape.Communicator.SecurityInfo.Exists() ) //NC4.0x [ ] Netscape.Communicator.SecurityInfo.Pick() [+] else if ( Netscape.Communicator.Tools.SecurityInfo.Exists() ) //NC 4.50+ [ ] Netscape.Communicator.Tools.SecurityInfo.Pick() [ ] [+] if ( NC_SecurityInfo.Exists(iLongTO) ) [ ] NC_SecurityInfo.SetActive() [ ] sleep(iVShortTO) //Just a precaution against a display hang problem... [ ] NC_SecurityInfo.Maximize() //Will only work if maximized?? [ ] [ ] // NC_SecurityInfo.Links.Navigator.Click() //Doesn't seem to work?? [+] do [ ] NC_SecurityInfo.Links.TypeKeys("") [ ] NC_SecurityInfo.Links.Navigator.SetFocus() [ ] NC_SecurityInfo.Links.Navigator.TypeKeys("") [ ] [+] if ( NC_SecurityInfo.NC_SecuritySettings.EnteringSite.Exists(iLongTO) ) [ ] NC_SecurityInfo.NC_SecuritySettings.EnteringSite.Uncheck() [ ] NC_SecurityInfo.NC_SecuritySettings.LeavingSite.Uncheck() [ ] NC_SecurityInfo.NC_SecuritySettings.ViewingPage.Uncheck() [ ] NC_SecurityInfo.NC_SecuritySettings.SendingInfo.Uncheck() [ ] NC_SecurityInfo.Buttons.OK.Click() [+] else [ ] NC_SecurityInfo.Buttons.Cancel.Click() [ ] LogWarning("The Security Info Settings window did Not come up!") [+] except [ ] NC_SecurityInfo.Buttons.PushButton("Cancel").Click() //Wierd object recognition problem in SilkTest 5.0.0.1? [+] else [ ] LogWarning("The Browser Security Options dialog did Not come up!") [+] case explorer4 //IE 4.0 [ ] IE_Options.Invoke() [ ] [+] if ( IE_Options.Exists(iLongTO) ) [ ] IE_Options.SetActive() [ ] IE_Options.PageList.Select("Advanced") [ ] IE_Options.Advanced.Settings.Expand("/Security") [ ] [+] if ( IE_Options.Advanced.Settings.GetItemImageIndex("/Security/Warn if forms submit is being redirected") != 1 ) [ ] IE_Options.Advanced.Settings.Select("/Security/Warn if forms submit is being redirected") [ ] [+] if ( IE_Options.Advanced.Settings.GetItemImageIndex("/Security/Warn about invalid site certificates") != 1 ) [ ] IE_Options.Advanced.Settings.Select("/Security/Warn about invalid site certificates") [ ] [+] if ( IE_Options.Advanced.Settings.GetItemImageIndex("/Security/Warn if changing between secure and not secure mode") != 1) [ ] IE_Options.Advanced.Settings.Select("/Security/Warn if changing between secure and not secure mode") [ ] [ ] IE_Options.Advanced.Settings.Expand("/Security/Cookies") [ ] IE_Options.Advanced.Settings.Select("/Security/Cookies/Always accept cookies") [ ] IE_Options.OK.Click() [+] else [ ] LogWarning("The Browser Security Options dialog did Not come up!") [+] case explorer5 //IE 5.0 [ ] IE_Options.Invoke() [ ] [+] if ( IE_Options.Exists(iLongTO) ) [ ] IE_Options.SetActive() [ ] IE_Options.PageList.Select("Advanced") [ ] IE_Options.Advanced.Settings.Expand("/Security") [ ] [+] if ( IE_Options.Advanced.Settings.GetItemImageIndex("/Security/Warn about invalid site certificates") != 1 ) [ ] IE_Options.Advanced.Settings.Select("/Security/Warn about invalid site certificates") [ ] [+] if ( IE_Options.Advanced.Settings.GetItemImageIndex("/Security/Warn if changing between secure and not secure mode") != 1 ) [ ] IE_Options.Advanced.Settings.Select("/Security/Warn if changing between secure and not secure mode") [ ] [+] if ( IE_Options.Advanced.Settings.GetItemImageIndex("/Security/Warn if forms submittal is being redirected") != 1) [ ] IE_Options.Advanced.Settings.Select("/Security/Warn if forms submittal is being redirected") [ ] [ ] IE_Options.OK.Click() [+] else [ ] LogWarning("The Browser Security Options dialog did Not come up!") [ ] [ ] sleep(iVShortTO) //Need to wait a second for the window to regain focus... [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: ClearCache() [ ] // Date Created: 4/5/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will clear the browser caches for testing. [ ] // Arguments: None. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] ClearCache() [ ] //Clear cache and history info... [ ] SetBrowserType(aBrowser) //Just a precaution... [ ] Browser.SetActive() [ ] [+] switch( GetBrowserType() ) [+] case netscape4 [ ] Netscape.Edit.Preferences.Pick() [ ] [+] if ( NS_Preferences.Exists(iLongTO) ) [ ] NS_Preferences.SetActive() [ ] [ ] //Clear the history cache... [ ] NS_Preferences.Navigator.ClearHistory.Click() [ ] [+] if ( BrowserMessage.Exists(iShortTO) ) [ ] BrowserMessage.SetActive() [ ] BrowserMessage.OK.Click() [ ] [ ] //Clear the Location Bar... [ ] NS_Preferences.SetActive() [ ] NS_Preferences.Navigator.ClearLocationBar.Click() [ ] [+] if ( BrowserMessage.Exists(iShortTO) ) [ ] BrowserMessage.SetActive() [ ] BrowserMessage.OK.Click() [ ] [ ] //Clear other browser cached info... [ ] NS_Preferences.Category.Expand("/Advanced") [ ] NS_Preferences.Category.Select("/Advanced/Cache") [ ] [+] if ( NS_Preferences.Cache.Exists(iShortTO) ) [ ] //Clear the memory cache... [ ] NS_Preferences.Cache.ClearMemoryCache.Click() [ ] [+] if ( BrowserMessage.Exists(iShortTO) ) [ ] BrowserMessage.SetActive() [ ] BrowserMessage.OK.Click() [ ] [ ] //Clear the disk cache... [ ] NS_Preferences.Cache.ClearDiskCache.Click() [ ] [+] if ( BrowserMessage.Exists(iShortTO) ) [ ] BrowserMessage.SetActive() [ ] BrowserMessage.OK.Click() [+] else [ ] LogWarning("WARNING: The Netscape Advanced Cache window did Not open!") [ ] [ ] NS_Preferences.OK.Click() [+] else [ ] LogWarning("WARNING: The Netscape Preferences dialog did Not come up!") [+] case explorer4, explorer5 [ ] explorer4 Explorer.View.InternetOptions.Pick() [ ] explorer5 Explorer.Tools.InternetOptions.Pick() [ ] [+] if ( IE_Options.Exists(iLongTO) ) [ ] IE_Options.SetActive() [ ] IE_Options.PageList.Select("General") [ ] [+] if ( IE_Options.General.Exists(iShortTO) ) [ ] //Clear the cached shortcuts... [ ] IE_Options.General.DeleteFiles.Click() [ ] [+] if ( IE4_DeleteFiles.Exists(iShortTO) ) [ ] IE4_DeleteFiles.SetActive() [ ] explorer4 IE4_DeleteFiles.DeleteAllSubscriptionConten.Check() [ ] explorer5 IE4_DeleteFiles.CheckBox("Delete all offline content").Check() [ ] IE4_DeleteFiles.OK.Click() [ ] [ ] //Clear the history cache... [ ] IE_Options.General.ClearHistory.Click() [ ] [+] if ( BrowserMessage.Exists(iShortTO) ) [ ] BrowserMessage.SetActive() [ ] explorer4 BrowserMessage.Yes.Click() [ ] explorer5 BrowserMessage.OK.Click() [+] else [ ] LogWarning("WARNING: The IE Options General window did Not open!") [ ] [ ] IE_Options.OK.Click() [+] else [ ] LogWarning("WARNING: The IE Options dialog did Not come up!") [ ] [ ] //----------------------------------------------------------------------------- [ ] // [ ] // Function: CheckBrowser() [ ] // Date Created: 4/17/2000 [ ] // Author: Carl Cocchiaro [ ] // Description: This function will verify that the Browser was launched and [ ] // that it is setup for testing. [ ] // Arguments: bFirstTime - If set to TRUE, setup browser alerts and cache, [ ] // otherwise, just Move and Maximize Browser for testing. [ ] // [ ] //----------------------------------------------------------------------------- [ ] [+] CheckBrowser(boolean bFirstTime optional) [ ] //Turn on the Default Browser here, not in Runtime Options so Windows Recovery [ ] //is performed by default, not Browser Recovery System. [ ] string sGetErr [ ] [ ] SetBrowserType(aBrowser) [ ] [+] if ( Browser.Exists(iLongTO) ) [ ] //Error check... [+] if ( TrellixErr.Exists(iShortTO) ) [ ] TrellixErr.SetActive() [ ] sGetErr = TrellixErr.Error.GetText() [ ] TrellixErr.OK.Click() [ ] [+] if ( HostError.BrowserFailure.Exists(iVShortTO) ) [ ] HostError.SetActive() [ ] HostError.OK.Click() [ ] [ ] raise 1, "ERROR: The following error occurred: [{sGetErr}]!" [+] else [ ] //If no errors occurred, set up the Browser for testing... [ ] Browser.SetActive() [ ] Browser.CloseWindows(TRUE) //Just in case an error occurred? [ ] [ ] //Now, wait for the page to finish downloading... [ ] Agent.SetOption (OPT_VERIFY_APPREADY, FALSE) [ ] Browser.WaitForReady(iVLongTO) [ ] Agent.SetOption (OPT_VERIFY_APPREADY, TRUE) [ ] [+] do [ ] Browser.Move(0,0) [+] except [ ] //Do Nothing; avoid exception if move cannot be completed... [ ] [+] if ( Browser.GetState() != WS_MAXIMIZED ) [ ] Browser.Maximize() [ ] [ ] //Turn off browser security alerts and clear cache for testing... [+] if ( bFirstTime == TRUE ) [ ] DisableAlerts() [ ] ClearCache() [+] else [ ] raise 1, "ERROR: The Browser did Not exist!" [ ] [ ] //----------------------------------------------------------------------------- [ ]