Re: First record status inconsistent using SQLite

2006-05-26 Thread David Vaughan


On 27/05/2006, at 12:30, Kay C Lan wrote:
...

...BUT once you move
away from these, moving back to them using 'previous' or 'next'  
will not

result in them be recognised, you need to try an move past them, then
they'll be recognised.


I recognise it but it leaves me thinking that the old names  
"revdb_isbof" and "revdb_iseof" were more accurate descriptors than  
the new synonyms"revCurrentRecordIsFirst" or  
"revCurrentRecordIsLast". They could be changed to  
"revNoPreviousRecord" and "revNoNextRecord" when they would fit their  
dictionary descriptions. I will BugZilla it but somehow I do not see  
this piece of documentation semantics hitting a high on their ToDo  
list. It will just have to be rediscovered by new users as they reach  
it.


cheers
David


HTH.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution

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


audio file volume levels

2006-05-26 Thread Kurt Kaufman



You might look for an audio editor that has batch processing features.
The process you desire is called 'Normalizing'...


Thanks for the information!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: First record status inconsistent using SQLite

2006-05-26 Thread Kay C Lan

On 5/26/06, Jan Schenkel <[EMAIL PROTECTED]> wrote:



I remember an old discussion about when exactly you
were at the end of a cursor: on the last record, or
after you call revdb_movenext on the last record?
FoxPro seemed to think that the EOF() was _after_ the
last record, not on it.



I basically see the same thing with Rev and MySQL. If the cursor is in the
middle of a record set and I use the Rev calls to move previous until I get
to the first record, Rev does not recognise it as the first record until I
move previous one more time. Exactly the same thing for moving next and
recognising the last record in the record set.

I know this doesn't help much, but it does suggest  the 'inconsistency' is
in fact consistent:-)

If you start at the first record (either because you created a new record
set or you used a db call to move to first record) then it is recognised as
the first record. Basically the same for the last record. BUT once you move
away from these, moving back to them using 'previous' or 'next' will not
result in them be recognised, you need to try an move past them, then
they'll be recognised.

HTH.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Linux installation

2006-05-26 Thread Richard Gaskin
I'd like to make an installer for Linux versions of my app which handles 
the basics:


- Puts the application in its own folder
- Puts a shortcut to the app in the Start menu
- Assigns appropriate file types to the app
- Assigns icons for the app and its documents

When I went fishing for this info a couple years ago, it seemed each 
desktop manager had their own way of doing these things, with little if 
any consistency between them.


What's involved in making one installer file that works with most common 
Linux distros today?


This installer will be made with Rev, so as much as I appreciate any 
tips about third-party installers it's essential to my workflow that I 
roll my own (I have an end-to-end automated build system).


TIA -

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Players and Long Filenames

2006-05-26 Thread Stephen Barncard

you can turn off that behavior in iTunes settings.
create a folder of mp3s, drop on the directory side, check them out, 
delete folder (which is an alias) in iTunes. No residual mess.


sqb



I'd use iTunes, but iTunes is too much for a simple task of just 
playing an mp3.  It's great for managing my iPod or managing 
playlists.  But ya can't just drop a song and go without iTunes 
adding it to the library.




--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AltSQLite to Mobile Content

2006-05-26 Thread Andre Garzia

Michael,

you can create a Revolution stack to export altSQLite database to a  
format PDA understands or you can create a mobile homepage/web  
application and access it from the phone.


Andre

On May 26, 2006, at 4:51 PM, Michael Mandaville wrote:


Has anybody been checking into how to take altSQLite data from an
application and port it over to PDS/Phones, etc., through a Mobile  
Content

conduit/program/app/service, etc., ??


Michael


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Players and Long Filenames

2006-05-26 Thread J. Landman Gay

Alex Tweedly wrote:

Garrett Hylltun wrote:


I'd use iTunes, but iTunes is too much for a simple task of just 
playing an mp3.  It's great for managing my iPod or managing 
playlists.  But ya can't just drop a song and go without iTunes adding 
it to the library.



OK, it's not actually drag-n-drop, but you could just right-click / Open 
With ... / QT Player
One extra mouse action (plus you need to hit the space bar to make it 
play.)


You might even be able to set the default action for mp3 to be play with 
QT Player - but that's beyond my level of Mac knowledge ...




It is even easier than that in OS X. Just set your Finder window view to 
"column" and when you select a QT-compatible file, a teeny little 
QuickTime controller appears and you can play the file from right in the 
Finder. You don't even have to open it.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ErrorLib 1.0b01 released

2006-05-26 Thread Ken Ray
> There are two links on the developer's page in a blue round rect.

> The download links are in the blue rectangle in the top-right of the
> page . It seems I should
> try to make this more visible.

> It's at the top of the page. The blue box that's labeled "Download
> errorLib"...

Whoops! just goes to show that I can't see the obvious...

;-)

Thanks guys!

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

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


Re: Unicode sorting

2006-05-26 Thread Dar Scott


On May 26, 2006, at 3:57 PM, Devin Asay wrote:

A 'sort lines' command, after converting upper case to lower, works  
fairly well, except that, curiously, a space sorts *after* all  
cyrillic chars.



I think I figured out what it is.  'sort' seems to see NUL as the end  
of the string and U+0020 has virtually a NUL in it.  Try this test:


on mouseUp
  put "a" & NULL & "z" & lf & "a" & NULL & "b" into d
  sort d
  replace NULL with "x" in d
  put d
end mouseUp
==>
axz
axb

We have been bitten by C again.

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


Re: Unicode sorting

2006-05-26 Thread Dar Scott


On May 26, 2006, at 3:57 PM, Devin Asay wrote:

A 'sort lines' command, after converting upper case to lower, works  
fairly well, except that, curiously, a space sorts *after* all  
cyrillic chars.


That's weird.

Space is U+0020.

The basic Cyrillic lower case seem to be U+0430 to U+044F, where 'a'  
is U+0430.


So if your system is UTF16BE (Mac), space, hex 00 20, should sort  
before 'a', hex 04 30, and small YA, hex 04 4F.


If you system is UTF16LE (Win), space, hex 20 00, should sort before  
'a', hex 30 04, and YA, hex 4F 04.


Or am I really mixed up on what you are doing?

(If you convert to upper case and are on Windows the space will sort  
in the middle.)


Dar



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


Re: S-L-O-W text entry -- Solved

2006-05-26 Thread Timothy Miller


For anyone looking to diagnose such a problem, you may like to use my
Pending Messages Manager plugin, which (I think) provides a more
friendly interface to the pending messages.

You can download it from .

Cheers,
Sarah


