Re: determining if user has shell access

2010-10-14 Thread Dar Scott
I'm a little confused as to what is happening. Is the app locking up? Or does the function return empty? If the latter, then maybe you can test shell with something trivial that always returns something that is not empty. If you get empty, you can't use shell(). Dar On Oct 13, 2010,

Re: determining if user has shell access

2010-10-14 Thread Dar Scott
Does open process fail? Maybe there is something along this way that will work either as a test or as your own shell. Dar On Oct 14, 2010, at 2:41 AM, Monte Goulding wrote: Hi Dar Thanks for your interest. I'm a little confused as to what is happening. Is the app locking up? Yes.

Re: determining if user has shell access

2010-10-14 Thread Dar Scott
to learn about. Dar On Oct 14, 2010, at 3:48 PM, Monte Goulding wrote: On 15/10/2010, at 4:53 AM, Dar Scott wrote: Does open process fail? Maybe there is something along this way that will work either as a test or as your own shell. I would expect that as long as the user has the right

Re: determining if user has shell access

2010-10-14 Thread Dar Scott
On Oct 14, 2010, at 4:42 PM, Monte Goulding wrote: I'm trying to avoid trial and error testing with the client of client. I understand. Perhaps your customer can ask the client of the client for the details of the lockdown so the technical team (you) can replicate it and test against

Re: a card answering to a mouseUp of the script of one of its groups!!!

2010-10-11 Thread Dar Scott
A group with backgroundBehavior set to true shows up in the message path behind the card. By behind I mean, the script is searched for matching handlers right after the card is searched and nothing is found. Perhaps you can check that the name of the target is among those expected and

Re: Socket read problems

2010-10-08 Thread Dar Scott
with the frame length. Dar Scott -- ** Dar Scott Dar Scott Consulting and darzLAB 8637 Horacio Place NE Albuquerque, NM 87111 Lab, office, home: +1 505 299 9497 Fax:try 299-9497 Skype/Google: lets set up a time http://www.swcp.com/dsc d

Re: Socket read problems

2010-10-08 Thread Dar Scott
On Oct 8, 2010, at 12:02 PM, Len Morgan wrote: It still bothers me though that I never got the socketTimeout message even though that's exactly what was happening. I have a vague memory of strange things with this. I wonder if you don't get the message if you don't use 'with message' in

Re: Socket read problems

2010-10-08 Thread Dar Scott
is in the card script but the actual read is in a handler in the stack script.) Dar Scott On Oct 8, 2010, at 12:33 PM, Len Morgan wrote: Not according to the documentation. And I didn't start off using the with message form. In fact, I never did get around to even trying that once I discovered

Re: Socket read problems

2010-10-07 Thread Dar Scott
Could you have gotten the two length bytes swapped and are asking for way too many bytes? Dar Scott On Oct 7, 2010, at 6:22 PM, Len Morgan wrote: I'm trying to read data from a MODBus/TCP controller and having some issues with the timing of the read command. I request a block

Re: shell command to identify wireless printer

2010-10-07 Thread Dar Scott
Does 'the availablePrinters' in LiveCode provide anything useful? Maybe its name give some indication that it is connected wirelessly. Dar Scott On Oct 7, 2010, at 4:12 PM, Peter Brigham MD wrote: I'm looking for the shell command that would include in its output something that would

Re: [OT} (slightly) Anyone knows an affordable HD recovery service?

2010-10-05 Thread Dar Scott
Others have mentioned some software that might help if you deleted some files or have a corrupted file system. Just don't do anything with the disk, if you can, until you run recovery software. If the macBook is broken, maybe you can place the drive in another. If the drive is broken,

Re: [OT} (slightly) Anyone knows an affordable HD recovery service?

2010-10-05 Thread Dar Scott
On Oct 5, 2010, at 4:28 PM, Terry Judd wrote: If you disk is dodgy but not completely stuffed you might have some success connecting it to another Mac in Firewire target disk mode or by starting it up from the install DVD, firing up the terminal and using ditto to copy stuff across to an

