Navigation:  Click-Script Guide > Reference > Clauses >

Remote / End Remote

Previous pageReturn to chapter overviewNext page

Remote

 

Starts a remote actions' block. All actions inside a remote block are execute in the connected Windows Mobile device. The system variables referred inside a remote block refers to the value in the remote device. For example, the %SysDir% variable outside a remote block will probably have the value C:\Windows\System32, and inside a remote block will probably have the value \Windows.

 

Syntax:

remote

 

 

End Remote

 

Ends a remote actions' block.

 

Syntax:

end remote

 

 

Example

 

//  Show the Pocket PC owner's name
remote  {
      Get Owner Information ( Name =  %OwnerName% , Company =  (No Variable) )
      Show Message ( Title =  Owner Name , Message =  %OwnerName% , Icon =  INFORMATION )
}  end remote