Search found 9 matches

by MikeC
Wed Jan 30, 2013 5:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a shell script in Windows
Replies: 2
Views: 1956

Using a shell script in Windows

The following script to split a file into 50 MB chunks works fine in the Mac version.

do shell ("split -b50m" && theFile)

But not being familiar with Windows I'm having problems getting my head around how to do the same in the Windows version.
by MikeC
Sat Jan 26, 2013 10:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dividing a large text file
Replies: 1
Views: 1488

Re: Dividing a large text file

Duh, of course use the shell command, all sorted.
by MikeC
Sat Jan 26, 2013 7:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dividing a large text file
Replies: 1
Views: 1488

Dividing a large text file

With a txt file > 1GB, on the Mac I would use Terminal to split the file into say 50MB chunks with the following command "split -b50m NameOfFile.txt"
I don't want to archive it by zipping or stuffing, I just want to split it.

How can I do the same from within an App?
by MikeC
Fri Jan 25, 2013 7:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone application name
Replies: 2
Views: 1892

Re: Standalone application name

Thanks for that, all makes sense now.
by MikeC
Thu Jan 24, 2013 8:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone application name
Replies: 2
Views: 1892

Standalone application name

Can't find an answer to this in any of the documentation.

Whenever I save a standalone application on the Mac, when running the app, the name I gave it appears in the title bar but always has * an asterisk at the end of the name.

Why?
by MikeC
Tue Jan 08, 2013 3:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Display a future time
Replies: 5
Views: 3424

Re: Display a future time

Thanks folks for these two good examples that put me in the right direction. I ended up making use of the "dateItems" format, adding the number of anticipated seconds for the repeat loop to item 6 of this container. Then converted it back to time format to display the actual time the process would f...
by MikeC
Tue Jan 08, 2013 10:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Display a future time
Replies: 5
Views: 3424

Display a future time

I have a repeat loop processing a large data file. I can get "the seconds" when it starts, and when it finishes the first pass. Knowing how many repeats are involved, I can estimate how long the process will take. But how can I add this value to the start time in order to display "Estimated finish t...
by MikeC
Sat Sep 29, 2012 9:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Drag & Drop to Launch an App
Replies: 3
Views: 2516

Re: Drag & Drop to Launch an App

Thanks folks, found useful stuff in the lessons.
It's just a case of knowing where to look first.
by MikeC
Wed Sep 26, 2012 7:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Drag & Drop to Launch an App
Replies: 3
Views: 2516

Drag & Drop to Launch an App

Looking in the user manual there is info on using D&D within an app.

But is it possible to drop a preferences file on a standalone app to cause it to launch and load those preferences on start up?

Or am I missing something?

Thanks.