Re: Which app has which ports

2010-10-04 Thread Dar Scott
On OS X: sudo lsof -i -P The command to run the process is in the first column and the process ID is in the second. I tried netstat, but that did not work Dar On Oct 4, 2010, at 8:41 PM, Bob Sneidar wrote: sometimes i forget that there are people who use Windows. (jab jab) Mac, but i

Re: Which app has which ports

2010-10-04 Thread Dar Scott
What about processes run by vermin, or some other user, or the root? On Oct 4, 2010, at 9:20 PM, Andre Garzia wrote: I don't think you need sudo... I did my lsof line without it... On Tue, Oct 5, 2010 at 12:05 AM, Dar Scott d...@swcp.com wrote: On OS X: sudo lsof -i -P The command to run

Re: loading a https page on OS X

2010-10-03 Thread Dar Scott
Well, you said hint. I have a vague and distant memory of seeing this info in the openSSL docs. Very vague. It might have been in some openSSL discussion. -- Dar On Oct 3, 2010, at 11:25 AM, Klaus on-rev wrote: Hi all, I tried to load a page from an https server and got of course an

Re: An easy way to pipe input into shell commands?

2010-10-02 Thread Dar Scott
have changed) also closes the pipe from the process, so this would not be good for things that do their work after the close, such as sort. put echo 'Hello world!' | commandLineThatTakesSTDIN into someShell put shell (someShell) Cool! Dar Scott

Re: RevMobile Discussions

2010-10-02 Thread Dar Scott
is in my future, even in communicating with my microcontroller work. The new licensing makes updating to revMobile licenses just-in-time and low cost, so anybody is just a few steps away. Dar Scott -- ** Dar Scott Dar Scott Consulting and darzLAB 8637 Horacio

Re: HTML Text

2010-10-01 Thread Dar Scott
This requires Internet access. Perhaps this is a matter of telling 7 that this program can access the Internet. Dar On Oct 1, 2010, at 9:00 AM, Ray Horsley wrote: Andre, It's a file path. Here's an example of a test's 'question' tag, url encoded, with several img attributes inside of a

Re: send vs dispatch and continuously running processes

2010-09-30 Thread Dar Scott
I have a tutorial stack on using send, should anyone be interested. I called it message machinery or something like that. I made it back when Revolution was coal fired. It is on my website which is even older. Try here: http://pages.swcp.com/~dsc/revstacks.html Dar On Sep 30, 2010,

Re: data from USB joystick

2010-09-28 Thread Dar Scott
How does that work? Do you still open it as a joystick device or does USBoverdrive convert the joystick to some other device? Does this do more than calibrate the joystick? -- Dar On Sep 28, 2010, at 3:42 PM, -=JB=- wrote: I don't know but the developer sounds like they are continuing

Re: Open printing to PDF bug?

2010-09-25 Thread Dar Scott
A workaround might be to take a picture of the region, put that on another card, rotate that, and print from that card. -- Dar On Sep 25, 2010, at 5:59 AM, William de Smet wrote: Hi everyone, Thanks for the replies. Indeed it seems that Printmargins and PrintScale affect the cuttoff of

Re: Open printing to PDF bug?

2010-09-25 Thread Dar Scott
I have seen the page cutoff problem with landscape (but not the other concerns), so if William doesn't report it, I'm willing to report that much. -- Dar On Sep 25, 2010, at 11:06 AM, J. Landman Gay wrote: On 9/25/10 6:59 AM, William de Smet wrote: Hi everyone, Thanks for the replies.

Re: Open printing to PDF bug?

2010-09-25 Thread Dar Scott
you need to do it aswell Dar. The more the better! Greetings, William - Verstuurd vanaf mijn iPhone! Op 25 sep. 2010 om 19:32 heeft Dar Scott d...@swcp.com het volgende geschreven: I have seen the page cutoff problem with landscape (but not the other concerns), so if William doesn't

Re: Scripts that are already running

2010-09-24 Thread Dar Scott
, and maybe we can use an alternative form of parallelism for some big crunching needs.) Dar Scott On Sep 24, 2010, at 9:31 AM, J. Landman Gay wrote: On 9/24/10 8:36 AM, dunb...@aol.com wrote: Is there a way to interrupt, or rather, interrogate, the repeat loop? I am not talking about

Re: Scripts that are already running

2010-09-24 Thread Dar Scott
Maybe one can sprinkle calls to checker throughout code which can look at global variable or be passed local variables. The body of the checker handler can be commented out in the penultimate version. Dar On Sep 24, 2010, at 1:18 PM, dunb...@aol.com wrote: As for this thread. It still

USB gadgets (was Re: Scripts that are already running)

2010-09-24 Thread Dar Scott
On Sep 24, 2010, at 1:18 PM, dunb...@aol.com wrote: There is a modern version for liveCode: http://www.bkohg.com/serviceusbplus_e.html Cool! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

Re: Scripts that are already running

2010-09-24 Thread Dar Scott
like that, too. Dar Scott ... sometimes I think this code is alive ... ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com

Re: Which stack called the library stack ?

2010-09-24 Thread Dar Scott
of the caller. I think I made one someplace using that unsupported way. I don't know where it is. Or do you mean which stack did the start using? Dar Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url

Re: Which stack called the library stack ?

2010-09-24 Thread Dar Scott
information. Dar Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution

Full support for executionContexts (was Re: Which stack called the library stack ?)

2010-09-24 Thread Dar Scott
. Or at least apply as much diligence in doing so as they would for any other property. I think this is a reasonable thing to ask for. Dar Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe

Re: Full support for executionContexts (was Re: Which stack called the library stack ?)

2010-09-24 Thread Dar Scott
On Sep 24, 2010, at 5:14 PM, Mark Wieder wrote: ... By removing the offending paragraph in the executionContexts dictionary entry, RunRev would effectively be making a commitment to including descriptions of any changes to the value in the engine revision report for new versions. Or at least

The message sent before preOpenStack

2010-09-23 Thread Dar Scott
I forgot the name of the message sent to the first card of the main stack in a standalone before everything else, even preOpenStack. I have used it before but those stacks are not where I am. What is the name of the message? execute? setup? preamble? begin? Dar Scott

Re: Hopefully a simple question

