Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OpenJob


...

Opens the job specified by JobPath. Returns True if successful, false if the job could not be found or opened.

...

Procedure: OpenJob(JobPath: String): Boolean;


API Call:

Code Block
languagedelphi
titleScripting
linenumberstrue
collapsetrue
CanCloseThisJob := FALSE; // do you really want to do this ???

if CanCloseThisJob then
  begin
    PlanSwift.CloseJob;
    Result := PlanSwift.OpenJob('\jobs\1004');
  end
else
  begin
    Result := FALSE;
  end;