webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to Filesystem and Shell Commands

open

Usage...
open:access-mode:file-handle;filename
Opens the filename file for read, write, or append access, specified by access-mode, and makes it accessable through file-handle. Access modes can be (r,w,a,r+,w+, or a+). If a "+" is signified for extended access, this leaves the file open beyond the run-time of the script until it is closed by the user. Extended access files are helpful for instances where the file is a list of items, and each time the script runs, the next item needs to be read and used.
This applies to webDOM version 2.0.0 and above.

User Comments on open

Writing emails to a file

Written by: driven 2 years and 5 months ago

In this example, when run as a custom action, webDOM will navigate to a url and output the emails from a displayed list of users on the page to a text file.

Code
navigate:http://www.url.com/staffdirectory
open:a:contacts;c:\listtest2.txt
write:contacts:dom.a.email^wd.curinfo^.href
close:contacts

Post a Comment About the "open" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010, 2011, 2012 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.