Venkat Posted August 11, 2022 Posted August 11, 2022 Quote [15:12:41.763] ERROR: whatsapp[Automation Task] Task Error: ./run: execution error: Error: TypeError: undefined is not an object (evaluating 'Application("System Events") .processes[browser.name()] .windows()[windowIndex] .actions') (-2700) Getting the above error
vitor Posted August 11, 2022 Posted August 11, 2022 What is your exact set up in the Automation Task? It is impossible to debug the issue without knowing your configuration.
Venkat Posted August 11, 2022 Author Posted August 11, 2022 Just trying to open the tab that matches the URL
vitor Posted August 11, 2022 Posted August 11, 2022 3 hours ago, Venkat said: Just trying to open the tab that matches the URL Yes, I understand what you’re trying to do, but before you posted your configuration I didn’t even know which browser you were trying to do that to. Everything is important information. First let’s go the easy route. If you close and reopen Google Chrome, does it work then? If not, try the Automation Task right above that one, Get Chromium Browser Tabs with Matching URL with the same settings. Does it work? If not, is it the same error or a new one?
Venkat Posted August 12, 2022 Author Posted August 12, 2022 Thanks Both works now (Did only google chrome restart), just that it is not bringing the window to focus. And also, no way to differentiate which Google chrome profile?
vitor Posted August 12, 2022 Posted August 12, 2022 2 minutes ago, Venkat said: just that it is not bringing the window to focus. Again, I need to know more about your setup. How many windows do you have open? How many tabs per window (roughly)? Are they incognito, regular, different profiles? Anything you can think of. Remember this is not working for you so I need to know what’s odd about your specific setup. I can only fix the problem if I can reproduce it. 5 minutes ago, Venkat said: no way to differentiate which Google chrome profile? They don't make that information available via the AppleScript dictionary. But even if they did, that would be too specialised. Something like a separate task to bring the specific profile to the front might make more sense.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now