Re: Launch with Parameters?

2002-03-25 Thread Dar Scott
On Monday, March 25, 2002, at 03:57 PM, Scott Rossi wrote: On Windows, how can one launch an application with parameters included in the command line? For example, with most installers, including /s after the path to the installer will cause the installer to run silently. Can this be

Re: launch theFile with theProgram

2002-03-28 Thread Dar Scott
to be used as a command. (This might be in the extended commands and not available on some Windows, I'm not sure.) So, I'd try launch/shell(start...)/open process with simply the file name. On Mac? AppleScript? Dar Scott ___ metacard mailing list

Re: Convert T/F

2002-04-02 Thread Dar Scott
My entry: function tf bool return charToNum(char 3 of bool) bitAnd 1 end tf Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Convert T/F

2002-04-02 Thread Dar Scott
ConvertTF Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Delete Resource Fork

2002-04-04 Thread Dar Scott
no idea whether this is the same as deleting the resource fork. For that matter, I have no idea what the real effect is. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: chat program behind a router

2002-04-05 Thread Dar Scott
with TCP than with UDP. This is especially the case with with mc port assignment limitations; the firewall might only allow a packet with exactly the source destination swapped from one that recently went out.) Hope this helps. Dar Scott

Re: chat program behind a router

2002-04-06 Thread Dar Scott
On Saturday, April 6, 2002, at 12:36 AM, Mark Talluto wrote: Thanks Dar. I will probably have an option for the user to select peer to peer or use the server option if needed. The peer to peer is neat simply because it does not require a server, but may be the only option for internet

Re: chat program behind a router

2002-04-07 Thread Dar Scott
problems. Try a high port number, first. In your initial tests, use the same computer for both ends. Depending on your situation, you might want to take the person responsible for the firewall settings to lunch and explain what you are doing. Dar Scott

Re: Protecting Things from prying eyes....

2002-04-07 Thread Dar Scott
encryption. On the other hand, if you don't want people to see your maps of NZ that you worked so hard to make unless they pay for it, then encryption is less important. My wild guess is that you can probably get by with even simpler obfuscation and then forget about it. Dar Scott

Re: Call WinAPI?

2002-04-10 Thread Dar Scott
and it might work for GUIs. I'm not sure what Windows has that, though. My W2K does. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Comparing big lists

2002-04-27 Thread Dar Scott
On Saturday, April 27, 2002, at 02:10 PM, Gregory Lypny wrote: It takes about 6 minutes on a modest (300 mHz) iBook running OS X, but I'm hoping for an improvement, Maybe. Maybe if you are able to keep the lists sorted you can come up with a faster way that takes advantage of that. Dar

Re: using repeat for each when you don't want to start with the first line

2002-04-29 Thread Dar Scott
On Monday, April 29, 2002, at 08:01 AM, shop wrote: I have a number of repeat loops in my software which I would love to speed up using the repeat for each technique but I don't want to start with the first line.  Just wondering. Does repeat for each allow a chunk expression? Dar Scott

Re: ? What are Metacard's UDP (datagram) Limits

2002-04-29 Thread Dar Scott
you look at result()? Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: ? What are Metacard's UDP (datagram) Limits

2002-04-29 Thread Dar Scott
. In those environments you might want to limit your datagram size to about 1200 bytes. I have never run across this problem, so I'm not sure what would be appropriate as far as size. Some instruments and DOS applications also have size limitations. Dar Scott

Re: What are Metacard's UDP (datagram) Limits

2002-04-29 Thread Dar Scott
situations so I don't run across this, but I think for Internet applications, one might best follow Scott's advice. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: shell on OS X

2002-05-06 Thread Dar Scott
absolute paths. One experienced with AppleScript might use the Terminal program. Use with caution. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: mouse tracking blues

2002-07-09 Thread Dar Scott
On Tuesday, July 9, 2002, at 04:03 PM, jbv wrote: If anyone has a brilliant idea for a possible solution, Just a wild idea. Use a send cycle (or both a send cycle and mouse messages) to do the show. Start it with mouseDown and terminate it with mouseUp. Dar Scott (A Rev guy lurking

Re: Fw: application slowing down

2002-08-20 Thread Dar Scott
is started every 30 seconds, not that there is a 30 second delay from the end of one to the start of the next.) Since you have a customer on your back, I figured that is the way to go. I hope I got close to the mark. Dar Scott ___ metacard mailing list

Re: Fw: application slowing down

2002-08-20 Thread Dar Scott
incase there is something in there? Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: MC concurrency performance?

2002-09-09 Thread Dar Scott
. I think you should forget about efficiency under these conditions; the main thing is to keep your app in a reasonable state. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: MC concurrency performance?