That's a cool little utility, Sarah.

If and when I next experience S L O W text entry, that will make it 
pretty easy to understand where the problem is coming from, and maybe 
how to write a little script to prevent future occurrences.


Thanks,

Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Players and Long Filenames

2006-05-26 Thread Alex Tweedly

Garrett Hylltun wrote:

I appreciate this.  But this isn't a mission critical task.  It was 
just  a whim.  I've been wanting a simple drag and drop MP3 player for 
when I rip my cd's.  Just wanted to be able to drag the new mp3 and 
drop it on a player and have it play so I could make sure the song was 
ripped properly.


I have looked for a simple drag and drop mp3 player for OS X, but only 
found one, but it runs from the dock and I didn't want a dock app.


I'd use iTunes, but iTunes is too much for a simple task of just 
playing an mp3.  It's great for managing my iPod or managing 
playlists.  But ya can't just drop a song and go without iTunes adding 
it to the library.



OK, it's not actually drag-n-drop, but you could just right-click / Open 
With ... / QT Player

One extra mouse action (plus you need to hit the space bar to make it play.)

You might even be able to set the default action for mp3 to be play with 
QT Player - but that's beyond my level of Mac knowledge ...


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.1/348 - Release Date: 25/05/2006

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


Re: Players and Long Filenames

2006-05-26 Thread Garrett Hylltun

Scott Rossi wrote:

Recently, Garrett Hylltun wrote:


Much appreciate all the information and efforts on this from everyone.

It does explain the problems I've been having making an MP3 Player for
myself.

I believe that this isn't just a dragData issue either, as I've had
problems with trying to load files into the "player" with long file
names on OS X.

Well nix the MP3 player for me.


Garrett:

Maybe hope is not completely lost.  Using long file names with players has
been an issue for some time.  If you look in the archives, there are some
mentions of techniques for addressing the problems:


I appreciate this.  But this isn't a mission critical task.  It was just 
 a whim.  I've been wanting a simple drag and drop MP3 player for when 
I rip my cd's.  Just wanted to be able to drag the new mp3 and drop it 
on a player and have it play so I could make sure the song was ripped 
properly.


I have looked for a simple drag and drop mp3 player for OS X, but only 
found one, but it runs from the dock and I didn't want a dock app.


I'd use iTunes, but iTunes is too much for a simple task of just playing 
an mp3.  It's great for managing my iPod or managing playlists.  But ya 
can't just drop a song and go without iTunes adding it to the library.



[snip]

It's a great testament to the community where the contributions of various
folks come together to create solutions.  We may not have a complete
solution yet, but still, nice job guys. :-)


I agree.  :-)

-Garrett

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


Re: Unicode sorting

2006-05-26 Thread Devin Asay
Thanks, Dar. These tips will come in handy, and help confirm some of  
the things I was already thinking. A 'sort lines' command, after  
converting upper case to lower, works fairly well, except that,  
curiously, a space sorts *after* all cyrillic chars. I'm sure that's  
because rev is really doing an ascii sort on the unicode text, and  
the first byte of each unicode character is < #0020. What we really  
need is a sort ... unicode option to go along with sort ... text and  
sort ... numeric.


Devin

On May 26, 2006, at 12:07 AM, Dar Scott wrote:



On May 25, 2006, at 4:19 PM, Devin Asay wrote:

I have a need to sort long lists of Cyrillic unicode text  
according to Russian alphabet order. Before I start writing my own  
routine, has anyone figured out how to sort unicode text lists?


Here are some hints:

1.
Trick:  If you are sorting strings with only characters from the  
same 256 character range, then byte-order doesn't matter when doing  
a lexical sort.  For example, if all your characters are in the  
Cyrillic range of U+0400 to U+04FF, then you can use an ordinary  
byte character sort.  However, if you have spaces (U+0020) then you  
will need to replace them with something else for sorting or make  
sure you have control over order.


2.
If the high byte if the Unicode characters never looks like a digit  
then you can compare with < (probably not important if using 'sort').


3.
The basic alphabet of a language is typically coded in roughly the  
order needed for sorting.  That rough order may be just fine for  
your need.


4.
Conversion from lower to upper or upper to lower for sorting is  
often just a bit-logic operation.  However, since you usually have  
to do range checking, then adding or subtracting an offset works  
fine, too.  If you know you have only basic upper and lower  
letters, doing the bit op every time is probably faster.  This  
should work for a rough sort.


5.
The basic alphabet of a language in unicode might include  
characters you don't use.  That is OK as long as the ones you do  
use are coded in the right order.  The holes don't matter.


Dar


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Background Field Table Behavior

2006-05-26 Thread Jan Schenkel
--- Robert Sneidar <[EMAIL PROTECTED]> wrote:
> I encountered an odd thing. I have a field as part
> of a background  
> group with text in it that is different for every
> card. If on one  
> card I enable the Cell Editing property, then on the
> other cards, as  
> long as I don't click in the field, the existing
> text is preserved.  
> But as soon as I click in the field, the text is
> replaced by the text  
> from the card I originally set the property on.
> Somehow changing the  
> Cell Editing property inadvertently enables the
> Share Text property,  
> although the checkbox for Share Text remains
> unchecked. Odd huh?
> 
> Bob Sneidar
> 

Hi Bob,

It seems you have uncovered a rather unnerving design
flaw in the current table field. Implemented in
Transcript, the source is available for anyone
interested, in the 'revTable' frontscript.

The way it is written, implies table behavior cannot
be placed in a background group and combined with the
sharedText property set to false, as it only keeps
track of a single set of data, accross all the cards
it has been placed on.

A trip to bugzilla is in order, and for now it may be
a better option to use one of the alternative table
field constructions, such as by Kenneth L. Simmons:


Jan Schenkel.

Quartam Reports for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Now a TCP Question

2006-05-26 Thread Alex Tweedly

Jim Ault wrote:


It turns out that the server service has just started a TCP alternative, so
I tried Alex Tweedly's TCP server and client.

These two stacks run successfully on both the same computer and two that I
have on my network, either with DHCP address or each having a static IP
address.

Now the outside world...
Adjusting firewall and my client settings, I can get

"Success: opened server.i.p.addr:8882"

 


Jim - that looks like a message from my "client" stack.
What is running on the remote server ?


where the actual IP address is shown, so I assume this is a handshake.

 


That means the connection was successfully opened.


The tech group reports back that (including word wrap, addr chgd) :
--
We are seeing the following in the sdlear/tcpip log:

