classic file paths

2005-09-01 Thread Jeffrey Reynolds
Hi, I have not been able to figure out what a kosher file path should be for rev 251 macOS apps when they are running in classic. I have even tried to use the answer file dialog to grab the path for a jpg then use the resulting path to set the file path for an image object, but it just wont

Re: problem waiting - spellchecker

2005-09-01 Thread xbury . cs
Hi everyone I've advanced quite a lot in the spell checker BUT the wait until [condition] with messages still gives me lots of troubles. It works usually the first time, maybe a second time, but it definitely locks up after 2-4 loops... By locking up, i mean that it doesn't seem to get

Re: Darwin engine and AppleScript in CGI's?

2005-09-01 Thread david bovill
Super (and thanks :) On 31 Aug 2005, at 18:21, Mark Waddingham wrote: Therefore, when looking for what is available in the Darwin engine, look in the documentation for what is supported by UNIX/Linux, rather than OS X. Also AppleScript under OSX and Apache does not seem to work as

Re: Darwin engine and AppleScript in CGI's?

2005-09-01 Thread david bovill
Can't get this to work at all this end - Darwin engine works fine except for alternateLanguage support - dragging my shiny new licensed engine (same name permissions - but only 1.9mb instead of 2.6 for Darwin) - gives me internal server errors and INIT_Processeses(), could not

Application Folder

2005-09-01 Thread Scott Kane - Reptile Software Consultant
Hi folks, I know this has been asked thousands of times and I have searched the list archives, but I just get more and more confused. What I'm needing to know is how to get the directory (folder) that the stand-alone is in. In Delphi it is: Application.ExeName(ParamStr 0). That returns the

Re: Application Folder

2005-09-01 Thread Nicolas Cueto
Hello, If you want to learn on your own, then have a look in the documentation under directory (a.k.a., defaultFolder). But if you're just/also after a cut-and-paste solution for finding the directory of a stack/stand-alone -- especially a solution that works whether or not your working in the

RE: Application Folder

2005-09-01 Thread Scott Kane - Reptile Software Consultant
Hi Nicolas, Thank you for your reply. I tried this but got a host of errors. Where do you place this in your stack when you use it? I tried it in a button (just for convenience) - but do you use it somewhere else in the stack? Thanks Scott -Original Message- From: [EMAIL PROTECTED]

Re: Application Folder

2005-09-01 Thread Klaus Major
Hi Scott, Hi Nicolas, Thank you for your reply. I tried this but got a host of errors. Where do you place this in your stack when you use it? I tried it in a button (just for convenience) - but do you use it somewhere else in the stack? i recommend to put this into the preopenstack script

RE: Application Folder

2005-09-01 Thread Scott Kane - Reptile Software Consultant
G'day Klaus, i recommend to put this into the preopenstack script of your mainstack/standalone and then you could store it in a global variable or custom-property for later use. on preopenstack put the itemDel into tSavedDel set the itemDel to / get the effective

Re: problem waiting - spellchecker

2005-09-01 Thread David Burgun
Hi, Just at thought, but could you do something like this: In handler that you want to wait in: global gConditionFlag put false into gConditionFlag send CheckIfDone to this card in 10 ticks -- or a good value for the task global gConditionFlag on CheckIfDone if gConditionFlag = false then

Re: CGI Question

2005-09-01 Thread Gregory Lypny
Thank you for your responses, Jacqueline and Mark. Jacqueline, Setting the defaultStack did the trick. Of course, it will take a little while to get used to testing handlers in the use-stack-as- CGI style because (and this should have been obvious to me) information put into fields

Re: how to get the textfont of the clickchunk in an unlocked field ?

2005-09-01 Thread Langers Christian
Hello everybody (Eric, Jonathan, Ken), I used your suggestions and it just works fine Thanks, :-) Christian Le 31 août 05 à 20:53, Ken Ray a écrit : On 8/31/05 9:52 AM, Langers Christian [EMAIL PROTECTED] wrote: Well I wanted to be able to get the font name to be displayed

RE: Application Folder

2005-09-01 Thread Lynch, Jonathan
I have been doing this with just getting the filename, rather than the effective filename. Is there a potential problem with using the filename rather than the effective filename? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Kane - Reptile

Re: Application Folder

2005-09-01 Thread Eric Chatonet
Hi Lynch, As for a mainstack, it's does not make any difference. But for a substack, the fileName will return empty and the effective fileName the fileName of its mainStack :-) Best Regards from Paris, Eric Chatonet. Le 1 sept. 05 à 15:29, Lynch, Jonathan a écrit : I have been doing this

Re: problem waiting - spellchecker

2005-09-01 Thread xbury . cs
Dave Interesting idea... Adding more pending messages ;) I'll give this a try later... Thanks... Xavier [EMAIL PROTECTED] wrote on 01/09/2005 14:11:09: Hi, Just at thought, but could you do something like this: In handler that you want to wait in: global gConditionFlag put

