New topic: Pass values from JS to REALbasic?
<http://forums.realsoftware.com/viewtopic.php?t=43920> Page 1 of 1 [ 5 posts ] Previous topic | Next topic Author Message simulanics Post subject: Pass values from JS to REALbasic?Posted: Mon May 07, 2012 7:56 pm Joined: Sun Aug 12, 2007 10:10 am Posts: 492 Location: Boiling Springs, SC Has anyone found an efficient way to pass values from JavaScript to REALbasic? From REALbasic to JS can be done easily _________________ Matthew A. Combatti Real Studio 2011 r4.3 Visit Real Studio Developer's Spot! Systems: Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8 Beta Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/ Windows Server 2011/CentOS 5.4 /ReactOS/SimOS ~All REAL Compatible~ Top swort Post subject: Re: Pass values from JS to REALbasic?Posted: Mon May 07, 2012 7:59 pm Joined: Mon May 31, 2010 5:35 am Posts: 2084 Location: Netherlands simulanics wrote:Has anyone found an efficient way to pass values from JavaScript to REALbasic? From REALbasic to JS can be done easily Use session.hashtag You can pass it from javascript and read from session. _________________ SWORT⢠- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion - REAL Studio Enterprise(latest) and WEB Edition(latest) - Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins) For Dutch User Groups ask me to enter! Top simulanics Post subject: Re: Pass values from JS to REALbasic?Posted: Mon May 07, 2012 8:21 pm Joined: Sun Aug 12, 2007 10:10 am Posts: 492 Location: Boiling Springs, SC swort wrote:simulanics wrote:Has anyone found an efficient way to pass values from JavaScript to REALbasic? From REALbasic to JS can be done easily Use session.hashtag You can pass it from javascript and read from session. lol so if I'm say...using javascript to read an iOS device accelerometer...I could pass this back to realbasic without the page having to reload...streaming the values? _________________ Matthew A. Combatti Real Studio 2011 r4.3 Visit Real Studio Developer's Spot! Systems: Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8 Beta Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/ Windows Server 2011/CentOS 5.4 /ReactOS/SimOS ~All REAL Compatible~ Top swort Post subject: Re: Pass values from JS to REALbasic?Posted: Mon May 07, 2012 9:51 pm Joined: Mon May 31, 2010 5:35 am Posts: 2084 Location: Netherlands simulanics wrote:swort wrote:simulanics wrote:Has anyone found an efficient way to pass values from JavaScript to REALbasic? From REALbasic to JS can be done easily Use session.hashtag You can pass it from javascript and read from session. lol so if I'm say...using javascript to read an iOS device accelerometer...I could pass this back to realbasic without the page having to reload...streaming the values? Yes you can i think it was (js) location.hash = "value"; _________________ SWORT⢠- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion - REAL Studio Enterprise(latest) and WEB Edition(latest) - Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins) For Dutch User Groups ask me to enter! Top geo72 Post subject: Re: Pass values from JS to REALbasic?Posted: Tue May 08, 2012 1:04 am Joined: Thu Dec 15, 2005 8:50 am Posts: 116 Location: Germany If i am not totaly wrong, you need to reload the page to pass the hash-tag. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 5 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
