This little workflow allows you to sequentially step through items in multiple list files. You use the “Next Item: Set File” file action on the file containing a list of items: One item per line. For example, a list of urls; one per line. Then the hot key (you will have to set yourself since mine being
|"ni:move #"||This will move the last set file to the # list. If you do not move the file items to a list number, then it will not get sent to you.|
|"ni:item"||This will give the next item from the first list and increment the counter.|
|ni:l #"||This will give the next item from the # list, but the count will not be incremented unless it is list 1.|
|"ni:inc" and "ni:dec"||These will increment or decrement the counter.|
|"ni:set"||allows you to set the counter to any number.|
|"ni:clear"||will clear the counter and erase the temporary files.|
|"ni:current"||will display the current count number.|
The items are addressed using a zero reference. Therefore, if the counter is 1, the the second line in the file will be displayed.
Setting a new list will clear the count. The file specified is copied to a work area that all the other scripts will use to access it. Therefore, you do not need to worry about the original file being changed.
If you like the information here, please consider a donation to keep it going! Thanks!