RE: Application Folder

2005-09-01 Thread Lynch, Jonathan
Ah - thanks. For the way I have been using it, I am safe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chatonet Sent: Thursday, September 01, 2005 9:39 AM To: How to use Revolution Subject: Re: Application Folder Hi Lynch, As for a mainstack,

Re: Darwin engine and AppleScript in CGI's?

2005-09-01 Thread paolo mazza
Hi Andre, you wrote try pulling the executable out of MacOS X bundle and using it as the CGI engine . What do you mean exactly? Where is the executable in the MACOSX bundle? I tryed to move the Revolution file but I got an internal Server Error. You wrote : use it with the -ui

RE: modal stack Prompt

2005-09-01 Thread Peter T. Evensen
I have no problem with the message path. It just seem weird that the modal dialog appears over what ever stack handles a message that was sent to the dialog box (that it forgot to handle). It appears it was an openCard that I needed to trap. At 06:23 PM 8/31/2005, you wrote: It is

Re: Darwin engine and AppleScript in CGI's?

2005-09-01 Thread Mark Smith
Just a small word of warning to those copying the engine from the Revolution app bundle When I did this, the modification date of the Revolution bundle was changed to the time and date of the copy operation. Thereafter, double clicking on a .rev stack in the Finder would open it in the

Re: problem waiting - spellchecker

2005-09-01 Thread Jim Lyons
On Sep 1, 2005, at 10:16 AM, MisterX wrote: I've advanced quite a lot in the spell checker BUT the wait until [condition] with messages still gives me lots of troubles. Just wondering, since it's being unpredictable, does it make any difference if you do: repeat until [condition] wait

RE: modal stack Prompt

2005-09-01 Thread Lynch, Jonathan
Either way... You can trap the openstack handler in each substack, or you can put this line at the top of the openstack handler in your mainstack: If the short name of the owner of the target the short name of this stack then exit openstack -Original Message- From: [EMAIL PROTECTED]

RE: problem waiting - spellchecker

2005-09-01 Thread MisterX
Jim hum good, no, bad idea... It sure will spike the cpu... Not the point... ;) see my next msg ;) cheers Xav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Lyons Sent: Thursday, September 01, 2005 17:33 To:

RE: problem waiting - spellchecker

2005-09-01 Thread MisterX
Dave, After some logical thoughts, this wouldn't work. Maybe it could... But is it realistic to make a simple process more complicated? repeat... ... put wait into xosdictionary[current] --put the waitdepth -- always 1 --if the waitdepth 2 then wait until xosdictionary[current] =

RE: problem waiting - spellchecker

2005-09-01 Thread Lynch, Jonathan
I know I am asking an ignorant question here, but... Is there no way to accomplish your goal by using a modal stack for user input? This would automatically block the user from doing anything else until the modal stack is closed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

right button trick time

2005-09-01 Thread MisterX
What do you know!!! You can pop a context menu on text i just found out!!! Just as i finished making mine work! big pet-peeve in the another-win32-gui-issue department i tried to tell Kevin about a year ago. And what do you know? It's well hidden! In browser mode, selecting text:

Will AppleEvent Queue?

2005-09-01 Thread Andre Garzia
Hi Folks, I'd like to know what happens if a application send tons of appleevents to a revolution stack, will the events queue, will they timeout and die, will they simply DDoS... For example if I use MacHTTP as a server and Rev as an ACGI and my server receives lots of connections and

revCopyFile Command

2005-09-01 Thread Gregory Lypny
Hello Everyone, I've just been playing with the revCopyFile command, trying to create a simple backup routine for a project. It looks like the command does nothing under OS X if a copy of the file is already in the new location; it doesn't overwrite the copy or save the new copy

Re: problem waiting - spellchecker

2005-09-01 Thread Dave Cragg
On 1 Sep 2005, at 17:20, MisterX wrote: repeat... ... put wait into xosdictionary[current] --put the waitdepth -- always 1 --if the waitdepth 2 then wait until xosdictionary[current] = continue with messages -- else skip... poor idea... --end if ... end repeat then, any

Re: problem waiting - spellchecker

2005-09-01 Thread Chipp Walters
X, Why don't you release Version 1 as a modal implementation, then release the non-modal version later? That's what I would do. -Chipp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Missing Data

2005-09-01 Thread Camm29
Help ! I'm using Open file COM1: read from file COM1: until empty put it into Received Close file COM1: If the hardware i'm talking to on RS232 is set to echo sent commands it works fine and i get all the data. If i set the hardware not to echo sent commands then most of the data is missing

Darwin Engine

