Ÿþþ Ÿ F I N a L B U I L D E R a C T I O N S T U D I O M
Total Page:16
File Type:pdf, Size:1020Kb
FinalBuilder ActionStudio Manual Copyright © 2006 VSoft Technologies Pty Ltd I Table of Contents 0 Part I ActionStudio Introduction 1 1 Getting. .S..t.a..r.t.e..d.. .W....i.t.h.. .F..i.n..a..l.B..u..i.l.d..e..r. ......................................................................................... 1 2 What a.r.e.. .F..i.n..a..l.B..u..i.l.d..e..r. .P...l.u..g..-.I.n..s. ............................................................................................. 1 3 Action I.m...p..l.e..m...e..n..t.a..t.i.o..n.. .O...p..t.i.o..n..s. ............................................................................................. 2 4 ActionS..t.u..d..i.o.. .I.D..E.. .O..v..e..r.v..i.e..w... ................................................................................................... 2 Action Package.. .T..r..e..e... .............................................................................................................................................. 3 ActionStudio ID..E.. .H..e..l.p... ............................................................................................................................................. 4 Action Types .......................................................................................................................................................... 5 Standard Ac..t.i.o..n................................................................................................................................................... 5 Execute Pro.g..r.a..m... .A...c..t.io..n....................................................................................................................................... 5 Iterator Actio..n....................................................................................................................................................... 6 Loading Custo.m... .A...c..t.i.o...n..s.. .I.n... .F..i.n..a..l.B..u...i.l.d..e..r.. ............................................................................................................ 7 Protected Actio..n... .P..a..c..k..a..g...e..s.. ................................................................................................................................... 7 Part II Examples 7 1 Exampl.e.. .A...c.t.i.o..n..s.. ................................................................................................................... 7 2 Creatin.g.. .S..c..r.i.p..t. .B..a..s..e..d.. .A..c..t.i.o..n..s. ............................................................................................... 8 Creating a Hello...W...o..r..l.d.. .E..x..a..m....p..l.e... .A..c..t..i.o..n.. ................................................................................................................ 8 3 Creati.n..g.. ..N..e..t. .B..a..s..e..d.. .A..c..t.i.o..n..s. ................................................................................................ 18 Define a .Net A..c..t..i.o..n.. .I.n... .A..c..t..i.o..n..S...t.u..d...i.o.. .................................................................................................................. 18 Creating A .Ne..t. .A...c..t.i.o...n.. .C...l.a..s..s.. ............................................................................................................................... 19 Referencing t.h..e.. .A...c..t.i.o...n.. .C...l.a..s..s.. ............................................................................................................................. 23 Calling .NET M.e...t.h..o...d..s.. .a..t.. .D..e..s...i.g..n.. .T...i.m...e... ............................................................................................................... 24 .NET Custom A...c..t.i.o...n.. .A...P..I. .R..e...f.e..r..e..n...c..e.. ................................................................................................................... 25 4 Creati.n..g.. .P..o..w...e..r.S..h..e..l.l. .B..a..s..e..d.. .A..c..t.i.o..n..s. .................................................................................... 25 Part III Reference 26 1 Availa.b..l.e.. .O...b..j.e..c.t.s.. ................................................................................................................ 26 Action Object .......................................................................................................................................................... 27 ActionEvents .O...b..j.e..c..t.. ............................................................................................................................................. 28 Execute Conte..x..t.. .O..b...j.e..c..t. ........................................................................................................................................ 28 Validation Con..t..e..x..t. .O...b..j.e...c..t. .................................................................................................................................... 29 CustomAction..E..v..e...n..t. .O...b..j.e...c..t. ................................................................................................................................. 29 Page Object .......................................................................................................................................................... 30 Properties Ob..j.e..c..t. .................................................................................................................................................. 30 FBProperty Ob..j.e...c..t. ................................................................................................................................................. 31 CommandLin.e.. .O...b..j.e..c..t.. .......................................................................................................................................... 31 FBStrings Obj.e..c..t.s... ................................................................................................................................................. 32 2 Availa.b..l.e.. .G...l.o..b..a..l. .F..u..n..t.i.o..n..s./.O...b..j.e..c.t.s.. ...................................................................................... 33 VBScript .......................................................................................................................................................... 33 JScript .......................................................................................................................................................... 45 JScript Obj.e..c..t.:. .O...b..je..c..t........................................................................................................................................ 46 JScript Obj.e..c..t.:. .N..u..m...b..e..r...................................................................................................................................... 47 Copyright © 2006 VSoft Technologies Pty Ltd Contents II JScript Obj.e..c..t.:. .B..o..o..l.e..a..n...................................................................................................................................... 49 JScript Obj.e..c..t.:. .E..r.r..o..r.......................................................................................................................................... 49 JScript Obj.e..c..t.:. .S..t.r..in..g.......................................................................................................................................... 49 JScript Obj.e..c..t.:. .A...r.r.a..y.......................................................................................................................................... 55 JScript Obj.e..c..t.:. .D..a..t.e............................................................................................................................................ 57 JScript Obj.e..c..t.:. .E..n..u..m...e..r.a..t.o..r................................................................................................................................ 65 JScript Obj.e..c..t.:. .A...r.g..u..m...e..n..t.s................................................................................................................................. 65 JScript Obj.e..c..t.:. .F..u..n..c..t.i.o..n..................................................................................................................................... 66 JScript Obj.e..c..t.:. .A...c..t.iv..e..X...O..b..j.e..c..t........................................................................................................................... 67 JScript Obj.e..c..t.:. .D..e..b..u..g......................................................................................................................................... 68 JScript Obj.e..c..t.:. .M...a..t.h........................................................................................................................................... 68 JScript Obj.e..c..t.:. .R..e..g..E..x..p..r..................................................................................................................................... 72 JScript Obj.e..c..t.:. .R..e..g..E..x..p..r..................................................................................................................................... 74 3 Upgra.d..i.n..g.. .O..l.d..e..r. .A...c.t.i.o..n.. .P...a..c.k..a..g..e..s.. ...................................................................................... 75 Upgrading .NE.T.. .A...c..t.i.o...n..s.. ........................................................................................................................................ 75