Re: How to add Database Library to CGI engine?

2004-08-02 Thread Ken Ray
On 8/2/04 4:36 PM, "Andre Garzia" <[EMAIL PROTECTED]> wrote:

> Hi Folks,
> 
> Uh... my MC engine for Linux is failing on revOpenDatabase, I assume
> this is due to a lack of the library itself for the error is like
> handler unknown... is there any trick to add DB support to a CGI?
> Man... I should know better...

Andre, how about downloading and connecting to the Valentina DB externals
directly (i.e. attach them to a stack which you open from the CGI to make DB
calls)?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: "playStarted" message - bad docs or unsupported feature?

2004-08-02 Thread Phil Davis
Thanks. I suspected the same, because the message seems to work in all cases
on at least Win32 & MacOSX.

Phil


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of J. Landman
> Gay
> Sent: Monday, August 02, 2004 2:48 PM
> To: How to use Revolution
> Subject: Re: "playStarted" message - bad docs or unsupported feature?
>
>
> On 8/2/04 4:19 PM, Phil Davis wrote:
>
> > Can someone please clarify this for everyone (including me):
> >
> > When a player starts, Rev sends a "playStarted" message. However, there
> > is no "playStarted" entry in the docs. How come?
> >
> > Is this because:
> > 1) the message was overlooked when docs were created, or
> > 2) "playStarted" is an unsupported message?
>
> The first, I think. It's a standard message, and it looks like an
> inadvertent omission in the docs.
>
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: How to see if player is "done"?

2004-08-02 Thread Phil Davis
Jacque, Trevor, Scott -

Thanks for all the great feedback!

Phil

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of J. Landman
> Gay
> Sent: Monday, August 02, 2004 2:46 PM
> To: How to use Revolution
> Subject: Re: How to see if player is "done"?
> 
> 
> On 8/2/04 4:08 PM, Phil Davis wrote:
> 
> > Hi List -
> > 
> > Some context:
> > 
> > When using VIDEOCLIPS (embedded movies), we have two language features 
> > available that help us detect whether a clip is still playing:
> >   - the "movie" function
> >   - the "playStopped" message
> > 
> > When using PLAYERS to play movies (referenced files), we 
> apparently have 
> > only one such feature available:
> >   - the "playStopped" message
> 
> You should be able to use all the messages, regardless of where the 
> actual movie file is stored. The Player object acts the same regardless 
> (or it is supposed to.) I have an app that loads QT movies from disk and 
> it uses all the standard Player messages.
> 
> 
> > My questions:
> > 
> > 1) Is "playStopped" truly the only non-workaround way you can 
> detect the 
> > current 'play' status of a player?
> 
> If you aren't getting this message, file a bug report. It got broken in 
> the past, then it got fixed, then it got broken and fixed again, and now 
> I'm not sure what its status is (but I thought it was okay now.)
> 
> If you just need to see if the movie is running or not, then check the 
> paused property, as others suggested.
> 
> > 
> > 2) If so, what is your most reliable workaround way of detecting this?
> 
> In addition to the other suggestions, another way is to set the 
> callbacks of a movie. I've used these in the past, setting the callback 
> time to the duration of the movie. In effect, it creates my own custom 
> "playStopped" message.
> 
> 
> -- 
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Advise on enterprize application + clustering

2004-08-02 Thread MisterX
This is getting interesting... A bit of everything to solve
your problem (x's famous howitzer approach). The last part
may be even more interesting than the first. Remember that
enterprise means also redundancy and zero-downtime ;)

Unfortunately there is some risks of lock ups if not done
carefully... But here are 3 things you could try:

1)

In a three tiered cluster strategy, mentioned in a clustering
class I had recently, there were three actors

  client -> server1 -> server2

  client -> server2 is not possible because of the firewall.

  but server1 -> server2 is fine and client -> server1 is ok2

  if client cannot use sql but can use client1's ports,
  and assuming client1 and client2 can do the sql bit...

  then you need a port configurable client server networking
  protocol.

  in brief:
  RRclient -> RR on Server -> SQLserver

  between RRclient and RRserver you use whatever protocol (80!)
  Best is to have your client ask their network administrator
  to see what is allowed and for what purpose.

  If you saw the forms we have to fill in for these requests
  at my office you would scream!

2)

For the clustering part now... For a redundant server...
  but you can have more than one server also...

  Run two instances of RR. Named RRServer1 and RRS2.
  Now only one application must work with the port communication
  at the time but you can imagine either that one is locked up,
  not responding, or working hard. It would be nice to have RR2
  take over the next client's server call...

  What you do, is create a temporary file called rr1alive where
  you write a frequent log - the frequency is the timeout for RR2
  to kick and start working.

  There's the case where the RR1alive file is locked by the RR1,
  which should be working but which should be closing the file.

  (is there a FileLocked(filepath) function in rr?)
  You can use the file's date from the extended files function to
  see the date anyway.

  So if there is a timeout trying to read that file, RR1 must be
  locked. Terminate the process RR1. Relaunch RR1 and give it the
  hand when you finished the current client processing.

  Note: usage of a different log for operations than the alivelog
  is worth the trouble. You could keep a log opened in the case of
  a processing but the alivelog should be kept closed to see when
  the last alive was logged to prevent a double server taking parts
  each of the same client's transactions (this can be prevented ez).

  Since transactions with SQL could take a while and queue up clients
  you could imagine that another RRx takes over while the other
  apps finish their transactions.

3)
  The cherry on the cake

  Now, if RunRev implemented threading into RR for 3.0, we would have
  this process written into just one server application. It's one
  thing that differentiates Java from RR... BUT wait a millisecond,
  requesting web urls is threaded and could be used also as a
  transaction protocol for any client over port 80 couldn't it?

  If well formed, im sure you can send xml or any data embeded into
  an client-side html-form request on good old port 80!
  Using mysqlmgr in html, you can send loads of sql data via a form
  to the server.

;)


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Andre
> Garzia
> Sent: Tuesday, August 03, 2004 00:08
> To: How to use Revolution
> Subject: Re: Advise on enterprize application.
>
>
>
> On Aug 2, 2004, at 6:51 PM, Mark Wieder wrote:
>
> > Andre-
> >
> > I'd have to agree with Trevor here that a multi-tiered approach is the
> > way to go. I think you'll have an easier time of it than trying to
> > stuff everything into a giant rev app (not to mention an easier time
> > doing maintenance in the long run).
> >
>
> Mark,
>
> Thanks! Already on that path! I just need to know how to make that
> database library work in the mc engine... it's not there...
>
> Andre
>
>
> > --
> > -Mark Wieder
> >  [EMAIL PROTECTED]
> >
> >
> --
> Andre Alves Garzia ð 2004
> Soap Dog Studios - BRAZIL
> http://studio.soapdog.org
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Learning space

2004-08-02 Thread Troy Rollins
On Aug 3, 2004, at 1:29 AM, Paul Arnott wrote:
Not being a programmer of any sort, Revolution has me fascinated, so 
I'm looking to learn wherever I can.
I've loaded the beta 2.5, when I read about the Learning Space and 
tutorials, but when I try to access the Learning Space I get a msg 
'Incompatible Channel. This channel cannot be run in this environment'
I'm running Win2000. Is this the problem?
Maybe. Buy a Mac. (Just kidding.)
The learning space is pretty "beta", don't expect much yet. There is 
plenty of other information to read up on in the meantime.

Incidentally, if you are truly new - I'd suggest downloading 2.2.1.  
Betas aren't for the feint of heart, you could easily get discouraged 
at beta behaviors.  ;-)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Mark Wieder
Richard-

Monday, August 2, 2004, 9:35:20 PM, you wrote:

RG> to resonate I add the request to Bugzilla.  This one seems only of
RG> interest to you and me, and it's a very minor concern so I haven't bothered.

Fair enough.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Learning space

2004-08-02 Thread Paul Arnott
Hi all,
Question from a complete newbie!!
Not being a programmer of any sort, Revolution has me fascinated, so I'm 
looking to learn wherever I can.
I've loaded the beta 2.5, when I read about the Learning Space and 
tutorials, but when I try to access the Learning Space I get a msg 
'Incompatible Channel. This channel cannot be run in this environment'
I'm running Win2000. Is this the problem?
Paul
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Callbacks

2004-08-02 Thread Troy Rollins
On Aug 3, 2004, at 12:20 AM, Barry Sieber wrote:
How are callbacks created? Does one type into the callbacks option 
screen (of the Property Inspector Window) when the quicktime movie is 
selected and enter the numbers and messages there? I have tried that, 
but upon typing them in and then selecting another option such as 
basic properties and then going back to the callback list, I see the 
callbacks are now gone. I have the callback handler on the card script 
so that when the message is tagged in the movie, the script for the 
message should display in the field I tell it to.
Well, you can use the property inspector, or you can set them through 
script.

From the Transcript dictionary -
set the callbacks of player "Do It!" to "2500,soundNotes"
The property inspector is sometimes odd. Try hitting tab while on the 
callbacks page. Sometimes that will "fix" them. The script method 
should work very reliably though.

Please help me establish callbacks to use in conjunction with 
quicktime playback of text/chapter tracks.
Here's hoping.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Richard Gaskin
Mark Wieder wrote:
Richard-
Monday, August 2, 2004, 4:15:46 PM, you wrote:
RG> Or maybe better, we could have a global property called something like
RG> "compatibilityErrors", which would throw exceptions for tokens that
RG> don't normally throw errors but aren't fully supported either.
I've been compiling a list of these bad boys. I take it you have one
of your own?
Bugzilla.
I usually float an idea here or on the Improve-Rev list, and if it seems 
to resonate I add the request to Bugzilla.  This one seems only of 
interest to you and me, and it's a very minor concern so I haven't bothered.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Crash on Standalone build - Help please

2004-08-02 Thread ron barber
Sorry Mark, I read right over that detail about OS 9. I'm not on 9 
right now, so I don't know either.
Ron

On Aug 3, 2004, at 12:46 PM, Mark Brownell wrote:
On Monday, August 2, 2004, at 08:40 PM, ron barber wrote:
The crash log is located in Library/logs/crash reporter
There is no Library folder in Rev 2.2.1 for MacOS 9
Mark
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.5 search documentation not implemented yet?

2004-08-02 Thread Troy Rollins
On Aug 2, 2004, at 11:37 PM, Sannyasin Sivakatirswami wrote:
What about the "dictionary" which was my favorite place to land 
previously... Now if I click on "dictionary" icon above in the 
documentation window... nothing happens.
I think I've seen this. Try putting selecting dictionary, putting your 
cursor in the search field, and hit enter.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Crash on Standalone build - Help please

2004-08-02 Thread Monte Goulding
Ah.. I think this is one I've recently found and fixed. A temporary
workaround would be to set the visible of the mainstack to true. The fix
will be in Beta 2 of 2.5.

Cheers