060526 08:16:19 Accepting TCP Connection from dd.234.99.999:33142
060526 08:17:42 send error: WSACONNABORTED
060526 08:17:42 Releasing TCP Connection from dd.234.99.999:33142 (0
00:01:23)
060526 08:24:04 Accepting TCP Connection from 24.234.99.999:32776
060526 08:38:50 send error: WSACONNABORTED
060526 08:38:50 Releasing TCP Connection from 24.234.99.999:32776 (0
00:14:46)
 

Hmmm - but this one has been connected for 14 minutes, so it doesn't 
look like it's a firewall issue (it still could be, but much less likely).


Have the client and server been exchanging data for this 14 minutes ?


060526 09:04:25 Accepting TCP Connection from 24.234.99.999:32832
060526 09:05:27 Accepting TCP Connection from 24.234.99.999:32834
060526 09:05:32 send error: WSACONNABORTED
060526 09:05:32 Releasing TCP Connection from 24.234.99.999:32832 (0
00:01:07)
 


This one, like the first on, failed after just over 1 minute.
Is this talking to the service's server ? Could it be closing the 
connection because it doesn't receive an (application level) response 
within a time window ?



060526 09:10:52 Accepting TCP Connection from 24.234.99.999:63559


WSAECONNABORTED (10053)
€Translation: Software caused connection abort.
€Description: An established connection was stopped by the software in your
host computer, possibly because of a data transmission time-out or protocol
error.
--
I get this both on 
G5 dual, OSX 10.4.6, Rev 2.6.1

Duo Mini, OSX 10.4.6, Rev 2.6.1 or 2.7.1  build 236

This is getting a little deep for me, since I am not a networking or socket
guy.  It seems that Rev is almost up to the task.  If I can figure this out,
I will put together some example and test stacks so others can learn.  I
could possibly host some stacks for live testing that others could use.

My deadline for getting this solved is about 5 days from now, so hopefully I
can learn all the details I need to make this happen.

Questions:
Since UDP works on the G5/10.4.6, but not DuoMini/10.4.6
[starts to get messages, then crashes Rev w/EXEC_BAD_INSTRUCTION (0x0002)]
on BOTH  2.6.1 and  (2.7.1 build 236 installed today 5.26.06)
Since TCP would be the most desirable method, is there a test server I can
use?
 

Can you be a little bit more explicit about the set up ? What is the 
client sending ? Does it receive any response ?

Is the server the general one that the service is running ?

Unfortunately, I don't have a host directly on the Net, so can't accept 
incoming connections.


If it would help (and if there's not a confidentiality issue), send me 
the stack you are using and I'll experiment (send it direct to 
[EMAIL PROTECTED] net )


If you want, call me +44 1852 200212 - and *remember* I'm 7 or 8 hours 
ahead :-)

OK to call up till 1am but not much after that ...

--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.1/348 - Release Date: 25/05/2006

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


Re: how do you get the MySQL mysql_insert_id(); from within Rev? WORKS NOW!

2006-05-26 Thread Josh Mellicker

get revDataFromQuery("","",dbID,"SELECT LAST_INSERT_ID()")

is now working, I rewrote my connection function and all is well!  
Thanks!


I think my connection thing somehow generated multiple database  
connections  :o


Thanks!

On May 26, 2006, at 11:46 AM, Trevor DeVore wrote:


On May 26, 2006, at 11:33 AM, Josh Mellicker wrote:

Hmmm... I tried both of these, and got a nice round zero as a  
returned value in both cases, same as my earlier tests with  
mysql_insert_id()...


My first instinct is that I need to do the INSERT using some other  
command than revExecuteSQL? Because revExecuteSQL does not provide  
for a "Record set"


Are you inserting into a table with an autoincrement primary key?   
revExecuteSQL is the correct handler to call for the insert.  You  
won't get a record set when inserting data.


--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Now a TCP Question

2006-05-26 Thread Dar Scott


On May 26, 2006, at 12:45 PM, Jim Ault wrote:

These two stacks run successfully on both the same computer and two  
that I
have on my network, either with DHCP address or each having a  
static IP

address.

Now the outside world...


Are you saying you cannot make a TCP connection to a server out on  
the Internet?


You might want to check your firewall settings.

Dar Scott


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


AltSQLite to Mobile Content

2006-05-26 Thread Michael Mandaville
Has anybody been checking into how to take altSQLite data from an
application and port it over to PDS/Phones, etc., through a Mobile Content
conduit/program/app/service, etc., ??


Michael


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


Re: How does revAppendXML work?

2006-05-26 Thread John Patten
Thank for the tip Sarah!

I tried your suggestion and the strange thing is I get an error after: 

revAppendXML targetXMLFile, "StudentURL_table", tXMLdata 

However, when I ask it to dump out the xml file it appears to have appended the 
xml files but, I think, in the wrong format.

Here's what it creates:
-snip-


  
 Art
 Fine Art
 5
 Creativity
 SPARK Site
 This site is great for introducing students to the varied 
definitions of fine art and expression.
 John Art
 [EMAIL PROTECTED]
 Orchard School
 www.kqed.org/spark
  
  
 Art
 San Fracicso, Museum of Modern Art
 5
 VAPA
 SFMOMA
 The San Francisco Museum of Modern Art
 John Art
 [EMAIL PROTECTED]
 Orchard School
 www.sfmoma.org
  
  

   Art
   Fine Art
   5
   Creativity
   SPARK Site
   This site is great for introducing students to the varied 
definitions of fine art and expression.
   John Art
   [EMAIL PROTECTED]
   Orchard School
   www.kqed.org/spark


   Art
snip--

And it ends file with:

---snip-
  www.sfmoma.org


   Art
   Fine Art
   5
   Creativity
   SPARK Site
   This site is great for introducing students to the varied 
definitions of fine art and expression.
   John Art
   [EMAIL PROTECTED]
   Orchard School
  www.kqed.org/spark

  

snip---


I was hoping that revAppendXML would renumber the attributes, I think that's 
what they are called, i.e. " I guess that is not the case. But 
what is strange is I get the "xmlerr" message after the first revAppendXML 
command, but at the end it shows all the appends to the original XML file...???

Thanks!

John Patten
SUSD


