New topic: Reveal All Methods to an RBScript?
<http://forums.realsoftware.com/viewtopic.php?t=45827> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message simulanics Post subject: Reveal All Methods to an RBScript?Posted: Wed Nov 07, 2012 12:43 am Joined: Sun Aug 12, 2007 10:10 am Posts: 814 Location: Boiling Springs, SC Is it possible to reveal all methods available from a certain module compiled in the program, and make usable from an RBScript say, loaded from a text file? _________________ Matthew A. Combatti Real Studio 2012 r1.1 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 charonn0 Post subject: Re: Reveal All Methods to an RBScript?Posted: Wed Nov 07, 2012 1:35 am Joined: Mon Apr 02, 2007 2:08 am Posts: 970 Location: San Francisco, CA, USA Not to a module, no. The script has access to all the methods and properties of the Context assigned to the script. The context must be an object, however, not a module. _________________ Boredom Software Top simulanics Post subject: Re: Reveal All Methods to an RBScript?Posted: Wed Nov 07, 2012 12:44 pm Joined: Sun Aug 12, 2007 10:10 am Posts: 814 Location: Boiling Springs, SC so if Window1 is the context and has public access to a module..it is still inaccessible? will have to migrate methods to the window object then (wanted to avoid that to avoid the additional clutter ) _________________ Matthew A. Combatti Real Studio 2012 r1.1 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 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 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]