--
  Monte Goulding - [EMAIL PROTECTED]
  Sweat Technologies

  InstallGadget - How To Create An Installer In 10 Seconds
  http://www.sweattechnologies.com/InstallGadget


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of ron barber
>Sent: Tuesday, 3 August 2004 12:59 PM
>To: How to use Revolution
>Subject: Re: Crash on Standalone build - Help please
>
>
>Hi Monte
>
>thanks for the reply. The application has an invisible main stack
>palette and a visible sub-stack palette along with other substacks that
>open as needed.
>
>  It crashes during the standalone build. It ask if I want to save
>changes. Yes or no, the result is the same. In the 'yes' case, it saves
>changes, closes the window. Then the mainstack flashes open and closes,
>the visible substack opens and shortly thereafter, RR crashes.
>
>What else would be helpful to know?
>Ron
>
>On Aug 3, 2004, at 12:02 PM, Monte Goulding wrote:
>
>>
>> Can you give some more details. Is it crashing during the standalone
>> build
>> process or when you try to launch your standalone?
>>
>> Cheers
>>
>> --
>>   Monte Goulding - [EMAIL PROTECTED]
>>   Sweat Technologies
>>
>>   InstallGadget - How To Create An Installer In 10 Seconds
>>   http://www.sweattechnologies.com/InstallGadget
>>
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] Behalf Of ron
>>> barber
>>> Sent: Tuesday, 3 August 2004 12:17 PM
>>> To: How to use Revolution
>>> Subject: Crash on Standalone build - Help please
>>>
>>>
>>> Greetings
>>>
>>> Can someone tell me what this crash log is telling me? I am trying to
>>> build a standalone which in the past has built successfully. RR can
>>> build several other stacks into standalones successfully, but this
>>> stack crashes every time. Any help would be greatly appreciated.
>>>
>>> thanks
>>> Ron
>>> ==
>>>
>>> Date/Time:  2004-08-03 11:28:57 +0900
>>> OS Version: 10.3.4 (Build 7H63)
>>> Report Version: 2
>>>
>>> Command: Revolution
>>> Path:/Users/reb/Documents/MacSeisho dev/current build/Revolution
>>> 2.2.1/Revolution.app/Contents/MacOS/Revolution
>>> Version: 2.2.1 (2.2.1)
>>> PID: 742
>>> Thread:  0
>>>
>>> Exception:  EXC_BAD_ACCESS (0x0001)
>>> Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x066570c8
>>>
>>>
>>>
>>> ___
>>> use-revolution mailing list
>>> [EMAIL PROTECTED]
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>
>> ___
>> use-revolution mailing list
>> [EMAIL PROTECTED]
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.5 search documentation not implemented yet?

2004-08-02 Thread Sannyasin Sivakatirswami
What about the "dictionary" which was my favorite place to land 
previously... Now if I click on "dictionary" icon above in the 
documentation window... nothing happens.

On Aug 2, 2004, at 5:02 PM, Monte Goulding wrote:
There was an issue with the search option in 2.5b1. It's resolved now.
Cheers
--
  Monte Goulding - [EMAIL PROTECTED]
  Sweat Technologies
  InstallGadget - How To Create An Installer In 10 Seconds
  http://www.sweattechnologies.com/InstallGadget

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sannyasin
Sivakatirswami
Sent: Tuesday, 3 August 2004 10:00 AM
To: [EMAIL PROTECTED]
Subject: 2.5 search documentation not implemented yet?
2.5 beta 1
open documentation; switch to "search" enter "sound" --> no hits; 
enter
"record" --> no hits

??
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Crash on Standalone build - Help please

2004-08-02 Thread ron barber
Hi Mark, Sarah
I tried on 2.2 and on 2.2.1 with the same result.
The crash log is located in Library/logs/crash reporter
I am using Valentina external. This has not been a problem with 
previous builds.

I have tried various build locations.
I must have made some changes in the script that is tripping the SA 
builder up, but I can't find them yet.

Thanks
Ron
On Aug 3, 2004, at 12:26 PM, Mark Brownell wrote:
On Monday, August 2, 2004, at 08:02 PM, Monte Goulding wrote:
Can you give some more details. Is it crashing during the standalone 
build
process or when you try to launch your standalone?

Cheers
Hi Monte,
I had a problem building a Mac Classic build on a Mac 9.1 machine in 
Rev 2.2.1 so I brought it over to another Mac Classic 9.0 machine 
using Rev 2.2 and it built fine.

On Rev 2.2.1 it alerted this "There was an error while saving the 
standalone application"

I forgot how to look up the crashlogs or any other reporting that 
might clue me into why Rev 2.2.1 did not work but Rev 2.2 did.

Mark
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving and Talking

2004-08-02 Thread Sarah Reichelt
It sounds like the revSpeech bundle is being loaded when you build a 
standalone with all the stacks in a single file, but when you separate 
out the sub-stacks to make them writable, the revSpeech bundle isn't 
loading.

Which stack loads the bundle and is that stack in use? Here is a 
section from a routine that I use for a Mac OS X bundle - your path may 
vary:

on enableLibraries
  put the fileName of stack "Splash" into tFile
  set the itemDel to "/"
  delete last item of tFile
  set the externals of stack "Main" to tFile & 
"/externals/revspeech.bundle"
  start using stack "Main"
end enableLibraries	

The key is to make sure that whatever stack loads the speech is in use.
Cheers,
Sarah
On 2 Aug 2004, at 10:59 am, Greg Wills wrote:
Hi All
I am having trouble getting a standalone to do both these functions in 
the same app. What I want to do is allow the user to alter button 
names. The name of the button can then be used to speak the word. This 
works fine as a stack.

I can get the Distribution Builder to build a standalone that will 
save changes (button names).

I can get the Distribution Builder to build a standalone that will 
speak the button name.

BUT not in the same build.
I have tried combinations of settings, but don't seem to be able to 
get the standalone to be able to save changes and be able to use the 
revspeak function. Any thoughts?

I am using Rev 2.0.
cheers
Greg
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: When is the timescale of a player passed to Rev?

2004-08-02 Thread Sannyasin Sivakatirswami
please ignore this... duh... i forgot to declare the global in the 
second button.

On Aug 2, 2004, at 3:24 PM, Sannyasin Sivakatirswami wrote:
If I do this:
global gTimeScale
on mouseUp
  set the currentTime of player "theTape" to 0
  set the filename of player "theTape" to fld "soundFile"
  put the timescale of player "theTape" into gTimeScale
  start player "theTape"
  postTime
end mouseUp
the global gTimeScale
will have a value
If i quit Rev and then go back to the same stack and click a different 
button.

on mouseUp
  start player "theTape"
  set the currentTime of player "theTape" to fld "saveTime"
  put the timescale of player "theTape" into gTimeScale
  send postTime to this stack in 2 seconds
end mouseUp
gTimeScale is empty
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Mark Wieder
Richard-

Monday, August 2, 2004, 4:15:46 PM, you wrote:

RG> Or maybe better, we could have a global property called something like
RG> "compatibilityErrors", which would throw exceptions for tokens that
RG> don't normally throw errors but aren't fully supported either.

I've been compiling a list of these bad boys. I take it you have one
of your own?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Crash on Standalone build - Help please

2004-08-02 Thread Mark Brownell
On Monday, August 2, 2004, at 08:02 PM, Monte Goulding wrote:
Can you give some more details. Is it crashing during the standalone 
build
process or when you try to launch your standalone?

Cheers
Hi Monte,
I had a problem building a Mac Classic build on a Mac 9.1 machine in 
Rev 2.2.1 so I brought it over to another Mac Classic 9.0 machine using 
Rev 2.2 and it built fine.

On Rev 2.2.1 it alerted this "There was an error while saving the 
standalone application"

I forgot how to look up the crashlogs or any other reporting that might 
clue me into why Rev 2.2.1 did not work but Rev 2.2 did.

Mark
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Crash on Standalone build - Help please

2004-08-02 Thread ron barber
Hi Monte
thanks for the reply. The application has an invisible main stack 
palette and a visible sub-stack palette along with other substacks that 
open as needed.

 It crashes during the standalone build. It ask if I want to save 
changes. Yes or no, the result is the same. In the 'yes' case, it saves 
changes, closes the window. Then the mainstack flashes open and closes, 
the visible substack opens and shortly thereafter, RR crashes.

What else would be helpful to know?
Ron
On Aug 3, 2004, at 12:02 PM, Monte Goulding wrote:
Can you give some more details. Is it crashing during the standalone 
build
process or when you try to launch your standalone?

Cheers
--
  Monte Goulding - [EMAIL PROTECTED]
  Sweat Technologies
  InstallGadget - How To Create An Installer In 10 Seconds
  http://www.sweattechnologies.com/InstallGadget

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ron 
barber
Sent: Tuesday, 3 August 2004 12:17 PM
To: How to use Revolution
Subject: Crash on Standalone build - Help please

Greetings
Can someone tell me what this crash log is telling me? I am trying to
build a standalone which in the past has built successfully. RR can
build several other stacks into standalones successfully, but this
stack crashes every time. Any help would be greatly appreciated.
thanks
Ron
==
Date/Time:  2004-08-03 11:28:57 +0900
OS Version: 10.3.4 (Build 7H63)
Report Version: 2
Command: Revolution
Path:/Users/reb/Documents/MacSeisho dev/current build/Revolution
2.2.1/Revolution.app/Contents/MacOS/Revolution
Version: 2.2.1 (2.2.1)
PID: 742
Thread:  0
Exception:  EXC_BAD_ACCESS (0x0001)
Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x066570c8

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Crash on Standalone build - Help please

2004-08-02 Thread Sarah Reichelt
Where are you saving the build? The path shown in the crash log takes 
you right into the Revolution bundle. If you are trying to put your 
build there by mistake, that might be giving problems. Also, make sure 
your path is not too long - rev has problems with OS X if the full path 
has too many characters (I forget what the limit is), or if the final 
file name is more than 32 characters.

Apart from that, where do you get the crash - during build or when you 
run the standalone? How is your standalone structured? Are you using 
any externals?

Cheers,
Sarah
On 3 Aug 2004, at 12:45 pm, ron barber wrote:
Greetings
Can someone tell me what this crash log is telling me? I am trying to 
build a standalone which in the past has built successfully. RR can 
build several other stacks into standalones successfully, but this 
stack crashes every time. Any help would be greatly appreciated.

thanks
Ron
==
Date/Time:  2004-08-03 11:28:57 +0900
OS Version: 10.3.4 (Build 7H63)
Report Version: 2
Command: Revolution
Path:/Users/reb/Documents/MacSeisho dev/current build/Revolution 
2.2.1/Revolution.app/Contents/MacOS/Revolution
Version: 2.2.1 (2.2.1)
PID: 742
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x066570c8

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Crash on Standalone build - Help please

2004-08-02 Thread Monte Goulding

Can you give some more details. Is it crashing during the standalone build
process or when you try to launch your standalone?

Cheers

--
  Monte Goulding - [EMAIL PROTECTED]
  Sweat Technologies

  InstallGadget - How To Create An Installer In 10 Seconds
  http://www.sweattechnologies.com/InstallGadget


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of ron barber
>Sent: Tuesday, 3 August 2004 12:17 PM
>To: How to use Revolution
>Subject: Crash on Standalone build - Help please
>
>
>Greetings
>
>Can someone tell me what this crash log is telling me? I am trying to
>build a standalone which in the past has built successfully. RR can
>build several other stacks into standalones successfully, but this
>stack crashes every time. Any help would be greatly appreciated.
>
>thanks
>Ron
>==
>
>Date/Time:  2004-08-03 11:28:57 +0900
>OS Version: 10.3.4 (Build 7H63)
>Report Version: 2
>
>Command: Revolution
>Path:/Users/reb/Documents/MacSeisho dev/current build/Revolution
>2.2.1/Revolution.app/Contents/MacOS/Revolution
>Version: 2.2.1 (2.2.1)
>PID: 742
>Thread:  0
>
>Exception:  EXC_BAD_ACCESS (0x0001)
>Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x066570c8
>
>
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: 2.5 search documentation not implemented yet?

2004-08-02 Thread Monte Goulding
There was an issue with the search option in 2.5b1. It's resolved now.

Cheers

--
  Monte Goulding - [EMAIL PROTECTED]
  Sweat Technologies

  InstallGadget - How To Create An Installer In 10 Seconds
  http://www.sweattechnologies.com/InstallGadget


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Sannyasin
>Sivakatirswami
>Sent: Tuesday, 3 August 2004 10:00 AM
>To: [EMAIL PROTECTED]
>Subject: 2.5 search documentation not implemented yet?
>
>
>2.5 beta 1
>
>open documentation; switch to "search" enter "sound" --> no hits; enter 
>"record" --> no hits
>
>??
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Crash on Standalone build - Help please

2004-08-02 Thread ron barber
Greetings
Can someone tell me what this crash log is telling me? I am trying to 
build a standalone which in the past has built successfully. RR can 
build several other stacks into standalones successfully, but this 
stack crashes every time. Any help would be greatly appreciated.

thanks
Ron
==
Date/Time:  2004-08-03 11:28:57 +0900
OS Version: 10.3.4 (Build 7H63)
Report Version: 2
Command: Revolution
Path:/Users/reb/Documents/MacSeisho dev/current build/Revolution 
2.2.1/Revolution.app/Contents/MacOS/Revolution
Version: 2.2.1 (2.2.1)
PID: 742
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x066570c8

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.5 Beta 1 documentation

2004-08-02 Thread Richard Gaskin
Sannyasin Sivakatirswami wrote:
Should we assume the documentation is still a work in progress and not 
report all the anamolies we are experiencing (a dozen of problems at 
least) Frankly I don't have time to bugzilla things, so I'm not sure how 
to contribute without a more facile reporting option.
The latest copy of Ken's Revzilla is available at his site -- you can 
report bugs conveniently right from within Rev:


It's my understanding that if a release wears the "Beta" label it's good 
to submit bug reports for.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


When is the timescale of a player passed to Rev?

2004-08-02 Thread Sannyasin Sivakatirswami
If I do this:
global gTimeScale
on mouseUp
  set the currentTime of player "theTape" to 0
  set the filename of player "theTape" to fld "soundFile"
  put the timescale of player "theTape" into gTimeScale
  start player "theTape"
  postTime
end mouseUp
the global gTimeScale
will have a value
If i quit Rev and then go back to the same stack and click a different 
button.

on mouseUp
  start player "theTape"
  set the currentTime of player "theTape" to fld "saveTime"
  put the timescale of player "theTape" into gTimeScale
  send postTime to this stack in 2 seconds
end mouseUp
gTimeScale is empty
Looking through the current documentation I don't see any reference to 
when the properties are available, one would infer... but its just a 
guess, that the timescale property is only available at the moment the 
filename to the player is set.

insights?
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


2.5 Beta 1 documentation

2004-08-02 Thread Sannyasin Sivakatirswami
Should we assume the documentation is still a work in progress and not 
report all the anamolies we are experiencing (a dozen of problems at 
least) Frankly I don't have time to bugzilla things, so I'm not sure 
how to contribute without a more facile reporting option.

Anyway main problem is the search box and filter boxes do not return 
anything...or return a list of hits only a few moments later.

Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Installing PostGreSQL Driver for 2.5

2004-08-02 Thread Sannyasin Sivakatirswami
We note the following in the docs for 2.5
==
PostgreSQL:
A PostgreSQL database driver is included as part of the Revolution 
installation on Windows systems.

To download an appropriate PostgreSQL driver for OS X or Unix systems, 
visit the PostgreSQL web site at .
=

Ha Windows rules again! ;-(
Or possibly, it is open source and Mac that wins, meaning Rev doesn't 
have to do anything special to make it work, so they prefer you to get 
the

But not a big deal... just a bit lean for the untutored. Possibly a one 
line addition:

"After downloading the driver you should put it  .  That's 
all you need to do. OR
After that you will need to initialize the driver  by 

===
Note we do see
"libmySQL.dll"
in the top level of the revolution folder in the  OSX distribution. Do 
.dll files apply to the OSX context? I always thought they were Windows 
files?

Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


2.5 search documentation not implemented yet?

2004-08-02 Thread Sannyasin Sivakatirswami
2.5 beta 1
open documentation; switch to "search" enter "sound" --> no hits; enter 
"record" --> no hits

??
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Conductor & libiTunes for Rev Developers

2004-08-02 Thread Scott Rossi
Greetings Rev Developers:

After saying goodbye to the nice folks at the Rev Master's Summit and
spending many hours arguing with AppleScript, Tactile Media is happy to
announce a beta demo of Conductor, a Revolution stack that provides control
over virtually all playback features of Apple's iTunes music player on Mac
OS X.

Conductor contains the libiTunes library, a collection of 42 Transcript-like
commands and functions for controlling and retrieving data from iTunes.  We
encourage developers who have a need for CD/music control alongside Rev, and
those into skins and faces, to have a go at the demo and see how it
performs.  Download and information is available here:

  http://www.tactilemedia.com/conductor/

Please forward any questions/comments/problems off list.  Thanks in advance
for your participation and interest.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 4:26 PM, kee nethery wrote:
How about:
Get a list of all the attached volumes, names and sizes
See if the USB drive that you initialized is visible and see if it is 
the same size as what you configured it to be.
Then see that you are running from that volume.
Not fool proof but it's a start.
If you have a way to read a specific block on the drive, you could use 
that data to provide yet another check. Put a tiny 1K file on the 
drive, add your file to the drive. Delete the 1K file. It will look 
like there is just your drive but if they duplicate the whole thing to 
another USB key, that 1K blank space won't be there.
That sounds like a great idea.  Any suggestions on how to read a 
specific block on a drive?  Does Rev have a built in way to do this or 
would it require an external?

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread kee nethery
How about:
Get a list of all the attached volumes, names and sizes
See if the USB drive that you initialized is visible and see if it is 
the same size as what you configured it to be.
Then see that you are running from that volume.
Not fool proof but it's a start.
If you have a way to read a specific block on the drive, you could use 
that data to provide yet another check. Put a tiny 1K file on the 
drive, add your file to the drive. Delete the 1K file. It will look 
like there is just your drive but if they duplicate the whole thing to 
another USB key, that 1K blank space won't be there.
Kee


On Aug 2, 2004, at 3:59 PM, Trevor DeVore wrote:
On Aug 2, 2004, at 3:53 PM, Mark Wieder wrote:
Trevor-
Ah. So you only want to run if the app is running off the USB drive.
How about something simple:
if drive is removable (OS test) then
   write a text file to the drive
   if the write was successful then
  it's not a CDROM
   else
   somebody copied it to a CD
   end if
else
it's been copied to a hard disk
end if
I like simple.  that seems like it would work nicely Mark.
Thanks,
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Richard Gaskin
Mark Wieder wrote:
RG> My rule of thumb is to avoid tokens implemented "for compatibility".
RG> The old MC docs didn't even include any that weren't fully implemented,
RG> tucking them away into a note on compatibility with other tools.
I'm thinking these should all be deprecated and the SuperCard
compatibility stuff only activated if scAddressing is turned on, the
way the current HyperCard compatibility mode works with hcAddressing.
Or maybe better, we could have a global property called something like 
"compatibilityErrors", which would throw exceptions for tokens that 
don't normally throw errors but aren't fully supported either.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 Rev tools and more:  http://www.fourthworld.com/rev
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Mark Wieder
Richard-

Monday, August 2, 2004, 2:56:41 PM, you wrote:

RG> of course the VM in UNIX, including OS X, is stellar.  I've never had a
RG> low-memory condition in any OS other than Win95 (back when the machines
RG> shipped with barely enough to run the OS) and Mac OS 9.



RG> My rule of thumb is to avoid tokens implemented "for compatibility".
RG> The old MC docs didn't even include any that weren't fully implemented,
RG> tucking them away into a note on compatibility with other tools.

I'm thinking these should all be deprecated and the SuperCard
compatibility stuff only activated if scAddressing is turned on, the
way the current HyperCard compatibility mode works with hcAddressing.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Mark Wieder
Brian-

Monday, August 2, 2004, 2:20:04 PM, you wrote:

BY> Conclusion- I would stay way unless you want something specific on
BY> MacOS and can verify that it works.

Yep. I figured as much. Mind you, I'm not trying to use it - I just
came across it in the documentation and was wondering what the "half
implemented" thing was all about.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 3:53 PM, Mark Wieder wrote:
Trevor-
Ah. So you only want to run if the app is running off the USB drive.
How about something simple:
if drive is removable (OS test) then
   write a text file to the drive
   if the write was successful then
  it's not a CDROM
   else
   somebody copied it to a CD
   end if
else
it's been copied to a hard disk
end if
I like simple.  that seems like it would work nicely Mark.
Thanks,
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Mark Wieder
Trevor-

Ah. So you only want to run if the app is running off the USB drive.
How about something simple:

if drive is removable (OS test) then
   write a text file to the drive
   if the write was successful then
  it's not a CDROM
   else
   somebody copied it to a CD
   end if
else
it's been copied to a hard disk
end if

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "playStarted" message - bad docs or unsupported feature?

2004-08-02 Thread J. Landman Gay
On 8/2/04 4:19 PM, Phil Davis wrote:
Can someone please clarify this for everyone (including me):
When a player starts, Rev sends a "playStarted" message. However, there 
is no "playStarted" entry in the docs. How come?

Is this because:
1) the message was overlooked when docs were created, or
2) "playStarted" is an unsupported message?
The first, I think. It's a standard message, and it looks like an 
inadvertent omission in the docs.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to see if player is "done"?

2004-08-02 Thread J. Landman Gay
On 8/2/04 4:08 PM, Phil Davis wrote:
Hi List -
Some context:
When using VIDEOCLIPS (embedded movies), we have two language features 
available that help us detect whether a clip is still playing:
  - the "movie" function
  - the "playStopped" message

When using PLAYERS to play movies (referenced files), we apparently have 
only one such feature available:
  - the "playStopped" message
You should be able to use all the messages, regardless of where the 
actual movie file is stored. The Player object acts the same regardless 
(or it is supposed to.) I have an app that loads QT movies from disk and 
it uses all the standard Player messages.


My questions:
1) Is "playStopped" truly the only non-workaround way you can detect the 
current 'play' status of a player?
If you aren't getting this message, file a bug report. It got broken in 
the past, then it got fixed, then it got broken and fixed again, and now 
I'm not sure what its status is (but I thought it was okay now.)

If you just need to see if the movie is running or not, then check the 
paused property, as others suggested.

2) If so, what is your most reliable workaround way of detecting this?
In addition to the other suggestions, another way is to set the 
callbacks of a movie. I've used these in the past, setting the callback 
time to the duration of the movie. In effect, it creates my own custom 
"playStopped" message.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Andre Garzia
On Aug 2, 2004, at 7:46 PM, Alex Tweedly wrote:
It kinda hurts to even suggest this, but .
if you're using HTTP to send the query / get the response
and
if the server side is a simple CGI that receives an encoded version of 
the SQL query
and
responds with the data returned from mySQL
then
I'd be tempted to use PHP/mySQL on the server (at least for Beta)


Alex,
That's my first milestone! But there been time since I last programmed 
in PHP, actually more than three years, I don't trust my PHP skills 
anymore... I'll do exactly that but in Rev, then I'll try to refine the 
inteligence of the server, no point having a dumb server, clients are 
the ones made to be dumb...

Andre

-- Alex.
--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: File Format Will Change

2004-08-02 Thread Richard Gaskin
Sannyasin Sivakatirswami wrote:
We note in the What's New for 2.5 beta1
"The format of stack files has not changed between version 2.2 and 2.5 
Beta 1. This means
that you can open and use version 2.5 stack files in version 2.2, 
although features that
are new for 2.5 will not work in earlier versions.  Note that the file 
format will change
later during the beta cycle for 2.5."

I presume this means that
a) any standalone apps made with 2.2.1 that are meant to download and 
run other stacks from the web will not be able to run such stacks made 
by 2.5 after the file format change is implemented.

b) all such standalone apps would then need to be upgraded.
Anyone know what "later during the beta cycle for 2.5" means in terms of 
real time? One would presume "shortly... in a month or so, this quarter 
for sure."

If anyone can just confirm the above. that would help.
Following my premature alarmist note on the subject here, Kevin politely 
reminded us that he'll definitely call out in big bold type which beta 
build will change the format once it's available.

His inclusion of the note about the file format change in b1 was just a 
"heads up", much appreciated by those of us who depend on this thing for 
our daily bread.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 Rev tools and more:  http://www.fourthworld.com/rev
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Corruption from Images

2004-08-02 Thread Richard Gaskin
pkc wrote:
Hi Richard, thanks for that terrific essay. In principle I understand 
what you mean. How can a person tell if an "image object" is actually 
corrupting the stack?  I never got any corruption messages from 
Revolution, and never even thought of corruption until Ken found it. 
Revolution happily ran the stack in the IDE, built both the OS X and 
Windows apps without comment, and the OS X application runs fine. The 
only hint of trouble came when the Windows app had reached it 
destination and couldn't be opened. I wonder if there is any way to get 
a hint of impending trouble during the compilation or during the build?
Did you run the stackfile in the Win IDE?  When a standalone exhibits 
problems not evident in the Mac IDE, that's sometimes useful.

As for honing in on a corrupted object, first thing is to forget about 
corruption until the engine tells you a stack is corrupted.  ;)  Only 
after you run it in the IDE and it reports that it's corrupted is it 
worth going down that tedious road; in most other cases it's just a red 
herring that'll eat your time but not help you identify the actual cause 
of an issue.

But if the engine says a stack is corrupted, first check in the 
directory where the stack is located for a "`" copy (i.e., if your stack 
file is named "MyStack.rev" you'll likely see a stack named 
"~MyStack.rev").  This is a backup, which the engine makes automatically 
when you execute a save command. In 99% of cases where a stack is opened 
and the IDE reports that it's corrupted you'll find the automatic backup 
waiting for you, so you just toss the bad copy, remove the "~", and 
you're back in business with everything up to your last successful save.

In the very rare case where the engine will report that a file is 
corrupted and no "~" backup is available, the trick to finding the 
object giving you the trouble is like any other good problem solving: 
bisect the range of possibilities until you find it.

This assumes, of course, that you're able to open the file on at least 
one system. But if you can I would do this:

- Make a copy of the file.
- Delete half of the substacks.
- Try to open the file on the platform where the trouble
  was last reported.
If no error is reported then you know the offending object was in one of 
the deleted substacks.  If an error is reported then you know it's in 
one of the remaining substacks.

So then make another copy of the original file and try it again:  delete 
half of the suspect substacks.  Repeat this until you get down to the 
one containing the object which is causing the error.

Once you find the troublesome stack, the first thing I do is try 
deleting all of the image objects there.  If there is no problem then I 
can rule out image objects and focus on others.  If the problem goes 
away without the image objects then I've verified my hunch, and can go 
back to a fresh copy and delete just half of the image objects, and so 
on, until I get the one causing the issue.

Once the offending object is found -- and this is the most important 
step -- send the stack file to [EMAIL PROTECTED] with a report letting 
them know what you've found and what they'll need to do to see the 
error.  If you have the original image file that can also be very 
helpful, as the problem may be with something related to importing it or 
something in the image data itself, and having the original source image 
file will help them make that determination.

Fortunately this sort of thing is very, very rare.  If your experience 
is like mine you'll go another seven years without ever seeing another 
corrupted object. :)

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 Rev tools and more:  http://www.fourthworld.com/rev
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Alex Tweedly
At 19:08 02/08/2004 -0300, Andre Garzia wrote:
Mark,
Thanks! Already on that path! I just need to know how to make that 
database library work in the mc engine... it's not there...
It kinda hurts to even suggest this, but .
if you're using HTTP to send the query / get the response
and
if the server side is a simple CGI that receives an encoded version of the 
SQL query
and
responds with the data returned from mySQL
then
I'd be tempted to use PHP/mySQL on the server (at least for Beta)

-- Alex.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


since I am in Hell, let's all have fun... we might end with a case study.

2004-08-02 Thread Andre Garzia
Hi Folks,
If you've been tracking my emails latelly I am in hell. I was hired by 
an enterprize to create and app. I should deliver the first testing 
version tomorrow but they changed the spec at the last minute and now 
the app must work across firewalls and protected lans with fake 
unreachable ips. I am now rebuilding the whole thing from the scratch. 
Building a server side app that will interface with MySQL on the server 
and a Client app that will be nice and pretty (that's half done).

Since I feel masoquist and in need of some promotion (I am out of local 
TV for months now) I just created a Blog to record my steps building 
this app in the next 24hours. This way you all can share my pain and 
madness and laught as I go against the clock. I'll make this beta till 
9 AM tomorrow! I can post to blogs from inside the Rev IDE so I loose 
no time doing this and we can say we did the first Geek Code Reality 
WebShow. Also there are comment spots on the page so I hope people help 
me

We Brazilians think that just because you're in Hell it's no motive to 
spoil good fun or spectacle. If everything works out good, we should 
end with a nice diary and case study, how many languages you know makes 
easy to build client/server apps in 24h?

PS: This will be a beta and they know it, it's suppose to be in working 
final order in two weeks, but must be demoed to three branches across 
the net tomorrow...

the url for the blog is http://www.wecode.org/24hRush have fun!
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 2:56 PM, kee nethery wrote:
The goal of the OS is to make all drives appear exactly the same, as 
drives that are either writeable or not and otherwise, the apps 
running under that OS should not notice any differences between them.

What you are asking for is counter to what the OS is trying to do. 
Obviously the data is available. You'll note that Apple writes the 
system profiler and I'd guess that they probably have to modify it on 
a frequent basis to allow it to use undocumented calls to bypass what 
the OS is doing and provide you with the data that you desire when you 
are using system profiler. My guess is that someone else could write a 
similar piece of software but that they too would be constantly 
revising the various profiles in their software each time new hardware 
is released.

If I were you, I'd ask a question that every OS wants to answer rather 
than trying to ask a question about a detail that every OS tries to 
hide.

So lets step back. Why are you asking these questions? Perhaps you 
should instead, allow the user to select the drive they want? Perhaps 
you can do some educated guessing based upon read write times of a 
standard size file and based upon the relative size of various drives 
available to the system? Why do you care what kind of drive? If you 
are making assumptions about what you can do with a drive based upon 
what type it is, perhaps you should not do that because chances are 
good that your assumptions will be wrong for some percentage of your 
users. If you need to mark a drive, perhaps you let the user mark it 
by storing a file on it and instead of doing something with the USB 
flash drive, you do something with the drive that has the marker file?

On my system (a laptop) I have quite a few drives. The internal hard 
drive 37GB. A disk image that mounts onto the desktop that is actually 
stored on the laptop drive 500Mb. Two external firewire drives 15GB 
and 190GB. One USB flash drive 32MB and a disk image on it that is 5MB 
in size, and a USB digital camera 256MB. One DVD read/write 4GB which 
can also be a CD R/W. And then at various times a disk image that 
mirrors a remote FTP site.

Now if I was running your software, I don't think I'd want you to make 
any assumptions about the various drives on my system. I'd want to 
specify which drives you write or store onto and which drives you run 
from. For example, the 190GB is a backup and I don't want you to do 
anything to that drive even though it appears to be the main drive if 
you base that decision upon access speed and size.

Not knowing anything about what you are attempting to do, I urge you 
to consider alternate ways of accomplishing what you are attempting to 
accomplish that are in sync with what all OSes are trying to do. 
Trying to go against the OS is never a long term solution.
Thanks for the detailed response.  My reasons for knowing whether the 
drive my app is running off of is USB or some other format is that I am 
looking at different options for some light, non-intrusive, inexpensive 
copy protection for some training materials.  We may be deploying the 
materials on USB drives for some other reasons and if we do we want to 
limit ways in which the app could be copied to a hard disk or burned to 
a CD-ROM.  Right now I'm just looking for what information I will have 
available so I can see what options I have.

Thanks,
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Andre Garzia
On Aug 2, 2004, at 6:51 PM, Mark Wieder wrote:
Andre-
I'd have to agree with Trevor here that a multi-tiered approach is the
way to go. I think you'll have an easier time of it than trying to
stuff everything into a giant rev app (not to mention an easier time
doing maintenance in the long run).
Mark,
Thanks! Already on that path! I just need to know how to make that 
database library work in the mc engine... it's not there...

Andre

--
-Mark Wieder
 [EMAIL PROTECTED]

--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread kee nethery
Windows, I don't know, but on OS X maybe you might be able to get 
something
from System Profiler?
This looks promising.  Now, is there a command line tool that gives 
this info in OS X...
/usr/sbin/system_profiler
The goal of the OS is to make all drives appear exactly the same, as 
drives that are either writeable or not and otherwise, the apps running 
under that OS should not notice any differences between them.

What you are asking for is counter to what the OS is trying to do. 
Obviously the data is available. You'll note that Apple writes the 
system profiler and I'd guess that they probably have to modify it on a 
frequent basis to allow it to use undocumented calls to bypass what the 
OS is doing and provide you with the data that you desire when you are 
using system profiler. My guess is that someone else could write a 
similar piece of software but that they too would be constantly 
revising the various profiles in their software each time new hardware 
is released.

If I were you, I'd ask a question that every OS wants to answer rather 
than trying to ask a question about a detail that every OS tries to 
hide.

So lets step back. Why are you asking these questions? Perhaps you 
should instead, allow the user to select the drive they want? Perhaps 
you can do some educated guessing based upon read write times of a 
standard size file and based upon the relative size of various drives 
available to the system? Why do you care what kind of drive? If you are 
making assumptions about what you can do with a drive based upon what 
type it is, perhaps you should not do that because chances are good 
that your assumptions will be wrong for some percentage of your users. 
If you need to mark a drive, perhaps you let the user mark it by 
storing a file on it and instead of doing something with the USB flash 
drive, you do something with the drive that has the marker file?

On my system (a laptop) I have quite a few drives. The internal hard 
drive 37GB. A disk image that mounts onto the desktop that is actually 
stored on the laptop drive 500Mb. Two external firewire drives 15GB and 
190GB. One USB flash drive 32MB and a disk image on it that is 5MB in 
size, and a USB digital camera 256MB. One DVD read/write 4GB which can 
also be a CD R/W. And then at various times a disk image that mirrors a 
remote FTP site.

Now if I was running your software, I don't think I'd want you to make 
any assumptions about the various drives on my system. I'd want to 
specify which drives you write or store onto and which drives you run 
from. For example, the 190GB is a backup and I don't want you to do 
anything to that drive even though it appears to be the main drive if 
you base that decision upon access speed and size.

Not knowing anything about what you are attempting to do, I urge you to 
consider alternate ways of accomplishing what you are attempting to 
accomplish that are in sync with what all OSes are trying to do. Trying 
to go against the OS is never a long term solution.

Just my two cents and worth every penny you paid for it.
kee nethery
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Richard Gaskin
Mark Wieder wrote:
All-
Does anyone have any clues about the "hasMemory" function? In the
documentation I see:
Comments:
This function is only partially implemented, and may not return useful
values on some platforms. It is included in Transcript for
compatibility with imported SuperCard projects.
That alone would keep me from using it, but I'm curious about what
"partially implemented" means.
The MC docs refer to the hasMemory function as "implemented for 
SuperCard compatibility".  In my experience, "implemented for 
compatibility" means "implemented in such a way that it won't throw 
script errors even if it does nothing at all like what you expected."

In even blunter terms, "for compatibility" sometimes means the engine 
may lie to you by not throwing a script error when an expected behavior 
is not at all present.

For example, in SuperCard you can say "set the tool of window myWindow 
to pointer", and only the specified window has the pointer mode while 
all others remain governed by the more global "choose" command.

But in Transcript, "set the tool" is synonymous with "choose", so that 
all toplevel windows will have the same mode.  AFAIK it isn't currently 
possible to have multiple toplevel windows with different modes (though 
an even more flexible option is proposed in 
).

So if you're porting from SC and "set the tool" doesn't throw a script 
error, you may miss learning the essential fact that what your script is 
attempting, and being allowed to run, really isn't doing what you want.

How this comes down with the hasMemory function I couldn't tell you. 
But I can say that once you walk away from OS 9 I doubt you'll have 
memory issues.  Win32 has a pretty efficient virtual memory system, and 
of course the VM in UNIX, including OS X, is stellar.  I've never had a 
low-memory condition in any OS other than Win95 (back when the machines 
shipped with barely enough to run the OS) and Mac OS 9.

My rule of thumb is to avoid tokens implemented "for compatibility". 
The old MC docs didn't even include any that weren't fully implemented, 
tucking them away into a note on compatibility with other tools.

My clients and I have gone one step further:  we don't even build for OS 
9 anymore until someone requests it.  I know that's not an option in 
some markets, but thus far in our web publishing, medical, and 
qualitative analysis markets I haven't had a request for Classic yet.  I 
know that roughly half of Mac users are still running OS 9, but the 
number is tilting rapidly and most of those customers aren't the ones 
buying software.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Mark Wieder
Andre-

I'd have to agree with Trevor here that a multi-tiered approach is the
way to go. I think you'll have an easier time of it than trying to
stuff everything into a giant rev app (not to mention an easier time
doing maintenance in the long run).

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


File Format Will Change

2004-08-02 Thread Sannyasin Sivakatirswami
We note in the What's New for 2.5 beta1
"The format of stack files has not changed between version 2.2 and 2.5 
Beta 1. This means
that you can open and use version 2.5 stack files in version 2.2, 
although features that
are new for 2.5 will not work in earlier versions.  Note that the file 
format will change
later during the beta cycle for 2.5."

I presume this means that
a) any standalone apps made with 2.2.1 that are meant to download and 
run other stacks from the web will not be able to run such stacks made 
by 2.5 after the file format change is implemented.

