Difference: 0LASubrClientLoadUrl (1 vs. 2)

Revision 22012-02-01 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.CLIENT LOAD URL

Changed:
<
<
This subroutine loads a URL, Document or runs a command on the user's PC.
>
>
This subroutine loads a URL, document or runs a command on the user's PC.
 

Usage:

Line: 13 to 13
 

Description:

Changed:
<
<
This subroutine loads a URL, Document or runs a command on the user's PC. The <url> parameter is required, if it is missing the subroutine will CANCEL.
>
>
This subroutine loads a URL, document or runs a command on the user's PC. The <url> parameter is required, if it is missing the subroutine will CANCEL.
 
Added:
>
>
<url> is the URL or document to open, or the command to run on the user's PC. It can take several forms:

  • http://, https:, ftp://, mailto:, or any other valid web URL
  • The name of a file accessible to the user's PC. In this case, the client will rely on the desktop O/S to determine the correct program to use. For Macintosh clients, you will need to set the client desktop preference for commandShell to 'open'. For Linux clients, you also need to set -commandShell to some program that will examine the file type & call the appropriate program to open it.
  • A program on the user's PC. For Windows and Linux desktops, prefix the program name with an '@', ie, @notepad or @gedit. Remember that Linux desktops are case sensitive. You can pass additional arguments after the program name, ie, @notepad somefile.txt. For Macintosh clients, just pass the complete path to the program, ie, /Applications/Chess.app
  • A network path, such as \\<server_name\<share_name> for Windows desktops, or smb:////<server_name/<share_name> for Linux or Macintosh desktops.
  • The constant '$beep:'. This will make the client play a 'beep' sound.
  • The constant '$play:' followed by the file name of a 'wav' file, ie, $play:/Users/bsmith/Desktop/TestSnd.wav
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 12012-02-01 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.CLIENT LOAD URL

This subroutine loads a URL, Document or runs a command on the user's PC.


Usage:

      PASS         <url>                      FIELD            SHARE? Y
      GOSUB    --- .CLIENT LOAD URL
      *        Check for errors
      IF       --- .CLIENT LOAD URL           NE

Description:

This subroutine loads a URL, Document or runs a command on the user's PC. The <url> parameter is required, if it is missing the subroutine will CANCEL.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2012-02-01

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback