Batch Scripts and access to the selected files

Moderator: Kathy_9

Post Reply
Dave_SMR
Posts: 8
Joined: Fri Jul 29, 2016 10:08 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: FOXCONN A76ML-K 30 1.0
processor: Athlon II X4 640
ram: 8GB
Video Card: ATI Radeon 3000 Graphics
Hard_Drive_Capacity: 250GB
Monitor/Display Make & Model: Hanns.G HL225D x 2
Corel programs: PSP X7 / VS X8

Batch Scripts and access to the selected files

Post by Dave_SMR »

Is there any method by which a script, called via the batch process method, can gain access to the selected file list?

I'm looking for a method to determine position, particularly the last iteration so some final code can be run.
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Batch Scripts and access to the selected files

Post by LeviFiction »

Nope, not that I know of.

This has been an annoyance with me for years. There are ways around the issue, but nothing direct.

My brain is rather twisted, so you'll find I come up with some very convoluted solutions to things. xD

One way I attempted to handle this was to add logic to the beginning of the script to determine if the script had been called once before. If it had not been run before, it would ask how may images were in the current batch. If it had been run before, it would increment the current position. Once it had reached the end of the total count, it would reset all values so the script looks like it had not yet been run.

Very convoluted, and it relies on the user knowing how many images they put in, and their willingness to enter that value.

Another method would be to just make your own Batch Process command. All in all it's not really that hard, provided you don't want a UI. I mean we can use TKinter but TKinter performs oddly when you try to use an open dialog. But then again the reason we use a program like PSP is so we don't have to design our own tools.
https://levifiction.wordpress.com/
Post Reply