Search found 22 matches

by acwilson96
Tue Mar 18, 2014 11:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

I included the files in the standalone settings, can't remember off the top of my head.
by acwilson96
Tue Mar 18, 2014 8:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

100% working, thanks all for the help!
by acwilson96
Tue Mar 18, 2014 8:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

I will try to use revCopyFolder to copy the .app and I was able to get the text files copying, just they would be blank on the copy! Just tried. Whilst in IDE mode I am able to copy the .app to the applications folder using revCopyFile but not with revCopyFolder. I can program the entire thing fine,...
by acwilson96
Tue Mar 18, 2014 7:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

I am back to square one with this, I just cannot get it to work! Here is code that I have: global highscoreNames, highscoreScores on mouseUp put the documents folder & "/NumberCrunch" into tFolder1 put the documents folder & "/NumberCrunch/Highscores" into tFolder2 if there is not a folder tFolder1 ...
by acwilson96
Tue Mar 18, 2014 7:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

Hi Klaus, I just had only a very quick look at your script, so I might be wrong, but I'm wondering if you didn't forget a "binfile:" in the last line? Also, since the app is using the text files and not some text editor, you might want to use binfile when writing the files to disk. I would assume t...
by acwilson96
Tue Mar 18, 2014 6:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

Hi axcwilson96, here a revised version of your script, please read all comments carefully 8) on mouseUp ## You cannot open a FOLDER as FILE! ## open file the documents folder for write put the documents folder & "/NumberCrunch" into tFolder1 put the documents folder & "/NumberCrunch/Highscores" int...
by acwilson96
Tue Mar 18, 2014 6:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

Hi, There are at least two ways to copy files. You can use the put URL command or use the revCopyFile command. put url "binfile:/path/to/file.xyz" into url "binfile:/otherpath/to/file.xyz" or revCopyFile "/path/to/file.xyz","/otherpath/to/file.xyz" You can also copy an entire folder, using revCopyF...
by acwilson96
Tue Mar 18, 2014 6:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

Was able to get it all sorted!
by acwilson96
Tue Mar 18, 2014 6:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

Ok I was able to work it out, I only need to know how to copy files, which I am having a little trouble with.
by acwilson96
Tue Mar 18, 2014 6:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

I have to do this entirely myself, so I am trying different strategies! Right now I have the idea of there being a folder with the installer.app then another folder with all the required files. Then the installer.app will open the folder it is in, then copy the required files to the install location.
by acwilson96
Tue Mar 18, 2014 5:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

Ok thanks for the pointers. I am still unsure of a way of livecode identifying the files regardless of where they are efficiently.
by acwilson96
Tue Mar 18, 2014 5:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Re: Store files within livecode app?

Thanks for the quick response, however as this is part of a coursework assignment, I am not sure I would be allowed to use your software, however I will use it for my own use!
by acwilson96
Tue Mar 18, 2014 5:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Store files within livecode app?
Replies: 22
Views: 11509

Store files within livecode app?

I have made a game, which requires the use of text files, and I want to create an "installer" which just takes the game files, and arranges them appropriately in the documents of my Mac so that they can be referred to in-game without issue. I am trying to find a way of either storing the two text fi...
by acwilson96
Thu Feb 13, 2014 9:19 pm
Forum: Talking LiveCode
Topic: value() function for invalid expressions
Replies: 3
Views: 2502

Re: value() function for invalid expressions

Thanks for the replies I will try them tomorrow when I am back at my PC and yes I meant parentheses! I will look into "itemdelimiter" and see if I can get anywhere and will post back the results!
by acwilson96
Thu Feb 13, 2014 1:33 pm
Forum: Talking LiveCode
Topic: value() function for invalid expressions
Replies: 3
Views: 2502

value() function for invalid expressions

I am creating a simple maths game and I want the user to be able to type in a sum using numbers and operations and brackets but I cannot find a way of letting them use brackets without the possibility of error, for example when they enter a sum, e.g. 9+2, if they have brackets like this: (9+2( then ...

Go to advanced search