July 31, 200718 yr Up until quite recently, the following worked fine in 8.5v2: Open URL [ "file://c:/CameoDevelop/CameoHelp/Appendix17.html" ] [ No dialog ] Now, that does nothing, but omitting "file://" works: Open URL [ "c:/CameoDevelop/CameoHelp/Appendix17.html" ] [ No dialog ] (It makes no difference whether forward or backslashes are used.) The change in behavior may have happened around the time that I installed the fmp 9 trial. (I've removed the trial, however). Any clues in solving this mystery would be appreciated.
August 17, 200718 yr Using FMP 9, Open URL is working fine on Mac, but I just tried on a PC and it didn't work. Is something happening on this particular PC, or do I have to script the path differently now? My path is already like the second one, without the "file://" -- any insight?
October 5, 200718 yr I'm having the exact same issue... local html files don't load as they are supposed to. All was well in 8.x, but has broken in 9. If I click the button that the script is assigned to multiple times, it eventually loads the page, but this isn't a great solution. I haven't seen an answer to this elsewhere on the forums... has anyone figured it out?
October 5, 200718 yr When you guys say "doesn't work" what exactly do you mean? Do you mean the web browser in question loads up and show's a "page cannot be found" message?
October 5, 200718 yr Nope... literally nothing happens. For example, I have a script that only has a goto url statement in it. I run the script (by clicking the button it is assigned to) and nothing happens at all. It's like the script didn't run. If I put custom dialog boxes statements on either side of the goto url statement, they both pop up, but nothing loads in the browser. If I click the button repeatedly (maybe 10-20 times) it will load once or twice. This worked well in FM8.
October 5, 200718 yr Okay 1 - try the fllowing command instead within a send event statement: iexplore "yourURLHere" 2) Try Opening the browser first, then going back to fm and pressing the button to open the url - in all honesty i think this is an issue with the browser boot time - have you upgraded the browser recently?
October 5, 200718 yr Thanks for the suggestions. I am actually using Firefox, and it is up and running while FM is up. To use Send Event, would I send it using text, or a calculation? Also, if I open the DB in FM8, it works perfectly every time.
October 5, 200718 yr Calculation, if you're using firefox, you might want to try: firefox "urlhere" if you want to run it as a calculation: "iexplore " & Quote(YourURLFieldHere)
October 5, 200718 yr The send event works perfectly. Thanks. I wonder why it "broke" in FM9? Anyways, a workaround is good enough for me! Thanks again.
October 5, 200718 yr I don't know but 2 things. 1) I don't think send event is available on Mac so you're probably going to have to do a platform check and execute a open url if you're on mac and send event if one windows. 2) I would recommend you use iexplore, not firefox as IE should be present on all windows machines.
October 5, 200718 yr It's actually just a database for me to use on my local machine... I'm not sharing it. But I will keep your suggestions in mind for other DBs. Actually, I hope that it gets fixed in a later version. Thanks again for your help!
October 5, 200718 yr No Worries. Yeh, FM 9 is still a bit buggy for my liking, hopefully there will be an update soon to resolve a few issues.
Create an account or sign in to comment