Fadmin File Manager FAQ
Q:How to organize task sheduler in Fadmin?
A:Use user scripts. Fadmin has EVENTS mechanism for user scripts activation. Use it if need.
Event masks and generation time:
File operation events:
EV_VIEWFILE =$00000001 - view file (BEFORE)
EV_EDITFILE =$00000002 - edit file (BEFORE)
EV_RUNFILE =$00000004 - run file (BEFORE)
EV_COPYFILE =$00000008 - copy file (BEFORE and AFTER)
EV_MOVEFILE =$00000010 - move file (BEFORE and AFTER)
EV_DELETEFILE=$00000020 - delete file (BEFORE and AFTER)
You also can use $0FFF mask for ALL operations events
EV_ALLOPS =$00000FFF;
Core events (generated by Fadmin):
EV_IDLE =$00001000 - idle
EV_TIMER =$00002000 - on internal timer
EV_FILESYSTEM=$00004000 - filesystem changed
EV_START =$00008000 - Fadmin start
EV_CLOSE =$00010000 - Fadmin finish
Flag (indicate,what event should be processed - before or after.Used for EV_xxxxFILE events only):
EV_BEFORE =$00100000;
if ((TYPEMASK && EV_BEFORE) != 0) is BEFORE event, else - AFTER, not used for core events
Below - example RUN by TIME script.
Put into "..\Scripts\scripts.ini" following lines:
[Time check script]
; script type - EV_TIMER
Type=00002000
; Try run these util. It can be shell script too.
Script=C:\Fadmin\Utils\nmb.exe
; additional parameters for run
; Use double "" for send string as parameter!
Params=""This is test message!""
; hide script output (boolean)
HideOutput=0
; tell wait on script complete (boolean)
WaitComplete=0
; if Date are empty - script should be run every day
; if Date not empty - script should be run only at Date
Date=
; Time. Used only for EV_TIMER events.
Time=12:15:00
|
After save and restart Fadmin at 12:15 script will be started every day.
Q: How define Quick View buffer size?
A: Quick View buffer size define rules below.
BufferSize < 0 - all file should be read
BufferSize = 0 - default buffer size 4 Kb should be used for display part of file
BufferSize > 0 - from file should be readed first BufferSize bytes
Q: Standard Image viewer plugin (ImgView.dll) can`t load libgflXXXXX.dll library!
A: Put libgflXXXX.dll near Fadmin.exe. It`s no bug.
Q: Free version not supported new XP/Vista visual effects!
A: Yes, it`s available only in commercial version.
Q: Command line switches are supported in Fadmin?
A: Yes, why not ?-)...
Available switches (can be with "-" and "/" prefix i.e. "/COMMAND") are :
/NP - do not load any plugins (only archives plugins will be loaded)
/NAP - do not load archives plugins
/E:FileName.Ext - open FileName.Ext in internal editor
/V:FileName.Ext - open FileName.Ext in internal viewer (images too)
/H:FileName.ext - open FileName.Ext in internal Hex-editor
/W:URL - open URL in internal Web browser (i.e."/W:www.google.com" in command line should be open Google start page)
Note:
If in command line present /E,/V,/W or /H switches - then "File manager" page will be opened only if
"Always Show File Panel" option set to TRUE.
Else - "File manager" page will not be opened. This allow use Fadmin as editor or viewer without using file management
support.
Under Windows Vista Fadmin should be installed not in standard "Program Files" folder, i.e. user on Vista
has limited access for this folder. Please install Fadmin into another folder as "C:\Fadmin" as example.
Copyright (c)2008, BDSLib.com