PDA

View Full Version : How do I search a URL on a mac? (with VBA)



accell
11-01-2013, 09:02 AM
Hey guys, I wrote this code for my windows machine and it works great.




Path = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
Pre = " -url https://www.theclymb.com/admin/show_upcs?utf8=%E2%9C%93&brand=&name=&item=&upc="
Suf = "&min_quantity=&upc_ids=&issue=&commit=Search"
Shell (Path & (Pre & Mid & Suf))




*'Mid' is the part of the URL that changes each time and is defined earlier in the code.

Does anyone know how to do this same thing on a Mac?? I'm assuming you would have to use applescript but really have no idea. Also It doesn't have to open in a Chrome browser.

Thankss

mikerickson
11-02-2013, 01:32 PM
I'm not sure how to do it, but the people at this site would be able to give you an AppleScript. Then you can use MacScript to call that.

http://macscripter.net/index.php