Automator / OSX 11.2.3 - execute set of operations on the URLs from the list
Hello, Community!
1st of all - I'm not an advanced programmer - just trying to use AppleScript to automate repeatable task.
I'm trying to create script / workflow, to browse on the list of URLs.
Idea is to execute short list of the same operations on every URL from the list, which I'm processing by "Get Specified Text" -> "Extract URLs fro m Text" and then I wanted to execute my actions in a loop.
Mostly - it's simple shortcut to make a screenshot of website, using keybind (to launch FireShot with predefined settings in Chrome), saving it as PDF (just "Save as PDF" button to be clicked) , closure of plugin dialog and closure of the page.
Sounds trivial - but because I'm not able to set properly focus on dedicated FireShot tab, using apple script - I'm not able to proceed.
I have recorded macro - and extracted the code but it is still not able to activate this tab and find a "Save as PDF button".
Path to element is strictly related to title - what could be part of the issue:
"click UI Element \"Save\" of sheet 1 of window \"FireShot Capture 095 - blahblah - BlahBlah - www.blabla.com - Google Chrome\" of application process \"Chrome\""
Even if recorded macro it works well - can I build a loop to execute recorded macro using URLs from my list as arguments ?
Any help would be priceless.