Triplex79
-
Posts
9 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Triplex79
-
-
16 hours ago, deanishe said:
Which browser are you using? Chrome?
I use chrome
-
No, i even don't understand what i should try.
I am a bloody beginner with this kind of automation!
-
2 minutes ago, deanishe said:
This is pretty easy to do in code, but not via browser automation they way you have it set up.
It looks like you have three URLs opening in two different browsers.
Three URLS in 3 browser tabs -> one browser
-
Just now, deanishe said:
I didn't ask if you are opening them: I can see that. I asked if you want to open them.
Or do you just want to have the URLs on the clipboard, and the browser tabs are a side-effect of the way you've tried to build the workflow?
Oh, ok sorry!
Yes i want them to opened and afterwards the clipboard copy 🙂
-
4 minutes ago, deanishe said:
So you don't actually want to open them in a browser? You just want to resolve any redirects and copy the canonical URLs to the clipboard?
You can resolve redirects with the following Python code:
from urllib2 import urlopen # URL to resolve url = 'http://www.google.com' r = urlopen(url) # URL after any redirects newurl = r.geturl()
Of course i open them like in the screenshot above in the browser.
1. I use a keyword that replace the query variable {query} execute a search
2. 3 tabs will open with different URLS all the same query in it - same like the movie search template in workflows Alfred already offer
3. Now i want that Alfred copy all URL's to my clipboard like i wrote above
-
1 hour ago, deanishe said:
Why? What are you trying to achieve? It’s easier to resolve URLs redirects in code than trying to get them from browser tabs that may or may not have finished loading yet.
I want to get copied all URLS after the redirect to my clipbloard like:
http://www.domain2.com/
http://www.domain3.com/
But exactly like they are after the redirect (if any apply)
And then i have the URLS in my clipboard.
-
native tongue is German.
But English is not a problem usually.
I contacted the support already, he did understood me
Party i was already some steps closer. But still something is missing.
O.K. requirements are:
- I open with a keyword and a {query} and the same query will open three pages like in the standard workflow to see
- What now is missing for me, i need Alfred copy the final URL that is stated in the browser URL bar for all websites (after possible redirects)
Do you know a script how i may accomplish that?
Thank you in advance!
-
Hello together,
1. i am totally new to workflows. I think what i want achieve, i could do with workflows. But i don't know how to accomplish that.
I want to open with one {query} -> already what i use -> for instance Google Maps search -> open multiple pages.
How is that possible?
2. How is it possible in addition top copy (to the clipboard) the opened URL's -> we opened through the workflow? All three at once, in case there are three
URLs that should be opened.
Thank you very much for your help!
EDIT/Solution: If somebody face the same problem, Vitor had for me the solution created
Thank you very much again Vitor!
WebSearch with multiple URLS -> One {query} - SOLVED/SOLUTION
in Discussion & Help
Posted
Exactly what i wanted!
Really cool 🙂
It works perfectly, thank you very much!