Difference between revisions of "Shell Commands/OpenURL"

From MorphOS Library

< Shell Commands

(Created page with "''From the original OpenURL manual'': '''OpenURL''' - opens the openurl.library to pass URLs to the appropriate application depending on the URL's protocol and the specified...")
 
(No difference)

Latest revision as of 12:45, 4 January 2016

From the original OpenURL manual:

OpenURL - opens the openurl.library to pass URLs to the appropriate application depending on the URL's protocol and the specified OpenURL prefs settings.

URL/A, FILE/S, PUBSCREEN/K, NEWWIN/S, NOSHOW/S, NOFRONT/S, NOLAUNCH/S

URL       - Quoted URL text
FILE      - URL is a file
PUBSCREEN - Screen to open browser on
NEWWIN    - Open the URL in a new browser window
NOSHOW    - Do not uniconify browser
NOFRONT   - Do not bring browser screen to front
NOLAUNCH  - Do not start browser if not open

Examples:

Ram Disk:> OpenURL "RAM:test.html" NEWWIN FILE
Ram Disk:> OpenURL "morph.zone" NEWWIN NOLAUNCH