Difference: 0LASubrClientLoadUrl (1 vs. 11)

Revision 112020-05-12 - JeanNeron

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

.CLIENT LOAD URL

Line: 36 to 36
 
<--/commentPlugin-->

-- JeanNeron - 2012-02-01 \ No newline at end of file

Added:
>
>
META TOPICMOVED by="JeanNeron" date="1589315901" from="Main.0LASubrClientLoadURL" to="Main.0LASubrClientLoadUrl"

Revision 102014-05-14 - JeanNeron

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

.CLIENT LOAD URL

Line: 26 to 26
 
  • The constant $display: followed by the path and file name of any file accessible to the user's PC. The file will display on screen using the default viewer.
  • The constant $print: followed by the path and file name of any file accessible to the user's PC. The file will print on the default printer.
  • The constant $printSetup: will display the Windows Print Setup dialog box. You could use this to allow the user to select a printer before using the $print: URL.
Changed:
<
<
  • The constant $newsession: followed by the necesary parameters to open a new session. This spawns a new session connected to the same server as the current session. In the parameters section, you can put any client setting. For example, you might have a program that requires a different number of rows and columns. Now you can add a menu item that starts a new session with the correct screen size, e.g., $newsession: -screenRows=28 - screenColumns=110 -runDatabase=DMO - runProcessType=INPUT - runProcess=”ORDER_ENTRY” - runApplication=COE
>
>
  • The constant $newsession: followed by the necessary parameters to open a new session. This spawns a new session connected to the same server as the current session. In the parameters section, you can put any client setting. For example, you might have a program that requires a different number of rows and columns. Now you can add a menu item that starts a new session with the correct screen size, e.g., $newsession: -screenRows=28 - screenColumns=110 -runDatabase=DMO - runProcessType=INPUT - runProcess=”ORDER_ENTRY” - runApplication=COE
 
  • The constant $setprop: followed by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
Also see .CLIENT PLAY SOUND.

Comments:

Revision 92012-04-12 - JeanNeron

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

.CLIENT LOAD URL

Line: 27 to 27
 
  • The constant $print: followed by the path and file name of any file accessible to the user's PC. The file will print on the default printer.
  • The constant $printSetup: will display the Windows Print Setup dialog box. You could use this to allow the user to select a printer before using the $print: URL.
  • The constant $newsession: followed by the necesary parameters to open a new session. This spawns a new session connected to the same server as the current session. In the parameters section, you can put any client setting. For example, you might have a program that requires a different number of rows and columns. Now you can add a menu item that starts a new session with the correct screen size, e.g., $newsession: -screenRows=28 - screenColumns=110 -runDatabase=DMO - runProcessType=INPUT - runProcess=”ORDER_ENTRY” - runApplication=COE
Changed:
<
<
  • The constant $setprop: followded by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
>
>
  • The constant $setprop: followed by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
 Also see .CLIENT PLAY SOUND.

Comments:

Revision 82012-03-29 - 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, runs a command on the user's PC or changes a client setting.
 

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, runs a command on the user's PC or changes a client setting. The <url> parameter is required, if it is missing the subroutine will CANCEL.
  <url> is the URL or document to open, or the command to run on the user's PC. It can take several forms:
Line: 27 to 27
 
  • The constant $print: followed by the path and file name of any file accessible to the user's PC. The file will print on the default printer.
  • The constant $printSetup: will display the Windows Print Setup dialog box. You could use this to allow the user to select a printer before using the $print: URL.
  • The constant $newsession: followed by the necesary parameters to open a new session. This spawns a new session connected to the same server as the current session. In the parameters section, you can put any client setting. For example, you might have a program that requires a different number of rows and columns. Now you can add a menu item that starts a new session with the correct screen size, e.g., $newsession: -screenRows=28 - screenColumns=110 -runDatabase=DMO - runProcessType=INPUT - runProcess=”ORDER_ENTRY” - runApplication=COE
Changed:
<
<
  • The constand $setprop: followded by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