2005-09-01 Thread Gregory Lypny
Hello everyone, Is there a Darwin engine more recent than Friday, April 18, 2003? If so, where can I get it? I've scoured the Runtime Revolution web site but can find no mention of CGI engines. Regards, Greg ___ use-revolution mailing

RE: how to download a folder from a ftp server ?

2005-09-01 Thread Lynch, Jonathan
Has anyone here ever seen a situation where, if you copy an image from one stack to another in a script, then then image in the new stack acts kind of weird. When I do this, if I go to resize the new stack, the image in the new stack flickers and redraws. If I select the image in the new stack

Flickering image question

2005-09-01 Thread Lynch, Jonathan
Has anyone here ever seen a situation where, if you copy an image from one stack to another in a script, then then image in the new stack acts kind of weird. When I do this, if I go to resize the new stack, the image in the new stack flickers and redraws. If I select the image in the new stack

how to download a folder from a ftp server ?

2005-09-01 Thread Langers Christian
hello all, is it possible to download a folder with all of its content (files and subfolders) with Revolution ? If yes, how ? Thanks in advance, Christian from Luxembourg ___ use-revolution mailing list use-revolution@lists.runrev.com Please

Re: Arrays in Revolution

2005-09-01 Thread Ken Ray
On 8/31/05 9:32 PM, Ben Fisher [EMAIL PROTECTED] wrote: I just wrote a cool library for working with arrays and matrices. Even if you don't use arrays too often, I encourage you to check it out. It has useful functions like Push, and its split and join functions don't mess with your strings

Re: Transparent Images

2005-09-01 Thread Judy Perry
And doesn't the shareware product GraphicConverter do this as well? www.lemkesoft.de Mac only, though... Judy On Fri, 26 Aug 2005, Devin Asay wrote: If you're on Mac OS X or Classic there's also a little-known way of using the Paint Tools paint bucket tool to fill an area with transparent

custom icons-- ?

2005-09-01 Thread Rich Lague
I’m trying to put a custom icon on an app I have made for Mac X and Windows. I made an icon in Iconographer X 2.5 and selected it in standalone settings dialog, but I still ended up with a generic icon on my app. I then carefully read the directions for Iconographer. It says that you still

Re: custom icons-- ?

2005-09-01 Thread Sarah Reichelt
I’m trying to put a custom icon on an app I have made for Mac X and Windows. I made an icon in Iconographer X 2.5 and selected it in standalone settings dialog, but I still ended up with a generic icon on my app. There is a problem with Rev 2.6 and OS X where the app when first built only

Re: Sorting Lines by Item

2005-09-01 Thread Mark Smith
From the docs: -- The sort command is a stable sort. This means that if the sortKey for two cards is the same, sorting does not change their order, so you can do two successive sorts to create subcategories within the major sort categories. For example, to sort the cards of a stack by ZIP

Re: Sorting Lines by Item

2005-09-01 Thread Mark Smith
sorry, that should have been: sort lines of fld dataField by item 4 of each sort lines of fld dataField by item 3 of each sort lines of fld dataField by item 2 of each On 2 Sep 2005, at 00:25, Mark Smith wrote: From the docs: -- The sort command is a stable sort. This means that if the

Re: Sorting Lines by Item

2005-09-01 Thread Robert Brenstein
I see that there is the command Sort lines of field DataField by item 2 What would I do to have the lines sorted by item 2,3 and 4 in that order? Sort lines of field DataField by item 2 to 4 of each ___ use-revolution mailing list

Re: Application Folder

2005-09-01 Thread Sivakatirswami
Yes there are potential problems in using filename in fact I just hit on this yesterday. A substack has no filename property. Thus if you query that property in a preOpenStack handler in the main stack and poke it into a global, when you open a substack it will insert empty into the

RE: problem waiting - spellchecker

2005-09-01 Thread MisterX
Woah cool the DarFunction! Some Interactivity seems to be showing handy thanks to the DarFunction in this waiting-room case though! More than i saw before... the seconds ticked but... But even though i tried it still worked once and then no more... It just hanged. The message wouldn't budge.

RE: problem waiting - spellchecker

2005-09-01 Thread MisterX
Hi Chipp, Trouble is that this works even in non-palette mode... It's not the stack mode that's causing troubles... I should release something that works this weekend... Thanks to Dar ;) cheers Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: Choppy video?

2005-09-01 Thread Scott Rossi
Recently, Alan Simon wrote: I am in the process of writing an application that displays AVI video loops, each a second or two in duration. When the video plays back, it appears that some of the frames are being skipped, and I get a choppy appearance. The playback machine is a 3 GHz

Re: classic file paths

2005-09-01 Thread Jeanne A. E. DeVoto
At 3:03 AM -0400 9/1/2005, Jeffrey Reynolds wrote: I guess its a bit moot since i will be having an osx version, so wont have to have an macos running under classic, but I would like to know the file path structure is for my own edification. There's some variation between OS X and Classic,