February 20, 200718 yr 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
February 21, 200718 yr 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.
February 21, 200718 yr 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, 200718 yr by Guest figured it out
Create an account or sign in to comment