This macro searches multiple sites based off of a User searchterm prompt. Regular searches will search the top 4 search engines and place each search in it’s search engine tab. Selecting the Image Search check box will search Google and Bing Images only. Selecting the Video Search will search videos from Google/YouTube and Vimeo. These can all be used in combination as well by the Select All checkbox. You can add additional sites and modify if you wish. Don’t forget to enable it (disabled for user verification) and add your own trigger.
Thank you for sharing this I will no doubt use this in the future. I modified it slightly to use pause until front window name instead of the image of the duck just incase someone is in dark mode.
set searchQuery to text returned of (display dialog "Enter your question:" default answer "")
-- Search on Google
do shell script "open 'https://www.google.com/search?q=" & searchQuery & "'"
-- Search on Bing (Microsoft Copilot)
do shell script "open 'https://www.bing.com/search?q=" & searchQuery & "'"
I am trying to make a macro to search multiple AI Site and not having much success at making this efficient. I have tried to use the form field but it is super hit and miss.
This doesn't seem to work for
-- Search on Microsoft Copilot
do shell script "open 'https://www.bing.com/search?q=" & searchQuery & "&showconv=1'"
-- Search on Microsoft Copilot Alt
do shell script "open 'https://www.bing.com/chat?q=" & searchQuery & "&showconv=1'"
If anyone has suggestions of how to tweak this I would love to know. Search AI - New.kmmacros (24.4 KB)
Any particular reason for bouncing out to the shell? More efficient to, for example:
set searchQuery to text returned of (display dialog "Enter your question:" default answer "")
open location "https://www.google.com/search?q=" & searchQuery