Shell Commands/OpenURL

From MorphOS Library

Revision as of 12:45, 4 January 2016 by JPV (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

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