@stefan
For your case use something like:
Code:
"Open PDF1"
open "C:\pdfs\xxx 1.pdf";
"Collection PDF"
open "C:\pdfs\xxx 2.pdf";
"My ToDos.PDF"
open "C:\pdfs\xxx 3.pdf";
(Note the indention!!!)
I had seen that in the Scripting section of Help, and tried it. But it didn't seem to do anything useful. I hadn't recognized the importance of the indentation! Undoubtably something to do with my all-too-frequent inability to see something when it's right before my eyes

I'll try it when I get home tonight.
Thank you very much, Stefan. EDIT Just tried it, works great!
@admin
Magic!! I look forward to it!
XY obviously has huge flexibility, but DUBs have been the turning point for me, and I'll be placing a license order tonight.
Both the Mini Tree and the Catalog(ue!) seem like they should do for me, exactly what they are designed to do i.e. minimize scrolling up and down a huge tree with open branches. And that is exactly what I want, it's just that I can't quite get comfortable with them yet. I do like that the Mini Tree is a plain text file! One trivial suggestion - put the 'remove item' command in the context menu.
Another slightly more radical idea for the Mini Tree would be the ability to reverse its text-file function i.e. allow the user to add additional branches/leaves etc to the file, and if they don't already exist, have XY create them. i.e. the user can lay out their desired folder structure in a text file and have it created, instead of repetitive mouse-clicks/typing. Hmmm, I would have thought this was already possible in Windows...
BTW, I also like how XY can duplicate a folder structure, and copy a pathname to the clipboard, and.. and...
Roger