file.setVisible
| Syntax |
file.setVisible (path, setting)
|
| Params |
path is a path name to the file or folder whose "invisible bit" you wish to set or clear. setting is a boolean value indicating whether or not the item should be visible.
|
| Action |
Sets the status of the specified item's "invisible bit".
|
| Returns |
True if the item's "invisible bit" is set, false otherwise.
|
| Examples |
file.setVisible ("C:\\Program Files\\Frontier\\Documentation\\Folder.htt", true) » true // MSIE 4.0 likes to hide this file
It was there all the time!
Entire folders can be made invisible. |
| Notes |
The "invisible bit" indicates whether or not an item will be displayed within its parent folder; this verb does not cause an item to be physically shown on the desktop. It is usually not a good idea to create invisible files on a user's disk; generally, placing a file in an out-of-the-way location is a better choice.
|
| See Also |
file.isVisible
|