From WikiChip
Difference between revisions of "mirc/commands/url"
(→Synopsis) |
(→Parameters) |
||
Line 19: | Line 19: | ||
== Parameters == | == Parameters == | ||
− | * '''<on | off | show | hide>''' - Show/Hide the URL list window or Enable/Disable the URL catcher | + | * '''<on | off | show | hide | load | save | delete>''' - Show/Hide the URL list window or Enable/Disable the URL catcher, or load/save the url list window; you can pass a filename or a default urls.ini is used. '''delete''' should do the same as -r |
* '''<URLaddress>''' - The URL address to use | * '''<URLaddress>''' - The URL address to use | ||
* '''<N/mark>''' - A numeric value of a single character mark | * '''<N/mark>''' - A numeric value of a single character mark |
Revision as of 17:36, 12 July 2020
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /url command can be used to completely enable or disable the URL catcher. Additionally it can also be used to show and hide the URL list window as well as modify the items in the list. The URLs can be saved and loaded from an INI file. The URL command can also be used to open URLs in the browser. The URL command uses the default browser application in the system. If the mark is used, it must be a single character - multiple characters will be truncated.
Synopsis
/url <on | off | show | hide | save | load | delete> /url -an <URLaddress> /url -r <N/mark> /url -i <N/Mark> <URLaddress> /url -ls <file.ini>
Switches
- -a - Attempts to open the URL in the active browser window
- -n - Attempts to open the URL in a new window
- -r - Removes all items with a specific mark or the Nth item
- -i - Insert the URL with a specific mark or at the Nth position
- -l - Load all the URLs from a specific INI file
- -s - Save all the URLs to a specific INI file
Parameters
- <on | off | show | hide | load | save | delete> - Show/Hide the URL list window or Enable/Disable the URL catcher, or load/save the url list window; you can pass a filename or a default urls.ini is used. delete should do the same as -r
- <URLaddress> - The URL address to use
- <N/mark> - A numeric value of a single character mark
- <file.ini> - The settings file to save/load the URLs from/into
Example
;remove all '?' marked URLs /url -r ? ;open the website in a new window /url -n www.google.com ;show the URL list window /url show
Compatibility
Added: mIRC 3.7
See also
mIRC commands list