>
>
  • The constant $setprop: followded by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
 Also see .CLIENT PLAY SOUND.

Comments:

Revision 72012-03-28 - JeanNeron

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

.CLIENT LOAD URL

Line: 27 to 27
 
  • The constant $print: followed by the path and file name of any file accessible to the user's PC. The file will print on the default printer.
  • The constant $printSetup: will display the Windows Print Setup dialog box. You could use this to allow the user to select a printer before using the $print: URL.
  • The constant $newsession: followed by the necesary parameters to open a new session. This spawns a new session connected to the same server as the current session. In the parameters section, you can put any client setting. For example, you might have a program that requires a different number of rows and columns. Now you can add a menu item that starts a new session with the correct screen size, e.g., $newsession: -screenRows=28 - screenColumns=110 -runDatabase=DMO - runProcessType=INPUT - runProcess=”ORDER_ENTRY” - runApplication=COE
Added:
>
>
  • The constand $setprop: followded by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
 Also see .CLIENT PLAY SOUND.

Comments:

Revision 62012-02-22 - JeanNeron

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

.CLIENT LOAD URL

Line: 18 to 18
 <url> is the URL or document to open, or the command to run on the user's PC. It can take several forms:

Changed:
<
<
  • 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 the program '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.
>
>
  • 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 the program '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. Note that different desktop O/S'es handle embedded blanks differently. If your file name includes blanks, for most Windows desktops you should enclose the name in quotes, but for most Mac desktops you should NOT enclose it in quotes. Some experimentation may be required.
 
  • A program on the user's PC. For Windows and Linux desktops, prefix the program name with an '@', ie, @notepad or @gedit. 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. Remember that file and program names on Linux and Macintosh desktops are case sensitive.
  • 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.

Revision 52012-02-10 - JeanNeron

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

.CLIENT LOAD URL

Line: 6 to 6
 

Usage:

Changed:
<
<
      PASS         <url>                      FIELD            SHARE? Y

>
>
      PASS         <url>                      FIELD            SHARE? N

  GOSUB --- .CLIENT LOAD URL
    • Check for errors IF --- .CLIENT LOAD URL NE

Revision 42012-02-03 - JeanNeron

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

.CLIENT LOAD URL

Line: 23 to 23
 
  • 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 path and file name of a 'wav' file accessible to the user's PC, ie, $play:/Users/bsmith/Desktop/TestSnd.wav
Added:
>
>
  • The constant $display: followed by the path and file name of any file accessible to the user's PC. The file will display on screen using the default viewer.
  • The constant $print: followed by the path and file name of any file accessible to the user's PC. The file will print on the default printer.
  • The constant $printSetup: will display the Windows Print Setup dialog box. You could use this to allow the user to select a printer before using the $print: URL.
  • The constant $newsession: followed by the necesary parameters to open a new session. This spawns a new session connected to the same server as the current session. In the parameters section, you can put any client setting. For example, you might have a program that requires a different number of rows and columns. Now you can add a menu item that starts a new session with the correct screen size, e.g., $newsession: -screenRows=28 - screenColumns=110 -runDatabase=DMO - runProcessType=INPUT - runProcess=”ORDER_ENTRY” - runApplication=COE
 Also see .CLIENT PLAY SOUND.

Comments:

Revision 32012-02-02 - JeanNeron

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

.CLIENT LOAD URL

Line: 18 to 18
 <url> is the URL or document to open, or the command to run on the user's PC. It can take several forms:

Changed:
<
<
  • 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
>
>
  • 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 the program '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. 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. Remember that file and program names on Linux and Macintosh desktops are case sensitive.
 
  • 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.
Changed:
<
<
  • The constant '$play:' followed by the file name of a 'wav' file, ie, $play:/Users/bsmith/Desktop/TestSnd.wav
>
>
  • The constant '$play:' followed by the path and file name of a 'wav' file accessible to the user's PC, ie, $play:/Users/bsmith/Desktop/TestSnd.wav
Also see .CLIENT PLAY SOUND.
 

Comments:

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

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-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback