Search found 32 matches

by larryh
Tue Mar 02, 2010 1:24 am
Forum: Talking LiveCode
Topic: Progress bar during shell command
Replies: 4
Views: 4311

Re: Progress bar during shell command

Well, it almost works. There are some processes that output nothing to the cmd line window except perhaps a line feed or EOF I am assuming at the end. These work fine with the following script: on ProgressBarWithProcess pStartValue, pEndValue, pProcess, pProgressBarName, pHideOnCompletion, pEndProce...
by larryh
Mon Mar 01, 2010 11:20 pm
Forum: Talking LiveCode
Topic: Progress bar during shell command
Replies: 4
Views: 4311

Re: Progress bar during shell command

Thanks Jan, that's exactly what I was looking for. The process functionality works great!
by larryh
Mon Mar 01, 2010 10:22 pm
Forum: Talking LiveCode
Topic: Progress bar during shell command
Replies: 4
Views: 4311

Progress bar during shell command

Hi, I have a stack where I record a begin time and end time of running a shell command every time I run the command. I calculate the LastRunTotalTime. What I would like to be able to do is use this figure to display a progress bar while the shell command is running in the background. I can't figure ...
by larryh
Thu May 21, 2009 7:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Launching .bat problem
Replies: 7
Views: 6394

Hi Bidge, You might want to try using the shell function instead of launch and output the results to the msg box so that you can see what errors might be happening: on mouseUp rename file "C:\data2.txt" to "C:\merge.bat" put "C:\merge.bat" into tBatchCommand put shell(tBatchCommand) into msg -- or u...
by larryh
Thu May 21, 2009 4:58 am
Forum: Talking LiveCode
Topic: Revolution Dictionary Add Note ... cannot connect
Replies: 3
Views: 3266

Hooray! Thanks Ben and Heather,

That works for me as well.

Larry
by larryh
Wed Apr 29, 2009 10:29 pm
Forum: Talking LiveCode
Topic: Revolution Dictionary Add Note ... cannot connect
Replies: 3
Views: 3266

Revolution Dictionary Add Note ... cannot connect

Hi,

I am trying to add user contributed notes to Rev Dictionary. I registered for a login but when I try I get the following message:

Couldn't connect to serve. Please try again later.

I am wondering if this is a firewall problem. Is there a specific port I need to open up?

Thanks,

Larry
by larryh
Wed Apr 29, 2009 6:48 pm
Forum: Multimedia
Topic: Recurse through directories and convert sound files
Replies: 3
Views: 4993

Thanks Mark and Bernd, very helpful!
by larryh
Tue Apr 28, 2009 6:17 pm
Forum: Multimedia
Topic: Recurse through directories and convert sound files
Replies: 3
Views: 4993

Recurse through directories and convert sound files

I have a couple of thousand wave files that are neatly organized in folders and subfolders. I would like to create a Rev script that will recurse through each of the files and apply a shell command to it. I want to apply a LAME MP3 conversion to each file and output to the same directory structure (...
by larryh
Tue Apr 28, 2009 1:08 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Scroll to end of field
Replies: 2
Views: 2909

Scroll to end of field

I am appending outputs in a scrolling field and want the field to automatically scroll to the last line everytime I add new lines. How would I do this? I'm looking for something like "go to last line of fld 'Log'"

Help appreciated :D
by larryh
Fri Nov 28, 2008 3:22 am
Forum: Multimedia
Topic: Pictures disappear in standalone
Replies: 2
Views: 4144

Hi Mark, One of the pictures was originally a bmp, the other a jpg. I guess what I find really confusing is why standalone would function differently than when I launch the rev stack itself. I think that answer will probably help me figure out the problem. I copied some scripts from other stacks so ...
by larryh
Thu Nov 27, 2008 10:15 am
Forum: Multimedia
Topic: Pictures disappear in standalone
Replies: 2
Views: 4144

Pictures disappear in standalone

Why might pictures not appear in the standalone app that appear otherwise? The pictures are not referred to but imported into the stack.

Thanks,

Larry
by larryh
Tue Nov 25, 2008 6:13 am
Forum: Talking LiveCode
Topic: Stack size increases dramatically when I DELETE pictures
Replies: 8
Views: 6605

Hi Mark,

I was incorrect about the size difference. What I was seeing was the tempory difference as revolution writes out the file.

I do have a substack with all of the artwork in it. Before hand it's 9683K. After running the script it is hardly any different ... 9628.

Larry
by larryh
Tue Nov 25, 2008 2:02 am
Forum: Talking LiveCode
Topic: Stack size increases dramatically when I DELETE pictures
Replies: 8
Views: 6605

I don't get it ... your script works (apart from the compress this stack line). And the resulting file is somewhat smaller. Hmmmm. So you need to go to the stack and then iterate through ... that makes sense to me. Well Mark ... once again you have led me into the deeper mysteries of RunRev. Thanks!...
by larryh
Tue Nov 25, 2008 1:00 am
Forum: Talking LiveCode
Topic: Stack size increases dramatically when I DELETE pictures
Replies: 8
Views: 6605

Hi Mark,

fDeleteThese is a field with a picture name on each line:

eg.

forwardarrow.png
reversearrow.png
search.png
add.png
correct.png
wrong.png
etc.

I normally don't include the extension in the stack name but this time I did.

Larry