2010-09-23 Thread Dar Scott
to 3/4 view, tiling will still work and you can even have a little overlap. Just layer them right. Your game world might be a toroid. That is, left and right wrap and up and down wrap. Dar Scott On Sep 23, 2010, at 6:54 PM, Mike Bonner wrote: Finally am getting back on my feet(health

Re: Hopefully a simple question

2010-09-23 Thread Dar Scott
On Sep 23, 2010, at 8:13 PM, Mike Bonner wrote: 3/4 view? Same as iso view? Probably, I don't know where I came up with 3/4. You don't have to do any math or perspective, just draw each tile as seen looking down but a bit looking (say) north. Dar

Re: Open printing to PDF bug?

2010-09-22 Thread Dar Scott
guessing. Mine works but I'm not using landscape. And I use full-page printing. Dar Scott On Sep 22, 2010, at 10:44 AM, William de Smet wrote: Hi there, It seems I have the same problem! I use almost the same code as Joseph (asked earlier today) to print on A4 paper. When I want a PDF

Re: Open printing to PDF bug?

2010-09-22 Thread Dar Scott
orientation, but it is the same. I think with some other fiddling, parts showed up but not all. I'm not an expert at all the printing parameters, but it seems to me you are right. It seems there is a bug. Maybe somebody with more printing experience can say. Dar Scott On Sep 22, 2010

Re: LiveCode 4.5 License model

2010-09-21 Thread Dar Scott
is. Bobby knows he will never deploy to web or server. Charles never gets involved with lists or even publisher communication. Each can have the right license. But some month or year when Bobby's customer says web, then Bobby is instantly set and with minimal cost and effort. Dar

Re: calling com port under win7 with old 261 built app

2010-09-21 Thread Dar Scott
version of rev to create a win7 app that will call the com port on win7? Did he change RS232 cables? Did he move to a USB-serial adaptor? Perhaps there is a handshaking issue. Dar Scott ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: Invisible HTMLText Character?

2010-09-21 Thread Dar Scott
stops. Or an invisible image the same width as a custom bullet image. Can htmlText do definition lists? Dar Scott On Sep 21, 2010, at 7:25 PM, Scott Rossi wrote: Anyone know if it's possible to define a character in HTMLtext as being invisible or hidden? I'm trying to create a workaround

Re: GOOSE BUMPS

2010-09-20 Thread Dar Scott
On Sep 20, 2010, at 1:02 PM, Timothy Miller wrote: I don't understand the significance of the name change to LiveCode. Is this an internal reorganization or marketing strategy? Or has ownership changed? No doubt it is to keep it distinct from the revolution. When and if it comes. Dar

Re: Server-less chat?

2010-09-19 Thread Dar Scott
For a LAN try broadcast UDP to 255,255,255,255. There is no signup, everybody receives everything. If any oneis not running the chat, that is OK. A person can go in and out. Choose some obscure port for now. On some operating systems you don't receive your own broadcast, so handle

Re: Passwords

2010-09-19 Thread Dar Scott
Hi, Jim, I'm glad you got your password question solved. For everyone: If psssword protection is important, use 4.0. Dar Scott On May 21, 2010, at 8:39 AM, Jim Bufalini wrote: Richard, You've probably already done this, but to be safe may I ask if you first set the passkey of the stack

Installing 4.0 on OS X gets error 565.1994

2010-09-19 Thread Dar Scott
I realize this is an obscure error and folks here might not know, and even Rev support thinks it unlikely for people here to know, but I'm running out of ideas. I'm trying to install the current Revolution 4.0 on a simple OS X 10.4.11. I tried both installers. As soon as it gets to

Re: Installing 4.0 on OS X gets error 565.1994

2010-09-19 Thread Dar Scott
the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 19 sep. 2010 om 23:45 heeft Dar Scott d...@swcp.com het volgende geschreven: I realize this is an obscure error and folks here might not know, and even Rev support thinks it unlikely

Moving a card from one stack to another

2010-09-18 Thread Dar Scott
What's the best way to move a card from one stack to another in the IDE? Dar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Moving a card from one stack to another

2010-09-18 Thread Dar Scott
. Dar On Sep 18, 2010, at 1:04 AM, Scott Rossi wrote: Recently, Dar Scott wrote: What's the best way to move a card from one stack to another in the IDE? How about: copy this cd of stack test1 to stack test2 Regards, Scott Rossi Creative Director Tactile Media, UX Design

Re: Moving a card from one stack to another

2010-09-18 Thread Dar Scott
By also figured this out, I mean your answer inspired me in thinking the IDE must do it somehow. I was missing the way to get copy card and cut card to show up on the edit menu. -- Dar On Sep 18, 2010, at 1:36 AM, Dar Scott wrote: Thanks! I also figured this out on OS X Rev 3.5: Right

(OT aside) Re: Can Get Cookies From Home But Not While On Campus

2010-09-17 Thread Dar Scott
Yeah, I have that same problem. The cafe at the SUB is so health conscious one can hardly find anything to eat. So I bring my cookies from home. -- Dar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Re: how to identify a 64-bit Windows machine in Rev

2010-09-15 Thread Dar Scott
On Sep 14, 2010, at 6:37 PM, Dar Scott wrote: ProcessorStringName Whoops. I think that is ProcessorNameString. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: how to identify a 64-bit Windows machine in Rev

2010-09-15 Thread Dar Scott
On Sep 15, 2010, at 12:16 AM, Phil Davis wrote: You give the most complete answers! Thanks! But, you'll notice that the hardware detection part is weak. Besides ProcessorNameString in the registry, you might look at Identifier or Platform ID. You might try testing for a bunch of CPU

Re: how to identify a 64-bit Windows machine in Rev

2010-09-14 Thread Dar Scott
On Sep 13, 2010, at 6:06 PM, Phil Davis wrote: Does anyone have a clear-cut way for Rev to know whether it's running in a 32-bit or a 64-bit environment on Windows? Hardware CPU: Under... HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0 ...find... Identifier REG_SZ If 64 is

Re: how to identify a 64-bit Windows machine in Rev

2010-09-14 Thread Dar Scott
On Sep 14, 2010, at 6:55 PM, Mark Wieder wrote: DAR! Yeah! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: how to identify a 64-bit Windows machine in Rev

2010-09-14 Thread Dar Scott
On Sep 14, 2010, at 7:13 PM, Jerry J wrote: Hey Dar, its about time for another food fight! Good idea! I'm still slow after a four year coma, though. Dar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Re: how to identify a 64-bit Windows machine in Rev

2010-09-14 Thread Dar Scott
On Sep 14, 2010, at 7:34 PM, J. Landman Gay wrote: DAR! Where ya been?? Wow. I got out early! Dar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: binary vs. text?

2006-12-11 Thread Dar Scott
On Dec 11, 2006, at 3:09 PM, Chris Sheffield wrote: Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before

Re: Multi-standalone communication

2006-12-09 Thread Dar Scott
On Dec 9, 2006, at 10:37 AM, J. Landman Gay wrote: Glad you found and explored an easy 'send' method. I did not know that you could simply 'send' between two standalones. Does this really work on both Mac and Windows? or just Mac? Just Mac. It's a HyperCard compatibility command, and sends

Re: Multi-standalone communication

2006-12-09 Thread Dar Scott
On Dec 9, 2006, at 4:23 PM, J. Landman Gay wrote: How does this work? It is just the built-in xtalk system for sending and receiving appleEvents between scriptable apps. Like I mentioned in another post, you use send to send an appleEvent to any scriptable app. If the app is a Rev

Re: Getting a Random Seed for the Random Number Generator

2006-12-08 Thread Dar Scott
On Dec 8, 2006, at 6:33 AM, Dave wrote: Anyone have any tricks for generating a random seed in RunRev? If you just want to set the randomSeed for something like the start of a game, then use the milliseconds. IIRC, on one OS, I forgot which, you have to modify that to make sure it is in

Re: Getting a Random Seed for the Random Number Generator

2006-12-08 Thread Dar Scott
On Dec 8, 2006, at 10:57 AM, Eric Chatonet wrote: Setting the randomSeed to the seconds is really clever ;-) As for me, and I apologize, I had not read Dave's question correctly... I'm sure your general information was helpful. We all answer the best we can and sometimes one of us hits

