Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Either QB64pe enhancement or IDGI
#4
(07-03-2023, 06:03 PM)dbox Wrote:
(07-03-2023, 02:26 PM)doppler Wrote: After some thought (always bad for me), Either this will become a QB64pe enhancement or I Don't Get It.

I use drop files a lot since implemented a couple releases ago (v1.3).  It's easy to use and setup.  A couple of commands and your program can take a list of files dropped on a window.  I want to take to the next level.

Drop them on the desktop icon link.!  And process them.  This a hidden feature (or not well known) in Microsoft windows.  I read through the program doc's again.  Not clear if it is already implemented.

Let the fun begin....

If you drop a selection of files on an executable it will pass the filenames as arguments to the program.
Code: (Select All)
Print "File Count:"; _CommandCount
For i = 1 To _CommandCount
    Print Command$(i)
Next i
OK, this is one solution.  Does work with limits.  Too many commandcount entries does not work.  This a buffer size limit I think.  Not a count limit.

Dbox thanks for the insight trick.  Another toolbox additive snip-it.
I can always use this as preprocessing trick, and follow on with dropbox later on.  Why one over the other USE BOTH!!
Reply


Messages In This Thread
Either QB64pe enhancement or IDGI - by doppler - 07-03-2023, 02:26 PM
RE: Either QB64pe enhancement or IDGI - by dbox - 07-03-2023, 06:03 PM
RE: Either QB64pe enhancement or IDGI - by doppler - 07-03-2023, 11:12 PM
RE: Either QB64pe enhancement or IDGI - by dbox - 07-04-2023, 01:50 PM



Users browsing this thread: 2 Guest(s)