AutoPlay Media Studio 9

Progress.GetCurrentPos

Progress.GetCurrentPos

This is the first topic This is the last topic  

Progress.GetCurrentPos

This is the first topic This is the last topic  

OverviewExamples

number Progress.GetCurrentPos (

string ObjectName )

Example 1

-- Store the current position in nCurrentPos

nCurrentPos = Progress.GetCurrentPos("Status");

 

-- Check to see if any errors occurred calling the Progress.GetCurrentPos action.

-- If any error occurred, display the error message.

error = Application.GetLastError();

if (error ~= 0) then

  Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);

end

Gets the current position of the "Status" progress meter and stores it in variable nCurrentPos.

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us