Page 1 of 1

Help: I need script to Create Applications

Posted: Sat Feb 23, 2008 1:30 am
by ChristopherBodell
Can anyone help me with my new project, i need script to put into my application that allows users to create there own apps, its like a mini version of Revolution mostly for my personal Use, its just a customized application to suit my needs, i dont realy plan on selling it, its called Loetuos Revlution. I can fully build and edit Revolutin stacks and Loetous Stack in it, I created a new exstension, but help on this particular topic would be greatly appreciated.


Also i need a way to create custom handles ina library file, and how would i make revolution call that handler when used and how would i integrate it into an application? If you can help please give some advice. I would like a fast way to call a handler or piece of script without having to parse the text of the actual libray file!

Thank You,
My email is cb.admin.cmd@gmail.com

Posted: Sat Feb 23, 2008 3:05 am
by Mark
Hi ChristopherBodell,

I don't think that the license conditions allow for creating standalones outside the Revolution IDE.

A good solution is to make two versions of your software. One to create files with and another to "play" these files. If you are the only use of your software, why not just install your software to play and create the files on every machine and copy the files as needed?

You makes custom handlers ina library just like in any stack, but you need to "start using" the stack. You can also put the library into a button or anyother object and insert the script of that object into front or back.

You can integrate such a library in several ways. You can keep a button anywhere in the project, you can make a library stack a substack in your project, or you can keep it as a separate file and use the path to the stack in the start using command.

Parse text? Why parse text?

Best,

Mark

Posted: Sat Feb 23, 2008 8:00 am
by ChristopherBodell
I figured i might be able to parse text by having an "on [command]" tag and search for it, i dont know it was jsut an idea but it would probably be slow and not work very well, or to my needs anyway, its probably something i shouldn't even do in this situtation, a waste of time. But thanks for the help Mark, I appreciate it, and i figured i could do that but i also wanted the script to compile the app because i wanted to make a powerpoint type thing or aprogram for miscelanious things but thanks anyway. I appreciate it though like i said, well i think i did, but im new to this whole thing but thank you very much.


Christopher

oh, the two apps, one to play and one to make is a good idea, but do you think there is a way that i can make it run in the background and to use it whenever a stack or project is open that was made in it

Posted: Sat Feb 23, 2008 10:29 am
by Mark
Hi Christopher,

OK, I understand that parsing and compiling are not really related to each other in your project. Sure, you can parse any text you want. There is a good chance that it won't even be slow, since Revolution performs very well as a text/number cruncher.

Sure, you can make any application run in the background, but what you really want is to have your application start up when one of your documents is double-clicked in the Finder (Mac) or Explorer (Win).

Best,

Mark

Posted: Sat Feb 23, 2008 6:29 pm
by ChristopherBodell
Mark,

Now I just need to figure how to do that, and I havent really done anything like that before, is that even possible in revolution? I mean revolution is just mainly in-app programming and script right, well to my knowledge anyway, I'm kinda new to this whole thing as it is. I know how to do a lot with Revolution but can't do XML....Yet, haven't really tried, it would be nice to learn though.

Well, thanks for the help,
I appreciate the help

Posted: Sun Feb 24, 2008 12:25 pm
by Klaus
Hi Christopher,

check Sarah's wonderful and easy tutorial!
That one got ME started with XML :-)

http://troz.net/Rev/tutorials.php
-> XMLdemo1.rev


Best

Klaus

Posted: Sun Feb 24, 2008 1:38 pm
by Mark
Hi Christopher,

What do you want to do and why do you think you need XML?

Best,

Mark

Posted: Sun Feb 24, 2008 9:52 pm
by Garrett
If you ever decide to release that, be sure you email RunRev first asking whether or not you can release such a thing.