TrueUpdate 3.9

TrueUpdate.LoadServerFile

TrueUpdate.LoadServerFile

This is the first topic This is the last topic  

TrueUpdate.LoadServerFile

This is the first topic This is the last topic  

OverviewExamples

boolean TrueUpdate.LoadServerFile (

string   ServerFilePath,

string   Key )

Example 1

TrueUpdate.LoadServerFile(_WindowsFolder .. "\\ProductUpdate.ts1", "C886C4C7-E1EF-40FA-9908-56FBC5744AF2");

Loads a server file from the user's windows folder.

Example 2

-- Loads the server file my_old_product.ts1, containing scripts and screens

loaded = TrueUpdate.LoadServerFile(_TempFolder .. "\\myproduct.ts1", "92481934-AA72-40C6-A390-E0F8663C9F64");

 

-- Runs the "Server Script" from_my_old_product.ts1

TrueUpdate.RunScript("Server Script");

 

-- Runs the "Custom" script from my_old_product.ts1

TrueUpdate.RunScript("Custom");

 

-- Loads the "Finished" screen list from my_old_product.ts1

Screen.Show("Finished", "");

 

-- Note: To show screens and run scripts from the server files

--       associated with the CURRENT project, you must use

--       TrueUpdate.GetServerFile action to load the current project's

--       server files before performing any actions.

Loads a server file from the user's temporary directory, runs scripts, and shows screens.

Note: To show screens and run scripts from the server files associated with the CURRENT project, you must use TrueUpdate.GetServerFile action to load the current project's server files before performing any actions.

See also: Related Actions


Learn More: Indigo Rose Software - TrueUpdate - Buy Now - Contact Us