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: 9103
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 believe...
- Thu May 17, 2007 1:07 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 9103
Hi Mark, Thank you for your help this far. I have tried to experiment with the launch command but I have found out that even though it does not block the entire interface, there is no way way of making it work with a feature similar to the openprocesses/close process functions (except the kill comma...
- Tue May 15, 2007 10:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 9103
Hi Mark, Unfortunately this is not only about passwords. It appears that the best solution would be for someone to install expect in their system and revolution worked as a launcher of an expect script and its arguments. In that case, I would like to ask the following: Is there a way to do a non-blo...
- Tue May 15, 2007 3:47 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 9103
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: f...
- Mon May 14, 2007 8:34 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Read from process
- Replies: 8
- Views: 9103
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 "string...
- Sun Apr 15, 2007 10:08 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Interactive launch or open process?
- Replies: 1
- Views: 4149
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 in...
- Sun Mar 18, 2007 1:43 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Refreshing scrolling fields in "realtime".
- Replies: 3
- Views: 6197
- Sun Mar 18, 2007 12:15 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Refreshing scrolling fields in "realtime".
- Replies: 3
- Views: 6197
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 mypath...
- Wed Nov 15, 2006 6:43 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: on pasteKey strange behaviour?
- Replies: 2
- Views: 4833
- Wed Nov 15, 2006 3:34 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: on pasteKey strange behaviour?
- Replies: 2
- Views: 4833
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. What am...
- Mon Nov 13, 2006 6:01 pm
- Forum: Windows
- Topic: Stacks and windows don't purge on close?
- Replies: 3
- Views: 6939
Hi guys. I appreciate your help. This is what I did: on closeStack if the environment is "development" then close this stack else lock messages quit end if end closeStack which worked like a charm. Thanks. P.S: Do you think we should move it out of the "Windows" category, since I see now that it's n...
- Sun Nov 12, 2006 9:12 pm
- Forum: Windows
- Topic: Stacks and windows don't purge on close?
- Replies: 3
- Views: 6939
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 ...
- Wed Apr 12, 2006 6:15 pm
- Forum: Feature Proposals
- Topic: Installation Path
- Replies: 2
- Views: 3735
- Wed Apr 12, 2006 4:05 am
- Forum: Feature Proposals
- Topic: replaceText
- Replies: 2
- Views: 4363
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 spe...
- Wed Apr 12, 2006 3:59 am
- Forum: Feature Proposals
- Topic: Installation Path
- Replies: 2
- Views: 3735
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 ...