b) all such standalone apps would then need to be upgraded.
Anyone know what "later during the beta cycle for 2.5" means in terms 
of real time? One would presume "shortly... in a month or so, this 
quarter for sure."

If anyone can just confirm the above. that would help.

Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to see if player is "done"?

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 2:38 PM, Scott Rossi wrote:
You know, I looked for a way of doing this a while ago and never found
it.  I remember thinking it was pretty silly that it wasn't available
and that is why I put it in the EnhancedQT external.
Dude -- you should have asked. :-)
That would have been too easy.
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to see if player is "done"?

2004-08-02 Thread Scott Rossi
Recently, "Trevor DeVore"  wrote:

>>> Is "playStopped" truly the only non-workaround way you can detect the
>>> current 'play' status of a player?
>> 
>> You can also test the paused of a player...
> 
> You know, I looked for a way of doing this a while ago and never found
> it.  I remember thinking it was pretty silly that it wasn't available
> and that is why I put it in the EnhancedQT external.

Dude -- you should have asked. :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


How to add Database Library to CGI engine?

2004-08-02 Thread Andre Garzia
Hi Folks,
Uh... my MC engine for Linux is failing on revOpenDatabase, I assume 
this is due to a lack of the library itself for the error is like 
handler unknown... is there any trick to add DB support to a CGI? 
Man... I should know better...

andre
--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to see if player is "done"?

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 2:21 PM, Scott Rossi wrote:
Recently, "Phil Davis"  wrote:
Is "playStopped" truly the only non-workaround way you can detect the
current 'play' status of a player?
You can also test the paused of a player...
You know, I looked for a way of doing this a while ago and never found 
it.  I remember thinking it was pretty silly that it wasn't available 
and that is why I put it in the EnhancedQT external.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Andre Garzia
On Aug 2, 2004, at 6:17 PM, Trevor DeVore wrote:
If you've already written the interface in Rev and depending on how 
separate your data fetching code is from your interface code then it 
should be a breeze.  I like to have data fetching functions which 
return arrays that I build the interface from so if I ever do need to 
change my data source I don't have to modify anything but the data 
acquisition library.

yes, it's pretty easy to change, almost everything was built by 
Database Query Builder, just dump the query and write your own.


Creating a good application interface using HTML will depress you.  If 
you want to do it right you will have all sorts of browser 
compatibility issues to deal with and it is difficult to mimic basic 
functionality available in a desktop app.  Writing an DB interface on 
the server shouldn't take too long.


I already begun to write a DB interface using LibCGI as my backend... 
but I think my engine is missing the database library for I received 
this error:
 Object: stack "libCGI"
Line: 1
Statement: -- --
Description: Function: error in source expression
Value: revOpenDatabase

Is there any trick to use MySQL with CGI using linux mc engine?
andre


--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Corruption from Images

2004-08-02 Thread pkc
Hi Richard, thanks for that terrific essay. In principle I understand 
what you mean. How can a person tell if an "image object" is actually 
corrupting the stack?  I never got any corruption messages from 
Revolution, and never even thought of corruption until Ken found it. 
Revolution happily ran the stack in the IDE, built both the OS X and 
Windows apps without comment, and the OS X application runs fine. 
The only hint of trouble came when the Windows app had reached it 
destination and couldn't be opened. I wonder if there is any way to 
get a hint of impending trouble during the compilation or during the 
build?

 It would indeed have been easier to just remove the objects, but it 
didn't kill me to rewrite the stack either.  Whatever those wacky 
image objects were didn't get included.

I'm going to follow up the reading you supplied.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Andre Garzia
On Aug 2, 2004, at 6:12 PM, Troy Rollins wrote:
Just to be clear, the mySQL connection works. If you can't access it, 
there is some other problem.

Sounds like Andre doesn't have a problem with it from his end, but the 
client's firewall does. I'd look at using port 80... almost all 
firewalls have to allow that. Just means you need either Rev CGI or 
PHP to act as an intermediary.

Come on Andre - if anybody can make that work, YOU can!   ;-)
Thanks Troy,
the problem is, I can't changing the port of the MySQL server, it's 
running on my Web Hosting company, and I bet they use the same server 
for everyone...
irgh!

I am already making a server with LibCGI and a client with Rev
Andre
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to see if player is "done"?

2004-08-02 Thread Scott Rossi
Recently, "Phil Davis"  wrote:

> Is "playStopped" truly the only non-workaround way you can detect the
> current 'play' status of a player?

You can also test the paused of a player...

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to see if player is "done"?

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 2:08 PM, Phil Davis wrote:
1) Is "playStopped" truly the only non-workaround way you can detect 
the current 'play' status of a player?

2) If so, what is your most reliable workaround way of detecting this?
If you are using QT then the EnhancedQT external can tell you if a 
movie is playing or not.

qtGetMovieControllerInfo moviePlayerID of player 1, "IsPlaying"

Otherwise I think you need to check the currentTime of the movie then 
send a message in ?? milliseconds and see if the currentTime is the 
same or not.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hasMemory

2004-08-02 Thread Brian Yennie
The little I know is that in Supercard, it would return to you whether 
or not a given number of bytes could be allocated. IIRC (and I might 
not!) people tended to use it in order to detect a low-memory 
situation, i.e. if hasMemory(1024*1024) failed then there was less than 
1MB of memory to be had and that might be trouble.

Since Supercard is Mac-only, and the function was first written for OS 
9 where each application has a fixed memory allocation, it was probably 
well-defined if still a bit unusual. I'm guessing the Rev "half 
implementation" gets stuck on the meaning of the whole thing on other 
OS'es  with swap files and shared memory and all of that good stuff.

Conclusion- I would stay way unless you want something specific on 
MacOS and can verify that it works.

FWIW...
All-
Does anyone have any clues about the "hasMemory" function? In the
documentation I see:
Comments:
This function is only partially implemented, and may not return useful
values on some platforms. It is included in Transcript for
compatibility with imported SuperCard projects.
That alone would keep me from using it, but I'm curious about what
"partially implemented" means.
--
-Mark Wieder
 [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


"playStarted" message - bad docs or unsupported feature?

2004-08-02 Thread Phil Davis
Can someone please clarify this for everyone (including me):
When a player starts, Rev sends a "playStarted" message. However, there 
is no "playStarted" entry in the docs. How come?

Is this because:
1) the message was overlooked when docs were created, or
2) "playStarted" is an unsupported message?
Thanks -
Phil Davis
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 1:57 PM, Andre Garzia wrote:
thanks to your quick response. I was thinking about it... I was trying 
to make one app, not two, but I think that's the way to go, the time 
I'll take to create a HTML interface is bigger thant the one I'll use 
to modify the current rev interface, now let's build a server... 
(heck!)
If you've already written the interface in Rev and depending on how 
separate your data fetching code is from your interface code then it 
should be a breeze.  I like to have data fetching functions which 
return arrays that I build the interface from so if I ever do need to 
change my data source I don't have to modify anything but the data 
acquisition library.

Creating a good application interface using HTML will depress you.  If 
you want to do it right you will have all sorts of browser 
compatibility issues to deal with and it is difficult to mimic basic 
functionality available in a desktop app.  Writing an DB interface on 
the server shouldn't take too long.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: rawkeydown & rawkeyup (was : 2 more questions aboutoperationson text in fields)

2004-08-02 Thread jbv


"J. Landman Gay" a *crit :

> On 8/2/04 1:56 PM, jbv wrote:
>
>  > BTW rawkeydown and rawkeyup both work, but then, how do you
>  > map the raw keynumber with the corresponding char ?
>  > the numtochar can't be used in this situation...
>
> Good question. I usually only use it when I need to trap specific keys,
> and I build a switch statement around those. If you need to trap every
> key then you may be better off with your other solution. What is the
> goal for this handler?
>

Well, it would be a bit too long to explain...
I guess an example is better (please note that I finally used
a third option - it is not fully implemented yet, but it'll give
you an idea).

Create a new stack with 1 field on it.

Put the following script in the card :

-

on openCard
  global theString1, theString2, myList
  put "" into theString1
  put "" into theString2
  put "Google,Yahoo,Bravo,Alta Vista" into mylist

  set textfont of fld 1 to "Arial"
  set textstyle of fld 1 to bold

end openCard

on recherche a
  global theString1, theString2, myList
  put number of chars of theString2 into n

  put 0 into c
  repeat with j=1 to (number of items of myList)
get item j of myList
if char 1 to n of it = theString2 then
  put j into c
  exit repeat
end if
  end repeat

  if c=0 then
put theString2 into fld 1
set the textcolor of line 1 of fld 1 to "black"
select after char n of fld 1
  else

put item j of myList into fld 1
set the textcolor of line 1 of fld 1 to "100,100,100"
set the textcolor of char 1 to n of line 1 of fld 1 to "black"
select after char n of fld 1

  end if
end recherche




--

put the following script in the field :

---

on rawkeyup which
  global theString1, theString2

  put (number of chars of fld 1)

  if (number of chars of fld 1)=1 then
set textcolor of line 1 of fld 1 to "black"
  end if

  put fld 1 into theString1

  if theString1 is not "" then
put "" into theString2
repeat with i=1 to (number of chars of theString1)
  if the textcolor of char i of fld 1 is "0,0,0" then
put char i of theString1 after theString2
  else
exit repeat
  end if
end repeat

if theString2 is not "" then
  recherche theString2
else
  put "" into me
end if
  end if
end rawkeyup

on returninField
  global theString1, theString2
  put fld 1 into theString1
  put "" into me
end returninField

---

Now, click inside the field, and type the letter "G" or "Y"...


JB

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


hasMemory

2004-08-02 Thread Mark Wieder
All-

Does anyone have any clues about the "hasMemory" function? In the
documentation I see:

Comments:
This function is only partially implemented, and may not return useful
values on some platforms. It is included in Transcript for
compatibility with imported SuperCard projects.

That alone would keep me from using it, but I'm curious about what
"partially implemented" means.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Andre Garzia
Trevor,
thanks to your quick response. I was thinking about it... I was trying 
to make one app, not two, but I think that's the way to go, the time 
I'll take to create a HTML interface is bigger thant the one I'll use 
to modify the current rev interface, now let's build a server... 
(heck!)

