Sometimes you may have a folder full of images and you need to find one that has specific text in it. This action, when bound to a hotkey, will search the text in all images of a folder (but not sub-folders) and open the first image it finds with the specified text. Just press the hotkey when a folder is active to start. Be aware that a lot of very large images in a folder can make this take a while to resolve.
Note: This action uses Windows OCR, so any failure to find the text is due to Windows (the OS) and not AlomWare Toolbox. ;D
(Start)
HOW TO USE: Copy from Start to End, and then paste into an action.
REFERENCE : See an example of pasting at alomware.com/paste.png
0001 Folder: Assign active ""
0002 Action: Continue if "folder$<>blank$"
0003 Action: Allow failure messages "0"
0004 Action: Match case "0"
0005 Alert: Ask for a line of text "Open all images containing this text:"
0006 Folder: Set file processing filter ".bmp,.gif,.ico,.jpg,.jpeg,.pcx,.png,.psd,.psp,.tga,.tif,.tiff"
0007 Folder: Start of file processing ""
0008 Image: Assign "folder$name$"
0009 String: Assign from assigned image ""
0010 Action: Do this block if "string$?alert$"
0011 Computer: App launch "folder$name$"
0012 Action: Finish ""
0013 Action: End of block ""
0014 Folder: End of file processing ""
0015 Alert: Show a message "Image search is complete and no matches were found."
(End)
Very nice. Sometimes it takes a while with hundreds of images, which I know you said. But if there's no match then I don't know when the action has finished. Can we be notified when the search is done?
I just added step 15 to the action in my original post. It pops up a message when the search is complete. :)