> 
> 
> ... 
> 
> I want to take these multiple XML files and combine them into one large xml 
> file with the same format. 
> 
> I was thinking I could do something like this: 
> 
>  answer folder "Select XML folder" as sheet 
>   if it = "" then exit mouseUp 
>   set the defaultFolder to it 
> 
> 
>   put the files  into tFiles 
>   put the number of lines of tFiles into tNumberofXMLFiles 
>   put line 1 of tFiles into theFileName 
>   put URL ("file:" & theFileName) into tData 
> 
> get revCreateXMLTree(tData,true,true,true) 
> 
> put the result into targetXMLFile 
> 
> 
> put 1 into x 
> repeat tNumberOfXMLFiles 
> 
> 
>   revAppendXML targetXMLFile,"/StudentURL_table/",URL "file:" & line x of 
> tFiles 
>   add 1 to x 
>   end repeat 
> -- 
> Put revXMLText(targetXMLFile,,true) 
> 
> end mouseUp 
> 
> --- 
> 
> However, I appear to be misunderstanding what revAppendXML does, or how to 
> use it correctly. 


>I can't see any major problem with what you are doing, except possibly 
>for the specification of the parentNode for the revAppendXML command. 
>Try leaving out the /'s. 

>I would also recommend doing it in 2 stages: read the file into a 
>variable, then append the variable. e.g. 

 > put URL ("file:" & line x of tFiles) into tXMLdata 
  >revAppendXML targetXMLFile, "StudentURL_table", tXMLdata 

>I always surround the file stuff with brackets before using put or get 
>URL. It seems to be more reliable. 

>And after each XML command or function, check the result and see if it 
>contains "xmlerr". 

>HTH, 
>Sarah 

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


Players and Long Filenames (was: dragData["files"] problem)

2006-05-26 Thread Scott Rossi
Recently, Garrett Hylltun wrote:

> Much appreciate all the information and efforts on this from everyone.
> 
> It does explain the problems I've been having making an MP3 Player for
> myself.
> 
> I believe that this isn't just a dragData issue either, as I've had
> problems with trying to load files into the "player" with long file
> names on OS X.
> 
> Well nix the MP3 player for me.

Garrett:

Maybe hope is not completely lost.  Using long file names with players has
been an issue for some time.  If you look in the archives, there are some
mentions of techniques for addressing the problems:

1) Mark Waddingham provided the workaround syntax of using the "file" format
for the file path:

set fileName of player 1 to \
  "file:///volumes/users/joe/really_long_filename_here.mp3"

2) Replace spaces with "%20" in file paths.

3) If there is any chance of diacritical characters appearing in the file
path, Thierry Arbellot posted a sample stack that contains a script to
address most of these characters with a "lookup table":

  http://www.digital-salade.com/toki/download/player.rev

IMO, another big issue for a creating player is being able to read ID3 tags
in music files.  Mark Smith has created a first pass at this with his ID3
library on RevOnline:
Category: Utilities
Name: id3lib
User: Mark Smith

Last I checked, this does not work on MP4/M4P/M4A but it's a welcome start.

It's a great testament to the community where the contributions of various
folks come together to create solutions.  We may not have a complete
solution yet, but still, nice job guys. :-)

Regards,

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

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


Re: how do you get the MySQL mysql_insert_id(); from within Rev?

2006-05-26 Thread Trevor DeVore

On May 26, 2006, at 11:33 AM, Josh Mellicker wrote:

Hmmm... I tried both of these, and got a nice round zero as a  
returned value in both cases, same as my earlier tests with  
mysql_insert_id()...


My first instinct is that I need to do the INSERT using some other  
command than revExecuteSQL? Because revExecuteSQL does not provide  
for a "Record set"


Are you inserting into a table with an autoincrement primary key?   
revExecuteSQL is the correct handler to call for the insert.  You  
won't get a record set when inserting data.


--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[EMAIL PROTECTED]


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


Re: dragData["files"] problem

2006-05-26 Thread Garrett Hylltun

Much appreciate all the information and efforts on this from everyone.

It does explain the problems I've been having making an MP3 Player for 
myself.


I believe that this isn't just a dragData issue either, as I've had 
problems with trying to load files into the "player" with long file 
names on OS X.


