How to create a RAM disk in Livecode
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
How to create a RAM disk in Livecode
I have the need to create a ram disk to do functions out of prying eyes. How would I programmatically create a ram disk in windows using Livecode?
Thank you.
Thank you.
Re: How to create a RAM disk in Livecode
Hi.
Wouldn't it be easier to encrypt your standalone?
Craig
Wouldn't it be easier to encrypt your standalone?
Craig
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
Re: How to create a RAM disk in Livecode
Funny enough, this is after decrypting a file and then wanting to display it (pdf) in a browser control but I do not want to save the file to a hard drive first. It works if I save it, but my desire is to open it in memory, display it and then close everything without ever writing an actual decrypted file to a hard drive
Mike
Mike
Re: How to create a RAM disk in Livecode
Would it be a problem if you saved to disk and then deleted it programmatically?karmacomposer wrote: ↑Mon Apr 10, 2023 10:15 pmFunny enough, this is after decrypting a file and then wanting to display it (pdf) in a browser control but I do not want to save the file to a hard drive first. It works if I save it, but my desire is to open it in memory, display it and then close everything without ever writing an actual decrypted file to a hard drive
Mike
Typically specialFolderPath("temporary") would be used for something like that...
S.
Re: How to create a RAM disk in Livecode
I'm still waiting for my money, Mike!
https://forums.livecode.com/viewtopic.p ... 30#p179153
And recently:
https://forums.livecode.com/viewtopic.p ... 65#p222565
https://forums.livecode.com/viewtopic.p ... 30#p179153
And recently:
https://forums.livecode.com/viewtopic.p ... 65#p222565
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: How to create a RAM disk in Livecode
I have a solution, Mike. But Klaus is a colleague I've known for more than two decades, and I can't in good conscience lend my expertise to a situation that is harmful to him.
Please resolve the matter with Klaus, and when both of you confirm a mutually-satisfying solution has been arrived at I'll be happy to help.
In the course of my career as a contract developer I've also been invited to act as a non-binding mediator on a few occasions, to help negotiate matters like this. I would volunteer to do so here via private email if that would help.
But by whatever means, this situation has continued for years now, and it needs to be resolved.
It needn't be resolved here. These are LiveCode support forums, and should remain so. Personal matters are best resolved through private channels.
You're both earnest professionals and I'm confident a solution can be arrived at. Please contact Klaus and make arrangements. Thank you.
Please resolve the matter with Klaus, and when both of you confirm a mutually-satisfying solution has been arrived at I'll be happy to help.
In the course of my career as a contract developer I've also been invited to act as a non-binding mediator on a few occasions, to help negotiate matters like this. I would volunteer to do so here via private email if that would help.
But by whatever means, this situation has continued for years now, and it needs to be resolved.
It needn't be resolved here. These are LiveCode support forums, and should remain so. Personal matters are best resolved through private channels.
You're both earnest professionals and I'm confident a solution can be arrived at. Please contact Klaus and make arrangements. Thank you.
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: 361
- Joined: Wed Apr 27, 2011 2:12 pm
Re: How to create a RAM disk in Livecode
As I said in another post, no one has all the info and there is no way Klaus will admit to it, but he overcharged us by a HUGE sum of money with no warning that was not agreed on ahead of time. We paid plenty of money for code I literally had to re-write because what he wrote broke my code. He did not understand what we needed fully at the time and had to do things his way, not ours. In the end, it all had to be scrapped and re-written from the ground up.FourthWorld wrote: ↑Fri Apr 14, 2023 5:00 pmI have a solution, Mike. But Klaus is a colleague I've known for more than two decades, and I can't in good conscience lend my expertise to a situation that is harmful to him.
Please resolve the matter with Klaus, and when both of you confirm a mutually-satisfying solution has been arrived at I'll be happy to help.
In the course of my career as a contract developer I've also been invited to act as a non-binding mediator on a few occasions, to help negotiate matters like this. I would volunteer to do so here via private email if that would help.
But by whatever means, this situation has continued for years now, and it needs to be resolved.
It needn't be resolved here. These are LiveCode support forums, and should remain so. Personal matters are best resolved through private channels.
You're both earnest professionals and I'm confident a solution can be arrived at. Please contact Klaus and make arrangements. Thank you.
To make matters worse, I had a car accident where we rolled 5 times and was hospitalized - so I had to re-write all of this while extremely injured. To say this is a sore subject is an understatement.
At the moment, I am broke. When I am paid by some clients, I will likely pay Klaus $100 to shut him up already.
I am done with all of this. Everyone may think that Klaus is an angel, but he's not.
Mike
Last edited by karmacomposer on Fri Apr 14, 2023 8:19 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 10076
- Joined: Fri Feb 19, 2010 10:17 am
Re: How to create a RAM disk in Livecode
Um: this rather non-professional flame throwing might be better were it deleted.
And while someone maybe 'no angel' (I'd tell you that no one is an angel if I didn't think that with a moment's reflection you could work that out yourself), and we ALL have bad sides: apart from the odd vaguely sarcastic remark, I have never been burnt by the person in question, in fact far from it: nothing but helpful over a 23 year period.
And while someone maybe 'no angel' (I'd tell you that no one is an angel if I didn't think that with a moment's reflection you could work that out yourself), and we ALL have bad sides: apart from the odd vaguely sarcastic remark, I have never been burnt by the person in question, in fact far from it: nothing but helpful over a 23 year period.
Re: How to create a RAM disk in Livecode
The flaming had long since died down to cold ashes, until the thread was reignited by a seemingly AI generated post.
Is codexelaine really using LiveCode for anything?
Is codexelaine really using LiveCode for anything?
Re: How to create a RAM disk in Livecode
Sparkout.
Intriguing that you think AI generated codexElaine's post. It sound legit to me. But if not, we are getting into scary waters. That short post is really, er, life-like.
Craig
Intriguing that you think AI generated codexElaine's post. It sound legit to me. But if not, we are getting into scary waters. That short post is really, er, life-like.

Craig
Re: How to create a RAM disk in Livecode
There is another post by, um, Elaine:
viewtopic.php?f=93&t=38861&p=232416#p232416
Reading that, composition and wording are precise and to the point. No comment on actual accuracy.
Too precise and too pointed?
We are doomed?
Craig
viewtopic.php?f=93&t=38861&p=232416#p232416
Reading that, composition and wording are precise and to the point. No comment on actual accuracy.
Too precise and too pointed?
We are doomed?
Craig
-
- Livecode Opensource Backer
- Posts: 10076
- Joined: Fri Feb 19, 2010 10:17 am
Re: How to create a RAM disk in Livecode
Maybe that 'reviver' is NOT an A.I. bot, but just a plain, old-fashioned sh*t stirrer.
Re: How to create a RAM disk in Livecode
I always look at the poster's profile when in doubt. This one joined the same day "she" posted 2 generic messages. I always suspect AI when that happens. AI is getting very sophisticated these days.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 10076
- Joined: Fri Feb 19, 2010 10:17 am
Re: How to create a RAM disk in Livecode
As usual, you are right on the money. 

Re: How to create a RAM disk in Livecode
Looks like AI.
But someone must be at least familiar with LC, if not a user, to be here in the first place, and take the time to create the, er, content.
So cummon, human, show yourself.
Craig
But someone must be at least familiar with LC, if not a user, to be here in the first place, and take the time to create the, er, content.
So cummon, human, show yourself.
Craig