Re: IP address of current computer....

2006-12-08 Thread Dar Scott
On Dec 8, 2006, at 1:05 PM, David Bovill wrote: Is there a simple way of obtaining the IP address of the current computer? Yes. Oh, you want to know what it is? Since you say the IP address, I assume you are expecting a single address. Sarah mentioned this one and probably got it

Re: IP address of current computer....

2006-12-08 Thread Dar Scott
On Dec 8, 2006, at 1:31 PM, [EMAIL PROTECTED] wrote: answer hostnametoaddress(the hostName) This works on my OS X 10.4.8. I have a vague notion of this not working, perhaps on some OS or in older versions of Revolution or in my error. If this works across platforms, then this is better

Re: IP address of current computer....

2006-12-08 Thread Dar Scott
On Dec 8, 2006, at 2:06 PM, David Bovill wrote: IP: 172.20.169.23 That's a private IP address. That would be visible only within your LAN. Your firewall might translate the IP address to another public IP address or translate the address and port to its address and a port. Some

Re: Multi-standalone communication

2006-12-08 Thread Dar Scott
things at once. Dar -- ** Dar Scott Dar Scott Consulting and Dar's Lab 8637 Horacio Place NE Albuquerque, NM 87111 Lab, office, home: +1 505 299 9497 Fax:call above first Skype: ask http://www.swcp.com/dsc [EMAIL PROTECTED

