Page 1 of 1

Open Many Files

Posted: 24 Aug 2016 19:38
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.

Re: Open Many Files

Posted: 29 Aug 2016 16:42
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:

Re: Open Many Files

Posted: 29 Aug 2016 18:02
by bdeshi
afaik the answer is no.

Re: Open Many Files

Posted: 29 Aug 2016 18:26
by admin
Yes, it's just a tweak.

Re: Open Many Files

Posted: 29 Aug 2016 18:33
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.

Re: Open Many Files

Posted: 29 Aug 2016 19:55
by aurumdigitus
Oh, oh - the great irony :!:

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

Re: Open Many Files

Posted: 29 Aug 2016 20:11
by admin
We did not want to risk your billable hours...