Andre
On Aug 2, 2004, at 5:52 PM, Trevor DeVore wrote:
On Aug 2, 2004, at 1:36 PM, Andre Garzia wrote:
I am now thinking in doing the other way, I make the server using my 
webserver stack and valentina, and they access it by the web, they 
can pass thru the firewall to do webrequests... but that's ugly I 
hate deploying apps using web interface. It's just simple DBs with 6 
tables and couple joins... should be easy

I look forward to some advise for I must deliver this yesterday, and 
they just phoned to say that the other companies will use the 
program, that's why I am in a hurry... that's also the money that 
should take me to malta. And since they are publishing and marketing 
company they know nothing of IT they think that for them to use an 
app and for outside-of-lan-ambient people to use the same app is 
trivial hell! firewalls!!! fake IPs!!

anyone here got an advise or idea, I am begining again from the 
scratch so any advise is good.
Here is how I think I would approach it -
Client
Rev application which makes requests over port 80 to a PHP/Perl/Rev 
CGI which talks to the central  DB (MySQL, Valentina, etc.).  The data 
is returned in a predetermined format.  Your app parses returned data 
and populates the interface as needed.  You don't have to redo your 
interface, just the how the data is obtained.

Server
PHP/Perl/Rev, etc
This will do all the talking to the db.  A request might look 
something like this:

http://mycoolserver.com/mycoolapp.php?GetFunnyRecords
GetFunnyRecords would run a predefined query and output the data to 
the client.  The data could be like a slimmed down xml -





bob
12


or just return one url encoded record per line (with status and error 
message being lines one and two) depending on your data.

Would this work for you?
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


please use the Subject field

2004-08-02 Thread Erik Hansen
please  use the Subject field

thank you,

Erik Hansen

=
[EMAIL PROTECTED]http://www.erikhansen.org



__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Advise on enterprize application.

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 1:36 PM, Andre Garzia wrote:
I am now thinking in doing the other way, I make the server using my 
webserver stack and valentina, and they access it by the web, they can 
pass thru the firewall to do webrequests... but that's ugly I hate 
deploying apps using web interface. It's just simple DBs with 6 tables 
and couple joins... should be easy

I look forward to some advise for I must deliver this yesterday, and 
they just phoned to say that the other companies will use the program, 
that's why I am in a hurry... that's also the money that should take 
me to malta. And since they are publishing and marketing company they 
know nothing of IT they think that for them to use an app and for 
outside-of-lan-ambient people to use the same app is trivial 
hell! firewalls!!! fake IPs!!

anyone here got an advise or idea, I am begining again from the 
scratch so any advise is good.
Here is how I think I would approach it -
Client
Rev application which makes requests over port 80 to a PHP/Perl/Rev CGI 
which talks to the central  DB (MySQL, Valentina, etc.).  The data is 
returned in a predetermined format.  Your app parses returned data and 
populates the interface as needed.  You don't have to redo your 
interface, just the how the data is obtained.

Server
PHP/Perl/Rev, etc
This will do all the talking to the db.  A request might look something 
like this:

http://mycoolserver.com/mycoolapp.php?GetFunnyRecords
GetFunnyRecords would run a predefined query and output the data to the 
client.  The data could be like a slimmed down xml -





bob
12


or just return one url encoded record per line (with status and error 
message being lines one and two) depending on your data.

Would this work for you?
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MySQL: .rev main stack called from standalone rev app

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 1:44 PM, [EMAIL PROTECTED] wrote:
Woohoo!  That did it!  I also added a "stop using..." in my "on close
stack".  Is that recommended?
THANK YOU!!
-James
Glad to hear it.  I don't know that the stop using is required unless 
you wanted to do any cleanup in your stack library since the 
releaseStack message is sent to it.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MySQL: .rev main stack called from standalone rev app

2004-08-02 Thread James . Cass
Woohoo!  That did it!  I also added a "stop using..." in my "on close 
stack".  Is that recommended?

THANK YOU!!
-James






Trevor DeVore <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
08/02/04 04:09 PM
Please respond to How to use Revolution
 
To: How to use Revolution <[EMAIL PROTECTED]>
cc: 
Subject:Re: MySQL: .rev main stack called from standalone 
rev app


On Aug 2, 2004, at 12:11 PM, [EMAIL PROTECTED] wrote:

> PLATFORM:   MacOSX (10.3.4)
> ISSUE:  MySQL commands not working
> DESCRIPTION:We have a small, standalone "client" Rev app (MacOSX
> 10.3.4) that shows a splash screen and calls a separate .rev main
> stack,
> which is the main guts of the application.  The client app is on the
> user's Mac (>40 users), and the .rev main stack is on the server.  This
> way, when we make changes/updates to the application, everyone is
> running
> the latest version.  The main application uses MySQL commands.  The
> MySQL
> commands work fine in development mode, and if I build it as a
> standalone
> app.  However, the MySQL commands do not work when the .rev main stack
> (not a standalone) is called by the client app.  I have set my
> standalone
> settings for the client app to include the MySQL Database Support.

I imagine that the revdb external is being applied to to the stack
(splash) that is being used  to create the executable.  In your client
stack start using the stack that was used to create the exe.  So if
your splash stack was named "mySplash" then in your client stack do
something like this:

start using stack "mySplash"

This will make the revdb calls available in the message path.


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Dreamcard beta testing

2004-08-02 Thread Bill
Thanks,

It is fun working with the new version.

Bill 

On 8/2/04 4:06 PM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> Hershel Fisch wrote:
>> As mentioned ( if I remember properly), it'll be fixed in the next Beta.
>> Hershel
>> On Monday, August 2, 2004, at 12:43 PM, Judy Perry wrote:
>> 
>>> Yes, Bill.  I posted this same problem a while back and others confirmed
>>> it.
> 
> Kevin noted here that the issue is not actually memory-related, but that
> the actual cause of the error can be found by looking at the second item
> in that window.  This will at least let you get back to work while
> waiting for B2.




___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Advise on enterprize application.

2004-08-02 Thread Andre Garzia
Hi Folks,
I was hired to build a simple app here in brazil, I should take care of 
managing contacts and projects for a small company. As a common 
practice here in the country, they changed the project as the game was 
going and now the only thing it doesn't do is to babysit the CEO 
daughter, but okay, I could cope with the spec changes, it's just a 
huge db anway. Now the sky has fallen, they want their app to talk to 
the other franchise apps, meaning theres a company here at Rio de 
Janeiro, another at Sao Paulo and yet another at Porto Alegre, and they 
want to exchange data, they want the program to run everywhere and 
they've got lot's of firewalls since they are inside a university.

I was going like this, client app in Rev, MySQL running in a server, 
everyone access the server. This ain't working They can't open 
connections to the server running at my ISP, I can, I tested it in 
three machines on different networks they can't change their 
firewalls policies and they want to share data

I am now thinking in doing the other way, I make the server using my 
webserver stack and valentina, and they access it by the web, they can 
pass thru the firewall to do webrequests... but that's ugly I hate 
deploying apps using web interface. It's just simple DBs with 6 tables 
and couple joins... should be easy

I look forward to some advise for I must deliver this yesterday, and 
they just phoned to say that the other companies will use the program, 
that's why I am in a hurry... that's also the money that should take me 
to malta. And since they are publishing and marketing company they know 
nothing of IT they think that for them to use an app and for 
outside-of-lan-ambient people to use the same app is trivial 
hell! firewalls!!! fake IPs!!

anyone here got an advise or idea, I am begining again from the scratch 
so any advise is good.

andre
PS: and if I tell I need more time, they just dump me and use another 
contractant pretty cool ain't it.


--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: First Use

2004-08-02 Thread Dave Cragg
On 2 Aug 2004, at 17:24, Nonsanity wrote:
The other problem was the seeming lack of a way to set the scroll of a 
text field from a script. Not knowing the current whereabouts of 
Danny's old book, I'm going on memory but shouldn't there be a command 
like:

set the scroll of fld "Output" to 3
I often used this to scroll to the bottom of a long field that I was 
continually adding to.

Others have mentioned the vScroll property, but "scroll" is a synonym 
for vScroll. To scroll to the bottom of a field, you can do this:

  set the scroll of field "output" to the formattedHeight of field 
"output"

Cheers
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Question about command revGoURL

2004-08-02 Thread Frank D. Engel, Jr.
Try:
revGoURL "file:" & myDataFolder & "myFile.htm"
On Aug 2, 2004, at 13:41, OldÅich Peroutka wrote:
 Hi Judy,
thank you Judy for your respond and I try to explain what I'm doing. I 
want
to open HTML file that is located on my local Hard Drive. This file is
"myFile.htm". The absolute path to this my file is /Macintosh HD/Mac
temp/data/myFile.htm, this path contains 2 spaces in name of folders
"Macintosh HD" and "Mac temp".

Than if I write:
revGoURL myDataFolder & "myFile.htm"
 -- myDataFolder contains the path on local HardDrive (=/Macintosh 
HD/Mac
temp/data) to file "myFile.htm"
-- myFile.htm is file in folder data on local Hard Disk, that I want 
to open
in Internet Explorer (or other default browser).

After the Internet Explorer is open, one is looking for file with path:
Macintosh%20HD/Mac%20temp/data/myFile.htm. This path doesn't exist.
Sorry for my English, thanks
Oldrich
Hi,
I am not certain I correctly understand what you are doing, but if 
what
you are trying to do is tell Rev the path of your web browser, you 
needn't
do that.  If all you want to do is have Rev open a web browser and 
then go
to some URL, all you need to do is:

on mouseUp
revGoURL "http://www.yourURL.com";
end mouseUp
Does this help or am I completely not understanding what you are 
trying to
do?

Judy
On Thu, 29 Jul 2004, Old[ISO-8859-2] ?ich Peroutka wrote:
Hi all,
Can anybody help me with the command ?revGoURL?? I?m the beginner 
with
REVOLUTION (Runrev 2.2 for Mac OS 9.2.2 cz) and I have this problem.

My script is:
on mouseUp
 
 
-- define myDefaultFolder and myDataFolder
put ?/Macintosh HD/Mac temp/myFolder?  into myDefaultFolder
put myDefaultFolder & ?/data/?  into myDataFolder
-- ?myDataFolder? is /Macintosh HD/Mac temp/myFolder/data/
.
.
set defaultFolder to myDataFolder
revGoURL myDataFolder & ?myFile.htm?
or only
revGoURL  ?myFile.htm?
end mouseUp
It is one and the same if I write the first or the second way. The
performance (path of file that Internet Explorer is looking for) is 
other
but the result is the same ? Error in opened ?Internet Explorer? 
that one
tells me ?the file doesn?t exist?.

The problem is, that all spaces in path (myDataFolder) are replaced 
with
?%20?. My ?Internet Explorer? is started OK but it is searching file
with path ?/Macintosh%20HD/Mac%20temp/myFolder/data/myFile.htm?.
This path doesn? t exist of course. Why the spaces but only the 
spaces in
the path  of file are replaced with %20. ? %20? is the HEXcode of 
space.

If I write:
launch myDataFolder  & ?myFile.htm? with path2Explorer &  ?Internet
Explorer?
-- in path2Explorer is path to the programm ?Internet Explorer?.
All is OK. But by this way I have to know where my Internet 
Explorer on
HarDrive is (or alternative browser), path to him.

Thanks all
Oldrich
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

-- End of Forwarded Message
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


$0 Web Hosting with up to 120MB web space, 1000 MB Data Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Get It Now At www.doteasy.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 1:21 PM, Trevor DeVore wrote:
On 8/2/04 2:12 PM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:
Windows, I don't know, but on OS X maybe you might be able to get 
something
from System Profiler?
This looks promising.  Now, is there a command line tool that gives 
this info in OS X...
/usr/sbin/system_profiler
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Trevor DeVore
I'm responding to two messages at once.  Please don't think less of me 
;-)

