Open Many Files

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Open Many Files

Post by aurumdigitus »

Does there exist a way using the GUI to adjust on the fly How Many Files instead of getting into the tweak of OpenManyMaxCount found in Configuration File?

Granted this seems rather obscure but am doing work where having it would be of considerable benefit.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Open Many Files

Post by aurumdigitus »

Work for this client has now been completed so getting an answer is no longer important except as an academic exercise.

On the bright side not having it did result in an increase in the number of billable hours. :twisted:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Open Many Files

Post by bdeshi »

afaik the answer is no.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66672
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Open Many Files

Post by admin »

Yes, it's just a tweak.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Open Many Files

Post by TheQwerty »

XY's warning comes into play only at the actual opening of items - so you could theoretically set OpenManyMaxCount to a large enough value and then perform the check in a script called via PFA:

Code: Select all

+*>::End GetToken(<pfaitems>, 'Count', '|') > 2, 'No more than two items at once...';OpenWith 'application.exe', 's', <pfaitems>;
Note OpenWith and not open - the latter will cause recursion unless you also use the Windows 'w' parameter.

The problem being you'd either need to re-implement the PFA system in your script or perform this check in every PFA entry (or at least the ones you want to). The latter can be less painful if you define your own OpenManyMaxCount value as a permanent variable.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Open Many Files

Post by aurumdigitus »

Oh, oh - the great irony :!:

Now that it is no longer needed the replies come rolling in. :roll:

admin
Site Admin
Posts: 66672
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Open Many Files

Post by admin »

We did not want to risk your billable hours...

Post Reply