Re: socketTimeoutInterval is NOT for connecting

2002-10-29 Thread Dave Cragg
At 5:19 pm -0800 28/10/02, RCS wrote: I use 'socketTimeoutInterval' quite often...but that is for reading and writing to a socket that is already open. I am looking for a timeout setting for 'connecting' to a socket. If I use 'open socket' to connect to a device that is either offline (or

Drag'n Drop with MC 25a6

2002-10-29 Thread Dominique
Tested the drag'n drop capabilites of M 25a6 with my Mac OS 8.6 system. When dragging a file icon onto a field, got that file path in the field. When dragging some text from a word processor: nothing / or a number of hieroglyphs [according to the syntax used] ;-) -- Regards, (-8 Dominique

Tips for code porting to MC

2002-10-29 Thread xbury . cs
Hi Guys, Im porting a rather large neural network (NN) program written in C++ to Metacard to do some stats... Im looking for tips regarding porting variable redirection (pointers and pointers to pointers) and c-style struct variables. The key to porting these is speed as NN require speed and

Re: Tips for code porting to MC

2002-10-29 Thread Dar Scott
On Tuesday, October 29, 2002, at 08:18 AM, [EMAIL PROTECTED] wrote: Im looking for tips regarding porting variable redirection (pointers and pointers to pointers) and c-style struct variables. I wouldn't ignore arrays, but I have been considering substructure in strings. MC stings are byte

Re: Tips for code porting to MC

2002-10-29 Thread Pierre Sahores
[EMAIL PROTECTED] wrote: Hi Guys, Im porting a rather large neural network (NN) program written in C++ to Metacard to do some stats... Im looking for tips regarding porting variable redirection (pointers and pointers to pointers) and c-style struct variables. The key to porting these

Copying OS X apps

2002-10-29 Thread J. Landman Gay
Has anyone figured out how to copy a Mac OS X application? The usual way, copying the data fork and the resource fork, doesn't seem to work. Actually, they don't even have resource forks. The bundle structure seems to be the culprit. I tried copying each of these:

Re: Copying OS X apps

2002-10-29 Thread Pierre Sahores
J. Landman Gay a écrit : Has anyone figured out how to copy a Mac OS X application? The usual way, copying the data fork and the resource fork, doesn't seem to work. Actually, they don't even have resource forks. The bundle structure seems to be the culprit. I tried copying each of these:

Re: Copying OS X apps

2002-10-29 Thread J. Landman Gay
On 10/29/02 4:51 PM, Pierre Sahores wrote: Did you try this in a terminal ? cp -R /theselectedpath/Ressources/ /thedestinationpath/Ressources/ -R is the recursive option. Sorry, I should have been more clear. I need to copy the application in a script. For most files, I can use: put url

Re: Copying OS X apps

2002-10-29 Thread Ken Ray
Jacque, I use this in a program I'm working on right now. You can't use Terminal as it doesn't copy it properly (for some reason). You need to use applescript: tell application Finder copy filePath - Original Message - From: J. Landman Gay [EMAIL PROTECTED] To: metacard list [EMAIL

Re: Copying OS X apps

2002-10-29 Thread Ken Ray
Sorry about that... I was saying you need to use applescript (and don't forget about use colon-delimited paths). Here's the code I use... note that this works only for the boot volume and not for other volumes (because non-boot volumes start with /Volumes/volName/): function CopyApp

unsubscribing

2002-10-29 Thread erik hansen
i have decided to move to RunRev. they have some MIDI action over there and MC is really a little over my head... so far! thanks for the assistance. when i get handy with cgi socket array url concerns, i can always return. right now i am trying to get a startup handler going... all the best.

timeout (or 'force-quit') for 'open socket' needed

2002-10-29 Thread RCS
More specifically, I would like to 'force-quit' (from a script) a request to open a socket. I can get the effect I want by doing a 'Control-Period', but that does not work from a script. It seems like you do have the control from your engine to abandon this OS request...I would just like to be

Re: Detect ResizeStack completion?

2002-10-29 Thread David Epstein
Thanks for the replies to my question: Has anyone found a good way to detect the COMPLETION of a stack's resizing? It now appears that Mac and Windows responses to resizeStack are different. Scott Rossi suggested: Check a variable state, not the mouse state. on mouseDown set the

Re: Copying OS X apps

2002-10-29 Thread J. Landman Gay
you need to use applescript (and don't forget about use colon-delimited paths). Thanks Ken, that helps a lot -- and I would have forgotten about the colons if you hadn't mentioned it. Just knowing I need to use AppleScript saved me hours. I haven't tried it in MetaCard yet, but in the Script

Re: metacard digest, Vol 1 #377 - 9 msgs

2002-10-29 Thread Mark Luetzelschwab
Hi Guys, Im porting a rather large neural network (NN) program written in C++ to Metacard to do some stats... Im looking for tips regarding porting variable redirection (pointers and pointers to pointers) and c-style struct variables. The key to porting these is speed as NN require speed and

Re: Copying OS X apps

2002-10-29 Thread Ken Ray
Thanks, Jacque... I hadn't thought of providing the destPath with the duplicate file command - a lot easier than setting the name of the result. Thanks! I'll update my scripts... ;-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original

unsubscribe me from Metacard list

2002-10-29 Thread erik hansen
unsubscribe me from Metacard list = [EMAIL PROTECTED]http://www.erikhansen.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ___ metacard mailing list [EMAIL