Baylah Posted February 20, 2007 Posted February 20, 2007 Hi, I have a customer who wants me to give them the ability to add a button that when clicked will navigate to the U.P.S. tracking web site and automatically populate the tracking number dialog box, check the "agree to UPS Terms" and then <> so the tracking action will be activated. I can easily script getting to the site with a tracking number but that is as far as I can get. Do I need to use Windows Scripting to do the rest? HAs anyone ever done anything like this that I can borrow shamelessly from? Thanks, Steve
sbg2 Posted February 21, 2007 Posted February 21, 2007 Can you send in the Open URL step replacing MYTRACKINGNUM with the actual tracking number? http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requester=UPSHome&tracknum=MYTRACKINGNUM&AgreeToTermsAndConditions=yes&ignore=&track.x=36&track.y=5 Haven't tested it with the Open URL script (Or whatever step name opens a URL) but it does work pasting it straight into my browser address field.
sbg2 Posted February 21, 2007 Posted February 21, 2007 (edited) Hmmph. I tried my own suggestion with the Open URL step shown below. It works if I manually copy and paste from the Specify URL dialog box that pops up in FileMaker but clicking the OK button on the Specify URL box does not work correctly. Substitute("http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requester=UPSHome&tracknum=MYTRACKINGNUM&AgreeToTermsAndConditions=yes&ignore=&track.x=36&track.y=5"; "MYTRACKINGNUM"; UPS_TO_FMP7::PackageTrackingNumber) OK, it works if I remove the "http://" from the URL string. Edited February 21, 2007 by Guest figured it out
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now