Goto Help File

Goto Help File

Plugin Name:

Goto

Current Version:

1.1.0.0

Description:

This plugin will enable the programmer to use the goto function in AutoPlay Media Studio Scripts.

Licence:

Free to use and distribute in non-commercial and commercial projects.

Author:

Centauri Soldier

Web:

www.amspublic.com

E-mail:

centaurisoldier@gmail.com

Copyright:

www.amspublic.com © 2009

Install Notes:

Place the "Goto" folder in your "AutoPlay Media Studio 7.0\Plugins\Actions" folder.


Table of Contents

Goto.PageLine
Goto.PageObjectLine
Goto.DialogLine
Goto.DialogObjectLine
Goto.ScriptFileLine
Goto.ScriptLine
Goto.PageSection
Goto.PageObjectSection
Goto.DialogSection
Goto.DialogObjectSection
Goto.ScriptFileSection
Goto.ScriptLineSection

Goto.PageLine


Goto.PageLine ( 

(string) Page = "Page1",

(string) Event = "On Show",

(number) Line Number = 1 )

Description

Goto a specified line of code in a specific page event.

Parameters

Page

(string) The name of the page where the script is located.

Event

(string) The page event where the script is located.

Line Number

(number) The line number to goto.

Returns

This action dose not return any value.


Goto.PageObjectLine


Goto.PageObjectLine ( 

(string) Object = "Button1",

(string) Event = "On Click",

(number) Line Number = 1 )

Description

Goto a specified line of code in a specific object event.

Note: Use this code to access objects on pages as opposed to dialogs.

Parameters

Object

(string) The object upon which the script is stored.

Note: This will work only on the active page.

Event

(string) The object's event that contains the code.

Line Number

(number) The line number to goto.

Returns

This action dose not return any value.


Goto.DialogLine


Goto.DialogLine ( 

(string) Dialog = "Dialog1",

(string) Event = "On Show",

(number) Line Number = 1 )

Description

Goto a specified line of code in a specific dialog event.

Parameters

Dialog

(string) The name of the dialog where the script is located.

Event

(string) The dialog event where the script is located.

Line Number

(number) The line number to goto.

Returns

This action dose not return any value.


Goto.DialogObjectLine


Goto.DialogObjectLine ( 

(string) Object = "Button1",

(string) Event = "On Click",

(number) Line Number = 1 )

Description

Goto a specified line of code in a specific object event.

Note: Use this code to access objects on dialogs as opposed to pages.

Parameters

Object

(string) The object upon which the script is stored.

Event

(string) The object's event that contains the code.

Line Number

(number) The line number to goto.

Returns

This action dose not return any value.


Goto.ScriptFileLine


Goto.ScriptFileLine ( 

(string) Script File = "AutoPlay\\Scripts\\MyFile.lua",

(number) Line Number = 1 )

Description

Goto a specified line of code in a lua script file.

Parameters

Script File

(string) The path to the script (lua) file that you wish to call.

Line Number

(number) The line number to goto.

Returns

This action dose not return any value.


Goto.ScriptLine


Goto.ScriptLine ( 

(variant) Script = sMyScript,

(number) Line Number = 1 )

Description

Goto a specified line of code in a lua script which has been stored as a string.

Parameters

Script

(variant) The string containing the script to call.

Line Number

(number) The line number to goto.

Returns

This action dose not return any value.


Goto.PageSection


Goto.PageSection ( 

(variant) Page = "Page1",

(string) Event = "On Show",

(string) Section = "My Section" )

Description

Goto a specified section of code in a specific page event.

Note: Sections use html/xml start and end tags (e.g. Code here).

Parameters

Page

(variant) The name of the page where the script section is located.

Event

(string) The page event where the script section is located.

Section

(string) The name of the section.

Returns

This action dose not return any value.


Goto.PageObjectSection


Goto.PageObjectSection ( 

(string) Object = "Button1",

(string) Event = "On Click",

(string) Section = "My Section" )

Description

Goto a specified section of code in a specific object event.

Note: Use this code to access objects on pages as opposed to dialogs. Sections use html/xml start and end tags (e.g. Code here).

Parameters

Object

(string) The object upon which the script section is stored.

Note: This will only work on the active page.

Event

(string) The object's event that contains the code.

Section

(string) The name of the section.

Returns

This action dose not return any value.


Goto.DialogSection


Goto.DialogSection ( 

(string) Dialog = "Dialog1",

(string) Event = "On Show",

(string) Section = "My Section" )

Description

Goto a specified section of code in a specific dialog event.

Note: Sections use html/xml start and end tags (e.g. Code here).

Parameters

Dialog

(string) The name of the dialog where the script section is located.

Event

(string) The dialog event where the script is located.

Section

(string) The name of the section.

Returns

This action dose not return any value.


Goto.DialogObjectSection


Goto.DialogObjectSection ( 

(string) Object = "Button1",

(string) Event = "On Click",

(string) Section = "My Section" )

Description

Goto a specified section of code in a specific object event.

Note: Use this code to access objects on dialogs as opposed to pages.Sections use html/xml start and end tags (e.g. Code here).

Parameters

Object

(string) The object upon which the script section is stored.

Event

(string) The object's event that contains the code.

Section

(string) The name of the section.

Returns

This action dose not return any value.


Goto.ScriptFileSection


Goto.ScriptFileSection ( 

(string) Script File = "AutoPlay\\Scripts\\MyFile.lua",

(string) Section = "My Section" )

Description

Goto a specified section of code in a lua script file.

Note: Sections use html/xml start and end tags (e.g. Code here).

Parameters

Script File

(string) The path to the script (lua) file that you wish to call.

Section

(string) The name of the section.

Returns

This action dose not return any value.


Goto.ScriptLineSection


Goto.ScriptLineSection ( 

(variant) Script = sMyScript,

(string) Section = "My Section" )

Description

Goto a specified section of code in a lua script which has been stored as a string.

Note: Sections use html/xml start and end tags (e.g. Code here).

Parameters

Script

(variant) The string containing the script section to call.

Section

(string) The name of the section.

Returns

This action dose not return any value.



www.amspublic.com © 2009
This File Was Generated With AMS ActionFile Editor