Page 1 of 1
Tutorial - MacAddict Forum Reader on RevJournal Website
Posted: Tue Sep 30, 2008 5:19 pm
by ArchiMark
Just got Rev3 about 2 weeks ago...so just getting started....
Found tutorial - MacAddict Forum Reader on RevJournal website.
Tried tutorial but so far not getting web page to open...
Code: Select all
on mouseUp
show image "Busy"
put field "Address" into tAddress
load URL tAddress with message processWebPage
end mouseUp
I notice that it uses command "load URL", while in RunRev's tutorial video, they use 'revGoURL'... (although checked Dictionary and it says 'revGoURL' is now deprecated..)
Have tried both but neither are opening up a browser window after clicking the "Load" button...
I did get browser window to open when trying Rev's tutorial....
So can't figure out what's wrong...any suggestions???
Thanks for any help.
Posted: Tue Oct 07, 2008 2:22 pm
by Obleo
the revGoUrl was replaced with launch url in version 2.9.
The new example that replaces revGoUrl (launches a web page in a default system web browser):
Code: Select all
launch url "http://www.runrev.com"
Try looking at
launch url in the revolution dictionary. for more info.
Are you trying to make a browser or just launch a web address in the default system web browser?
If your looking to make a browser. There is a sample stack in the resource center. on the how to make a web browser.
Resource Center/ Internet / Browser sampler / Launch Stack. (it a pretty indepth sample stack on making a web browser)
Posted: Tue Oct 07, 2008 2:35 pm
by ArchiMark
Thanks for your help, obleo....
In the meantime, I got response from Sarah, the author of the tutorial.
Turns out that there are two issues with tutorial.
One was specific to the webpages referred to. Problem is that those pages no longer exist...
Two,
other issue is that the "load" command does not go to your browser the way revGoURL or launch does. It just loads the HTML source into memory, and when it is finished, it goes to the specified callback
handler, if one has been specified. If this was all working, you would
just see a list of forum names appear on the left. Then you would be
able to click on one of them to see a list of sub-forums names.
Sarah's said that she's going to update tutorial and then it will be posted on RevJournal again.....
Posted: Tue Oct 07, 2008 2:43 pm
by Obleo
I guess you save a curious tip to the rev journal.
I noticed Many of the internet related commands and functions changed over the last few versions of revolution. So it very possible some of the examples you may find will be out of date.
Posted: Tue Oct 07, 2008 2:53 pm
by ArchiMark
Obleo wrote:I guess you save a curious tip to the rev journal.
I noticed Many of the internet related commands and functions changed over the last few versions of revolution. So it very possible some of the examples you may find will be out of date.
You're absolutely right, Obleo!....have already run into this....not the first time with computing related tutorials...have spent many hours wasting time trying to get a tutorial on something to work, usually get stuck on step 32 or something like that after spending some time to get to that point, then find out later that instructions were bad, left out step, etc....
It's hard to criticize tutorial creators too much as they're usually volunteer efforts.... so, what can you do???

Posted: Tue Oct 07, 2008 5:03 pm
by Mark
Obleo wrote:I guess you save a curious tip to the rev journal.
I noticed Many of the internet related commands and functions changed over the last few versions of revolution. So it very possible some of the examples you may find will be out of date.
Actually, revGoURL still works, although the result might be slightly different from the resut obtained by launch url.
What else has changed and no longer works?
Best,
Mark
Posted: Tue Oct 07, 2008 6:45 pm
by Obleo
I am not sure how your getting revGoUrl "
http://www.apple.com" to work in revolution 3.0? It does noting for me in a simple on mouseUp button. launch url works great.
Any time anything changes from version A to vesion B, and I am in version B. Editing a stack I made in version A. I will not get things not to work the same on anything that has been changed between the two versions.
Witch usally takes a simple rewrite of the script. Honesty it no big deal. Things change for the better.
Posted: Tue Oct 14, 2008 9:57 am
by Mark
Hi Obleo,
I am really curious about what other changes you have found, which cause your slightly older scripts to work no longer. Perhaps a few of these issues should be reported to QCC.
Best,
Mark