Is it possible to use AppleScript to open a link in a new tab in Safari?
相关问题
- Xcode debugger displays incorrect values for varia
- Is there a way to report errors in Apple documenta
- Advice for supporting both Mac and Windows Desktop
- Avoid cmake to add the flags -search_paths_first a
- installing packages for python 3
相关文章
- 现在使用swift开发ios应用好还是swift?
- Visual Studio Code, MAC OS X, OmniSharp server is
- xcode 4 garbage collection removed?
- IntelliJ IDEA can't open projects or add SDK o
- Automator: How do I use the Choose from List actio
- Safari blocks play() on video despite being called
- ImportError: No module named twisted.persisted.sty
- How can I vertically align my status bar item text
This will work:
I've been using the following script to open hundreds of docs into tabs in a single window.
But that no longer works in Safari 5.1 on Lion. It would open the new tab, but it wouldn't load the URL provided in the properties glob. I modified it to the following, which now works:
Not the shortest solution but also works, and not only in English ...
I found a way to open a new tab in the background with Safari.
During the time I wrote this answer I made this
New version
Any suggestions will be appreciate
Best regards
Code:
One problem is that this only works if the system's language is set to English.
I ended up using automator to do this which was much easier and it works.