Hey GPD's...
Hadn't really played too much with any of the dialog object stuff... but have a few questions (about both the proper 'Dialog' object as well as the 'Progress' dialog object), based on my experience in writing the script here.
For the 'Progress' object:
First, I was unsure about this note in the help (destroy the object):
...so, in my use of this - I show the progress dialog (got it from using ScriptCommandData.func.command.progress), run a command (using ScriptCommandData.func.command.RunCommand), and then based on the note above, I do a Progress.Hide followed by a Set objProgress = Nothing. It seems to work, but is doing a Set Nothing on the Progress object variable what was meant by 'destroying' the object?
Second, while I was happy that the progress dialog increments both a percentage ticker in the dialog title as well as the progress bar in the main dialog space... as the 'Clipboard COPYNAMES=hash*' command does its work. But from the objects documentation, I wasn't expecting it to work! I thought I needed to control all of that 'progress' indication using the various Set/Step methods documented. So... happy, but unclear why it's working out so well .
For the 'Dialog' object:
In my case, I'm getting the object from ScriptCommandData.func.Dlg... but I'm sure this is common no matter how the object is created. The title gets truncated if the string data in Dialog.message isn't long enough to size the dialog window widely enough to show the whole title. I know there's some max width that can be shown in any case, but I think it'd be desirable for the Dialog.title string length to dictate the width of the dialog window (up to whatever the max width is). You can't even fake it out by padding the Dialog.message string with lots of spaces or tab chars... as it seems whitespace gets trimmed when the dialog actually gets generated.
Related to the above, any possibility of getting some sort of bool property for each of these objects to suppress the " - Directory Opus" string appended to the dialog title strings?
Besides any of that, I also couldn't see any effect from setting the Dialog.status string value (where / when is it supposed to appear)?
Lastly, this was a bit counter intuitive in the manual for the HideFileByteCounts method:
So, passing 'True' to a method called 'Hide*' means it will be SHOWN and not hidden? That seems like some kind of double-negative thing... But in any case, I didn't see any difference in the dialog regardless of passing either True or False. Maybe I'm not using some other required methods in order to get this string to be shown?