I have an AppleScript which opens a list of urls with searches based on
user input. The purpose is to compare the inputted item on Home Depot,
Lowes and other hardware stores to check prices etc.
The QS problem is assigning the script to a hotkey. The script works fine
in AppleScript Editor. However assigning a new trigger to run the script F2
key with QS, input dialog box works but new tabs in the default browser are
not opened. What does appear is a QS window which appears briefly.
-- Inputs search term then opens hardware store results in default browser
tabs.
set hwurl_plus to
{"http://www.homedepot.ca/webapp/wcs/stores/servlet/SearchView?catalogId=10051&storeId=10051&langId=-15&N=0&Ntt=masking+tape&Nty=1&D=masking+tape&Ntx=mode+matchallpartial&Dx=mode+matchallpartial&s=true",
"http://www.canadiantire.ca/en/search-results.html?searchByTerm=true&q=masking+tape",
"http://www.rona.ca/webapp/wcs/stores/servlet/RonaAjaxCatalogSearchView?storeId=10151&catalogId=10051&langId=-1&offset=12¤tPageNumber=1&resultCatEntryType=2&searchKey=RonaEN&content=&keywords=masking+tape",
"http://www.homehardware.ca/en/cat/search/_/N-2pqfZ67l/Ne-67n/Ntk-All_EN?Ntt=masking+tape",
"http://www.princessauto.com/en/search?Dy=1&Nty=1&Ntt=masking+tape",
"http://www.busybeetools.com/search.php?search_query=masking+tape&Search=",
"http://www.ebay.com/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR10.TRC1.A0.H0.Xmasking+tape&_nkw=masking+tape&_sacat=0"}
display dialog "Enter search term." default answer ""
set search_answer to text returned of result
-- for most retailers
repeat with n from 1 to count of hwurl_plus
open location replaceString(hwurl_plus's item n, "masking+tape",
search_answer)
end repeat
--
You received this message because you are subscribed to the Google Groups
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.