Re: private handlers in a public library

2006-12-07 Thread Dar Scott
On Dec 7, 2006, at 12:25 AM, Dick Kriesel wrote: You might be interested in feature request 1443 listed in Bugzilla. Zarro Boogs found. I wonder why an old bug number's data would disappear. It's a conspiracy! Actually, this is probably the strange default for Status. The default for

Re: Multi-standalone communication

2006-12-07 Thread Dar Scott
On Dec 7, 2006, at 6:56 AM, Richard Miller wrote: Looking for suggestions on how to have 2 or 3 Rev standalones talk to one another (under Windows). These separate Rev apps cannot share the same engine. Perhaps it's quite easy and I'm just overlooking it. If the computer is set up with

Re: Multi-standalone communication

2006-12-07 Thread Dar Scott
On Dec 7, 2006, at 1:26 PM, Richard Gaskin wrote: Richard Miller wrote: The computer in question is not set up with networking. I'm not sure if UDP on the same machine is prevented even without external networking enabled. Maybe someone here can explain. Well, that had been the case,

Re: Multi-standalone communication

2006-12-07 Thread Dar Scott
On Dec 7, 2006, at 12:21 PM, Richard Miller wrote: Dar... I understand the plan here. My concern with this is the constant disk access that would need to take place. The information that needs to be exchanged between these two apps is directly connected to the users experience. So when

Re: private handlers in a public library

2006-12-06 Thread Dar Scott
in Bugzilla. Dar Scott Revolution is just the beginning. -- Rose Wilder Lane ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http

Re: ScriptParsingError

2006-12-05 Thread Dar Scott
On Dec 5, 2006, at 12:47 PM, Richard Gaskin wrote: In general I agree, but from time to time as the language grows I'd be willing to accept some deprecated tokens on a case-by-case basis if a better solution becomes available. Have you noticed the effective default value for the

Re: Stdout and Shell commands

2006-12-04 Thread Dar Scott
On Dec 4, 2006, at 5:24 AM, Mark Smith wrote: There are some shell commands (openssl sha1, for example) that take their arguments from stdin or a file, but not the command line. While it's easy to write data to a file and pass the filepath to the shell, it's not very efficient if you want

Re: Stdout and Shell commands

2006-12-04 Thread Dar Scott
On Dec 4, 2006, at 3:52 PM, Dar Scott wrote: If the tool reads a fixed number of lines or characters, you might be OK. You don't have to do the half close. Actually, this would apply more often than not. I had some specific process I/O problems on my mind. Try it and see. (Other

Re: Declaring Variables

2006-11-29 Thread Dar Scott
On Nov 28, 2006, at 2:20 PM, Francis Nugent Dixon wrote: But the problem is not there : 1 - Look at the question Ah ha! Your mind reading powers are not as great as they once were! I was not answering, I was commenting. Your empathy for beginners has not lost any greatness, and that is

Re: get nesting level of controls

2006-11-29 Thread Dar Scott
On Nov 29, 2006, at 11:54 AM, Scott Rossi wrote: But regardless, I'm still curious why last doesn't work with groups... I didn't know you could do 'last' with 'of'. dar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: Declaring Variables

2006-11-27 Thread Dar Scott
(Nice summary on declaring variables, Jan) On Nov 27, 2006, at 2:35 PM, Jan Schenkel wrote: the compiler ... may even decide that the default value of that variable is the same as the name of the variable. Note that the default value does not mean the same as initial value. Without

Windows crash log