Well nix the MP3 player for me.  :-(


Thanks,
-Garrett
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The ssl library again

2006-05-26 Thread Dave Cragg


On 26 May 2006, at 16:19, Dar Scott wrote:



On May 26, 2006, at 7:32 AM, Dave Cragg wrote:

It seems the secure socket is being opened OK (at least the Rev  
engine thinks so), and the timeouts are occurring on the first  
read immediately after writing the request.


On further checking, it seems the first write to the socket  
(writing the request headers) is timing out. Also happening on OS  
X 10.3.9.


Is this with cert checking both on and off?


Yes. The behavior is the same with both.

Mark also mentioned "every other attempt". I thought this indicated a  
pattern or sorts. With the url Mark supplied, it keeps the connection  
open, so libUrl will re-use the open connection. And generally, it is  
when re-using the open connection that things timeout. However, I see  
enough exceptions to think that this is not significant. Also, with  
other URLs that always close the connection, I get a similar rate of  
timeout failures.


The significance of the timeout on the first write to the socket (as  
opposed to the first read after the first write) is that I don't have  
much to play with in libUrl, such as adding a few waits here and  
there. I think this will have to go to the engine people.


Cheers
Dave

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


Now a TCP Question

2006-05-26 Thread Jim Ault
It turns out that the server service has just started a TCP alternative, so
I tried Alex Tweedly's TCP server and client.

These two stacks run successfully on both the same computer and two that I
have on my network, either with DHCP address or each having a static IP
address.

Now the outside world...
 Adjusting firewall and my client settings, I can get

"Success: opened server.i.p.addr:8882"

where the actual IP address is shown, so I assume this is a handshake.

The tech group reports back that (including word wrap, addr chgd) :
--
We are seeing the following in the sdlear/tcpip log:
 
060526 08:16:19 Accepting TCP Connection from dd.234.99.999:33142
060526 08:17:42 send error: WSACONNABORTED
060526 08:17:42 Releasing TCP Connection from dd.234.99.999:33142 (0
00:01:23)
060526 08:24:04 Accepting TCP Connection from 24.234.99.999:32776
060526 08:38:50 send error: WSACONNABORTED
060526 08:38:50 Releasing TCP Connection from 24.234.99.999:32776 (0
00:14:46)
060526 09:04:25 Accepting TCP Connection from 24.234.99.999:32832
060526 09:05:27 Accepting TCP Connection from 24.234.99.999:32834
060526 09:05:32 send error: WSACONNABORTED
060526 09:05:32 Releasing TCP Connection from 24.234.99.999:32832 (0
00:01:07)
060526 09:10:52 Accepting TCP Connection from 24.234.99.999:63559
 
 
WSAECONNABORTED (10053)
€Translation: Software caused connection abort.
€Description: An established connection was stopped by the software in your
host computer, possibly because of a data transmission time-out or protocol
error.
--
I get this both on 
G5 dual, OSX 10.4.6, Rev 2.6.1
Duo Mini, OSX 10.4.6, Rev 2.6.1 or 2.7.1  build 236

This is getting a little deep for me, since I am not a networking or socket
guy.  It seems that Rev is almost up to the task.  If I can figure this out,
I will put together some example and test stacks so others can learn.  I
could possibly host some stacks for live testing that others could use.

My deadline for getting this solved is about 5 days from now, so hopefully I
can learn all the details I need to make this happen.

Questions:
Since UDP works on the G5/10.4.6, but not DuoMini/10.4.6
[starts to get messages, then crashes Rev w/EXEC_BAD_INSTRUCTION (0x0002)]
on BOTH  2.6.1 and  (2.7.1 build 236 installed today 5.26.06)
Since TCP would be the most desirable method, is there a test server I can
use?



Thanks for any advice in advance.

Jim Ault
Las Vegas


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


Re: ErrorLib 1.0b01 released

2006-05-26 Thread Mark Wieder
Ken-

Friday, May 26, 2006, 10:55:41 AM, you wrote:

> I guess my question was how to download it... the only buttons I see are
> "buy" buttons.

It's at the top of the page. The blue box that's labeled "Download
errorLib"...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: how do you get the MySQL mysql_insert_id(); from within Rev?

2006-05-26 Thread Josh Mellicker
Hmmm... I tried both of these, and got a nice round zero as a  
returned value in both cases, same as my earlier tests with  
mysql_insert_id()...


My first instinct is that I need to do the INSERT using some other  
command than revExecuteSQL? Because revExecuteSQL does not provide  
for a "Record set"?



this info from http://www.mysqlfreaks.com/statements/90.php :

LAST_INSERT_ID([expr])

The last ID that was generated is maintained in the server on a per- 
connection basis. This means the value the function returns to a  
given client is the most recent AUTO_INCREMENT value generated by  
that client. The value cannot be affected by other clients, even if  
they generate AUTO_INCREMENT values of their own. This behaviour  
ensures that you can retrieve your own ID without concern for the  
activity of other clients, and without the need for locks or  
transactions.



I have checked, and my pConnID/tDBRef is identical for both the  
INSERT and the check for the insert_id.


I will keep trying to trace it down, could be simply related to how  
I'm doing the insert or making the DB connection.


Thanks for the help!


On May 26, 2006, at 8:49 AM, Trevor DeVore wrote:


Try this:

function getLastInsertIDForMySQL pConnID
put "SELECT LAST_INSERT_ID()" into theSQL
return revDataFromQuery(,, pConnID, theSQL)
end getLastInsertIDForMySQL



On May 26, 2006, at 5:49 AM, Ken Ray wrote:


You can use revDataFromQuery right after you have done your insert  
with

revExecuteSQL:

   get revDataFromQuery("","",tDBRef,"SELECT LAST_INSERT_ID()")

You may also be able to use *another* call to revExecuteSQL to run  
the same

SQL statement ("SELECT LAST_INSERT_ID()"), but I've only used
revDataFromQuery.

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


Re: ErrorLib 1.0b01 released

2006-05-26 Thread Stephen Barncard

Ken,

There are two links on the developer's page in a blue round rect.

http://economy-x-talk.com/developers.html


they're only charging 9 Euros for this thing.



On 5/26/06 12:02 PM, "Mark Schonewille" <[EMAIL PROTECTED]>
wrote:


 Hi Ken,

 You should be able to use the library during one hour after opening
 it. Next time you restart the IDE, you can try again.


I guess my question was how to download it... the only buttons I see are
"buy" buttons.

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ErrorLib 1.0b01 released

2006-05-26 Thread Mark Schonewille

Hi Ken,

The download links are in the blue rectangle in the top-right of the  
page . It seems I should  
try to make this more visible.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 26-mei-2006, om 19:55 heeft Ken Ray het volgende geschreven:




I guess my question was how to download it... the only buttons I  
see are

"buy" buttons.

Ken Ray


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


Re: audio file volume levels

2006-05-26 Thread Stephen Barncard

You might look for an audio editor that has batch processing features.

The process you desire is called 'Normalizing' and will adjust the 
peaks to be at 100% (or whatever level you want).


Of course this process does modify the sound - and of course the 
low-level noise  that is there.. so be careful, if used to the 
extreme it can sound crunchy (those lower level bits don't 
regenerate, they just hang there...ha!)


Cross platform Audacity is free. But there doesn't seem to be any 
batch features.


http://audacity.sourceforge.net/


Sound Studio for the Mac is great and really easy to use, however no 
batch features.


BabaBatch is incredible and coverts everything to everything but is pricey.

Quicktime Pro might even do thisperhaps you can do it all in Rev 
using Applescripts... you need to find an Audiounits plugin that will 
normalize.





I have a stack which uses a large number of audio files, and 
unfortunately they were recorded at various volume levels.  I would 
like to "even them out" so that they sound more matched with each 
other, volume-wise.  Does anyone have a suggestion as to a utility 
that can accomplish this? It is not practical in my situation merely 
to use the Rev QT player object to play them back at different 
levels; I need to actually modify the sound files themselves.


Thanks,
Kurt



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The ssl library again

2006-05-26 Thread Mark Smith
Sorry, what I meant was that approximately half of the attempts  
timeout, but the failures and successes don't simply alternate. And  
now I've found a certificate that works, it doesn't seem to make any  
difference whether verification is on or off.


Best,

Mark

On 26 May 2006, at 18:47, Dar Scott wrote:



On May 26, 2006, at 11:08 AM, Mark Smith wrote:

Setting the sslcertificates to this now means that I can get the  
wsdl without using the shell, and with verification on, though  
every other attempt (or thereabouts) times out.


I'm not sure I'm parsing "every other" right.  Does this mean you  
still get timeouts even with verification on?


Dar Scott

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: dragData["files"] problem

2006-05-26 Thread J. Landman Gay

Ken Ray wrote:


Agreed... even though there are some workarounds, it is desperately
important that ALL of these path-related things get fixed. In fact,
drag-and-drop should return a long file path just like 'answer file' does so
there shouldn't be a need to go out to AppleScript to handle that


I agree. In the interim, I have also entered a Bugzilla enhancement 
request asking that the longFilePath and shortFilePath be made 
functional on OS X, bringing it into parity with Windows systems.




--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ErrorLib 1.0b01 released

2006-05-26 Thread Ken Ray
On 5/26/06 12:02 PM, "Mark Schonewille" <[EMAIL PROTECTED]>
wrote:

> Hi Ken,
> 
> You should be able to use the library during one hour after opening
> it. Next time you restart the IDE, you can try again.

I guess my question was how to download it... the only buttons I see are
"buy" buttons.

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

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


Re: The ssl library again

2006-05-26 Thread Dar Scott


On May 26, 2006, at 11:08 AM, Mark Smith wrote:

Setting the sslcertificates to this now means that I can get the  
wsdl without using the shell, and with verification on, though  
every other attempt (or thereabouts) times out.


I'm not sure I'm parsing "every other" right.  Does this mean you  
still get timeouts even with verification on?


Dar Scott

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


Re: Video at the conference.

2006-05-26 Thread Dan Shafer

Stephen

Harshness doesn't bother me. After about 3 decades in this business and a
bunch of books published, I've grown a fairly thick skin.

And you're right.

I just wanted to put the "decision" about video last year into its proper
context.

On 5/26/06, Stephen Barncard <[EMAIL PROTECTED]> wrote:


Sorry to be so harsh, Dan... my point was.. if one is going to do
something.. it's not that much harder to do it just a little better -

sqb




--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.html

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


Re: The ssl library again

2006-05-26 Thread Mark Smith
One small piece of the puzzle - through playing around with the  curl  
--trace option in the terminal, I was able to discover that the  
certificate it uses is:
/usr/share/curl/curl-ca-bundle.crt (this is Mac OS 10.4.6, presumably  
this will be fairly consistent on macs).


Setting the sslcertificates to this now means that I can get the wsdl  
without using the shell, and with verification on, though every other  
attempt (or thereabouts) times out.


Still, this is progress!

best,

Mark

On 26 May 2006, at 14:32, Dave Cragg wrote:


Dave Cragg wrote:

It seems the secure socket is being opened OK (at least the Rev  
engine thinks so), and the timeouts are occurring on the first  
read immediately after writing the request.


On further checking, it seems the first write to the socket  
(writing the request headers) is timing out. Also happening on OS X  
10.3.9.


I've Bugzilla'd this (#3639).

Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: ErrorLib 1.0b01 released

2006-05-26 Thread Mark Schonewille

Hi Ken,

You should be able to use the library during one hour after opening  
it. Next time you restart the IDE, you can try again.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 26-mei-2006, om 18:59 heeft Ken Ray het volgende geschreven:

On 5/26/06 11:45 AM, "Mark Schonewille" <[EMAIL PROTECTED] 
talk.com>

wrote:


ErrorLib is shareware. Download ErrorLib from the Economy-x-Talk
website at http://economy-x-talk.com/developers.html.


Lookd good, Mark, but is there any way to download a copy and try  
it out

*before* buying?

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


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


Re: ErrorLib 1.0b01 released

2006-05-26 Thread Ken Ray
On 5/26/06 11:45 AM, "Mark Schonewille" <[EMAIL PROTECTED]>
wrote:

> ErrorLib is shareware. Download ErrorLib from the Economy-x-Talk
> website at http://economy-x-talk.com/developers.html.

Lookd good, Mark, but is there any way to download a copy and try it out
*before* buying?

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

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


ErrorLib 1.0b01 released

2006-05-26 Thread Mark Schonewille

Dear Revolution community,

It is a pleasure to announce that Economy-x-Talk is releasing a new  
library for Runtime Revolution 2.2 and later, called ErrorLib.


ErrorLib gives you control of execution errors. With ErrorLib, you  
decide whether errors are reported and how they are reported.  
Password protected stacks no longer hamper bug reports from your  
clients and you will get all error information Revolution can  
possibly provide.


With errorLib, you have a simple light-weight set of commands and  
functions that you can include with your standalones and use in the  
IDE. You can easily parse error information and choose whether to  
have the error displayed by the Revolution IDE, by the built-in  
routines of errorLib, or in your own custom error dialog.


ErrorLib is shareware. Download ErrorLib from the Economy-x-Talk  
website at http://economy-x-talk.com/developers.html.


Best regards,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




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


Re: how do you get the MySQL mysql_insert_id(); from within Rev?

2006-05-26 Thread Trevor DeVore

On May 26, 2006, at 1:08 AM, Josh Mellicker wrote:


Just wondering,

After you execute a revExecuteSQL INSERT, how do you get the auto- 
incremented record ID MySQL automatically assigned (from within Rev)?


(Rather than doing an inelegant search for the record you just  
inserted and reading it's ID?)


Try this:

function getLastInsertIDForMySQL pConnID
put "SELECT LAST_INSERT_ID()" into theSQL
return revDataFromQuery(,, pConnID, theSQL)
end getLastInsertIDForMySQL


--
Trevor DeVore
Blue Mango Learning Systems - http://www.bluemangolearning.com
[EMAIL PROTECTED]


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


Background Field Table Behavior

2006-05-26 Thread Robert Sneidar
I encountered an odd thing. I have a field as part of a background  
group with text in it that is different for every card. If on one  
card I enable the Cell Editing property, then on the other cards, as  
long as I don't click in the field, the existing text is preserved.  
But as soon as I click in the field, the text is replaced by the text  
from the card I originally set the property on. Somehow changing the  
Cell Editing property inadvertently enables the Share Text property,  
although the checkbox for Share Text remains unchecked. Odd huh?


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

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


Re: The ssl library again

2006-05-26 Thread Dar Scott


On May 26, 2006, at 7:32 AM, Dave Cragg wrote:

It seems the secure socket is being opened OK (at least the Rev  
engine thinks so), and the timeouts are occurring on the first  
read immediately after writing the request.


On further checking, it seems the first write to the socket  
(writing the request headers) is timing out. Also happening on OS X  
10.3.9.


Is this with cert checking both on and off?

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


Re: The ssl library again

2006-05-26 Thread Mark Smith

Thanks, will vote as soon as it shows up in revZilla.

Best,

Mark

On 26 May 2006, at 14:32, Dave Cragg wrote:


Dave Cragg wrote:

It seems the secure socket is being opened OK (at least the Rev  
engine thinks so), and the timeouts are occurring on the first  
read immediately after writing the request.


On further checking, it seems the first write to the socket  
(writing the request headers) is timing out. Also happening on OS X  
10.3.9.


I've Bugzilla'd this (#3639).

Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


audio file volume levels

2006-05-26 Thread Kurt Kaufman
I have a stack which uses a large number of audio files, and unfortunately 
they were recorded at various volume levels.  I would like to "even them 
out" so that they sound more matched with each other, volume-wise.  Does 
anyone have a suggestion as to a utility that can accomplish this? It is not 
practical in my situation merely to use the Rev QT player object to play 
them back at different levels; I need to actually modify the sound files 
themselves.


Thanks,
Kurt


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


Re: The ssl library again

2006-05-26 Thread Dave Cragg

Dave Cragg wrote:

It seems the secure socket is being opened OK (at least the Rev  
engine thinks so), and the timeouts are occurring on the first read  
immediately after writing the request.


On further checking, it seems the first write to the socket (writing  
the request headers) is timing out. Also happening on OS X 10.3.9.


I've Bugzilla'd this (#3639).

Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: dragData["files"] problem

2006-05-26 Thread Klaus Major

Hi Ken,


On 5/26/06 5:22 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote:


But i think it is worth mentioning that this will only DISPLAY the
correct filepath. You cannot use that correct filepath in Rev in  
any way!


True! Thanks for the reminder...


Example:

Path returned by Rev:
/Users/klaus/Desktop/Widerspruch und Klag#51BF4F.pdf

stsLongFilePath:
/Users/klaus/Desktop/Widerspruch und Klage - S 11 AS 105.pdf

"launch document xyz" will only work with the first "crippled" path
returned by Rev (with drag and drop or "Answer file"), NOTHING
will happen with the second and "correct" path.


Actually, "answer file" returns the long path (uncrippled)...


oh, yes, sorry.


it appears
that only drag and drop returns a crippled path. And you can always  
use
"open" through the shell instead of launch to open a file with a  
long path

as a workaround.


Sure, but that was only an example!
You cannot use "shell" to set the filename of a player ;-)


This is a very long known bug (Bugzilla: 396, 08/20/2003!) and does
affect ALL file
handling actions in Rev on OS X, especially player objects and is a
real shwostopper
in my opinion. This bug is also related to path names with umlauts/
accents etc...


Agreed... even though there are some workarounds,


especially the wonderful solution of Thierry Arbellot, chapeau  
monsieur! :-)

But that also fails with long filenames.


it is desperately
important that ALL of these path-related things get fixed. In fact,
drag-and-drop should return a long file path just like 'answer  
file' does so

there shouldn't be a need to go out to AppleScript to handle that


Essato/Exactement/Exactly/Genau! :-)


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


Best from (still fricking cold and rainy) germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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


Re: how do you get the MySQL mysql_insert_id(); from within Rev?

2006-05-26 Thread Ken Ray
--- Josh Mellicker <[EMAIL PROTECTED]> wrote:

>> After you execute a revExecuteSQL INSERT, how do you
>> get the auto- 
>> incremented record ID MySQL automatically assigned
>> (from within Rev)?

You can use revDataFromQuery right after you have done your insert with
revExecuteSQL:

   get revDataFromQuery("","",tDBRef,"SELECT LAST_INSERT_ID()")

You may also be able to use *another* call to revExecuteSQL to run the same
SQL statement ("SELECT LAST_INSERT_ID()"), but I've only used
revDataFromQuery.

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

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


Re: dragData["files"] problem

2006-05-26 Thread Ken Ray
On 5/26/06 5:22 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote:


> But i think it is worth mentioning that this will only DISPLAY the
> correct filepath.
> You cannot use that correct filepath in Rev in any way!

True! Thanks for the reminder...
 
> Example:
> 
> Path returned by Rev:
> /Users/klaus/Desktop/Widerspruch und Klag#51BF4F.pdf
> 
> stsLongFilePath:
> /Users/klaus/Desktop/Widerspruch und Klage - S 11 AS 105.pdf
> 
> "launch document xyz" will only work with the first "crippled" path
> returned by Rev
> (with drag and drop or "Answer file"), NOTHING will happen with the
> second and
> "correct" path.

Actually, "answer file" returns the long path (uncrippled)... it appears
that only drag and drop returns a crippled path. And you can always use
"open" through the shell instead of launch to open a file with a long path
as a workaround. 

> This is a very long known bug (Bugzilla: 396, 08/20/2003!) and does
> affect ALL file
> handling actions in Rev on OS X, especially player objects and is a
> real shwostopper
> in my opinion. This bug is also related to path names with umlauts/
> accents etc...

Agreed... even though there are some workarounds, it is desperately
important that ALL of these path-related things get fixed. In fact,
drag-and-drop should return a long file path just like 'answer file' does so
there shouldn't be a need to go out to AppleScript to handle that


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

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


Re: dragData["files"] problem

2006-05-26 Thread Klaus Major

Hi Ken and all,

On 5/25/06 11:04 PM, "J. Landman Gay" <[EMAIL PROTECTED]>  
wrote:



Maybe someone else can come up with a better way, or fix this one. Or
there may be an Applescript function that allows you to get the  
long name.


Yes, there is... here's my stsLongFilePath function in action:

on dragDrop
  put the dragdata["files"] into tPath
  put stsLongFilePath(tPath) after fld 1  -- or
end dragDrop

function stsLongFilePath pPath
  switch (the platform)
  case "MacOS"  -- assumes OS X
put "set tPath to" && quote & pPath & quote & cr & \
"set tPath to (POSIX file tPath) as string" & cr & \
"POSIX path of tPath" into tScript
do tScript as "AppleScript"
return (char 2 to -2 of the result)  -- strips quotes
break
  case "Win32"
return the longFilePath of pPath
break
  end switch
end stsLongFilePath

Enjoy!


very nice, Ken :-)

But i think it is worth mentioning that this will only DISPLAY the  
correct filepath.

You cannot use that correct filepath in Rev in any way!

Example:

Path returned by Rev:
/Users/klaus/Desktop/Widerspruch und Klag#51BF4F.pdf

stsLongFilePath:
/Users/klaus/Desktop/Widerspruch und Klage - S 11 AS 105.pdf

"launch document xyz" will only work with the first "crippled" path  
returned by Rev
(with drag and drop or "Answer file"), NOTHING will happen with the  
second and

"correct" path.

This is a very long known bug (Bugzilla: 396, 08/20/2003!) and does  
affect ALL file
handling actions in Rev on OS X, especially player objects and is a  
real shwostopper
in my opinion. This bug is also related to path names with umlauts/ 
accents etc...



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


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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


Re: Disable combo box menu item?

2006-05-26 Thread Mark Schonewille

Hi Judy,

Like Jacque, I see the combo box menu being simple text as a possible  
explanation for not being able to disable items in it. Dividers, too,  
cannot be created, probably for the same reason.


Your default button problem seems to be a bug caused by either  
Revolution or Mac OS X 10.3. In Revolution 2.7.1 on Tiger, disabled  
default buttons look the same as normal buttons.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 26-mei-2006, om 8:34 heeft Judy Perry het volgende geschreven:




On Thu, 25 May 2006, J. Landman Gay wrote:


Judy Perry wrote:


For all other multiple-option button types, doing this disables the
particular button/menu option.  But for the combo box, it simply  
shows an

enabled-state menu item that looks like this:  "(Vodka"

Why?


Combo buttons are odd animals, half field and half button. It  
looks like
they don't support disabling individual lines, just as you can't  
disable

a line in a field. I think they probably should..


--Thanks.  I thought that maybe I was losing even more brain cells  
than I

had previously thought to be losing.

The OS draws those, so it is out of Rev's hands. But I can't  
recall ever

seeing a disabled default button in OS X. Is that even possible?


--Yup, and, apparently, Rev makes it possible? Try this:

1.  Create a standard push button.

2.  Open the object inspector -> down at the bottom you can select  
BOTH

default and disabled.

Go figure.

Judy


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


Re: First record status inconsistent using SQLite

2006-05-26 Thread David Vaughan


On 26/05/2006, at 19:02, Jan Schenkel wrote:


I remember an old discussion about when exactly you
were at the end of a cursor: on the last record, or
after you call revdb_movenext on the last record?
FoxPro seemed to think that the EOF() was _after_ the
last record, not on it.


I do not particularly mind which standard is adopted; rather, I am  
bothered by the fact that _isbof acts inconsistently and the RR  
function names CurrentRecordIsFirst and CurrentRecordIsLast appear to  
take one position on the above question in their names but to behave  
otherwise.


Posting here was a bit of a scattergun in that I expect that it will  
be read by all who might have an answer or be in a position to deny  
that the problem lies with them. If I can get that resolved, then I  
can post the bug in the right place :-)


regards
David
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: First record status inconsistent using SQLite

2006-05-26 Thread Jan Schenkel
--- David Vaughan <[EMAIL PROTECTED]> wrote:
> Using Rev 2.7.1 with AltSqlite/SQLite 3, I found
> inconsistent  
> behaviour (as I see it) with the function
> revdb_isbof alias  
> RevCurrentRecordIsFirst.
> 
> Let us assume you find a record set comprising one
> record.
> -- revdb_isbof will be true (expected)
> -- revdb_iseof will be false (not expected)
> This is inconsistent.
> 
> Let us now assume you find a record set comprising
> two records
> -- revdb_isbof will be true (tick)
> -- revdb_iseof will be false (tick)
> Now go to the Next (last) record
> -- revdb_isbof will be false (tick)
> -- revdb_iseof will be false (unexpected)
> Now, go back to the first record
> -- revdb_isbof will be false (unexpected, and
> inconsistent with our  
> starting state)
> -- revdb_iseof will be false (tick)
> 
> So, the functions purporting to state whether you
> are at the first or  
> last record in a cursor will become true only when
> you attempt to go  
> _past_ the first or last record, rather than when
> you are at it.  
> However, the First Record function inconsistently
> returns true when  
> you first obtain the record set but not thereafter
> for the same  
> record position.
> 
> Is this a Rev bug, a SQLite bug or an AltSQLite bug,
> or expected  
> (unexpectedly)?
> 
> regards
> David
> 

