From WikiChip
Difference between revisions of "mirc/commands/url"
(Created page with "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...") |
m (→Compatibility: Use version syntax) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/url Command}} | ||
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. | 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 == | == Synopsis == | ||
− | /url <on | off | show | hide> | + | /url <on | off | show | hide | save | load | delete> |
/url -an <URLaddress> | /url -an <URLaddress> | ||
/url -r <N/mark> | /url -r <N/mark> | ||
Line 18: | 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 | ||
Line 28: | Line 29: | ||
;open the website in a new window | ;open the website in a new window | ||
− | /url -n www. | + | /url -n www.google.com |
;show the URL list window | ;show the URL list window | ||
Line 34: | Line 35: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|3.7}} | |
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* [[List of commands - mIRC|List of commands]] | * [[List of commands - mIRC|List of commands]] | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
− | * | + | * {{mIRC|$url}} |
− | * | + | * {{mIRC|/help}} |
− | * | + | * {{mIRC|/run}} |
− | * | + | * {{mIRC|/winhelp}} |
+ | {{mIRC command list}} | ||
− | [[Category:mIRC commands]] | + | [[Category:mIRC commands|url command - mIRC]] |
Latest revision as of 20:48, 21 January 2024
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[edit]
/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[edit]
- -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[edit]
- <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[edit]
;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[edit]
Added: mIRC v3.7
Added on: 12 Oct 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC commands list