Other File Extensions than rev?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Other File Extensions than rev?
Is it possible to save the stacks with another filetype than .rev? I would really like to save them as .dll (if this is possible^^)
Thanks,
Masterchief
Thanks,
Masterchief
Re: Other File Extensions than rev?
Why don't you just try?
At least you are a Masterchief, right?
Best
Klaus
P.S.
Changing a suffix does not alter the stuff inside of the file, just in case you did not know...
At least you are a Masterchief, right?

Best
Klaus
P.S.
Changing a suffix does not alter the stuff inside of the file, just in case you did not know...
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Re: Other File Extensions than rev?
Well I already tried some ways but the result was negativ. Do you know a way to do this?
- I just call me Masterchief because I really like the Halo Triology
Thanks
Masterchief
- I just call me Masterchief because I really like the Halo Triology

Thanks
Masterchief
Re: Other File Extensions than rev?
Hi Masterchief,
ah, looks like I misunderstood you!
Nope, Rev can only save Revolution documents, no matter what suffix you append
Best
Klaus
ah, looks like I misunderstood you!
Nope, Rev can only save Revolution documents, no matter what suffix you append

Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Other File Extensions than rev?
Rev works with .rev files. You can build standalones that use stack files with any file extension you like:
Setting Document Associations in Windows
http://sonsothunder.com/devres/revoluti ... ile004.htm
Setting Document Associations With OS X
http://sonsothunder.com/devres/revoluti ... ile005.htm
Setting Document Associations in Windows
http://sonsothunder.com/devres/revoluti ... ile004.htm
Setting Document Associations With OS X
http://sonsothunder.com/devres/revoluti ... ile005.htm
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Re: Other File Extensions than rev?
Thank you! I learned how to connect my App with a specific File type (for example my app is launched when I double click on a pdf file) but I still would like to know wheter the stack files itself can be saved in another format?
From the post of Klaus I guess that can´t be done but I would like this to be clarified.
Thanks,
Masterchief
From the post of Klaus I guess that can´t be done but I would like this to be clarified.
Thanks,
Masterchief
Re: Other File Extensions than rev?
There is no build in way to save a stack as (for example) xml formatted text, or any other format that is not rev-build-in-binary-format. However you can of course export your data in a way that suits you, and there have been trials to export a stack into custom formats. But no, there's no build in way to do that with a single line.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Re: Other File Extensions than rev?
Thank you very much BvG! Then I will stay with the rev format 

-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Other File Extensions than rev?
Sorry, I missed the bit about DLL. Why DLL? Normally those are used for a very specific purpose, as a shared library to be called from other apps. If your goal is IPC there may be other ways to achieve it.MasterchiefJB wrote:Thank you! I learned how to connect my App with a specific File type (for example my app is launched when I double click on a pdf file) but I still would like to know wheter the stack files itself can be saved in another format?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Re: Other File Extensions than rev?
Actually I just wanted to hide the rev stacks and show them as dll files so nobody could guess that this application is running with Revolution (they should guess it runs with C++ or another Language -> therefore I wanted to use dll files.)
But if I can´t do so I will stay with the rev stacks^^
But if I can´t do so I will stay with the rev stacks^^
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Other File Extensions than rev?
That part was what I had provided a solution for earlier.MasterchiefJB wrote:Actually I just wanted to hide the rev stacks and show them as dll files so nobody could guess that this application is running with Revolution (they should guess it runs with C++ or another Language -> therefore I wanted to use dll files.)
But if I can´t do so I will stay with the rev stacks^^
The internal format of the stack files cannot be changed, but using the info I provided you can changed the file name extension to anything you like.
I've never deployed any documents or plugins for my apps with the ".rev" file extension. It's so easy to change you should never need to, and indeed it's a good idea to change it to something else because double-clicking a .rev file will launch rev rather than your app.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Re: Other File Extensions than rev?
I am sorry FourthWorld but I believe this is the part of our discussion I didn´t understood;)That part was what I had provided a solution for earlier.
The internal format of the stack files cannot be changed, but using the info I provided you can changed the file name extension to anything you like.
I've never deployed any documents or plugins for my apps with the ".rev" file extension. It's so easy to change you should never need to, and indeed it's a good idea to change it to something else because double-clicking a .rev file will launch rev rather than your app.
Could you give me an example how to archive that?
Just renaming the extensions doesn´t work and I don´t know how to actually do it.
Any advise or an example would be appreciated!
Regards,
Masterchief
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Other File Extensions than rev?
Renaming the extensions won't take care of the plist file OS X needs or the registry entries Windows needs.
The two links I provided earlier to the Tips at Sons Of Thunder's site are the best references I know of for using custom file extensions.
The two links I provided earlier to the Tips at Sons Of Thunder's site are the best references I know of for using custom file extensions.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Re: Other File Extensions than rev?
Well the tipps provided by Sons of Thunder don´t work here for me, but I guess this happens because the app needs the Vista Manifest to work correctly (using win7)
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Other File Extensions than rev?
Could be. What specifically isn't working?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn