using terms from application "Quicksilver"
on process text query
tell application "Safari"
activate
make new document with properties {URL:" https://example.com/?q=" & query & "&ZZ=1"}
do JavaScript ("self.resizeTo(500,480);") in document 1
end tell
end process text
end using terms from
tell application "Safari"
activate
make new document with properties {URL:""}
end tell
On 7 Feb 2015, at 1:07, Lisa Brown wrote:
Is there any way to use Quicksilver to open a URL in a new window instead of a new tab?
Quicksilver doesn’t do anything special. It just tells OS X to open the URL, and the behavior is determined by the OS and browser from there.
If I run it from Quicksilver, the URL opens in a new tab and a new window.
Can’t explain that. What do you mean by “run it from Quicksilver”? As text in the first pane using the “Run as AppleScript” action? Saving it to a file and using Quicksilver to run that?
I tried both, and just got the URL in a new window.
If you can figure out something that works, you can make your own “Open URL in new window” action using AppleScript and put it in ~/Library/Application Support/Quicksilver/Actions
.
--
Rob McBroom
http://www.skurfer.com/
tell application "Safari"
activate
make new document with properties {URL:"http://www.google.com"}
end tell
--
You received this message because you are subscribed to a topic in the Google Groups "Quicksilver" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/blacktree-quicksilver/GRYHOfZq0Ro/unsubscribe.
To unsubscribe from this group and all its topics, send an email to blacktree-quicks...@googlegroups.com.
To post to this group, send email to blacktree-...@googlegroups.com.
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.
tell application "Safari"
make new document with properties {URL:"http://www.google.com"}
activate
end tell
--
You received this message because you are subscribed to a topic in the Google Groups "Quicksilver" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/blacktree-quicksilver/GRYHOfZq0Ro/unsubscribe.
To unsubscribe from this group and all its topics, send an email to blacktree-quicksilver+unsub...@googlegroups.com.
To post to this group, send email to blacktree-quicksilver@googlegroups.com.