From WikiChip
Difference between revisions of "mirc/identifiers/$sdir"
(Created page with "{{mirc title|$sdir Identifier}}'''$sdir''' displays the select folder dialog and returns the selected folder == Synopsis == <pre>$sdir(dir, title, button) {{Deprecated featu...") |
(→Synopsis) |
||
Line 4: | Line 4: | ||
== Synopsis == | == Synopsis == | ||
<pre>$sdir(dir, title, button) | <pre>$sdir(dir, title, button) | ||
− | + | ||
+ | mIRC also supports the old format '$sdir="title" <dir>' | ||
+ | The quotes are optional if title doesn't contain spaces | ||
</pre> | </pre> | ||
Revision as of 02:35, 26 December 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$sdir displays the select folder dialog and returns the selected folder
Synopsis
$sdir(dir, title, button) mIRC also supports the old format '$sdir="title" <dir>' The quotes are optional if title doesn't contain spaces
Paramters
- dir - The directory you want to open, can be a wildcard: it will be used as the field in the dialog selection where you can enter a folder name
- title - The optional title
- button - The optional text of the 'open' button on the dialog
Properties
None
Example
//echo -a $sdir($mircdir,"choose a file!,Ok!)
Compatibility
Added: mIRC v5.81
Added on: 09 Nov 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.