Search

You can find the results of your search below.

Fulltext results:

Delete Old Files (code snippet)
8 Hits, Last modified:
====== Delete Old Files (code snippet) ====== ===== Description ===== This deletes files more than 1 hour old that match a filename patter... cular folder. It is useful in managing temporary files to prevent an excessive number of files building up. Requires: **lfs** and [[Delete File]] and [[Plain
Zip File Create & Extract (code snippet)
7 Hits, Last modified:
ip:close() -- Create com object to work with Files and Folders local shell = luacom.CreateObject... le,folder) -- Create com object to work with Files and Folders local shell = luacom.CreateObject... r) -- Get the destination folder file local files = dest:items().count + items.count -- Count of to... al count = dest:items().count if count == files then return true end fhSleep(1000,500)
Prompt For Folder (code snippet)
3 Hits, Last modified:
ir = '' local function get_dir (dir_path) local files = {} local dirs = {} for f in lfs.dir(dir_pat... e.insert(dirs,f) end end end return files,dirs end local tree = iup.tree {} tree.name = ... d) end local function fill (dir_path,id) local files,dirs = get_dir(dir_path) id = id + 1 local st
Preserve User Settings (code snippet)
2 Hits, Last modified:
ily Historian on more than one PC and synchronise files across the PC. To support these users, some ‘stic... ns with variant filenames to use same plugin data files StrStickyFile = string.gsub(StrStickyFile,"\\"..
Module Require With Load (code snippet)
2 Hits, Last modified:
p://www.keplerproject.org/luazip/|LuaZip: Reading files inside zip files]] * To load use '' loadrequire( "zip" )'' * [[http://www.keplerproject.org/luasq
Read and Write Database Files Using ADO (code snippet)
1 Hits, Last modified:
====== Read and Write Database Files Using ADO (code snippet) ====== ===== Description ===== The follow
Directory Tree (code snippet)
1 Hits, Last modified:
Used in conjunction with a for loop to read all files in a subdirectory. In normal usage attr.mode wil