From WikiChip
Difference between revisions of "mirc/identifiers/$sfile"
(Created page with "{{mirc title|$sfile Identifier}}'''$sfile''' displays the select file dialog and returns the selected file == Synopsis == <pre>$sfile(dir, title, button)</pre> == Paramters...") |
|||
Line 6: | Line 6: | ||
== Paramters == | == 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 file name | + | * '''dir''' - The directory you want to open, can be a {{mirc|wildcard}}: it will be used as the field in the dialog selection where you can enter a file name |
* '''title''' - The optional title | * '''title''' - The optional title | ||
* '''button''' - The optional text of the 'open' button on the dialog | * '''button''' - The optional text of the 'open' button on the dialog |
Latest revision as of 15:13, 20 October 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$sfile displays the select file dialog and returns the selected file
Synopsis[edit]
$sfile(dir, title, button)
Paramters[edit]
- 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 file name
- title - The optional title
- button - The optional text of the 'open' button on the dialog
Properties[edit]
None
Example[edit]
//echo -a $sfile($mircdir,"choose a file!,Ok!)
Compatibility[edit]
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.