2002-09-10 Thread Dar Scott
. Handle that the same way as other state transitions. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Network Blues

2002-10-16 Thread Dar Scott
. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: socketTimeoutInterval is NOT for connecting

2002-10-28 Thread Dar Scott
it. If it comes in first, it cleans things up. I assume a close socket will clean things up. An alternate strategy is to make very little dependent on the wait. In addition, perhaps a cancel button (if appropriate) can do the work of the send-in-time instead of the send-in-time. Dar Scott

Re: Tips for code porting to MC

2002-10-29 Thread Dar Scott
are implemented as arrays and some are implemented as string offsets. This might be better if strings are always rebuilt. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Testing on multiple platforms

2002-11-11 Thread Dar Scott
.) One might also consider an appropriate level of an MSDN subscription for the OS's if the license is right. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Testing on multiple platforms

2002-11-12 Thread Dar Scott
and keyboard and mouse. I haven't heard of this used for development. Maybe... Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: md5digest

2002-11-22 Thread Dar Scott
where authentication is needed but encryption is not: Send display message to a public billboard Launch doomsday device Get (and delete) messages already exposed to the Internet Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com

Re: Time display

2002-11-26 Thread Dar Scott
that use idle heavily tend to consume CPU cycles and get sluggish. BTW, if a more timely refresh is needed in a clock or other GUI display, the more repetitive send-cycle handler can check whether the data has changed and only update the control only if it has. Dar Scott

Re: launching on Wintel/inter-process communication

2002-12-03 Thread Dar Scott
. You might want to see if directory polling is faster. And watch out for the file being in use. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: launching on Wintel/inter-process communication

2002-12-03 Thread Dar Scott
. (Let's see; scribble under Gaskin in the rollodex, file-based IPC expert.) Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Answer File Command

2002-12-05 Thread Dar Scott
activity to lurking.) Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: associative arrays

