Hi Mark,
Thanks for your help so far. After a lot of experimenting and tweaking code, I've decided to instead just do "set the hideconsolewindows to false" so the user will have a means to cancel the operation and maybe have info which will be given by the shell. Even though a crude means, I ...
Search found 15 matches
- Fri Jul 06, 2007 8:17 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 10831
- Thu May 17, 2007 1:07 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 10831
- Tue May 15, 2007 10:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 10831
- Tue May 15, 2007 3:47 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 10831
Hi Mark,
Thank you for your reply. Unfortunately, writing to a file and accessing it after a while is not ideal in this case. What I am trying to do is have my program work interactively with the process, as in an expect script so I need real-time access to the output of the process. For instance ...
Thank you for your reply. Unfortunately, writing to a file and accessing it after a while is not ideal in this case. What I am trying to do is have my program work interactively with the process, as in an expect script so I need real-time access to the output of the process. For instance ...
- Mon May 14, 2007 8:34 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 10831
Read from process
Hi.
Is there a way to do a "non-blocking" read from process so to speak? In particular, i am reading a certain process that can end with a number of strings so a 'read from process until "such and such a string"' would not work (i guess if there would be a way to say "read from process until ...
Is there a way to do a "non-blocking" read from process so to speak? In particular, i am reading a certain process that can end with a number of strings so a 'read from process until "such and such a string"' would not work (i guess if there would be a way to say "read from process until ...
- Sun Apr 15, 2007 10:08 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Interactive launch or open process?
- Replies: 1
- Views: 4829
Interactive launch or open process?
Hi.
I was wondering if there was a way to make an open process interactive, or better said be able to enter more input to that command line or shell before the close process, something like a rudimentary expect .
For instance, say that someone wants to launch a telnet command through a revolution ...
I was wondering if there was a way to make an open process interactive, or better said be able to enter more input to that command line or shell before the close process, something like a rudimentary expect .
For instance, say that someone wants to launch a telnet command through a revolution ...
- Sun Mar 18, 2007 1:43 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Refreshing scrolling fields in "realtime".
- Replies: 3
- Views: 7167
- Sun Mar 18, 2007 12:15 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Refreshing scrolling fields in "realtime".
- Replies: 3
- Views: 7167
Refreshing scrolling fields in "realtime".
Hi.
I'm having an interesting challenge, at least for my standards of transcript knowledge. I want to poll in realtime (or at least refresh every 2 seconds or so) the contents of a file and display them in a scrolling field.
Unfortunately if I put:
repeat while condition="true"
read from file ...
I'm having an interesting challenge, at least for my standards of transcript knowledge. I want to poll in realtime (or at least refresh every 2 seconds or so) the contents of a file and display them in a scrolling field.
Unfortunately if I put:
repeat while condition="true"
read from file ...
- Wed Nov 15, 2006 6:43 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: on pasteKey strange behaviour?
- Replies: 2
- Views: 5979
- Wed Nov 15, 2006 3:34 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: on pasteKey strange behaviour?
- Replies: 2
- Views: 5979
on pasteKey strange behaviour?
Hi.
For some reason, the on pasteKey is giving me grief. I need to check the clipboarddata, and if a condition is true, paste the data and enable a button but revolution ignores me. I even tried:
on pasteKey
answer "PASTE"
end pasteKey
but for some reason it acts as if there is no such code ...
For some reason, the on pasteKey is giving me grief. I need to check the clipboarddata, and if a condition is true, paste the data and enable a button but revolution ignores me. I even tried:
on pasteKey
answer "PASTE"
end pasteKey
but for some reason it acts as if there is no such code ...
- Mon Nov 13, 2006 6:01 pm
- Forum: Windows
- Topic: Stacks and windows don't purge on close?
- Replies: 3
- Views: 8058
- Sun Nov 12, 2006 9:12 pm
- Forum: Windows
- Topic: Stacks and windows don't purge on close?
- Replies: 3
- Views: 8058
Stacks and windows don't purge on close?
Hi.
It seems that my processes never die when the executable has been built by Revolution, but hang even after the stacks close (this does not happen to a specific application, but to everything I have attempted to build as a standalone). I always check both "purge stack on close" as well as "purge ...
It seems that my processes never die when the executable has been built by Revolution, but hang even after the stacks close (this does not happen to a specific application, but to everything I have attempted to build as a standalone). I always check both "purge stack on close" as well as "purge ...
- Wed Apr 12, 2006 6:15 pm
- Forum: Feature Proposals
- Topic: Installation Path
- Replies: 2
- Views: 4835
- Wed Apr 12, 2006 4:05 am
- Forum: Feature Proposals
- Topic: replaceText
- Replies: 2
- Views: 5139
replaceText
The replaceText function does not seem to embody (or perhaps no documentation exists to support) all regular expression statements as the perl ~s or the python re.sub, even though the docs state "Searches for a regular expression and replaces the portions that match the regular expression". More ...
- Wed Apr 12, 2006 3:59 am
- Forum: Feature Proposals
- Topic: Installation Path
- Replies: 2
- Views: 4835
Installation Path
Revolution studio's installation procedure has changed a bit. Unfortunately, the path where the application is to be installed has to end in "Revolution Studio", even in custom install. This is not ideal to upgrading users since I suppose there are a few of us who have installed in other places (me ...