On 8/2/04 2:12 PM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:
Windows, I don't know, but on OS X maybe you might be able to get 
something
from System Profiler?
This looks promising.  Now, is there a command line tool that gives 
this info in OS X...

On Aug 2, 2004, at 12:23 PM, Ken Ray wrote:
Well, I know you can find out what type a drive is (like removable, 
fixed,
etc.) on Windows, but I don't know if you can find out specifically if 
it's
a USB flash drive vs. a Zip drive, etc.
Hmm, if I could tell the difference between a CD-ROM and USB that would 
be great.  I'm still in the pondering stages of something but the idea 
is basically that we may have a training app distributed on USB flash 
drive (still have to do some speed tests, etc.).  We don't need hard 
core copy protection but one of the things we don't want the casual 
user to do is burn the data to a CD and give it to their friend.  I'm 
just looking at different methods I might be able to use to tie data to 
a USB flash drive.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: about SQLite?

2004-08-02 Thread Troy Rollins
On Aug 2, 2004, at 4:09 PM, Andre Garzia wrote:
any info on the SQLite front? I am about to buy valentina tonight if 
no info on SQLite apears, I need a database I can distribute with the 
apps, there's no point in making small sharewares and asking user to 
install and manage MySQL.
I know how you feel. I'm very interested in SQLite and Rev, as I use 
SQLite anyway. Apparently, it is going to be an add-on at every license 
level, but AFAIK there hasn't been any indication of cost yet.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 12:27 PM, Richard Gaskin wrote:
Trevor DeVore wrote:
Does anyone know if there is a way to determine if a file is on a USB  
Flash drive (vs a CD-ROM or a Hard Drive)?
I'm looking for methods for Windows and Mac OS X.
I don't know one, but I recently voted for adding "the detailed  
volumes" to Transcript for just that purpose:


Maybe I will mosey on over to bugzilla and cast a vote or five.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MySQL: .rev main stack called from standalone rev app

2004-08-02 Thread Trevor DeVore
On Aug 2, 2004, at 12:11 PM, [EMAIL PROTECTED] wrote:
PLATFORM:   MacOSX (10.3.4)
ISSUE:  MySQL commands not working
DESCRIPTION:We have a small, standalone "client" Rev app (MacOSX
10.3.4) that shows a splash screen and calls a separate .rev main 
stack,
which is the main guts of the application.  The client app is on the
user's Mac (>40 users), and the .rev main stack is on the server.  This
way, when we make changes/updates to the application, everyone is 
running
the latest version.  The main application uses MySQL commands.  The 
MySQL
commands work fine in development mode, and if I build it as a 
standalone
app.  However, the MySQL commands do not work when the .rev main stack
(not a standalone) is called by the client app.  I have set my 
standalone
settings for the client app to include the MySQL Database Support.
I imagine that the revdb external is being applied to to the stack 
(splash) that is being used  to create the executable.  In your client 
stack start using the stack that was used to create the exe.  So if 
your splash stack was named "mySplash" then in your client stack do 
something like this:

start using stack "mySplash"
This will make the revdb calls available in the message path.
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


about SQLite?

2004-08-02 Thread Andre Garzia
Hi Folks,
any info on the SQLite front? I am about to buy valentina tonight if no 
info on SQLite apears, I need a database I can distribute with the 
apps, there's no point in making small sharewares and asking user to 
install and manage MySQL.

andre
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: rawkeydown & rawkeyup (was : 2 more questions about operations on text in fields)

2004-08-02 Thread J. Landman Gay
On 8/2/04 1:56 PM, jbv wrote:
> BTW rawkeydown and rawkeyup both work, but then, how do you
> map the raw keynumber with the corresponding char ?
> the numtochar can't be used in this situation...
Good question. I usually only use it when I need to trap specific keys, 
and I build a switch statement around those. If you need to trap every 
key then you may be better off with your other solution. What is the 
goal for this handler?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Richard Gaskin
Trevor DeVore wrote:
Does anyone know if there is a way to determine if a file is on a USB 
Flash drive (vs a CD-ROM or a Hard Drive)?

I'm looking for methods for Windows and Mac OS X.
I don't know one, but I recently voted for adding "the detailed volumes" 
to Transcript for just that purpose:


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 Rev tools and more:  http://www.fourthworld.com/rev
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Ken Ray
On 8/2/04 2:12 PM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:

> Recently, "Trevor DeVore"  wrote:
> 
>> Does anyone know if there is a way to determine if a file is on a USB
>> Flash drive (vs a CD-ROM or a Hard Drive)?
>> 
>> I'm looking for methods for Windows and Mac OS X.
> 
> Windows, I don't know, but on OS X maybe you might be able to get something
> from System Profiler?

Well, I know you can find out what type a drive is (like removable, fixed,
etc.) on Windows, but I don't know if you can find out specifically if it's
a USB flash drive vs. a Zip drive, etc.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining type of drive a file is on

2004-08-02 Thread Scott Rossi
Recently, "Trevor DeVore"  wrote:

> Does anyone know if there is a way to determine if a file is on a USB
> Flash drive (vs a CD-ROM or a Hard Drive)?
> 
> I'm looking for methods for Windows and Mac OS X.

Windows, I don't know, but on OS X maybe you might be able to get something
from System Profiler?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


MySQL: .rev main stack called from standalone rev app

2004-08-02 Thread James . Cass
PLATFORM:   MacOSX (10.3.4)
ISSUE:  MySQL commands not working
DESCRIPTION:We have a small, standalone "client" Rev app (MacOSX 
10.3.4) that shows a splash screen and calls a separate .rev main stack, 
which is the main guts of the application.  The client app is on the 
user's Mac (>40 users), and the .rev main stack is on the server.  This 
way, when we make changes/updates to the application, everyone is running 
the latest version.  The main application uses MySQL commands.  The MySQL 
commands work fine in development mode, and if I build it as a standalone 
app.  However, the MySQL commands do not work when the .rev main stack 
(not a standalone) is called by the client app.  I have set my standalone 
settings for the client app to include the MySQL Database Support.

Any advice would be greatly appreciated.
Thanks...James
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Determining type of drive a file is on

2004-08-02 Thread Trevor DeVore
Does anyone know if there is a way to determine if a file is on a USB 
Flash drive (vs a CD-ROM or a Hard Drive)?

I'm looking for methods for Windows and Mac OS X.
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: update on pamela crisis

2004-08-02 Thread Marian Petrides
No.  Just a general statement. Sorry.
On Aug 2, 2004, at 12:00 AM, Richard Gaskin wrote:
Marian Petrides wrote:
 I thought about that but, if that's the case, why does it work just 
fine on the Mac?  Works OK both in the IDE and as a standalone.
But having dealt with corrupt apps before
In Rev?
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 Rev tools and more:  http://www.fourthworld.com/rev
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: rawkeydown & rawkeyup (was : 2 more questions about operationson text in fields)

2004-08-02 Thread jbv


"J. Landman Gay" a *crit :

>
> I haven't tried it, but does rawkeydown or rawkeyup work?
>

BTW rawkeydown and rawkeyup both work, but then, how do you
map the raw keynumber with the corresponding char ?
the numtochar can't be used in this situation...

Thanks,
JB

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: large REV projects

2004-08-02 Thread Klaus Major
Hi list,
at last!
Finally the appropriate storage device for large REV projects arrived!
http://www.iomega-europe.com/eu/shop.aspx?category_name=REVType
:-D
Have a nice day/envening
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2 more questions about operations on text in fields

2004-08-02 Thread jbv
Here's the solution I'm using.
It's rather simple, it catches any character with accent,
as well as any delete action by end users.
the variable theString always contains the latest content
of the field.
The following handlers should be put in the field's script :


on openfield
  send "check_fld" to me in 0.1 seconds
end openfield

on check_fld
  global theString
  put fld "Myfld" into theString
  if (the long id of me) = (the focusedobject) then
send "check_fld" to me in 0.1 seconds
  end if
end check_fld

Hope that helps

JB

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pamela nightmare over: post-mortem

2004-08-02 Thread Richard Gaskin
Hello Pam -
Richard Gaskin asked about images.  There is a background image in the
mainstack that distributes to the substacks.  No other images of any
kind in the corrupted stack.  I agree that Photoshop provides the best
images for Revolution, and I always use that, rendering usually jpg
but sometimes png images for logos or backgrounds. All other images
displayed via this application come from the server.
What I had asked was:
"Just a wild guess:  are there any image objects there?
 If so, what happens if you remove only those?"
I looked at your stack file.  None of the substacks themselves nor their
cards appear to be corrupted.  I removed the three images from the
substack "MONGOL_EDIT" and it opened fine on Windows.
It may be that only one of the images has bad data, but I didn't have
time to do the trial-and-error of deleting one at a time until I found
the culprit.
I'm at a loss to determine why the images would work well on Mac OS and
not Win, but the exercise was instructive in serving as a reminder about
the nature of corruption and how understanding that can help diagnose
problems.
If you come from a HyperCard, SuperCard, or FileMaker background it's
understandable that a wide variety of unexpected behaviors will be
viewed as file corruption.  But the notorious 5454 error that plagued
all but the most dilligent HyperCard users (that would be Paul Looney
) is a card-level corruption that is almost entirely unknown with Rev.
In Rev, in the very rare cases that something is corrupted in my
experience it's limited to a single control rather than the card or
stack record.  In working with the engine for more than seven years I've
seen only one such case many years ago, and while I've heard of others
their descriptions do not appear consistent with actual corruption.  In
all but one case I've seen firsthand things that were reported as 
corruption turned out not to be (with the one exception from seven years 
ago being an image control).

I've written about corruption before, and to avoid sounding like a
broken record I'll just provide links to that background discussion if
it's of interest:



The most relevant point is the one Scott Raney closes with in the last
of those posts
If you've got something that you can reproduce, by all means
send in a bug report so that we can make it even rarer ;-)
It would be helpful to send a note to [EMAIL PROTECTED] with a note on
how to get the stackfile.  It might also be very helpful if you have the
original image files used in that stack, so they can be compared with
the image data in the imported image objects.
How did I know the images were the culprit?
Like I said, it was just a guess.  But in the only case of actual
corruption I've ever seen firsthand the cause turned out to be an
imported image object, so it seemed worth trying those first.
I can't stress enough how useful it can be to try to forget the scarring
experiences of stack- or card-level corruption you may have encountered
with other tools when diagnosing problems encountered with Rev.
When something is corrupted the remedy usually involves deleting the
offending object and rebuilding it.  If you decide it's a card or a
stack or the entire stack file before you really know if that's the
case, you can spend a great deal of time rebuilding objects that don't
need to be rebuilt.  If the engine can open the file, any problem can 
probably be fixed with relative ease.

In seven years with the engine, your image objects are only the second
instance of corruption I've seen.  And the remedy was far simpler than
what's normally needed for correcting corruption issues in HyperCard.
The only other case of corruption I've seen was also with imported image
objects, but this is understandable as imported image objects are
complex creatures in which most of the data the engine's dealing with
was created by some other app.  I've never seen a corrupted object which
was created entirely by the engine itself; not to say it can't happen,
but it's rare enough that I don't think about it.
And before you get the impression that imported images are somehow
problematic, consider the odds:  Think of the number of Rev users and
the number of images they import into stacks every year, and remember
that the engine's been around since 1992 with very few verifiable cases
of corruption.
Since 1997 I've only seen two such cases, so I have a high degree of
confidence that corruption does not occur with 99.% of imported
image objects, and 99.999% all other objects. :)
Summary on corruption:
1. Most of the time when the engine reports corruption it's a case of an
interrupted save, and you'll find an intact copy of your stack with the
same name preceeded by "~" waiting for you in t

Re: menubar demo/tutorial