2002-12-13 Thread Dar Scott
have been successful in this: do someHandler a b c where c is a handler local variable containing an array. You may want to experiment with value(). I hope you mention how you solve this. Dar Scott (a Revolution user sitting in the back row

Re: associative arrays

2002-12-13 Thread Dar Scott
about and converted to a string as needed, so should an array. This allows folks like me to use a functional programming style without it getting in the way of those who prefer to think of arrays as something to do with variables. Dar Scott (causing confusion in the back row

Re: Subject: Short reads in CGI applications: THE SCOTT'S CHAMPAGNE WAY !

2002-12-20 Thread Dar Scott
. Dar Scott (The voice in the back of the room.) ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Creating thumbnail

2003-01-09 Thread Dar Scott
perspective than the hole map. 3. Only show the local area in the thumbnail, the rest is a surprise. 4. Other? Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: [OT] invisible files on Windows

2003-01-10 Thread Dar Scott
On Friday, January 10, 2003, at 12:16 PM, Richard Gaskin wrote: Any other tips for preventing the copying of QT media from a CD? Store them as properties in an installer-like app that puts them on the user's system as needed? Dar Scott

Re: Message box field deleted

2003-01-12 Thread Dar Scott
, and you have a script somewhere that deletes a field (or else you manually delete a field) and since the message box is toplevel, the deletion happens there instead of in the stack that was intended. defaultStack? Dar Scott ___ metacard mailing

Re: broadcast?

2003-06-07 Thread Dar Scott
be cool. Dar Scott Mostly-Lurking Revolution User ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Passing an array to a function/handler

2003-06-11 Thread Dar Scott
whenever a string conversion occurs. This includes send. Dar Scott Revolution Lurker who needs arrays. Or, at least, a bonus. ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: How do you join lines in a container

2003-06-12 Thread Dar Scott
, it wouldn't a half year ago, so I suspect not now. You might want to check for that. You might want to look exactly at how the data to be combined looks. Are you sure about no | and numToChar(10) in the data? Dar Scott ___ metacard mailing list [EMAIL

Re: Files function and Convert command

2003-07-03 Thread Dar Scott
, 03 Jul 2003 12:35:32 -0400 Maybe that accounts for 4 out of those 5 hours. I'm just babbling out of turn. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Smaller than milliseconds?

2003-07-09 Thread Dar Scott
. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Smaller than milliseconds?

2003-07-10 Thread Dar Scott
are you using? ;-) Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Smaller than milliseconds?

2003-07-10 Thread Dar Scott
, the microseconds in OS X (and, it seems from Ray's comments, Mac OS 9.2) are handy for timing operations when using a repeat loop is awkward or otherwise inappropriate. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman

Cross-platform fonts

2003-07-10 Thread Dar Scott
with Revolution 3.0. ;-) Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Smaller than milliseconds?

2003-07-10 Thread Dar Scott
. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Smaller than milliseconds?

2003-07-10 Thread Dar Scott
On Thursday, July 10, 2003, at 04:24 PM, Dar Scott wrote: A headache, from looking at all those digits OK, this has less digits. But this is better. The first call to long seconds or long milliseconds is thrown away on this one. It takes longer for some reason. on mouseUp set

Re: Smaller than milliseconds?

2003-07-10 Thread Dar Scott
estimate of predictability. If we are really seeing only 1 ms on XP, then you have less bits to harvest and it will take you longer to get enough for a seed; save 'em up. Dar Scott ** Dar Scott Consulting Programming Services

Re: Smaller than milliseconds

2003-07-11 Thread Dar Scott
on the same clock. However, because there is a lot going on in OS that can add randomness, such as communications interrupts, fan control interrupts or whatever, there will be some. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http

Re: Anomalies

2003-07-11 Thread Dar Scott
or built-in. It is my opinion that this is one of those cases in which you bend to the product and not the other way around. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Anomalies

2003-07-11 Thread Dar Scott
of 0 In that case, 0 fits right in. You can use this function, if this is the behavior you want: function random0up n return random(n+1)-1 end random0up I hope this helps. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com

Re: Smaller than milliseconds?

2003-07-11 Thread Dar Scott
/9 microsecond. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Style question: returning error values from functions

2003-07-12 Thread Dar Scott
with throw? The value of functions is that you can use them in expressions. If you have to check after each use, then you lose the benefit. That makes #2 (throw) with perhaps #4 (data checking beforehand) more interesting. Dar Scott

Re: Style question: returning error values from functions

2003-07-13 Thread Dar Scott
. It would handle the sugar coating for problems like passing data with nulls. In many cases it would do most of the work and use the external for getting to OS services. In this case, the glue library can throw for its own work and then throw for external errors flagged in globals. Dar Scott

Re: [OT] DLL Handles

2003-07-14 Thread Dar Scott
and not the DLL itself. I'd guess you'd want to close it once at the end. It probably makes the query once and then gives you pieces based on the handle and either the next position or an index. My wild guess. Dar Scott ___ metacard mailing list [EMAIL

Re: Controlling/comunicating w/ USB devices

2003-07-17 Thread Dar Scott
in opening a serial port on a usb device, I can tell you more. Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Controlling/comunicating w/ USB devices

2003-07-18 Thread Dar Scott
, you might need to set up some network communications to get control to the right one. That sure looks like a lot of work. Dar Scott Dar Scott Consultinghttp://www.swcp.com/dsc/Programming Services

Serial (was Controlling/comunicating...)

2003-07-18 Thread Dar Scott
it to simple dialogs. I use only read until empty. Basic handshaking control works. (No USB testing, yet.) Linux I haven't tested any yet, but I understand serialControlString is now implemented. Dar Scott Dar Scott

Re: Multiple LAN cards mc server apps

2003-08-03 Thread Dar Scott
into exactly the same problem. It would be nice to be more specific in the listen. Perhaps the ability to optionally specify the IP address would do it. (And at the same time allow a connectionID to differentiate TCP listening from UDP listening in openSockets().) Dar Scott

Re: Script Limits

2003-08-07 Thread Dar Scott
no sense. Dar Scott I hear I'm part Scottish. I think I'm probably related to St. Patrick and Adam Smith and some of those guys portrayed in the movies wearing blue. And I shout Freedom! whenever I'm tortured. (OK, Patrick was Roman-Scottish and lived mostly in Ireland, but I still claim him

Re: Script Limits

2003-08-09 Thread Dar Scott
of Kevin's motives there. I agree that this news along with licensing changes can make one wonder about the future. Dar Scott kibitzing rev user ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Script Limits vs dynamic programming

2003-08-14 Thread Dar Scott
. It is the player that is handicapped to license or don't set the script. Or am I completely missing your point? Dar Scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: Script Limits

2003-08-14 Thread Dar Scott
with the 10 line limit. It is not clear to me what the 'do' limit will be. I expect it will remain at 10 or increase, but we will have to wait and see. Dar Scott Dar Scott Consultinghttp://www.swcp.com/dsc

Re: A task for Binary decode?

2003-08-14 Thread Dar Scott
. Those should be removed before the format() is applied. The binary data is then available for use as binary as a whole. If parts are needed, then binaryDecode() can be used, but if not, then it will not be needed. Dar Scott Dar Scott Consulting

MC vs LabVIEW (was Passing keypress messages to other applications)

2003-08-18 Thread Dar Scott
-like capability using Revolution where I get all platforms (with the level I bought). Dar Scott Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services