2006-11-24 Thread Dar Scott
I know this has been addressed, but a search did not find this (and a search in the user's guide and other things did not). When rev crashes on Windows, where does it put a crash log? I suspect I might not have one it this case. I was making a long change in a script when in less than the

Re: Allow line breaks at a char other than 'space'

2006-11-23 Thread Dar Scott
On Nov 23, 2006, at 7:32 AM, Mark Powell wrote: In a field, I would like to allow line breaks to occur at a forward slash char in the same way as they occur at a space char. (I don't want to *force* the line break...only to *allow* it if the right margin is in play). Is there any easy

Re: [ANN] Galaxy 1.5 Released Today!

2006-11-19 Thread Dar Scott
This clearly does not have a proper interface for a Wii. What about my arthritis and need for exercise! Why are you keeping me from waving the controller of the Wii while working in Revolution? Why leave out this essential feature? This is clearly a bug. [Just kidding. Every Wii line

Re: sending arrays to objects

2006-11-19 Thread Dar Scott
On Nov 19, 2006, at 7:18 AM, Andre Garzia wrote: the send call will accept only strings, Right, that's a good way to put it. That has implications not only for arrays, but for numbers. Dar Scott *** Underlying most arguments against the free market is a lack of belief

Re: Strange function bug

2006-11-17 Thread Dar Scott
. Dar Scott *** Underlying most arguments against the free market is a lack of belief in freedom itself. -- Milton Friedman (1912-2006) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url

Re: Programing style

2006-11-16 Thread Dar Scott
On Nov 16, 2006, at 2:01 PM, Hershel Fisch wrote: Hi all, I'd like to know how others write a function like this. That looks pretty good. As far as style, I'd only do a couple things differently. First I'd use a parameter name like this function fNumericToMoney n or this function

Re: rawKeyDown codes

2006-11-16 Thread Dar Scott
On Nov 16, 2006, at 1:32 PM, John Craig wrote: Does anyone know if the codes used in rawKeyDown are consistent across all platforms? The code are somewhat consistent, but I don't think rawKeyDown works exactly the same across all platforms--not sure. The codes are keysyms (first used on

Re: Programing style

2006-11-16 Thread Dar Scott
This would be a short and maybe elegant solution, except it doesn't work: function fNumericToMoney d set the numberFormat to $,.00 return (d+0) empty -- force use of numberFormat end fNumericToMoney The dollar and comma are converted to zeros. (I think I misunderstood your question

Re: Programing style

2006-11-16 Thread Dar Scott
On Nov 16, 2006, at 5:33 PM, Hershel Fisch wrote: by the way what did you by prefix? I am contrarian in the use of certain letters at the start of names to help with readability among team members. (When a customer has style requirements, I follow those, but for my own work, I use other

Re: Spaces in folder names on server

2006-11-14 Thread Dar Scott
On Nov 14, 2006, at 9:38 AM, J. Landman Gay wrote: I should point out though that after I posted the above, I found it does not work consistently. Would shell() with the right command line work as a temporary workaround? Climbing through folders? (Or you could delete the folder and then

Re: Comparing Strings

2006-11-14 Thread Dar Scott
On Nov 14, 2006, at 1:42 PM, Dan Friedman wrote: Pretty simple, I know... But it works :) You hit upon one of the methods used to do a comparison that forces a string comparison instead of allowing a numerical comparison. This is handy in comparing binary data, too. Another simple

Re: SSL Library

2006-11-13 Thread Dar Scott
On Nov 13, 2006, at 11:29 AM, Mark Smith wrote: Just a heads up to those who might be interested. RunRev have just told me that the SSL add-on is not going to be available to Studio licencees anymore. You'll have to have an Enterprise licence in order to use the SSL library. :( For the

Re: Spaces in folder names on server

2006-11-13 Thread Dar Scott
On Nov 13, 2006, at 12:41 PM, J. Landman Gay wrote: get there is a folder tName This particular host is running Redhat ES4. Does this boil down to whether 'there is a folder' works on Redhat? (While you are thrashing, you might try putting quotes around the path.) Dar

Re: sequence of messages of stack vs. standalone

2006-11-12 Thread Dar Scott
On Nov 12, 2006, at 6:59 PM, Douglas Ivers wrote: I'm getting a difference in behavior between the stack and the standalone that I don't understand. There are some differences in the message path. Dar ___ use-revolution mailing list

Re: UDP question

2006-11-11 Thread Dar Scott
On Nov 11, 2006, at 6:27 AM, Shao Sean wrote: I know when I wrote the library to get the MX records from a DNS server, using UDP, I had to follow these steps in the client in order to get the server's reply - open the datagram socket to the server (no message callback) - read from the

Re: Hacking RR

2006-11-11 Thread Dar Scott
On Nov 11, 2006, at 11:59 AM, Mikey wrote: The fact that RR is hackable is encouraging, but I'm trying to shortcut the learning of some of this, so I don't have to spend weeks trying to read through scripts if possible. What is it you are trying to learn? If you are learning how to use the

Re: UDP question

2006-11-10 Thread Dar Scott
On Nov 10, 2006, at 8:50 AM, Andre Garzia wrote: The client will write to the server then it will read from the socket to see if there was any answer. That's what I tried to do, but (unless it was changed in the past two years) that is not how it works for UDP. I would have preferred

Re: External Writing for the Unitiated – Pa rt I

2006-11-10 Thread Dar Scott
On Nov 10, 2006, at 1:56 PM, Bernard Devlin wrote: I just want to say 'thanks' to Mark for this article in the latest newsletter. I clicked on the read more link in the email I got and was taken to something else. Dar ___ use-revolution

Re: External Writing for the Unitiated – Pa rt I

2006-11-10 Thread Dar Scott
On Nov 10, 2006, at 6:10 PM, Dar Scott wrote: I just want to say 'thanks' to Mark for this article in the latest newsletter. I clicked on the read more link in the email I got and was taken to something else. I found it. (Sorry for the noise.) This looks interesting. There seems

Re: UDP question

2006-11-10 Thread Dar Scott
On Nov 10, 2006, at 8:29 PM, Mark Wieder wrote: The server could send a broadcast packet which was received by the client. The client would then respond to the packet but the response was apparently never picked up by the server. The same thing works fine using TCP. There seems to be a bug

Re: How Else to Interact with Browser (wasRe:RevolutionWebBrowserPlugin)

2006-11-06 Thread Dar Scott
On Nov 6, 2006, at 1:08 PM, Andre Garzia wrote: I completely agree with you on that one, we need a new foreign function interface so that skilled developers can write interfaces with existant c code, or frameworks or com objects or whatever in an easy sane way. I created an interface

Re: Text field bug?

2006-11-06 Thread Dar Scott
On Nov 6, 2006, at 1:54 PM, Devin Asay wrote: Recipe: Create a new mainstack. Create 2 new text entry fields and name them. I'll use george and sally. Open the script editor for field sally. Type some contents into fld george. Type some contents into fld sally. Open the property inspector

Re: How Else to Interact with Browser (wasRe:RevolutionWebBrowserPlugin)

2006-11-06 Thread Dar Scott
On Nov 6, 2006, at 2:12 PM, chris bohnert wrote: I think Dar illuminates some of the technical and strategic problems that Rev faces in trying to create this new layer of openness without just opening the code completely. I am glad my whining could be illuminating. (Of course, whining

Re: switch case question

2006-11-04 Thread Dar Scott
On Nov 4, 2006, at 2:35 AM, Mark Smith wrote: This mirrors what I found, too. I'm at a loss as to why this might be. I guess the conclusion has to be that if speed matters in a particular application, then we must test things in context, and find out which approach works best in context.

Re: switch case question

2006-11-04 Thread Dar Scott
Scott Dar Scott Consulting and Dar's Lab 8637 Horacio Place NE Albuquerque, NM 87111 Lab, office, home: +1 505 299 9497 Fax:call above first Skype: ask http://www.swcp.com/dsc [EMAIL PROTECTED] Computer programming

Re: Group Problem

2006-11-04 Thread Dar Scott
On Nov 4, 2006, at 12:35 PM, [EMAIL PROTECTED] wrote: I cut a group of fields and buttons from one stack and pasted it into another. However, I want that group in the new stack to appear on all existing and new cards. That's not happening. What did I do wrong? I checked off Act like

  1   2   3   4   5   6   7   8   9   10   >