2004-08-02 Thread william griffin
   1. Re: menubar demo/tutorial anyone? ([EMAIL PROTECTED])
--
Message: 1
Date: Mon, 2 Aug 2004 12:16:33 EDT
From: [EMAIL PROTECTED]
Subject: Re: menubar demo/tutorial anyone?
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"
Hi, I have been searching for a well done menubar teaching stack? Any 
one
have one, or have a stack to share that I can study. The revmenubar is 
more
complex than I need.

Thanks,
Andrew
Since I've run into a bug creating the most ludicrously overflowing rev 
breaking menuBar in recorded
history, and my spam blocker had me off the list for awhile these seems 
like a good time and place
for me to jump back into things.

It would help if i knew what you were trying to accomplish of course, 
but here is the simple system.
Menu Builder, add items, generate the skeleton of the button scripts 
with that provided button, then
edit the script and fill in the needed data between the cases.

Script By Hand: Single Menu Items
on menuPick myPick
switch myPick
case "Open"
answer file "Pick some file"
if it is not empty then
put it into myFile
open file myFile for read
  read from file myFile until eof
  put it into field 1
end if
break
end switch
end menuPick
the pattern follows for all other options, after two or three of those 
you've got it down to a science.

Script by hand: Multiple items/sub items
Lets say we have an item we want as sub menu, we'll put it into a 
button called myMenu of our menuBar group called "myMainMenu", you do 
this

put "toplevel menu" & return & tab & "second level" into cd btn 
"myMenu" of group "myMainMenu"

to add a third level of menu into that same button works like this
put "toplevel menu" & return & tab & "second level" & return & tab & 
tab & "third level" into cd btn "myMenu" of group "myMainMenu"

Now to pick from this you would use this process.
on menuPick myPick1 myPick2
put myPick1 & myPick2 into myRealPick
--- a multi level menu pick of this button would produce "toplevel menu 
| second level menu | third level"
--- I've added space so you can see the bar character which denotes the 
items picked
switch  myRealPick
case "toplevel menu|second level menu|third level"
---do something with your item picked
---I've not found a way of picking the top two levels in a button like 
this, seems you must pick the final sub item
break
end switch
end menuPick

OK hope that helps, if you run into trouble just shout.
Mr Bill
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Ann: WinN2O 1.5 beta

2004-08-02 Thread MisterX
Hi everyone,

I've working like mad on this version... 
About 300 more features! ;))

The group and go menu are still in the works and may not make it
given the low need...

The updates of the list is not always automatic if the stack is installed 
as front or backscript but coming soon ;)

Only the Windows views is fully tested. 

Only tested on XP... 

So if you want to look... 

check it out

Screenshot
http://www.monsieurx.com/hyper/stacks/WinN2O15beta.gif
Download
http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=59
Cheers
Xavier
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: menubar demo/tutorial anyone?

2004-08-02 Thread J. Landman Gay
On 8/2/04 11:16 AM, [EMAIL PROTECTED] wrote:
Hi, I have been searching for a well done menubar teaching stack? Any one 
have one, or have a stack to share that I can study. The revmenubar is more 
complex than I need.
Not sure how well-done it is or whether it is what you are looking for, 
but there is a discussion of menu bars and how they work within my 
conversion tutorial:


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2 more questions about operations on text in fields

2004-08-02 Thread J. Landman Gay
On 8/2/04 11:35 AM, jbv wrote:
Question #1 :
I'm on Mac (french kbd), and strangely the following
script :
on keyup which
   put which
end keyup
doesn't catch french characters with accents (é à etc)...
is there any settings to catch those keys ?
I haven't tried it, but does rawkeydown or rawkeyup work?
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Looking for more info on hScroll

2004-08-02 Thread Trevor DeVore
On Jul 31, 2004, at 3:46 PM, Wouter wrote:
 I did some more tests and I think the design of my slider is what is 
causing the problem. I added a call which prints out the value of 
formattedWidth - width - margins - borderWidth and as my custom group 
slider got to the end of the group the value increased. My custom 
slider which is part of the group itself was extending past the 
previous extreme right side of the group and adding a couple of more 
pixels to the group. Though the formattedHeight increases the highest 
value of hScroll for the group doesn't seem to be updated. I will 
keep fiddling around and see if I can pinpoint exactly what is going 
on though.

Aha you used a custom slider in the group. I thought you used the 
horizontal scrollbar of the group itself.
I bugzilla'ed an extra problem with sliders (bug #1912). May be this 
applies also in your case.
Be careful with the value of the thumbpos if the numberformat is not 
used.
You *see* ints but internally it still remain decimals which are 
trunc-rounded in a weird way when needed in for example a repeat loop.
I actually use a scrollbar control as well as a slider that is inside 
the group being scrolled.  Think of a video editor like iMovie where 
you have a slider that moves through the video but also a slider that 
moves the entire video timeline when you are zoomed in.  When I was 
moving the video slider that is inside the group it was coming to the 
end of my timeline graphic and extending slightly past the edge.  This 
changed the formattedWidth of the group but the maximum hScroll 
property would not increase.  I need to do simpler test to see if this 
is a bug or not.  I fixed the problem by adding a small buffer to the 
left and right of my timeline so that the video slider would not 
increase the formattedWidth when it got to the edges.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


2.5 public beta?

2004-08-02 Thread Kaveh Bazargan
Is this a public beta? If so which is the url? If not, why are the
discussions on this list? ;-)
-- 

--
Kaveh Bazargan
http://www.focalimage.com/
http://www.holographer.org/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pamela nightmare over: post-mortem

2004-08-02 Thread Mark Wieder
pkc-

Monday, August 2, 2004, 8:25:34 AM, you wrote:

p> Regarding the immortal dialog stack that nobody could kill (Andre
p> suggested that MetaCard could be lethal to it, however), and which 
p> Andre has immortalized in his screen shots:  What seemed to have 
p> happened (before the no-Windows crisis) was that I downloaded an 
p> alternative dialog stack because I hated the three-mile-wide default
p> dialog thing.  Once it was brought in as a substack, it appeared in
p> the application browser, and seemed to always pre-empt Revolution's
p> own dialog stacks in the IDE. It was a strange neon color so I 
p> fiddled with it, but it always looked ugly and finally I zapped it.
p> But, as Andre discovered, it did not die.  There was absolutely no 
p> way to get it out of the stack.  You could disappear it from the 
p> browser and save, but when you reopened the mainstack it would 
p> reappear again. I figured it kept appearing in the IDE because it had
p> somehow preempted the Revolution dialog stacks, but in that case why
p> did it keep reappearing in the application browser as if it belonged
p> in my application even though it was now working for the IDE?

(putting on my tin-foil hat...) is there some chance that the
alternative dialog stack you downloaded had the same name as the
original in the IDE and somehow got saved over it? Or took precedence
over it in the message hierarchy?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Using 2.5 beta: Handler low on memory

2004-08-02 Thread Richard Gaskin
Hershel Fisch wrote:
As mentioned ( if I remember properly), it'll be fixed in the next Beta.
Hershel
On Monday, August 2, 2004, at 12:43 PM, Judy Perry wrote:
Yes, Bill.  I posted this same problem a while back and others confirmed
it.
Kevin noted here that the issue is not actually memory-related, but that 
the actual cause of the error can be found by looking at the second item 
in that window.  This will at least let you get back to work while 
waiting for B2.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


FW: Question about command revGoURL

2004-08-02 Thread Oldřich Peroutka
 Hi Judy,
 
thank you Judy for your respond and I try to explain what I'm doing. I want
to open HTML file that is located on my local Hard Drive. This file is
"myFile.htm". The absolute path to this my file is /Macintosh HD/Mac
temp/data/myFile.htm, this path contains 2 spaces in name of folders
"Macintosh HD" and "Mac temp".

Than if I write:

revGoURL myDataFolder & "myFile.htm"

 -- myDataFolder contains the path on local HardDrive (=/Macintosh HD/Mac
temp/data) to file "myFile.htm"
-- myFile.htm is file in folder data on local Hard Disk, that I want to open
in Internet Explorer (or other default browser).
 
After the Internet Explorer is open, one is looking for file with path:
Macintosh%20HD/Mac%20temp/data/myFile.htm. This path doesn't exist.

Sorry for my English, thanks

Oldrich

>> Hi,
>> 
>> I am not certain I correctly understand what you are doing, but if what
>> you are trying to do is tell Rev the path of your web browser, you needn't
>> do that.  If all you want to do is have Rev open a web browser and then go
>> to some URL, all you need to do is:
>> 
>> on mouseUp
>> revGoURL "http://www.yourURL.com";
>> end mouseUp
>> 
>> Does this help or am I completely not understanding what you are trying to
>> do?
>> 
>> Judy
>> 
>> On Thu, 29 Jul 2004, Old[ISO-8859-2] ?ich Peroutka wrote:
>> 
>>> Hi all,
>>> 
>>> Can anybody help me with the command ?revGoURL?? I?m the beginner with
>>> REVOLUTION (Runrev 2.2 for Mac OS 9.2.2 cz) and I have this problem.
>>> 
>>> My script is:
>>> 
>>> on mouseUp
>>>  
>>>  
>>> -- define myDefaultFolder and myDataFolder
>>> put ?/Macintosh HD/Mac temp/myFolder?  into myDefaultFolder
>>> put myDefaultFolder & ?/data/?  into myDataFolder
>>> -- ?myDataFolder? is /Macintosh HD/Mac temp/myFolder/data/
>>> .
>>> .
>>> set defaultFolder to myDataFolder
>>> revGoURL myDataFolder & ?myFile.htm?
>>> 
>>> or only
>>> 
>>> revGoURL  ?myFile.htm?
>>> 
>>> end mouseUp
>>> 
>>> It is one and the same if I write the first or the second way. The
>>> performance (path of file that Internet Explorer is looking for) is other
>>> but the result is the same ? Error in opened ?Internet Explorer? that one
>>> tells me ?the file doesn?t exist?.
>>> 
>>> 
>>> The problem is, that all spaces in path (myDataFolder) are replaced with
>>> ?%20?. My ?Internet Explorer? is started OK but it is searching file
>>> with path ?/Macintosh%20HD/Mac%20temp/myFolder/data/myFile.htm?.
>>> This path doesn? t exist of course. Why the spaces but only the spaces in
>>> the path  of file are replaced with %20. ? %20? is the HEXcode of space.
>>> 
>>> If I write:
>>> 
>>> launch myDataFolder  & ?myFile.htm? with path2Explorer &  ?Internet
>>> Explorer?
>>> -- in path2Explorer is path to the programm ?Internet Explorer?.
>>> 
>>> 
>>> All is OK. But by this way I have to know where my Internet Explorer on
>>> HarDrive is (or alternative browser), path to him.
>>> 
>>> 
>>> Thanks all
>>> 
>>> Oldrich
>>> ___
>>> use-revolution mailing list
>>> [EMAIL PROTECTED]
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>> 
>> 
>> 

-- End of Forwarded Message

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: weird errors (was Re: Pamela nightmare over: post-mortem)

2004-08-02 Thread Mark Wieder
Andre-

I have stopped using the debugger in 2.5b1 after numerous instances of
having my code looping into places I never designed it to, variables
sometimes showing up with proper values, other times not, etc. I hate
it when turning on the debugger makes my code act differently from not
using the debugger. Especially when quitting the IDE and launching it
again *sometimes* acts properly. These days I'll experiment with
things in the beta just for fun, but I do my work in 2.2.1.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.5 cursor change

2004-08-02 Thread Kaveh Bazargan
At 9:18 am -0800 2/8/04, Ken Norris (dialup) wrote:

[...]

>> It's already available in Real format:
>> 
>
>Thanks much, I'll take a look.

Thanks for this link. What a beautiful set of movies. Those were the days!!
-- 

--
Kaveh Bazargan
http://www.focalimage.com/
http://www.holographer.org/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   >