The browser widget provides by rightClick to go "Back/Forward" in URL history.
I can't find any way to access this history for use in scripts. What's the trick?
hh
LC8-dp15 browser widget's URL history
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
LC8-dp15 browser widget's URL history
shiftLock happens
Re: LC8-dp15 browser widget's URL history
Actually, the browser widget probably *shouldn't* always provide that popup menu as script will probably want control over whether a popup menu appears at all, and what it contains.
In regards to going back and forward... Then this should work:
I've filed a bug about getting more control over the context menu - http://quality.livecode.com/show_bug.cgi?id=17062
In regards to going back and forward... Then this should work:
Code: Select all
go backward in widget "mybrowser"
go forward in widget "mybrowser"
-
- Posts: 32
- Joined: Fri Jan 16, 2015 5:31 pm
Re: LC8-dp15 browser widget's URL history
Thank you! Where is this documented? I can't find it in the release notes or the Dictionary entries for the Browser widget.LCMark wrote: In regards to going back and forward... Then this should work:Code: Select all
go backward in widget "mybrowser" go forward in widget "mybrowser"
The LiveCode Script Dictionary has 'go in widget' as an entry, but is somewhat vague and doesn't mention any widget compatibility.