![]() ![]() |
NeoDezign Dialogz - AddOn for NeoBook for Windows |
///// NeoDezign Dialogz ///////////////////////// v1.08 The NeoDezign Dialogz Add-On includes the following functions. Lots of useful Functions! * File_Open
* ImgBrowser.exe (thumbnail
preview of images in a given folder)
Currently, NeoBook uses DDE to communicate parameters to an Add-On and user choices back to your NeoBook application. For some Add-Ons this can be a time consuming task. NeoDezign Dialogz tackles
this problem from a different angle. These dialogs use commandline parameters
to transfer info to the dialog and then the Windows Clipboard to send the
user selected results back to NeoBook. While this process may not work
best for every situation it does offer an alternative to DDE Add-Ons. Consider
it a trade-off for a fast external. Use it at your own discretion. If you
decide to use it, I'm sure you'll be more than pleased with the speed!!!
* HOW DOES IT WORK? Before you begin:
Begin scripting:
SetVar "[Temp]" "[Clipboard]"
Decide what you want the Add-On to do. For the File_Open dialog let's assume you want to open .BMP files. Enclose these parameters inside 'single quotes'. 'File_Open' 'BitMap Images|*.bmp'
Next, launch the external program "ndzn.exe" using NeoBook's DOSCommand. Place the parameters shown above in the... you guessed it, the Parameters box of the Define DOSCommand dialog. To prevent the external from being run multiple times checkmark "Do not run more than one copy of this Application at a time" and "Wait for Application to close before continuing". DOSCommand "[PubDir]ndzn.exe"
"'File_Open' 'BitMap Images|*.bmp'" "Wait+RunOnce"
After the dialog has completed it's task, use the SetVar command to move the data from the Clipboard into your own variable. SetVar "[My_Variable]"
"[Clipboard]"
Lastly, restore the backup information to the Clipboard SetVar "[Clipboard]"
"[Temp]"
All of this takes place so
quickly that the user will probably not even notice that the Clipboard
was used for the process.
=== File_Open ======================================================== Tell the File_Open dialog what file types to display like this... 'File_Open' 'All Files|*.*|Executables|*.exe|Images|*.bmp;*.gif;*.jpg|Text
Files|*.txt|'
>>>NOTE<<< Edit the
file types as you see fit but make CERTAIN that
Sample NeoBook CommandSet: SetVar "[Temp]" "[Clipboard]"
=== FolderBrowse ===================================================== Tell the FolderBrowse which folder to begin browsing from... 'FolderBrowse' 'C:\Windows' ...or leave it blank to start at the root of "My Computer". 'FolderBrowse' Sample NeoBook CommandSet: SetVar "[Temp]" "[Clipboard]"
=== ListBox ========================================================== Tell the ListBox which folder and file type to list and a Window Title. 'ListBox' 'C:\Windows\*.ini'
'Window Title'
Sample NeoBook CommandSet: SetVar "[Temp]" "[Clipboard]"
=== PwdBox ========================================================== 'PwdBox' Sample NeoBook CommandSet: SetVar "[Temp]" "[Clipboard]"
=== Wall_Paper ======================================================== Tell the Add-On what file to set as WallPaper... 'Wall_Paper' 'C:\Windows\Clouds.BMP'
Sample NeoBook CommandSet: SetVar "[Temp]" "[Clipboard]"
I could go on with the rest of the functions but I think you get the idea. To use these functions in your PUB Copy & Paste the command buttons from the Example.PUB file included in this zip. Instructions for each function
are remarked inside the Action Command for each button.
* HISTORY v1) Began in mid '98 using
DDE to pass and recieve parameters but found that, just
v2) Started passing parameters
to the Add-On with the Clipboard and WOW!
v3) Decided against using
the Clipboard so much. Re-wrote the whole thing
v4) Added 32 more functions! v5) Added Encryption, IniRead/Write,
SysTray, CenterWindow,
=======================================================================
* BUG REPORTS While NeoDezign Dialogz is
in Beta make sure to check back in at
Please notify me if you encounter problems with this software! Visit the NeoDezign Web Site
and the Neo-Talk BBS.
=== Disclaimer ================================================== NeoDezign Software is provided
as-is without any warranties
============================================================= |
NeoDezign Dialogz are Extensible! |
NeoDezign Dialogz have their
own extensions that further expand their usefulness!
|
![]() |
|
[ Return to NeoDezign ]