Hi David,

I remember an old discussion about when exactly you
were at the end of a cursor: on the last record, or
after you call revdb_movenext on the last record?
FoxPro seemed to think that the EOF() was _after_ the
last record, not on it.

In this case, I'd contact the Altuit people to verify
this behavior and whether or not it is consistent with
revdb standards.

Jan Schenkel.

Quartam Reports for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how do you get the MySQL mysql_insert_id(); from within Rev?

2006-05-26 Thread Jan Schenkel
--- Josh Mellicker <[EMAIL PROTECTED]> wrote:
> Just wondering,
> 
> After you execute a revExecuteSQL INSERT, how do you
> get the auto- 
> incremented record ID MySQL automatically assigned
> (from within Rev)?
> 
> (Rather than doing an inelegant search for the
> record you just  
> inserted and reading it's ID?)
> 
> Thanks!
> 

Hi Josh,

For a second I thought that the result of
revExecuteSQL might be the ID, but according to the
docs you'll get the number of records affected by your
query.
So it looks like searching your record is the only
option.

Jan Schenkel.

Quartam Reports for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


First record status inconsistent using SQLite

2006-05-26 Thread David Vaughan
Using Rev 2.7.1 with AltSqlite/SQLite 3, I found inconsistent  
behaviour (as I see it) with the function revdb_isbof alias  
RevCurrentRecordIsFirst.


Let us assume you find a record set comprising one record.
-- revdb_isbof will be true (expected)
-- revdb_iseof will be false (not expected)
This is inconsistent.

Let us now assume you find a record set comprising two records
-- revdb_isbof will be true (tick)
-- revdb_iseof will be false (tick)
Now go to the Next (last) record
-- revdb_isbof will be false (tick)
-- revdb_iseof will be false (unexpected)
Now, go back to the first record
-- revdb_isbof will be false (unexpected, and inconsistent with our  
starting state)

-- revdb_iseof will be false (tick)

So, the functions purporting to state whether you are at the first or  
last record in a cursor will become true only when you attempt to go  
_past_ the first or last record, rather than when you are at it.  
However, the First Record function inconsistently returns true when  
you first obtain the record set but not thereafter for the same  
record position.


Is this a Rev bug, a SQLite bug or an AltSQLite bug, or expected  
(unexpectedly)?


regards
David
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Video at the conference.

2006-05-26 Thread Stephen Barncard
Sorry to be so harsh, Dan... my point was.. if one is going to do 
something.. it's not that much harder to do it just a little better -


sqb


Stephen..

Chastisement noted and accepted.

There were no advance plans to video last year. It happened
spur-of-the-moment. We had two rooms of content going on most of the time
but only one camera. I did not intend to suggest that we couldn't have done
better last year or that we don't know how to do better this year. It's just
that there are only so many things two guys with busy lives and businesses
can do to support a conference that continues to be essentially a labor of
love for them.

As Chipp has said elsewhere on this list, he and I are now discussing
options for providing some sort of video support this year. When we resolve
the best way to approach it, we'll post it to the list.


On 5/22/06, Stephen Barncard <[EMAIL PROTECTED]> wrote:


With all due respect Dan, that was a pretty lowball video set up last
year.






--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how do you get the MySQL mysql_insert_id(); from within Rev?

2006-05-26 Thread Josh Mellicker

Just wondering,

After you execute a revExecuteSQL INSERT, how do you get the auto- 
incremented record ID MySQL automatically assigned (from within Rev)?


(Rather than doing an inelegant search for the record you just  
inserted and reading it's ID?)


Thanks!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution