April 21, 200619 yr Newbies I do not even know if there is way to script up code that will go out to yahoo and download into to a temp file, daily stock historical data. Can anyone help? Robert
April 21, 200619 yr Well, on Mac OS X you could use AppleScript code that calls a built-in command line utility called curl. On Windows XP, there may be some software you can run using the Send Event script step. If not, you can supposedly write your own code in BASIC or C and call that. There are also third-party plugins that allow you to call URLs (which is what you need) and put the resulting HTML code into a FileMaker field. You could then parse the code for just the piece you want.
April 22, 200619 yr Author Newbies Krioni, Thanks for the reply that's part of the answer I needed. I did not realize that the question was incomplete util I read your answer. I also need to know what to send i.e. string to Yahoo to get the info I need and what is Yahoo going to send me back and in what order etc... I can't find a Yahoo address on their site to send this kind of question. Any ideas? Robert
April 22, 200619 yr I also need to know what to send i.e. string to Yahoo to get the info I need and what is Yahoo going to send me back and in what order etc... I can't find a Yahoo address on their site to send this kind of question. Any ideas? Well, Yahoo isn't going to help you. You can look at the source code of their page to determine what info you need to send, in either an http GET or POST request (what web browsers do when you click a link). I've got a somewhat detailed explanation of how to post http forms on my website. Check it out and see if that gives you enough to do what you need. It's written for FileMaker and AppleScript, but the explanation should help, regardless of the tools you use.
April 22, 200619 yr Just a notice, CURL comes in almost every flavour thinkable in operatingsystem's including Windows: http://curl.haxx.se/download.html One big difference between OS X and Windows is that, while you via applescripts can get access to fields, scripts etc. are you forced to make temporary files that filemaker then imports from, to make the same thing happen. But I believe that this is ment to deal with this problem: http://www.troi.com/software/urlplugin.html ...the stockquotes are actually mentioned for areas to utilize it. --sd
Create an account or sign in to comment