Re: Stack working in MACOS, not in Windows.

2010-02-22 Thread stephen barncard
SUCCESS. Found it. *Thank you Jacque, Jim, Mark, **Björnke, Peter* for all
your suggestions and I tried them all.

here's the "fix"

put the tempname & ".mp3" into tPath


It wasn't really my code, exactly er...  it was more of a Win-Mac
assumption about MP3 files.

My client wanted major obfuscation of the funny business we're doing with
the decryption and playing - and wanted to not only have a temp type file
name, but no suffix. It worked in mac.

But Windows media player really wants to see that suffix.

What I really wanted to do in the first place was to play an mp3 file from a
variable, not even make a file  -- but no way to do that in Rev -

without an external ...? is there?

sqb
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev
___
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: Linux, Fonts, endless nagging . . .

2010-02-22 Thread Peter Alcibiades

Now this definitely falls in the category of, which is better?   To know it
and not to need to know it?  Or to need to know it, and not know it?

Richmond is to be thanked for a gem, which if we ever need to know it, we
can be sure we need to know it very badly indeed!


Richmond Mathewson-2 wrote:
> 
> unlike a pitbull, pushing a finger up my bottom won't make me let go . . . 
> :)
> 
> 

-- 
View this message in context: 
http://n4.nabble.com/Linux-Fonts-endless-nagging-tp1563500p1564116.html
Sent from the Revolution - User mailing list archive at Nabble.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 to enter a time of day

2010-02-22 Thread Scott Rossi
Recently, stephen barncard wrote:

> This is absolutely brilliant.   What a gift. I'm speaking of both your gift,
> and the gift to us.

Thanks -- hope the stack is useful for folks.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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


Here's a concrete example of the linux font problem

2010-02-22 Thread Peter Alcibiades
Here is a concrete example.  I don't understand how Rev can be handling 
fonts in such a way that this happens.

We open Rev, create a new stack, a new button, and then set the fonts.  The 
choices available in the 'i' category are these:

itwasntme
itc avantgarde
itc bookman
itc zapf chancery


Now we open OpenOffice and choose a font in a word document, and are 
offered, in the 'i' category, these choices:

idautomation3of9
iscopeur
iscocteur
itwasntme
italian garamond

So how exactly is Rev getting its fonts?  And why does it appear to get a 
bunch that OpenOffice is not getting?  And why does it fail to get the 
idautomation?  Just to verify, I tried Kwrite.  This gets the same fonts as 
OpenOffice, with an additional one, impact.

Very strange.

Peter
___
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: Here's a concrete example of the linux font problem

2010-02-22 Thread Richmond Mathewson

On 22/02/2010 11:16, Peter Alcibiades wrote:

Here is a concrete example.  I don't understand how Rev can be handling
fonts in such a way that this happens.

We open Rev, create a new stack, a new button, and then set the fonts.  The
choices available in the 'i' category are these:

itwasntme
itc avantgarde
itc bookman
itc zapf chancery


Now we open OpenOffice and choose a font in a word document, and are
offered, in the 'i' category, these choices:

idautomation3of9
iscopeur
iscocteur
itwasntme
italian garamond

So how exactly is Rev getting its fonts?  And why does it appear to get a
bunch that OpenOffice is not getting?  And why does it fail to get the
idautomation?  Just to verify, I tried Kwrite.  This gets the same fonts as
OpenOffice, with an additional one, impact.
   


Frankly, it looks as if the situation with fonts on Linux is in need of 
some connsiderable
sorting out - after all, it is not JUST RunRev that is having trouble 
finding all the fonts.



Very strange.

   

Indeed.

Now I knocked together a silly little stack called "Fontgetter" (an 
original name too)
that contains one scrolling text field "FONTZ" and a button that 
contains this script:


on mouseUp
  put the fontNames into fld "FONTZ"
end mouseUP

on my Ubuntu box it listed about 20 fonts which seem to bear little or 
no resemblance

to any other program's font listings.

NOW: the same silly stack on both my G4 Mac and my Headless XP box lists 
all the

fonts present: which is lovely and as things should be on Linux.

Programmers need to know that, should they be leveraging a particular 
font that:


End-users will be able to install that font easily (i.e. no 'funny' 
command-line stuff)

in a place where the RunRev standalone can 'see' it and use it.
___
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


incidentally...

2010-02-22 Thread Peter Alcibiades

Incidentally, for the sake of completeness, I tried with Geany (a standard
programmers text editor).  Setting the preferences, it offers the same fonts
as OpenOffice.  I think we would find if it was done in exhaustive detail
that all the other applications except Rev see the same fonts.  The impact
situation with Kwrite is a bit puzzling, but its one odd exception, whereas
the difference between Rev and the others is massive and inexplicable.

This is on Debian Squeeze by the way, normally Fluxbox, sometimes WMII. 
Yup, this is bare metal.  I don't think it is DTE dependent though.
-- 
View this message in context: 
http://n4.nabble.com/Here-s-a-concrete-example-of-the-linux-font-problem-tp1564162p1564188.html
Sent from the Revolution - User mailing list archive at Nabble.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: Here's a concrete example of the linux font problem

2010-02-22 Thread Peter Alcibiades


Richmond Mathewson-2 wrote:
> 
> Frankly, it looks as if the situation with fonts on Linux is in need of 
> some connsiderable sorting out - after all, it is not JUST RunRev that is
> having trouble 
> finding all the fonts.
> 
> 
Yes, this is true, it is not completely satisfactory.  That said however,
Rev as the examples show, is doing something very odd.  Its interesting that
Richmond and I are installing the fonts in different ways, but with the same
results.  I am not copying into /etc/fonts, but am installing in the case of
one-offs by using either the KDE or Gnome font managers.  Or in the case of
doing a lot at once, I mostly use the antique but convenient spadmin. 
Whichever, all the other apps but Rev find the installed fonts with no
problem.

Peter
-- 
View this message in context: 
http://n4.nabble.com/Here-s-a-concrete-example-of-the-linux-font-problem-tp1564162p1564198.html
Sent from the Revolution - User mailing list archive at Nabble.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: Here's a concrete example of the linux font problem

2010-02-22 Thread Ian Wood
That makes it looks like Rev is getting the names of the font *files*  
while OO is getting the *display names* of the fonts, as ITC is the  
International Typeface Corporation, one of the bigger companies that  
make fonts.


If you see a font like Garamond listed on a computer, it's *probably*  
ITC Garamond but could be Adobe Garamond, or any one of a whole bunch  
of other (very slightly different looking) versions of Garamond. Go to  
a site like identifont or myfonts and you'll be scared by how many  
variations of a single font turn up when you type in a font name...



You'll probably find that ITC Avatgarde is probably listed as  
Avantgarde by OO etc.



The positive side is that the way Rev is handling the fonts is that  
you know *which* version of the font is being used. The bad side is  
that anyone who cares which version is being used is probably using  
font management software on a Mac for DTP so it's irrelevant for  
Linux,  and that Rev is doing things differently than all the other  
apps on Linux. :-(


Ian

On 22 Feb 2010, at 09:16, Peter Alcibiades wrote:

Here is a concrete example.  I don't understand how Rev can be  
handling

fonts in such a way that this happens.

We open Rev, create a new stack, a new button, and then set the  
fonts.  The

choices available in the 'i' category are these:

itwasntme
itc avantgarde
itc bookman
itc zapf chancery


Now we open OpenOffice and choose a font in a word document, and are
offered, in the 'i' category, these choices:

idautomation3of9
iscopeur
iscocteur
itwasntme
italian garamond

So how exactly is Rev getting its fonts?  And why does it appear to  
get a

bunch that OpenOffice is not getting?  And why does it fail to get the
idautomation?  Just to verify, I tried Kwrite.  This gets the same  
fonts as

OpenOffice, with an additional one, impact.

Very strange.

Peter
___
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


RevBrowserPrint

2010-02-22 Thread Ray Horsley
I seem to have discovered several limitations to the RevBrowserPrint  
command.


Firstly, it seems to have no way of cooperating with batch printing.   
That is, if I open printing, print a batch of cards via a repeat loop,  
and close printing (expecting to print the whole batch on closing)  
RevBrowserPrint behaves as if I never opened printing in the first  
place in that it presents the print dialog and prints the card on each  
iteration of the repeat loop.


The second limitation is I seem to have a choice of either printing  
the browser image or Revolution fields, but not the combination of  
both.  Any ideas on how to overcome either of these?


Thanks,

Ray Horsley
LinkIt! Software

___
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 to enter a time of day

2010-02-22 Thread Francis Nugent Dixon

Hi from Beautiful Brittany,

Scott Rossi wrote :

I posted an example online that shows both time entry options (don't  
ask me

to explain the math).  Execute the following in your Rev message box:

go url "http://www.tactilemedia.com/download/timesettings.rev";


Nice !! That's what I love about this forum. Every day, somebody
shows me something that gives me new ideas ..

Thanks Scott !

-Francis


___
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: Here's a concrete example of the linux font problem

2010-02-22 Thread Peter Alcibiades

Its a nice idea, not sure whether it is correct, its getting more confusing
all the time.  

If we try in OO, we have no avantgarde, and we don't have a simple bookman. 
Instead we have a bunch of URW bookmans, and also a plain bookman old style. 
Rev seems to have a plain old avantgarde, and also an avantgarde gothic.

Then, in OO again, there is also a URW gothic L.  Maybe this is related to
the avantgarde gothic?

Also, the real thing that makes one dubious, this account doesn't explain
why Rev cannot see the idautomation3of9 font.  This one I am quite sure of,
it is nowhere to be found in the Rev choices, under any variant of its name. 
Why not?

Rev does find the urw bookmans, in addition to the itc bookmans.  Or are
these maybe the same thing and its finding them twice?

Peter
-- 
View this message in context: 
http://n4.nabble.com/Here-s-a-concrete-example-of-the-linux-font-problem-tp1564162p1564255.html
Sent from the Revolution - User mailing list archive at Nabble.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: RevBrowserPrint

2010-02-22 Thread Mark Schonewille

Ray,

Make a snapshot of the browser window and put that on a card. Now  
print your cards.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects.

Op 22 feb 2010, om 14:46 heeft Ray Horsley het volgende geschreven:

I seem to have discovered several limitations to the RevBrowserPrint  
command.


Firstly, it seems to have no way of cooperating with batch  
printing.  That is, if I open printing, print a batch of cards via a  
repeat loop, and close printing (expecting to print the whole batch  
on closing) RevBrowserPrint behaves as if I never opened printing in  
the first place in that it presents the print dialog and prints the  
card on each iteration of the repeat loop.


The second limitation is I seem to have a choice of either printing  
the browser image or Revolution fields, but not the combination of  
both.  Any ideas on how to overcome either of these?


Thanks,

Ray Horsley
LinkIt! Software



___
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: Here's a concrete example of the linux font problem

2010-02-22 Thread Richmond Mathewson

On 22/02/2010 13:01, Peter Alcibiades wrote:

Its a nice idea, not sure whether it is correct, its getting more confusing
all the time.

If we try in OO, we have no avantgarde, and we don't have a simple bookman.
Instead we have a bunch of URW bookmans, and also a plain bookman old style.
Rev seems to have a plain old avantgarde, and also an avantgarde gothic.

Then, in OO again, there is also a URW gothic L.  Maybe this is related to
the avantgarde gothic?

Also, the real thing that makes one dubious, this account doesn't explain
why Rev cannot see the idautomation3of9 font.  This one I am quite sure of,
it is nowhere to be found in the Rev choices, under any variant of its name.
Why not?

Rev does find the urw bookmans, in addition to the itc bookmans.  Or are
these maybe the same thing and its finding them twice?

Peter
   

I put my 'special' font (a TTF) in just about every possible place a font
could go in Ubuntu (i.e. cutesified Debian) with drag-n-drop and the
KDE font manager and something called Font installer I dug out of
the apt-get search thingy; re-set my font cache via command-line
and so forth.

RunRev did not see the font.

So any explanation that tells me that OO sees one set of names for fonts
and RunRev sees another doesn't wash.

[Peter: the dog's bottom may not have charmed you - but it did work
like a charm insofar as it stimulated the first half-decent debate about
this problem for ages.]
___
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: Here's a concrete example of the linux font problem

2010-02-22 Thread Peter Alcibiades

Richmond, I agree that explanations in terms of the font names doesn't seem
plausible.  But there is another piece of the puzzle which makes me think it
could possibly be Debian (and by extension Ubuntu) related, and that is that
on my old Mandriva installation it did not seem to happen even back in the
old days of 2.6x when the problem was even more acute.  On Mandriva, Rev
seemed to be able to find all the fonts.

So, is it possible that there is something specific to Debian and
derivatives which Rev is interacting badly with?  I don't know however that
Debian handles fonts any differently, so that is a real puzzle.

We could verify by trying it out on Andre's Suse distribution.  If it
happens there, its going to be Rev and Linux in most of its forms.

I'm OK with the dogs bottom - it made me laugh aloud!

Peter
-- 
View this message in context: 
http://n4.nabble.com/Here-s-a-concrete-example-of-the-linux-font-problem-tp1564162p1564294.html
Sent from the Revolution - User mailing list archive at Nabble.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


Locking for an idea to ....

2010-02-22 Thread Rolf Kocherhans
Hello all

I am looking for an idea to the following problem :-)


I have a non focused label text field of a fixed length, I use it
to display e.g. email adresses.

Sometimes the email address fits into the field, but other
times the email address ist to long, so I only see 80% of it.

I now noticed that the iPhones address application,
automatically reduces the font size to be able to always
display the whole address.

Very clever !

My Label field does not have a monospaced font
I use (Lucida Grande), I have no clue how to replicating this behavior.


Does anybody have an idea how I can do the same with revTalk ?


Cheers
Rolf

___
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


on standalonesaved

2010-02-22 Thread runrev260805
Dear all,

i need to process the standalone files  after they were created. So i thought i 
could use 'on standalonesaved pFolder'. But pFolder only contains the target 
path, which was selected in the standalone build process.

I am working under Windows. Under Windows the standalone is not created in that 
target folder directly. The standalone builder creates an additional folder in 
this target folder. If i create the standalone multiple times, the name of this 
automatic created folder is numbered consecutively.

Is there any way to process the files in this automatic created folder by 
script?

Regards,

Matthias


___
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: Locking for an idea to ....

2010-02-22 Thread Mark Schonewille

Hi Ralf,

Create another, hidden, stack with a transparent field, slightly  
smaller than the original field to make it fit inside the original  
field. Put the e-mail address into that field, set the width to the  
formattedWidth. Export a snapshot and put the image over the original  
field, setting the width of the image to slightly less than the with  
of the original field. Put empty into the original field (or set the  
textColor to white). Write a script that hides the image and reveals  
and selects the original text after a mouseDown on the image.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 22 feb 2010, om 12:42 heeft Rolf Kocherhans het volgende geschreven:


Hello all

I am looking for an idea to the following problem :-)


I have a non focused label text field of a fixed length, I use it
to display e.g. email adresses.

Sometimes the email address fits into the field, but other
times the email address ist to long, so I only see 80% of it.

I now noticed that the iPhones address application,
automatically reduces the font size to be able to always
display the whole address.

Very clever !

My Label field does not have a monospaced font
I use (Lucida Grande), I have no clue how to replicating this  
behavior.



Does anybody have an idea how I can do the same with revTalk ?


Cheers
Rolf



___
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: Here's a concrete example of the linux font problem

2010-02-22 Thread Ian Wood

Well excuse me for trying to think of a possible reason. ;-)

Ian

On 22 Feb 2010, at 11:24, Richmond Mathewson wrote:

So any explanation that tells me that OO sees one set of names for  
fonts

and RunRev sees another doesn't wash.


___
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: [OT] Languages and cultures (was Re: survey)

2010-02-22 Thread Andre Garzia
Congrats Bernard, happiness to you and yours :-D

Now, the important piece, when is the party?

Cheers!
Andre

On Sat, Feb 20, 2010 at 8:21 AM, Bernard Devlin  wrote:
> On Sat, Feb 20, 2010 at 9:14 AM, Sarah Reichelt
>  wrote:
>> I think it is changing again. My teenage sons refer to anything they
>> don't like as being "gay".
>> So a difficult assignment is "gay"; missing the bus is "gay"; a
>> teacher who growls at them is "gay".
>>
>> It doesn't have to be a person, and while it has certainly not
>> reverted to it's original meaning, it is losing it's homosexual
>> connotations. But maybe that is just here in Australia.
>
> Not just limited to Australia, I've heard that usage on South Park for
> years.  I've no idea if South Park was creating or following a trend.
>
> Clearly we've now lost the use of that charming little word.  Although
> in all truth, I think homos had been feeling 'gay' was a rather 70s
> word and was now as unfashionable as flared corduroy trousers.   (Hang
> on, I think they came back in and went out again a few years ago...)
>
> Anyway, homos have got a variety of other epithets (hostile and/or
> clinical) by which they can described.  Now that the majority of
> people describe themselves as 'straight' or 'heterosexual', we are in
> a different world from the late 1960s when gay people (along with
> black people) started to declare terms they wanted the majority to use
> to describe these minorities.  I still have some old manifestos of the
> Gay Liberation Front -- they are hilarious.  But I think the world I
> grew up in was already quite different from the world where those were
> written.
>
> Back then straight people would describe themselves as normal i.e.
> they didn't have a term for themselves.  There's even videos from the
> 1980s of people being interviewed on the streets of London, and when
> asked "are you heterosexual" they would reply "no, I'm married".
> Since then we've had metrosexuals, transexuals ('men giving birth'?),
> gay coming to mean 'naff''.  I doubt there's anyone left in the UK who
> doesn't know the difference between heterosexual/homosexual.
>
> Personally I've always thought queer was suitable for gay people --
> I've always found people who wanted to be normal to be rather creepy.
> Being oneself I can understand, but suppressing individuality to go
> with the crowd seems to reduce us to sheep.  Mind you, queer would
> then become an inclusive term that meant 'those who resist being
> normalized'.  I'm sure there's more than a few people on this list who
> would describe themselves as 'queer'.
>
> Having married a man recently, I certainly feel less than outré than
> in my youth.
>
> Bernard
> ___
> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Odd colour effects with mac plug in

2010-02-22 Thread Kevin Stallibrass
Thanks everyone who took the time to answer my last post below.

 

"I built a revlet which views fine on all my windows boxes and while it

viewed Ok on the mac (leopard) I still had the old problem of the dialogue

appearing behind safari when the revlet opened a find file dialogue.

Wondering if this had been fixed, I downloaded the latest plug in from the

mother ship and sure enough, it works! Except that all text in the revlet is

now bright blue where it should be black  and cyan where it should be red.

Interestingly, any plug in dialogues  also display blue text. The exception

appears to be text within a drop down menu or combo box. This displays
fine."

 

Based on the answers and suggestions, I did a bit of testing.

This does appear to be an issue seen on PowerPC processors but this never
used to be the case. As I mentioned before, the original plug-in had the
dialogue box issue (and perhaps others) but the text colour was fine. The
dialogue has been fixed but the font colour has changed. It's not only the
revlet that shows the issue, any plug in dialogue also has the problem so
there's nothing I can do to the revlet to change this.

 

Not complaining, these things happen and I'm sure this issue will be
resolved at some point but, and this is my question, how will I know? Where
do I go to find what's been fixed and when new releases have been made?

 

regards

Kevin Stallibrass

 

 

___
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: Stack working in MACOS, not in Windows.

2010-02-22 Thread Jim Bufalini
stephen barncard wrote:

> SUCCESS. Found it. *Thank you Jacque, Jim, Mark, **Björnke, Peter* for
> all
> your suggestions and I tried them all.
> 
> here's the "fix"
> 
> put the tempname & ".mp3" into tPath
> 
> 
> It wasn't really my code, exactly er...  it was more of a Win-Mac
> assumption about MP3 files.
> 
> My client wanted major obfuscation of the funny business we're doing
> with
> the decryption and playing - and wanted to not only have a temp type
> file
> name, but no suffix. It worked in mac.
> 
> But Windows media player really wants to see that suffix.

What you are saying here is not exactly so. Windows Media Player (wmplayer.exe) 
would "like" to see the file extension but does not require it. This is so of 
many, if not most PC programs (like Rev on PC does not require the .rev 
extension to know that a file is a stack and to open the stack. A stack can 
have any extension or no extension.). What "needs" to see the extension is the 
OS.

The OS uses the extension of a file to know what to open the file with (which 
program the file extension is associated with). In the case of no extension, or 
an "unknown" extension, the user "could" be prompted to indicate what program 
to use, or in the case of say a shell, nothing could happen and the file is 
simply not opened (in your case played).

What you can do, is instead of just trying to call the file, call the player 
and pass the music file as a command line parameter as in: *wmplayer 
c:\theDirectoryTheMusicIsIn\theMusicFile* (with or without the extension).

Now at this point, wmplayer, depending on how it is configured, could open a 
dialog saying it doesn't recognize the extension, does the user want to attempt 
to play the file anyway? Or it could just play it. Again, this depends on the 
configuration of the wmplayer on that machine.

Also, you need to be aware that extensions can be "switched" which means that 
the OS can be configured to open .mp3 files with a player other than wmplayer. 
This is another reason, if you are depending on a specific player to launch, to 
launch the player with a command line parameter rather than just launching the 
file.

As to playing from memory, I believe wmplayer only works with files.

Aloha,

Jim Bufalini





___
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: Problems with a standalone for Linux (SOLVED) accents again ; -((

2010-02-22 Thread Andre.Bisseret

Bonjour,

My problem was :

On Tue, Feb 9, 2010 at 3:08 AM, Andre.Bisseret  
 wrote:

Bonjour,

I have an app. that I saved as standalones for the three platforms  
(Mac,

Windows and Linux).

A first stack is launched which includes the engine and 3 buttons,  
each of

which opens an independant stack (say stack1, stack2 and stack3).

The 3 buttons have exactly the same script (on mouseUp, they call a  
same

command "ouvrirCeStack").

They are working well on Mac and Windows ;

But one user of Linux reports that only the two first buttons are  
working

normally. The third one does not open the corresponding stack!!!

How is that possible ??


Quite simply ;-), it was because the name of stack3 included an  
accented character ("Études")

As soon as I renamed it as "Etudes" the third button opened it normally!



Another problem with this Linux standalone :

On stack1 (which open normally) there is a button "help" which  
alternatively

change the visibile of a field "help" (shows or hides it)
Here again works well on Mac and Windows but, with the Linux  
standalone, my
user says that when he clicks on this button the field "help" is  
shown but

is immediately hidden, and the stack is closed!!


Here again the name of the field included an accented character  
("Démarches")

With "Demarches" the button opened (or closed) the field as expected.

So, for Linux standalones, accents are disastrous, but seems that it  
is only if used in the scripts. Fortunately the accents can be kept  
visible on the interface, thanks to the "label" feature : name without  
accent, but label with the accent(s)


Assuredly, it appears that Linux does not like French ;-))

Thanks again to Sarah and Bernard Devin for the attention they paid to  
this problem.


Best regards from Grenoble

André




___
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: on standalonesaved

2010-02-22 Thread Jim Bufalini
Mathias,

You wrote:

> Dear all,
> 
> i need to process the standalone files  after they were created. So i
> thought i could use 'on standalonesaved pFolder'. But pFolder only
> contains the target path, which was selected in the standalone build
> process.
> 
> I am working under Windows. Under Windows the standalone is not created
> in that target folder directly. The standalone builder creates an
> additional folder in this target folder. If i create the standalone
> multiple times, the name of this automatic created folder is numbered
> consecutively.
> 
> Is there any way to process the files in this automatic created folder
> by script?

As you note, the standalone builder creates a directory under the directory
you select and appends a number each time you build. Also, depending on if
you are building for just Windows or other OSs, the EXE file you are looking
for could be directly under this numbered directory or in a "Windows"
subdirectory. So...

Let's say the directory you select to save in is called MyRevPrograms and
the name of the standalone is MyProgram. Set the defaulFolder to
MyRevPrograms. Use the *folders* function to return a list of folders under
MyRevPrograms into a variable. Use the *filter* command to filter the
variable with only folders with the name "MyProgram*" (note the asteric).
Sort the variable descending. Line 1 of the variable will now contain the
last build directory name. Append this directory (with a slash in front) to
the defaultFolder.

If you built for multiple OSs then you would have to append /Windows to
this. This is where your EXE and stacks you included in the last build will
be. So you should end up with something like:

C:/MyRevPrograms/MyProgram8/Windows/

Aloha from Hawaii,

Jim Bufalini

___
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


[OT] Bluefish

2010-02-22 Thread Richmond Mathewson

http://bfwiki.tellefsen.net/index.php/Installing_Bluefish
___
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: RevBrowserPrint

2010-02-22 Thread Ray Horsley

Mark,

Thanks for this suggestion, but wouldn't that make the print-out  
grainy when it comes to the text portion of the print-out?  My  
experience is that printing images of text is usually kind of grainy  
as compared with printing the actual text fonts (even if they're  
substituted by printer fonts).  I can easily try it on my own printers  
but that may not reveal what will happen on other printers.  What do  
you think?


Thanks,

Ray

On Feb 22, 2010, at 3:05 AM, Mark Schonewille wrote:


Ray,

Make a snapshot of the browser window and put that on a card. Now  
print your cards.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects.

Op 22 feb 2010, om 14:46 heeft Ray Horsley het volgende geschreven:

I seem to have discovered several limitations to the  
RevBrowserPrint command.


Firstly, it seems to have no way of cooperating with batch  
printing.  That is, if I open printing, print a batch of cards via  
a repeat loop, and close printing (expecting to print the whole  
batch on closing) RevBrowserPrint behaves as if I never opened  
printing in the first place in that it presents the print dialog  
and prints the card on each iteration of the repeat loop.


The second limitation is I seem to have a choice of either printing  
the browser image or Revolution fields, but not the combination of  
both.  Any ideas on how to overcome either of these?


Thanks,

Ray Horsley
LinkIt! Software



___
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: RevBrowserPrint

2010-02-22 Thread Mark Schonewille

Hi Ray,

Yes, indeed, the printing quality will be bad, but at least you'll be  
able to print something at all.


Do you have any good reason the believe that the revBrowserPrint  
command produces better results?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:


Mark,

Thanks for this suggestion, but wouldn't that make the print-out  
grainy when it comes to the text portion of the print-out?  My  
experience is that printing images of text is usually kind of grainy  
as compared with printing the actual text fonts (even if they're  
substituted by printer fonts).  I can easily try it on my own  
printers but that may not reveal what will happen on other  
printers.  What do you think?


Thanks,

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: on standalonesaved

2010-02-22 Thread Matthias Rebbe

Jim,

thanks for your answer. Maybe you know also how I can get the  
standalone name from the standalone settings?


Then i could create acommon script and do not have to adjust it  
according to the standalone name.


Regards,

Matthias



Am 22.02.2010 um 13:49 schrieb "Jim Bufalini" :


Mathias,

You wrote:


Dear all,

i need to process the standalone files  after they were created. So i
thought i could use 'on standalonesaved pFolder'. But pFolder only
contains the target path, which was selected in the standalone build
process.

I am working under Windows. Under Windows the standalone is not  
created

in that target folder directly. The standalone builder creates an
additional folder in this target folder. If i create the standalone
multiple times, the name of this automatic created folder is numbered
consecutively.

Is there any way to process the files in this automatic created  
folder

by script?


As you note, the standalone builder creates a directory under the  
directory
you select and appends a number each time you build. Also, depending  
on if
you are building for just Windows or other OSs, the EXE file you are  
looking

for could be directly under this numbered directory or in a "Windows"
subdirectory. So...

Let's say the directory you select to save in is called  
MyRevPrograms and

the name of the standalone is MyProgram. Set the defaulFolder to
MyRevPrograms. Use the *folders* function to return a list of  
folders under

MyRevPrograms into a variable. Use the *filter* command to filter the
variable with only folders with the name "MyProgram*" (note the  
asteric).
Sort the variable descending. Line 1 of the variable will now  
contain the
last build directory name. Append this directory (with a slash in  
front) to

the defaultFolder.

If you built for multiple OSs then you would have to append /Windows  
to
this. This is where your EXE and stacks you included in the last  
build will

be. So you should end up with something like:

C:/MyRevPrograms/MyProgram8/Windows/

Aloha from Hawaii,

Jim Bufalini

___
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: RevBrowserPrint

2010-02-22 Thread Ray Horsley

Mark,

Good question.  So I just printed using revBrowserPrint and got pretty  
good results.  In fact, the clarity was the same quality I would  
expect in printing any text and it was not grainy at all.


Thanks,

Ray

On Feb 22, 2010, at 5:13 AM, Mark Schonewille wrote:


Hi Ray,

Yes, indeed, the printing quality will be bad, but at least you'll  
be able to print something at all.


Do you have any good reason the believe that the revBrowserPrint  
command produces better results?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:


Mark,

Thanks for this suggestion, but wouldn't that make the print-out  
grainy when it comes to the text portion of the print-out?  My  
experience is that printing images of text is usually kind of  
grainy as compared with printing the actual text fonts (even if  
they're substituted by printer fonts).  I can easily try it on my  
own printers but that may not reveal what will happen on other  
printers.  What do you think?


Thanks,

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



___
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: on standalonesaved

2010-02-22 Thread Jim Bufalini
Mathias,

You wrote:

> Jim,
> 
> thanks for your answer. Maybe you know also how I can get the
> standalone name from the standalone settings?
> 
> Then i could create acommon script and do not have to adjust it
> according to the standalone name.

I am not sure I understand because building a standalone is a "manual"
process and the standalone settings are in the stack you built the
standalone for. But, if you just want to know the name of the last
standalone you built and using the example I gave below then...

Again set the defaultFolder to *MyRevPrograms*. This time use the *detailed
folders* function to return into a variable all directories under
MyRevPrograms. Sort the variable descending by item 4 (the Julian creation
date and time of the folder) in the variable.

Now line 1 of the variable will contain something like:
*MyLastProgramName12* in item 1 of the line. Strip off the trailing numbers
of the directory name in item 1 of line 1 and you will have the standalone
name of the last standalone you built.

Aloha from Hawaii,

Jim Bufalini

> Am 22.02.2010 um 13:49 schrieb "Jim Bufalini" :
> 
> > Mathias,
> >
> > You wrote:
> >
> >> Dear all,
> >>
> >> i need to process the standalone files  after they were created. So
> i
> >> thought i could use 'on standalonesaved pFolder'. But pFolder only
> >> contains the target path, which was selected in the standalone build
> >> process.
> >>
> >> I am working under Windows. Under Windows the standalone is not
> >> created
> >> in that target folder directly. The standalone builder creates an
> >> additional folder in this target folder. If i create the standalone
> >> multiple times, the name of this automatic created folder is
> numbered
> >> consecutively.
> >>
> >> Is there any way to process the files in this automatic created
> >> folder
> >> by script?
> >
> > As you note, the standalone builder creates a directory under the
> > directory
> > you select and appends a number each time you build. Also, depending
> > on if
> > you are building for just Windows or other OSs, the EXE file you are
> > looking
> > for could be directly under this numbered directory or in a "Windows"
> > subdirectory. So...
> >
> > Let's say the directory you select to save in is called
> > MyRevPrograms and
> > the name of the standalone is MyProgram. Set the defaulFolder to
> > MyRevPrograms. Use the *folders* function to return a list of
> > folders under
> > MyRevPrograms into a variable. Use the *filter* command to filter the
> > variable with only folders with the name "MyProgram*" (note the
> > asteric).
> > Sort the variable descending. Line 1 of the variable will now
> > contain the
> > last build directory name. Append this directory (with a slash in
> > front) to
> > the defaultFolder.
> >
> > If you built for multiple OSs then you would have to append /Windows
> > to
> > this. This is where your EXE and stacks you included in the last
> > build will
> > be. So you should end up with something like:
> >
> > C:/MyRevPrograms/MyProgram8/Windows/
> >
> > Aloha from Hawaii,
> >
> > Jim Bufalini
> >
> > ___
> > 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

___
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: on standalonesaved

2010-02-22 Thread Jim Bufalini
BTW, if your standalone names have spaces in them, be sure to use
*URLDecode(item 1 of line 1) or you won't get the exact name you expect.

> -Original Message-
> From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] On Behalf Of Jim Bufalini
> Sent: Monday, February 22, 2010 3:47 AM
> To: 'How to use Revolution'
> Subject: RE: on standalonesaved
> 
> Mathias,
> 
> You wrote:
> 
> > Jim,
> >
> > thanks for your answer. Maybe you know also how I can get the
> > standalone name from the standalone settings?
> >
> > Then i could create acommon script and do not have to adjust it
> > according to the standalone name.
> 
> I am not sure I understand because building a standalone is a "manual"
> process and the standalone settings are in the stack you built the
> standalone for. But, if you just want to know the name of the last
> standalone you built and using the example I gave below then...
> 
> Again set the defaultFolder to *MyRevPrograms*. This time use the
> *detailed
> folders* function to return into a variable all directories under
> MyRevPrograms. Sort the variable descending by item 4 (the Julian
> creation
> date and time of the folder) in the variable.
> 
> Now line 1 of the variable will contain something like:
> *MyLastProgramName12* in item 1 of the line. Strip off the trailing
> numbers
> of the directory name in item 1 of line 1 and you will have the
> standalone
> name of the last standalone you built.
> 
> Aloha from Hawaii,
> 
> Jim Bufalini
> 
> > Am 22.02.2010 um 13:49 schrieb "Jim Bufalini" :
> >
> > > Mathias,
> > >
> > > You wrote:
> > >
> > >> Dear all,
> > >>
> > >> i need to process the standalone files  after they were created.
> So
> > i
> > >> thought i could use 'on standalonesaved pFolder'. But pFolder only
> > >> contains the target path, which was selected in the standalone
> build
> > >> process.
> > >>
> > >> I am working under Windows. Under Windows the standalone is not
> > >> created
> > >> in that target folder directly. The standalone builder creates an
> > >> additional folder in this target folder. If i create the
> standalone
> > >> multiple times, the name of this automatic created folder is
> > numbered
> > >> consecutively.
> > >>
> > >> Is there any way to process the files in this automatic created
> > >> folder
> > >> by script?
> > >
> > > As you note, the standalone builder creates a directory under the
> > > directory
> > > you select and appends a number each time you build. Also,
> depending
> > > on if
> > > you are building for just Windows or other OSs, the EXE file you
> are
> > > looking
> > > for could be directly under this numbered directory or in a
> "Windows"
> > > subdirectory. So...
> > >
> > > Let's say the directory you select to save in is called
> > > MyRevPrograms and
> > > the name of the standalone is MyProgram. Set the defaulFolder to
> > > MyRevPrograms. Use the *folders* function to return a list of
> > > folders under
> > > MyRevPrograms into a variable. Use the *filter* command to filter
> the
> > > variable with only folders with the name "MyProgram*" (note the
> > > asteric).
> > > Sort the variable descending. Line 1 of the variable will now
> > > contain the
> > > last build directory name. Append this directory (with a slash in
> > > front) to
> > > the defaultFolder.
> > >
> > > If you built for multiple OSs then you would have to append
> /Windows
> > > to
> > > this. This is where your EXE and stacks you included in the last
> > > build will
> > > be. So you should end up with something like:
> > >
> > > C:/MyRevPrograms/MyProgram8/Windows/
> > >
> > > Aloha from Hawaii,
> > >
> > > Jim Bufalini
> > >
> > > ___
> > > 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
> 
> ___
> 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: Locking for an idea to ....

2010-02-22 Thread DunbarX
Couldn't you determine the length of the data in your field and set the 
textsize as needed?
Find out how many chars just fit into the field. When you load your data, 
include a little code to change the textSize as required:

on LoadYourData -- your code that puts the address into the field

switch
   case   the length of me >= 30 and the length of me < 40 -- or whatever
 set the textSize of me to 10
 break
   case   the length of me >= 40 and the length of me < 50-- or whatever
 set the textSize of me to 9
 break
   case --you get the picture
end switch

 If the data is very long, you might end up reducing the text so much that 
it is hard to read, I guess. 

Can you make the field larger if the data is too long? In the same way, you 
could set the rect of the field as well.

Craig Newman
___
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: [OT] Languages and cultures (was Re: survey)

2010-02-22 Thread Bernard Devlin
On Mon, Feb 22, 2010 at 11:58 AM, Andre Garzia  wrote:
> Congrats Bernard, happiness to you and yours :-D
>
> Now, the important piece, when is the party?
>
> Cheers!
> Andre

Thanks Andre (and to Richmond, also).  It's over 2 years ago since we
got 'married', and we just had a very quiet celebration afterwards.
I'm not someone who likes to draw attention to myself, even on a
momentous occasion.

We're not allowed to call it 'marriage' as that would have offended
any number of religious minorities (yes, even christians are a
religious minority here).  Still, I found the day far more moving and
significant than I expected it to be.  It's very nice to see that
other people who are so far away and were not at all involved with it,
should see it as an important day for us.  Getting 'married' truly
transformed our lives.

We'd been together for over 5 years before the law was changed and we
could 'marry'. Those early years were a real struggle -- our time was
repeatedly limited by the hostile actions of immigration officials,
visa controls, and 9000 kilometres.  I made many 13 hour flights where
I had to stand almost the whole way there and back because of my back
pain.  Sometimes I was in so much pain I had to cancel the flight, and
couldn't claim it on travel insurance because it was a pre-existing
health problem.

Air France ended up being one of my favourite airlines -- because they
are so cool they actually turn an area of the plane into a bar, and I
could stay there and chat with other passengers.  With other airlines,
passengers and crew were understandably wary of this man who would not
sit down for more than a few minutes.

Our relationship only survived those obstacles because of our
determination and our love for each other.  I hope that is not too
much personal detail.  I just thought I would provide a little
back-story.

Your kind thoughts are much appreciated, really.

Bernard
___
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: Here's a concrete example of the linux font problem

2010-02-22 Thread Bernard Devlin
On Mon, Feb 22, 2010 at 11:57 AM, Ian Wood  wrote:
> Well excuse me for trying to think of a possible reason. ;-)
>
> Ian

Ian, please never hold back on such theories.  I sat in awe when I
read it today.  I would never have made those connections.

Bernard
___
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: Looking for volunteers to create Wikipedia on CD application

2010-02-22 Thread Alejandro Tejada

Hi all,

Björnke von Gierke wrote:

Björnke von Gierke wrote:
> 
> including media installers is allowed by runrev,
> but of course one should ask em beforehand.
> 

Kevin answered this request:

on Fri, Feb 19, 2010 at 1:58 PM
Kevin Miller wrote:
> That would be fine. Sounds like a great project, best of luck with it!
> Kind regards,
> Kevin

Who could volunteer to create a list of tutorials and Demos
that should be included in this project "Wikipedia on CD/DVD"
to introduce RevTalk to a wider audience and many potential
developers?

Notice that we must ask for permission to every author
to include their work in this project.

Thanks in advance.

Alejandro

On 24 Jan 2010, at 04:04 PM, Alejandro Tejada wrote:

> If many RunRev developers joint efforts, we could develop
> an application that display directly the more recently updated
> XML database of Wikipedia in every platform supported by RunRev.
>
> This project could include (with RunRev permission) the free version of
> RevMedia and RevWeb, tutorials and Demos to introduce RevTalk to a
> wider audience and many potential developers.
>
> How many of you could devote a few hours weekly to complete
> this project?
>
> Thanks in advance for your comments and ideas!
>
> Alejandro 


-- 
View this message in context: 
http://n4.nabble.com/Looking-for-volunteers-to-create-Wikipedia-on-CD-application-tp1288518p1564499.html
Sent from the Revolution - User mailing list archive at Nabble.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: Data grid columns headers

2010-02-22 Thread Trevor DeVore

On Feb 21, 2010, at 6:56 AM, Éric Miclo wrote:


Already reported as bug #8030 on 2009-05-03.
Seems it's still there...


Hmm, I see that someone at Rev acknowledged the bug but I don't recall  
being notified. I've submitted a fix for the next release.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Data grid columns headers

2010-02-22 Thread Trevor DeVore

On Feb 21, 2010, at 6:11 AM, Sarah Reichelt wrote:


So, Trevor: it would be better not to allow an empty column header if
this is going to cause irretrievable errors.


I just submitted a fix for the next version.

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Locking for an idea to ....

2010-02-22 Thread Andre.Bisseret

Bonjour,

You might catch a glance at a post from Jacque where she shows how to  
do the reverse (increase the text of a field when it is difficult to  
read)


http://mail.runrev.com/pipermail/use-revolution/2010-January/132572.html
might try the reverse

Another one, I used in an app. where certain lines of a field where to  
long to be read entirely :
The idea is that on mouseDown on a line the tooltip appears showing  
the entire line.

(with a trick to keep the toolTip visible for a longer time)

In the script of the field I have :

local tLine
on mouseDown
  set the toolTipDelay to 150
  showToolTip
  wait 5 seconds with messages
  set the toolTipDelay to 1
  showToolTip
end mouseDown

on showToolTip
  put word 2 of the mouseLine into tLine
set the tooltip of me to empty
set the toolTip of me to line tLine of me
end voirToolTip

on mouseUp
  set the toolTip of me to empty
  set the toolTipDelay to 500
  exit to top
end mouseUp

Best regards from Grenoble

André

Le 22 févr. 10 à 12:42, Rolf Kocherhans a écrit :


Hello all

I am looking for an idea to the following problem :-)


I have a non focused label text field of a fixed length, I use it
to display e.g. email adresses.

Sometimes the email address fits into the field, but other
times the email address ist to long, so I only see 80% of it.

I now noticed that the iPhones address application,
automatically reduces the font size to be able to always
display the whole address.

Very clever !

My Label field does not have a monospaced font
I use (Lucida Grande), I have no clue how to replicating this  
behavior.



Does anybody have an idea how I can do the same with revTalk ?


Cheers
Rolf

___
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


Odd selection hangup

2010-02-22 Thread DunbarX
Someone on one of the forums ("Tal") asks why when one has the following 
code in an object:

on selectedObjectChanged
set the selected of me to "false"
end selectedObjectChanged

one can click on the object when in edit mode, and the object will 
obligingly deselect itself.

But if one drags a selection rectangle to the object, it "seems" like it 
remains selected. The handles linger. Operation is otherwise normal, though I 
am sure I have seen the text in a field under this condition pretty well 
locked up.

It got better.

The handles will stick, not forever, but it is not clear to me what I need 
to to do to get it deSelected, though I have, by fooling around and 
navigation and stuff, gotten rid of them. Closing the stack does it.

Bug?

Craig Newman
___
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: Locking for an idea to ....

2010-02-22 Thread Andre Garzia
What I'd try would be to use the formattedWidth to check if my text field
was too small, if it was, then, I would lower the text size and check again,
rinse and repeat till it fits!

:D

On Mon, Feb 22, 2010 at 12:23 PM, Andre.Bisseret wrote:

> Bonjour,
>
> You might catch a glance at a post from Jacque where she shows how to do
> the reverse (increase the text of a field when it is difficult to read)
>
> http://mail.runrev.com/pipermail/use-revolution/2010-January/132572.html
> might try the reverse
>
> Another one, I used in an app. where certain lines of a field where to long
> to be read entirely :
> The idea is that on mouseDown on a line the tooltip appears showing the
> entire line.
> (with a trick to keep the toolTip visible for a longer time)
>
> In the script of the field I have :
>
> local tLine
> on mouseDown
>  set the toolTipDelay to 150
>  showToolTip
>  wait 5 seconds with messages
>  set the toolTipDelay to 1
>  showToolTip
> end mouseDown
>
> on showToolTip
>  put word 2 of the mouseLine into tLine
> set the tooltip of me to empty
> set the toolTip of me to line tLine of me
> end voirToolTip
>
> on mouseUp
>  set the toolTip of me to empty
>  set the toolTipDelay to 500
>  exit to top
> end mouseUp
>
> Best regards from Grenoble
>
> André
>
> Le 22 févr. 10 à 12:42, Rolf Kocherhans a écrit :
>
>
>  Hello all
>>
>> I am looking for an idea to the following problem :-)
>>
>>
>> I have a non focused label text field of a fixed length, I use it
>> to display e.g. email adresses.
>>
>> Sometimes the email address fits into the field, but other
>> times the email address ist to long, so I only see 80% of it.
>>
>> I now noticed that the iPhones address application,
>> automatically reduces the font size to be able to always
>> display the whole address.
>>
>> Very clever !
>>
>> My Label field does not have a monospaced font
>> I use (Lucida Grande), I have no clue how to replicating this behavior.
>>
>>
>> Does anybody have an idea how I can do the same with revTalk ?
>>
>>
>> Cheers
>> Rolf
>>
>> ___
>> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Data Grid brain fart

2010-02-22 Thread Trevor DeVore

On Feb 21, 2010, at 7:41 PM, Jeffrey Massung wrote:

Sorry, but I'm not seeing this in the documentation. I'm adding a  
row to a DG form, and after I add it, I'd like to get the  
dgDataControl of the row I just added so I can send a couple  
messages to it. Is this doable?


A couple of things were missing from the docs. I've updated them.

When adding data to a Data Grid using AddData the new index is  
returned in the result (or error string if an error occurs). You can  
pass this index to ScrollIndexIntoView. Lesson on adding data has been  
updated:


How Do I Add A Row Of Data To An Existing Data Grid?: 


ScrollIndexIntoView/ScrollLineIntoView are already documented in API  
but I added a reference to them in the lesson above.


Getting the control for an index wasn't documented but I've updated  
the API docs with the necessary info.


See dgDataControlOfIndex/Line and ColumnControlOfIndex.

Data Grid API: 


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Locking for an idea to ....

2010-02-22 Thread Andre.Bisseret


Le 22 févr. 10 à 16:37, Andre Garzia a écrit :

What I'd try would be to use the formattedWidth to check if my text  
field
was too small, if it was, then, I would lower the text size and  
check again,

rinse and repeat till it fits!

:D


After some iterations your risk to have to buy binoculars ;-o)))

André (with an accent ;-)


On Mon, Feb 22, 2010 at 12:23 PM, Andre.Bisseret >wrote:



Bonjour,

You might catch a glance at a post from Jacque where she shows how  
to do
the reverse (increase the text of a field when it is difficult to  
read)


http://mail.runrev.com/pipermail/use-revolution/2010-January/132572.html
might try the reverse

Another one, I used in an app. where certain lines of a field where  
to long

to be read entirely :
The idea is that on mouseDown on a line the tooltip appears showing  
the

entire line.
(with a trick to keep the toolTip visible for a longer time)

In the script of the field I have :

local tLine
on mouseDown
set the toolTipDelay to 150
showToolTip
wait 5 seconds with messages
set the toolTipDelay to 1
showToolTip
end mouseDown

on showToolTip
put word 2 of the mouseLine into tLine
set the tooltip of me to empty
set the toolTip of me to line tLine of me
end voirToolTip

on mouseUp
set the toolTip of me to empty
set the toolTipDelay to 500
exit to top
end mouseUp

Best regards from Grenoble

André

Le 22 févr. 10 à 12:42, Rolf Kocherhans a écrit :


Hello all


I am looking for an idea to the following problem :-)


I have a non focused label text field of a fixed length, I use it
to display e.g. email adresses.

Sometimes the email address fits into the field, but other
times the email address ist to long, so I only see 80% of it.

I now noticed that the iPhones address application,
automatically reduces the font size to be able to always
display the whole address.

Very clever !

My Label field does not have a monospaced font
I use (Lucida Grande), I have no clue how to replicating this  
behavior.



Does anybody have an idea how I can do the same with revTalk ?


Cheers
Rolf

___
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





--
http://www.andregarzia.com All We Do Is Code.
___
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: Locking for an idea to ....

2010-02-22 Thread Andre Garzia
can someone build an external to check out the eye sight of the user... we
could use it and some math to compute the optimum text size! :D

On Mon, Feb 22, 2010 at 12:47 PM, Andre.Bisseret wrote:

>
> Le 22 févr. 10 à 16:37, Andre Garzia a écrit :
>
>
>  What I'd try would be to use the formattedWidth to check if my text field
>> was too small, if it was, then, I would lower the text size and check
>> again,
>> rinse and repeat till it fits!
>>
>> :D
>>
>
> After some iterations your risk to have to buy binoculars ;-o)))
>
> André (with an accent ;-)
>
>
>> On Mon, Feb 22, 2010 at 12:23 PM, Andre.Bisseret > >wrote:
>>
>>  Bonjour,
>>>
>>> You might catch a glance at a post from Jacque where she shows how to do
>>> the reverse (increase the text of a field when it is difficult to read)
>>>
>>> http://mail.runrev.com/pipermail/use-revolution/2010-January/132572.html
>>> might try the reverse
>>>
>>> Another one, I used in an app. where certain lines of a field where to
>>> long
>>> to be read entirely :
>>> The idea is that on mouseDown on a line the tooltip appears showing the
>>> entire line.
>>> (with a trick to keep the toolTip visible for a longer time)
>>>
>>> In the script of the field I have :
>>>
>>> local tLine
>>> on mouseDown
>>> set the toolTipDelay to 150
>>> showToolTip
>>> wait 5 seconds with messages
>>> set the toolTipDelay to 1
>>> showToolTip
>>> end mouseDown
>>>
>>> on showToolTip
>>> put word 2 of the mouseLine into tLine
>>> set the tooltip of me to empty
>>> set the toolTip of me to line tLine of me
>>> end voirToolTip
>>>
>>> on mouseUp
>>> set the toolTip of me to empty
>>> set the toolTipDelay to 500
>>> exit to top
>>> end mouseUp
>>>
>>> Best regards from Grenoble
>>>
>>> André
>>>
>>> Le 22 févr. 10 à 12:42, Rolf Kocherhans a écrit :
>>>
>>>
>>> Hello all
>>>

 I am looking for an idea to the following problem :-)


 I have a non focused label text field of a fixed length, I use it
 to display e.g. email adresses.

 Sometimes the email address fits into the field, but other
 times the email address ist to long, so I only see 80% of it.

 I now noticed that the iPhones address application,
 automatically reduces the font size to be able to always
 display the whole address.

 Very clever !

 My Label field does not have a monospaced font
 I use (Lucida Grande), I have no clue how to replicating this behavior.


 Does anybody have an idea how I can do the same with revTalk ?


 Cheers
 Rolf

 ___
 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
>>>
>>>
>>
>>
>> --
>> http://www.andregarzia.com All We Do Is Code.
>> ___
>> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: [OT] Bluefish

2010-02-22 Thread stephen barncard
It must be a "thing" with LINUX distributions - web sites that show you a
lot of tech details, how to download, upgrade, nightly builds.. but they
almost always make you really work at finding out what the hell it does!!
What does Bluefish do?
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 22 February 2010 04:43, Richmond Mathewson
wrote:

> http://bfwiki.tellefsen.net/index.php/Installing_Bluefish
> ___
> 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: RevBrowserPrint

2010-02-22 Thread stephen barncard
Yes, of course, it would be working with the native printing routines and
should look as expected.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 22 February 2010 08:19, Ray Horsley  wrote:

> Mark,
>
> Good question.  So I just printed using revBrowserPrint and got pretty good
> results.  In fact, the clarity was the same quality I would expect in
> printing any text and it was not grainy at all.
>
> Thanks,
>
> Ray
>
>
> On Feb 22, 2010, at 5:13 AM, Mark Schonewille wrote:
>
>  Hi Ray,
>>
>> Yes, indeed, the printing quality will be bad, but at least you'll be able
>> to print something at all.
>>
>> Do you have any good reason the believe that the revBrowserPrint command
>> produces better results?
>>
>> --
>> Best regards,
>>
>> Mark Schonewille
>>
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>>
>> Economy-x-Talk is always looking for new software development projects.
>> Feel free to contact me for a quote.
>>
>> Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:
>>
>>  Mark,
>>>
>>> Thanks for this suggestion, but wouldn't that make the print-out grainy
>>> when it comes to the text portion of the print-out?  My experience is that
>>> printing images of text is usually kind of grainy as compared with printing
>>> the actual text fonts (even if they're substituted by printer fonts).  I can
>>> easily try it on my own printers but that may not reveal what will happen on
>>> other printers.  What do you think?
>>>
>>> Thanks,
>>>
>>> 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
>>
>
>
> ___
> 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: displaying numerous large image files quickly

2010-02-22 Thread Klaus on-rev
Hi Mark,

> I'm working on a simple game of concentration for the kids I teach.  
> 
> I have 24 small image rectangles grouped on a card that are populated in a 
> repeat loop which sets their fileNames to line x of a list of filenames held 
> in a variable.  These files can be large images.
> 
> lock screen
> put the seconds into vSecs
> repeat with x = 1 to 24
>set the filename of image x of group "imageGroup" to line x of vPopulate
> end repeat
> unlock screen
> put (the seconds - vSecs)
> 
> The above takes 5 seconds (which is close to an eternity...)
> 
> Is there a faster way to make this happen, or should I simply make a progress 
> bar and not worry about it?  

did you try to use QuickTime player objectys, if that is an option?

I remember that I made some test a couple of years a go and the winner was a QT 
player, here my results from 2006.
I used a Rev image object, Trevors Enhanced QuickTime Extrenal saved I pulled 
an image in the desired size to disk
and I set the filename of a Rev image.

The results are quite impressive!
Please remember that I do the tests on my "ancient" G4 with 1 Ghz but 1 GB RAM 
:-)

##
I set the filename of a Rev image, computed the correct size from the 
"formatted dimensions" and adjusted heigth/width accordingly, same for players.
Dimensions are in pixels, times in milliseconds.

Image dimensions: 2560*1920
Thumbnailsize: 60*60
qtsnap2var: 572
Rev img: 1786
Player: 78 

Image dimensions: 2560*1920
Thumbnailsize: 100*100
qtsnap2var: 585
Rev img: 1822
Player: 85

Image dimensions: 2560*1920
Thumbnailsize: 150*150
qtsnap2var: 563
Rev img: 1896
Player: 75

Image dimensions: 2560*1920
Thumbnailsize: 200*200
qtsnap2var: 585
Rev img: 1822
Player: 79

Image dimensions: 2560*1920
Thumbnailsize: 300*300
qtsnap2var: 780
Rev img: 1924
Player: 76

Image dimensions: 3440*2580
Thumbnailsize: 150*150
qtsnap2var: 742
Rev img: 2991
Player: 74
##

Hope this helps!

> Thanks
> Mark

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: [OT] Bluefish

2010-02-22 Thread Mark Schonewille

Hi Stephen,

Nowhere on the website, I can find a clear statement on what Bluefish  
is. The website says: "Bluefish is a powerful editor targeted towards  
programmers and webdesigners, with many options to write websites,  
scripts and programming code. Bluefish supports many programming and  
markup languages, and it focuses on editing dynamic and interactive  
websites." From this I conclude that Bluefish is a general-purpose  
code editor, like TextWrangler and BBEdit, but it might also be a  
specialised web page editor.


More info: http://bluefish.openoffice.nl/

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 22 feb 2010, om 16:55 heeft stephen barncard het volgende geschreven:

It must be a "thing" with LINUX distributions - web sites that show  
you a
lot of tech details, how to download, upgrade, nightly builds..  
but they
almost always make you really work at finding out what the hell it  
does!!

What does Bluefish do?
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev



___
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:Odd selection hangup

2010-02-22 Thread Richard Gaskin

DunbarX wrote:

Someone on one of the forums ("Tal") asks why when one has the following
code in an object:

on selectedObjectChanged
set the selected of me to "false"
end selectedObjectChanged

one can click on the object when in edit mode, and the object will
obligingly deselect itself.

But if one drags a selection rectangle to the object, it "seems" like it
remains selected. The handles linger. Operation is otherwise normal, though I
am sure I have seen the text in a field under this condition pretty well
locked up.

It got better.

The handles will stick, not forever, but it is not clear to me what I need
to to do to get it deSelected, though I have, by fooling around and
navigation and stuff, gotten rid of them. Closing the stack does it.


A simpler and more reliable method of preventing an object from being 
selected is to turn on the object's cantSelect property.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: Stack working in MACOS, not in Windows.

2010-02-22 Thread stephen barncard
I wasn't depending on any player except what was in Rev. In this case it was
non-Quicktime installation imbedding Eric's music player code, using the
video player object. I am assuming WMP would be the code that would play the
file in that situation. What am I to assume, otherwise? The project was
non-operational in Win until I used the .mp3 suffix.

Anyway, using a suffix is usally the right thing to do when working with
files, as far as I can see.

And yes, QT also only works from files in the player. But on mac it plays
the MP3s without the suffix.

This cost a whole bunch of time and I though others should know.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 22 February 2010 04:21, Jim Bufalini  wrote:

> stephen barncard wrote:
>
> > SUCCESS. Found it. *Thank you Jacque, Jim, Mark, **Björnke, Peter* for
> > all
> > your suggestions and I tried them all.
> >
> > here's the "fix"
> >
> > put the tempname & ".mp3" into tPath
> >
> >
> > It wasn't really my code, exactly er...  it was more of a Win-Mac
> > assumption about MP3 files.
> >
> > My client wanted major obfuscation of the funny business we're doing
> > with
> > the decryption and playing - and wanted to not only have a temp type
> > file
> > name, but no suffix. It worked in mac.
> >
> > But Windows media player really wants to see that suffix.
>
> What you are saying here is not exactly so. Windows Media Player
> (wmplayer.exe) would "like" to see the file extension but does not require
> it. This is so of many, if not most PC programs (like Rev on PC does not
> require the .rev extension to know that a file is a stack and to open the
> stack. A stack can have any extension or no extension.). What "needs" to see
> the extension is the OS.
>
> The OS uses the extension of a file to know what to open the file with
> (which program the file extension is associated with). In the case of no
> extension, or an "unknown" extension, the user "could" be prompted to
> indicate what program to use, or in the case of say a shell, nothing could
> happen and the file is simply not opened (in your case played).
>
> What you can do, is instead of just trying to call the file, call the
> player and pass the music file as a command line parameter as in: *wmplayer
> c:\theDirectoryTheMusicIsIn\theMusicFile* (with or without the extension).
>
> Now at this point, wmplayer, depending on how it is configured, could open
> a dialog saying it doesn't recognize the extension, does the user want to
> attempt to play the file anyway? Or it could just play it. Again, this
> depends on the configuration of the wmplayer on that machine.
>
> Also, you need to be aware that extensions can be "switched" which means
> that the OS can be configured to open .mp3 files with a player other than
> wmplayer. This is another reason, if you are depending on a specific player
> to launch, to launch the player with a command line parameter rather than
> just launching the file.
>
> As to playing from memory, I believe wmplayer only works with files.
>
> Aloha,
>
> Jim Bufalini
>
>
>
>
>
> ___
> 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: Odd selection hangup

2010-02-22 Thread stephen barncard
doing a quick change between edit and browse ( cmd 0 cmd 9 ) will clear the
selection..
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 22 February 2010 07:35,  wrote:

> Someone on one of the forums ("Tal") asks why when one has the following
> code in an object:
>
> on selectedObjectChanged
>set the selected of me to "false"
> end selectedObjectChanged
>
> one can click on the object when in edit mode, and the object will
> obligingly deselect itself.
>
> But if one drags a selection rectangle to the object, it "seems" like it
> remains selected. The handles linger. Operation is otherwise normal, though
> I
> am sure I have seen the text in a field under this condition pretty well
> locked up.
>
> It got better.
>
> The handles will stick, not forever, but it is not clear to me what I need
> to to do to get it deSelected, though I have, by fooling around and
> navigation and stuff, gotten rid of them. Closing the stack does it.
>
> Bug?
>
> Craig Newman
> ___
> 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: Looking for volunteers to create Wikipedia on CD application

2010-02-22 Thread stephen barncard
You could start with the scripting conferences, one of the most useful
tutorial series ever, that many people still don't know about.

-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 22 February 2010 06:29, Alejandro Tejada  wrote:

>
> Hi all,
>
> Björnke von Gierke wrote:
>
> Björnke von Gierke wrote:
> >
> > including media installers is allowed by runrev,
> > but of course one should ask em beforehand.
> >
>
> Kevin answered this request:
>
> on Fri, Feb 19, 2010 at 1:58 PM
> Kevin Miller wrote:
> > That would be fine. Sounds like a great project, best of luck with it!
> > Kind regards,
> > Kevin
>
> Who could volunteer to create a list of tutorials and Demos
> that should be included in this project "Wikipedia on CD/DVD"
> to introduce RevTalk to a wider audience and many potential
> developers?
>
> Notice that we must ask for permission to every author
> to include their work in this project.
>
> Thanks in advance.
>
> Alejandro
>
> On 24 Jan 2010, at 04:04 PM, Alejandro Tejada wrote:
>
> > If many RunRev developers joint efforts, we could develop
> > an application that display directly the more recently updated
> > XML database of Wikipedia in every platform supported by RunRev.
> >
> > This project could include (with RunRev permission) the free version of
> > RevMedia and RevWeb, tutorials and Demos to introduce RevTalk to a
> > wider audience and many potential developers.
> >
> > How many of you could devote a few hours weekly to complete
> > this project?
> >
> > Thanks in advance for your comments and ideas!
> >
> > Alejandro
>
>
> --
> View this message in context:
> http://n4.nabble.com/Looking-for-volunteers-to-create-Wikipedia-on-CD-application-tp1288518p1564499.html
> Sent from the Revolution - User mailing list archive at Nabble.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
>
___
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: Looking for volunteers to create Wikipedia on CD application

2010-02-22 Thread Mark Swindell
Absolutely true.

On Feb 22, 2010, at 8:13 AM, stephen barncard wrote:

> You could start with the scripting conferences, one of the most useful
> tutorial series ever, that many people still don't know about.
> 
> -
> Stephen Barncard
> San Francisco
> http://houseofcubes.com/disco.irev

___
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 to enter a time of day

2010-02-22 Thread Marty Knapp

Very cool Scott!

Marty Knapp

Recently, Peter Haworth wrote:

  

I have a need for users to enter a start and end time of an event and
I'm  trying to come up with a graphical way for them to do that to
ensure that the time is in the correct format.

What appeals to me the most is to use some sort of slider that would
increment/decrement the time of day in 15 minute intervals.  I was
hoping the rev slider control would be the answer to it but it only
seems to deal with whole numbers on its scale, haven't been able to
figure out how to deal with time-based numbers.

Any recommendations on how to set about implementing this?



This was a good interface challenge...

Instead of using a standard slider, I think a dual slider would be a good
solution (but this might depend on the actual time constraints of your
"day").  Can't do this kind of thing with a stock slider however (you'd need
two separate sliders).

It also occurred to me that mini-calendars are the current de-facto standard
for entering dates in forms, so how about a clock face for time entry?

I posted an example online that shows both time entry options (don't ask me
to explain the math).  Execute the following in your Rev message box:

 go url "http://www.tactilemedia.com/download/timesettings.rev";

Each set of controls relies on the behavior script that is present on the
right side of the stack.

Maybe one of these could work.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: [OT] Bluefish

2010-02-22 Thread Richmond Mathewson

On 22/02/2010 17:55, stephen barncard wrote:

It must be a "thing" with LINUX distributions - web sites that show you a
lot of tech details, how to download, upgrade, nightly builds.. but they
almost always make you really work at finding out what the hell it does!!
What does Bluefish do?
   


It is a very powerful text-editor +

http://bluefish.openoffice.nl/
___
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: Data Grid brain fart

2010-02-22 Thread Jeff Massung
Thanks again, Trevor. This ability has allowed me to add a _very_ nice
feature (easily) to my app. ;-)

Jeff M.
___
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-2: on standalonesaved

2010-02-22 Thread runrev260805
Thanks again, Jim.

I thought there is a property for that. But your solution
will do.

Regards,

Matthias



 Original Message 
Subject: RE: on standalonesaved (22-Feb-2010 14:47)
From:Jim Bufalini 
To:  runrev260...@m-r-d.de

> Mathias,
> 
> You wrote:
> 
> > Jim,
> > 
> > thanks for your answer. Maybe you know also how I can get the
> > standalone name from the standalone settings?
> > 
> > Then i could create acommon script and do not have to adjust it
> > according to the standalone name.
> 
> I am not sure I understand because building a standalone is a "manual"
> process and the standalone settings are in the stack you built the
> standalone for. But, if you just want to know the name of the last
> standalone you built and using the example I gave below then...
> 
> Again set the defaultFolder to *MyRevPrograms*. This time use the *detailed
> folders* function to return into a variable all directories under
> MyRevPrograms. Sort the variable descending by item 4 (the Julian creation
> date and time of the folder) in the variable.
> 
> Now line 1 of the variable will contain something like:
> *MyLastProgramName12* in item 1 of the line. Strip off the trailing numbers
> of the directory name in item 1 of line 1 and you will have the standalone
> name of the last standalone you built.
> 
> Aloha from Hawaii,
> 
> Jim Bufalini
> 
> > Am 22.02.2010 um 13:49 schrieb "Jim Bufalini" :
> > 
> > > Mathias,
> > >
> > > You wrote:
> > >
> > >> Dear all,
> > >>
> > >> i need to process the standalone files  after they were created. So
> > i
> > >> thought i could use 'on standalonesaved pFolder'. But pFolder only
> > >> contains the target path, which was selected in the standalone build
> > >> process.
> > >>
> > >> I am working under Windows. Under Windows the standalone is not
> > >> created
> > >> in that target folder directly. The standalone builder creates an
> > >> additional folder in this target folder. If i create the standalone
> > >> multiple times, the name of this automatic created folder is
> > numbered
> > >> consecutively.
> > >>
> > >> Is there any way to process the files in this automatic created
> > >> folder
> > >> by script?
> > >
> > > As you note, the standalone builder creates a directory under the
> > > directory
> > > you select and appends a number each time you build. Also, depending
> > > on if
> > > you are building for just Windows or other OSs, the EXE file you are
> > > looking
> > > for could be directly under this numbered directory or in a "Windows"
> > > subdirectory. So...
> > >
> > > Let's say the directory you select to save in is called
> > > MyRevPrograms and
> > > the name of the standalone is MyProgram. Set the defaulFolder to
> > > MyRevPrograms. Use the *folders* function to return a list of
> > > folders under
> > > MyRevPrograms into a variable. Use the *filter* command to filter the
> > > variable with only folders with the name "MyProgram*" (note the
> > > asteric).
> > > Sort the variable descending. Line 1 of the variable will now
> > > contain the
> > > last build directory name. Append this directory (with a slash in
> > > front) to
> > > the defaultFolder.
> > >
> > > If you built for multiple OSs then you would have to append /Windows
> > > to
> > > this. This is where your EXE and stacks you included in the last
> > > build will
> > > be. So you should end up with something like:
> > >
> > > C:/MyRevPrograms/MyProgram8/Windows/
> > >
> > > Aloha from Hawaii,
> > >
> > > Jim Bufalini
> > >
> > > ___
> > > 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
> 
> ___
> 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
> 
> 
> 
> 
> To: use-revolution@lists.runrev.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: [OT] Bluefish

2010-02-22 Thread stephen barncard
I found the 'real' link. Thanks. I thought that was the core site.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 22 February 2010 08:40, Richmond Mathewson
wrote:

> On 22/02/2010 17:55, stephen barncard wrote:
>
>> It must be a "thing" with LINUX distributions - web sites that show you a
>> lot of tech details, how to download, upgrade, nightly builds.. but
>> they
>> almost always make you really work at finding out what the hell it does!!
>> What does Bluefish do?
>>
>>
>
> It is a very powerful text-editor +
>
> http://bluefish.openoffice.nl/
>
> ___
> 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: Time entry

2010-02-22 Thread Peter Haworth
Thank you so much for this Scott, just what I was looking for.  I'm  
liking the sliders better than the clock right now, perhaps because of  
my preconception of how I wanted to do this.


The code goes way beyond my Rev capabilities, so I do have to ask a  
couple of questions.


At line 13, you divide by 48.  I think 48 represents the number of 15  
minute intervals in the slider scale of 12 hours, is that right?  I  
may need something other than a 12 hour scale so just want to make  
sure I know how to adjust the code appropriately.


If I do adjust the scale to something other than 12 hours, would I  
need to change anything else in the code?


Thanks again for this!

Pete Haworth








http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband








On Feb 22, 2010, at 4:21 AM, use-revolution-requ...@lists.runrev.com  
wrote:



This was a good interface challenge...

Instead of using a standard slider, I think a dual slider would be  
a good
solution (but this might depend on the actual time constraints of  
your
"day").  Can't do this kind of thing with a stock slider however  
(you'd

need
two separate sliders).

It also occurred to me that mini-calendars are the current de-facto
standard
for entering dates in forms, so how about a clock face for time  
entry?


I posted an example online that shows both time entry options  
(don't ask me

to explain the math).  Execute the following in your Rev message box:

go url "http://www.tactilemedia.com/download/timesettings.rev";

Each set of controls relies on the behavior script that is present  
on the

right side of the stack.

Maybe one of these could work.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: Here's a concrete example of the linux font problem

2010-02-22 Thread Richmond Mathewson

The kids were doing something that did not involve me
(the perfect way to teach!  they play with my EFL content
programs while I muck around with RunRev stuff)

. . . so added a button to my "FontLister" stack with the
following script:

on mouseUp
   open file "FontList.txt"
   put fld "FONTZ" into FONTZ
   write FONTZ to file "FontList.txt"
end mouseUp

Rocket science it ain't: but what it does allow me to
do is use TextWrangler to check output lists and compare
them.

So ran the stack using RR 2.2.1, RR 4.0 and MC 4.0 on my
Ubuntu box and then compared the output files using
TextWrangler over on the Mac:

All the same

ran the stack downstairs in the school on one of the
Ubuntu boxes down there running 5.10 (one upstairs
runs 8.04.4) and found I ended up with an identical
situation:

not a single one of my hand-installed fonts showed up.

A few conclusions:

1. RunRev have done nothing about this situation between versions 2.2.1 
and 4.0


but, maybe they cannot because

2. Ubuntu have done nothing about this between versions 5.10 and 8.0.4
___
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


AW: Win7 Apps don't launch - just nothing ? - solved!

2010-02-22 Thread Tiemo Hollmann TB
After more than two weeks of investigations my customer has solved this
mystery by chance.
The "simple" solution was, that his C: drive was write protected for the
Admin. Unfortunately my customer couldn't tell me why and how this has
happened, so this mystery stays, especially because he has successfully
setup my App on C:, but the second install part, installation of my App
videos was already blocked. Very strange, but...
Thanks Jim and Börnke for your help!
Tiemo



___
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: Time entry

2010-02-22 Thread Scott Rossi

Hi Pete:

FWIW, if you have a small amount of real estate for the time entry  
control, a clock face is a lot more efficient than a slider.   
Regardless, yes 48 is the number of 15 minute intervals.  The other  
thing you may need to adjust is the width of the slider base graphic  
-- it's currently wide enough to evenly accommodate tick marks for the  
48 intervals.


Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



On Feb 22, 2010, at 8:47 AM, Peter Haworth   
wrote:


Thank you so much for this Scott, just what I was looking for.  I'm  
liking the sliders better than the clock right now, perhaps because  
of my preconception of how I wanted to do this.


The code goes way beyond my Rev capabilities, so I do have to ask a  
couple of questions.


At line 13, you divide by 48.  I think 48 represents the number of  
15 minute intervals in the slider scale of 12 hours, is that right?   
I may need something other than a 12 hour scale so just want to make  
sure I know how to adjust the code appropriately.


If I do adjust the scale to something other than 12 hours, would I  
need to change anything else in the code?


Thanks again for this!

Pete Haworth




On Feb 22, 2010, at 4:21 AM, use-revolution-requ...@lists.runrev.com  
wrote:



This was a good interface challenge...

Instead of using a standard slider, I think a dual slider would be  
a good
solution (but this might depend on the actual time constraints of  
your
"day").  Can't do this kind of thing with a stock slider however  
(you'd

need
two separate sliders).

It also occurred to me that mini-calendars are the current de-facto
standard
for entering dates in forms, so how about a clock face for time  
entry?


I posted an example online that shows both time entry options  
(don't ask me
to explain the math).  Execute the following in your Rev message  
box:


go url "http://www.tactilemedia.com/download/timesettings.rev";

Each set of controls relies on the behavior script that is present  
on the

right side of the stack.

Maybe one of these could work.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: Data Grid brain fart

2010-02-22 Thread Trevor DeVore

On Feb 22, 2010, at 11:42 AM, Jeff Massung wrote:


Thanks again, Trevor.


You're welcome.


This ability has allowed me to add a _very_ nice
feature (easily) to my app. ;-)


That's what we like to hear :-)

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: [OT] Languages and cultures (was Re: survey)

2010-02-22 Thread Richmond Mathewson

On 22/02/2010 16:26, Bernard Devlin wrote:

On Mon, Feb 22, 2010 at 11:58 AM, Andre Garzia  wrote:
   

Congrats Bernard, happiness to you and yours :-D

Now, the important piece, when is the party?

Cheers!
Andre
 

Thanks Andre (and to Richmond, also).  It's over 2 years ago since we
got 'married', and we just had a very quiet celebration afterwards.
I'm not someone who likes to draw attention to myself, even on a
momentous occasion.

We're not allowed to call it 'marriage' as that would have offended
any number of religious minorities (yes, even christians are a
religious minority here).


That makes me fed up. Almost everything you do, I do, and anybody else does
is bound to offend someone. Personally I am offended by any religious group
that thinks it holds the moral high ground. I am also offended by those who
think they have some sort of licence to stick their noses in other people's
business and pass judgement.

There are things that are morally wrong, such as murder; and it is morally
wrong because it impinges on another's freedom of action (as does
slavery). Actions or thoughts that are held to be morally wrong are
rather hard to justify empirically and, as such, are probably held to be
morally wrong because of either religious beliefs or religiously determined
cultural beliefs (to explain that we should consider many atheists who hold
that homosexuality is wrong - but when you try to pin them down you
find that their set of values is normally based on the religion they 
make such

a noise about despising).

I really wish people could begin to see past the "wrappings" of gender,
sexuality, race and so on, to the individuals within. All religions make it
clear that God looks on us all with equal favour - and that should suffice.


   Still, I found the day far more moving and
significant than I expected it to be.  It's very nice to see that
other people who are so far away and were not at all involved with it,
should see it as an important day for us.  Getting 'married' truly
transformed our lives.

We'd been together for over 5 years before the law was changed and we
could 'marry'. Those early years were a real struggle -- our time was
repeatedly limited by the hostile actions of immigration officials,
visa controls, and 9000 kilometres.  I made many 13 hour flights where
I had to stand almost the whole way there and back because of my back
pain.  Sometimes I was in so much pain I had to cancel the flight, and
couldn't claim it on travel insurance because it was a pre-existing
health problem.

Air France ended up being one of my favourite airlines -- because they
are so cool they actually turn an area of the plane into a bar, and I
could stay there and chat with other passengers.  With other airlines,
passengers and crew were understandably wary of this man who would not
sit down for more than a few minutes.

Our relationship only survived those obstacles because of our
determination and our love for each other.


determination and love will wash everything else away . . .  :)


I hope that is not too
much personal detail.  I just thought I would provide a little
back-story.

Your kind thoughts are much appreciated, really.

Bernard
___
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: Words Indexing strategies

2010-02-22 Thread Alejandro Tejada
Some time ago, i posted a message asking for
volunteers to create a Wikipedia CD/DVD.

Since then, i have been working on this project
and have done some advances, that will be
published as soon they work as expected.

These are the steps that i am following to
process the XML databases:

Wikipedia XML database are huge and we could
get best results when XML databases are
downloaded directly from:

http://download.wikipedia.org/

The download direction for wikipedia English
XML database from 2010 February 3 is:
http://download.wikimedia.org/enwiki/20100130/enwiki-20100130-pages-articles.xml.bz2

download direction for wikipedia Spanish
XML database from 2010 February 21 is:
http://download.wikimedia.org/eswiki/20100221/eswiki-20100221-pages-meta-current.xml.bz2

After downloading the compressed xml database, you should
put the database inside a folder (not in the disk root) and split
the file in small bz2 files using bzip2recover.
http://www.bzip.org/downloads.html
http://www.bzip.org/1.0.5/bzip2recover-105-x86-win32.exe

It is easier to deal with many compressed small files than using
one humongous text file of more than 25 GB (english xml database)
or 5.3 GB (spanish xml database).

After using bzip2recover to split the English xml database,
i get more than 28,000 small (~250 kb) bz2 files or
6800 small bz2 files for Spanish xml databases.
Each one of these files have (more of less) a 1 MB segment
of the database.

Notice that i choose a different file for spanish xml database
than english xml database. That is because Wikipedia have
been unable to solve a problem with their backup of spanish
xml database.

https://bugzilla.wikimedia.org/show_bug.cgi?id=18694

Alejandro
___
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: Re-2: on standalonesaved

2010-02-22 Thread J. Landman Gay

runrev260...@m-r-d.de wrote:

Thanks again, Jim.

I thought there is a property for that.


Yes, there is. Actually there is one for each OS you are building for. 
They are in the custom property set called "cRevStandaloneSettings". If 
you turn on "View UI Elements in Lists" under the View menu, and then 
inspect the stack, you will see the custom property set and all the 
available values. For example, the OS X property is called "OSX.name".


You can retrieve each name by using something like this:

  get the cRevStandaloneSettings["OSX.name"] of this stack

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Odd selection hangup

2010-02-22 Thread J. Landman Gay

dunb...@aol.com wrote:
Someone on one of the forums ("Tal") asks why when one has the following 
code in an object:


on selectedObjectChanged
set the selected of me to "false"

end selectedObjectChanged

one can click on the object when in edit mode, and the object will 
obligingly deselect itself.


But if one drags a selection rectangle to the object, it "seems" like it 
remains selected. The handles linger. Operation is otherwise normal, though I 
am sure I have seen the text in a field under this condition pretty well 
locked up.


It got better.

The handles will stick, not forever, but it is not clear to me what I need 
to to do to get it deSelected, though I have, by fooling around and 
navigation and stuff, gotten rid of them. Closing the stack does it.


Bug?


Not sure, but if so it's pretty minor. You can remove the selection 
handles by switching tools, by changing cards (if the card doesn't have 
the same group on it,) or by a message box command:  select empty


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Time entry

2010-02-22 Thread Peter Haworth
Thanks Scott.  The clock face is certainly the most familiar for users  
and does take up less real estate.  I haven't entirely discounted it  
but I feel it doesn't lend itself very well to time entry on a  
computer.  It really needs two hands for it to be the familiar clock  
face we're all used to (which I'm guessing would complicate the code  
quite a bit) and clock faces in general don't differentiate between AM  
and PM times.  I guess that's why I'm leaning more towards the slider  
approach - certainly less familiar than a clock face but feels very  
comfortable nonetheless and I think I can find the real estate.  I'll  
probably implement it as a small button (maybe looking like a clock!)  
that will popup a window with the sliders in it.


Either way, thanks a lot for the code.

Pete Haworth



On Feb 22, 2010, at 10:00 AM, use-revolution-requ...@lists.runrev.com  
wrote:



From: Scott Rossi 
Subject: Re: Time entry
To: How to use Revolution 
Message-ID: 
Content-Type: text/plain;   charset=us-ascii;   format=flowed;  
delsp=yes

Hi Pete:

FWIW, if you have a small amount of real estate for the time entry
control, a clock face is a lot more efficient than a slider.
Regardless, yes 48 is the number of 15 minute intervals.  The other
thing you may need to adjust is the width of the slider base graphic
-- it's currently wide enough to evenly accommodate tick marks for  
the  
48 intervals.


Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: displaying numerous large image files quickly

2010-02-22 Thread Mark Swindell
This looks very promising.  I'll play around with it later.  Thanks, Klaus.
Mark

On Feb 22, 2010, at 8:02 AM, Klaus on-rev wrote:

> Hi Mark,
> 
>> I'm working on a simple game of concentration for the kids I teach.  
>> 
>> I have 24 small image rectangles grouped on a card that are populated in a 
>> repeat loop which sets their fileNames to line x of a list of filenames held 
>> in a variable.  These files can be large images.
>> 
>> lock screen
>> put the seconds into vSecs
>> repeat with x = 1 to 24
>>   set the filename of image x of group "imageGroup" to line x of vPopulate
>> end repeat
>> unlock screen
>> put (the seconds - vSecs)
>> 
>> The above takes 5 seconds (which is close to an eternity...)
>> 
>> Is there a faster way to make this happen, or should I simply make a 
>> progress bar and not worry about it?  
> 
> did you try to use QuickTime player objectys, if that is an option?
> 
> I remember that I made some test a couple of years a go and the winner was a 
> QT player, here my results from 2006.
> I used a Rev image object, Trevors Enhanced QuickTime Extrenal saved I pulled 
> an image in the desired size to disk
> and I set the filename of a Rev image.
> 
> The results are quite impressive!
> Please remember that I do the tests on my "ancient" G4 with 1 Ghz but 1 GB 
> RAM :-)
> 
> ##
> I set the filename of a Rev image, computed the correct size from the 
> "formatted dimensions" and adjusted heigth/width accordingly, same for 
> players.
> Dimensions are in pixels, times in milliseconds.
> 
> Image dimensions: 2560*1920
> Thumbnailsize: 60*60
> qtsnap2var: 572
> Rev img: 1786
> Player: 78 
> 
> Image dimensions: 2560*1920
> Thumbnailsize: 100*100
> qtsnap2var: 585
> Rev img: 1822
> Player: 85
> 
> Image dimensions: 2560*1920
> Thumbnailsize: 150*150
> qtsnap2var: 563
> Rev img: 1896
> Player: 75
> 
> Image dimensions: 2560*1920
> Thumbnailsize: 200*200
> qtsnap2var: 585
> Rev img: 1822
> Player: 79
> 
> Image dimensions: 2560*1920
> Thumbnailsize: 300*300
> qtsnap2var: 780
> Rev img: 1924
> Player: 76
> 
> Image dimensions: 3440*2580
> Thumbnailsize: 150*150
> qtsnap2var: 742
> Rev img: 2991
> Player: 74
> ##
> 
> Hope this helps!
> 
>> Thanks
>> Mark
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.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

___
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: Re-2: on standalonesaved

2010-02-22 Thread Jim Bufalini
Mathias,

> Thanks again, Jim.
> 
> I thought there is a property for that. But your solution
> will do.
> 
> Regards,
> 
> Matthias

Well, "there is a property for that" ;-) Look at the custom property set
cRevStandaloneSettings in the main stack that you are building the
application from (after you have set the standalone settings). To view this
in the property inspector, you first need to set your Rev preferences to
show UI elements.

So, I suppose you could use this custom property set in an *on
standaloneSaved* handler. But, I believe this message is only sent to the
stack that has just been built into a standalone (but I'm not sure about
this), which would mean you would have to put this same code into every main
stack you build into a standalone. But, maybe this is what you want to do.

Aloha from Hawaii,

Jim Bufalini



___
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: RevBrowserPrint

2010-02-22 Thread Ray Horsley

Mark,

Once again, thanks for your input on this.  Here's my conclusion.  I  
can either:


   1)  Print only the browser part of the card and get clear text
   2)  Print only the non-browser part of the card and get clear text
   3)  Print both the browser and non-browser parts (via snap shot)  
and get fuzzy text


I think we can live with this limitation so we'll probably go with  
number 1.


Thanks,

Ray

On Feb 22, 2010, at 5:13 AM, Mark Schonewille wrote:


Hi Ray,

Yes, indeed, the printing quality will be bad, but at least you'll  
be able to print something at all.


Do you have any good reason the believe that the revBrowserPrint  
command produces better results?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 22 feb 2010, om 17:01 heeft Ray Horsley het volgende geschreven:


Mark,

Thanks for this suggestion, but wouldn't that make the print-out  
grainy when it comes to the text portion of the print-out?  My  
experience is that printing images of text is usually kind of  
grainy as compared with printing the actual text fonts (even if  
they're substituted by printer fonts).  I can easily try it on my  
own printers but that may not reveal what will happen on other  
printers.  What do you think?


Thanks,

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



___
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: [OT] Languages and cultures (was Re: survey)

2010-02-22 Thread Bob Sneidar
If you take the stance that men are capable of deciding what is absolutely 
moral and immoral, then your objections might carry some weight. What is 
unfortunate to your point of view, is that men often develop quite different 
standards of morality. Not entirely foreign mind you, only stricter or less 
"confining". 

Now when you examine the reasons why some moral standards are looser than 
others, what you find is that the people who went with the looser standards had 
a vested interest in doing so. They themselves participated in activities that 
the stricter standard denounced, and so rejected the parts that might have 
condemned their actions. Their "actions" I say, not themselves. 

So can you really believe that men can be trusted to objectively form their own 
moral standards? Does any thinking person who reads this seriously entertain 
that notion? All the great despots think themselves basically moral people. So 
do criminals. So do politicians. 

What we need is someone who is just like us, but has demonstrated an absolute 
mastery of real morality to make the call for us. Someone who has been tempted 
like us, but without sin. But who could that be? And would we really want him 
to judge us if we met him? Really? 

Thankfully I know such a person, and luckily for all of us, He demonstrated not 
only moral mastery, but also the purest kind of mercy and grace towards those 
who fell at His feet and asked for it. I think you know who I am talking about. 
No greater love has any man than that he lay down his life for his friend. 

So when you talk about those holding the "moral high ground", please try to see 
that you may be forming the notion of some bogey man in your head, and then 
eviscerating that image. All a good Christian is doing is repeating what that 
one Man and the one He called "His Father in heaven" has said. If you disagree 
with them, you have a much bigger problem than putting up with the messengers. 

Bob


On Feb 22, 2010, at 9:59 AM, Richmond Mathewson wrote:

> That makes me fed up. Almost everything you do, I do, and anybody else does
> is bound to offend someone. Personally I am offended by any religious group
> that thinks it holds the moral high ground. I am also offended by those who
> think they have some sort of licence to stick their noses in other people's
> business and pass judgement.
> 
> There are things that are morally wrong, such as murder; and it is morally
> wrong because it impinges on another's freedom of action (as does
> slavery). Actions or thoughts that are held to be morally wrong are
> rather hard to justify empirically and, as such, are probably held to be
> morally wrong because of either religious beliefs or religiously determined
> cultural beliefs (to explain that we should consider many atheists who hold
> that homosexuality is wrong - but when you try to pin them down you
> find that their set of values is normally based on the religion they make such
> a noise about despising).
> 
> I really wish people could begin to see past the "wrappings" of gender,
> sexuality, race and so on, to the individuals within. All religions make it
> clear that God looks on us all with equal favour - and that should suffice.

___
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: Re-2: on standalonesaved

2010-02-22 Thread Jim Bufalini
I see now that Jacque already answered the question about a property
approximately 15-minutes before I did. ;-) She's a "fast" woman. LOL

Aloha from Hawaii,

Jim Bufalini

Jacque wrote:

> runrev260...@m-r-d.de wrote:
> > Thanks again, Jim.
> >
> > I thought there is a property for that.
> 
> Yes, there is. Actually there is one for each OS you are building for.
> They are in the custom property set called "cRevStandaloneSettings". If
> you turn on "View UI Elements in Lists" under the View menu, and then
> inspect the stack, you will see the custom property set and all the
> available values. For example, the OS X property is called "OSX.name".
> 
> You can retrieve each name by using something like this:
> 
>get the cRevStandaloneSettings["OSX.name"] of this stack
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> 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

___
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: Re-2: on standalonesaved

2010-02-22 Thread Mark Wieder
Jim-

Monday, February 22, 2010, 10:59:01 AM, you wrote:

> I see now that Jacque already answered the question about a property
> approximately 15-minutes before I did. ;-) She's a "fast" woman. LOL

And that's even considering that with the timezone difference she
should be posting some five hours later in the day than you. She
really knows how to put that timetravel stack to good use.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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-4: on standalonesaved

2010-02-22 Thread runrev260805
Thanks Jacque and Jim,

i appreciate your help. :)

Matthias





 Original Message 
Subject: RE: Re-2: on standalonesaved (22-Feb-2010 20:03)
From:Jim Bufalini 
To:  runrev260...@m-r-d.de

> I see now that Jacque already answered the question about a property
> approximately 15-minutes before I did. ;-) She's a "fast" woman. LOL
> 
> Aloha from Hawaii,
> 
> Jim Bufalini
> 
> Jacque wrote:
> 
> > runrev260...@m-r-d.de wrote:
> > > Thanks again, Jim.
> > >
> > > I thought there is a property for that.
> > 
> > Yes, there is. Actually there is one for each OS you are building for.
> > They are in the custom property set called "cRevStandaloneSettings". If
> > you turn on "View UI Elements in Lists" under the View menu, and then
> > inspect the stack, you will see the custom property set and all the
> > available values. For example, the OS X property is called "OSX.name".
> > 
> > You can retrieve each name by using something like this:
> > 
> >get the cRevStandaloneSettings["OSX.name"] of this stack
> > 
> > --
> > Jacqueline Landman Gay | jac...@hyperactivesw.com
> > 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
> 
> ___
> 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
> 
> 
> 
> 
> To: use-revolution@lists.runrev.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: Here's a concrete example of the linux font problem

2010-02-22 Thread Peter Alcibiades

I'm not sure we have a real definition of the problem.  It seems that on
Debian based installs, some ways of installing fonts lead to Rev not being
able to see them.   But what difference is there between a font installed as
part of the  distribution, and one installed afterwords?  Also, why is it
that on Mandriva, this does not seem to be an issue?  

The thing I cannot get my head around is why Rev is the only package that
can't see all the installed fonts, and only the installed fonts.   And where
are the extra fonts Rev seems to be able to see coming from?  This is a
powerful argument that it is something Rev is doing.  In the same way, Rev
seems to be the only package that cannot handle multiple desktops in the
standard way, again an argument to suggest that its something Rev is doing
differently.

We need help from a Rev guru.  I'm very happy to help with any testing that
he or she might want us to do, but I'd really like to see the effort
directed by someone in Rev development.  We would have a better chance of
getting to the bottom of it quickly.

Peter
-- 
View this message in context: 
http://n4.nabble.com/Here-s-a-concrete-example-of-the-linux-font-problem-tp1564162p1565000.html
Sent from the Revolution - User mailing list archive at Nabble.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: Re-2: on standalonesaved

2010-02-22 Thread Bob Sneidar

On Feb 22, 2010, at 11:07 AM, Mark Wieder wrote:

> Jim-
> 
> Monday, February 22, 2010, 10:59:01 AM, you wrote:
> 
>> I see now that Jacque already answered the question about a property
>> approximately 15-minutes before I did. ;-) She's a "fast" woman. LOL
> 
> And that's even considering that with the timezone difference she
> should be posting some five hours later in the day than you. She
> really knows how to put that timetravel stack to good use.
> 
> -- 
> -Mark Wieder
> mwie...@ahsoftware.net
> 
> ___
> 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

Oh I know! She stole my Revolution coffee cup yesterday!

Bob


___
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


[OT] Drifting off topic (was: Re-2: on standalonesaved)

2010-02-22 Thread J. Landman Gay

Mixing replies, here:

Bob Sneidar wrote:

On Feb 22, 2010, at 11:07 AM, Mark Wieder wrote:


Jim-

Monday, February 22, 2010, 10:59:01 AM, you wrote:


I see now that Jacque already answered the question about a property
approximately 15-minutes before I did. ;-) She's a "fast" woman. LOL


You should have seen me when I was younger. ;)


And that's even considering that with the timezone difference she
should be posting some five hours later in the day than you. She
really knows how to put that timetravel stack to good use.


I will have pretty soon. But for now it's mostly a case of Jim joining 
Sarah in my brain, which you'd think I'd notice, but I was obviously 
elsewhere. I hope they're happy in there, it's a bit of a mess from 
where I stand.



Oh I know! She stole my Revolution coffee cup yesterday!


You're just lucky that's all I took.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Odd selection hangup

2010-02-22 Thread DunbarX
Stephen.

No. It lingers, as I said.

Craig
___
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: Odd selection hangup

2010-02-22 Thread DunbarX
Now Jacques, if it was that ordinary, do you think I would have bothered 
this list?

Stuck, I say. Or are others unable to reproduce this?

Craig

In a message dated 2/22/10 1:16:34 PM, jac...@hyperactivesw.com writes:


> Not sure, but if so it's pretty minor. You can remove the selection
> handles by switching tools, by changing cards (if the card doesn't have
> the same group on it,) or by a message box command:  select empty
> 
___
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


Altering HTML Text

2010-02-22 Thread Ray Horsley
I thought I'd add a line of text to a url displayed via the RevBrowser  
commands.  Here's the general idea:


put revBrowserGet(sBrowserId,"htmlText") into myHtmlText
-- add a line of text to the top of the 
revBrowserSet sBrowserId,"htmlText",myHtmlText


I can get the htmlText, but it looks funny in the variable watcher  
with weird characters and, even if I don't add a line to it, when I  
user revBrowserSet to put it back it comes out funny looking.   
Uniencoding and decoding doesn't work.


Ideas?

Ray Horsley
LinkIt! Software
___
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: Locking for an idea to ....

2010-02-22 Thread Sarah Reichelt
On Mon, Feb 22, 2010 at 9:42 PM, Rolf Kocherhans
 wrote:
> Hello all
>
> I am looking for an idea to the following problem :-)
>
>
> I have a non focused label text field of a fixed length, I use it
> to display e.g. email adresses.
>
> Sometimes the email address fits into the field, but other
> times the email address ist to long, so I only see 80% of it.
>
> I now noticed that the iPhones address application,
> automatically reduces the font size to be able to always
> display the whole address.


Here is the routine I use:

-- shrink font until it fits, down to a minimum of 8
set the textSize of fld tFieldName to 12
put 12 into tStartSize
repeat 4 times
if the formattedWidth of fld tFieldName > the width of
fld tFieldName then
subtract 1 from tStartSize
set the textSize of fld tFieldName to tStartSize
else
exit repeat
end if
end repeat
show fld tFieldName

If the font gets to size 8 and the text is still not all fitting into
the field, then maybe you need to truncate it.

Cheers,
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


Re: Data grid columns headers

2010-02-22 Thread Sarah Reichelt
On Tue, Feb 23, 2010 at 1:03 AM, Trevor DeVore
 wrote:
> On Feb 21, 2010, at 6:11 AM, Sarah Reichelt wrote:
>
>> So, Trevor: it would be better not to allow an empty column header if
>> this is going to cause irretrievable errors.
>
> I just submitted a fix for the next version.

Thanks Trevor. I realise now that I should have changed the label, not
the name and that's what I did when I recovered. But it's good to
prevent such things anyway.

Cheers,
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


Re: Odd selection hangup

2010-02-22 Thread J. Landman Gay

dunb...@aol.com wrote:
Now Jacques, if it was that ordinary, do you think I would have bothered 
this list?


Stuck, I say. Or are others unable to reproduce this?


Okay, you made me look. I can reproduce it. If you right-click on the 
object the selection handles go away. I think this is because the IDE 
needs to trap that message, both so it can handle it to update its own 
property inspectors, and so it can pass it on to plugins that use it. At 
the end of the IDE handler is a note that says not to pass the message 
or else you get duplicates.


It looks to me like it is a necessary evil.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: [OT] Drifting off topic (was: Re-2: on standalonesaved)

2010-02-22 Thread Sarah Reichelt
> I will have pretty soon. But for now it's mostly a case of Jim joining Sarah
> in my brain, which you'd think I'd notice, but I was obviously elsewhere. I
> hope they're happy in there, it's a bit of a mess from where I stand.


Sorry, I just stepped out for a while. You're on your own in there Jim :-)

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


Re: Locking for an idea to ....

2010-02-22 Thread Bob Sneidar
Another thing to consider is that the US post office has standard abbreviations 
for everything, and in fact strongly encourage you to use them. So if you are 
using Boulevard instead of BLVD, or Street instead of ST, then perhaps you 
should consider a search and replace function for all the standard 
abbreviations? Also, you can use the pound sign (#) for apartment, suite, etc, 
allowing you to further truncate your addresses. 

Really, almost all US addresses are designed to fit onto a standard mailing 
label, if properly formatted. If not, you always have a second or even third 
line you can use for addressing. 

Bob


On Feb 22, 2010, at 1:41 PM, Sarah Reichelt wrote:

> On Mon, Feb 22, 2010 at 9:42 PM, Rolf Kocherhans
>  wrote:
>> Hello all
>> 
>> I am looking for an idea to the following problem :-)
>> 
>> 
>> I have a non focused label text field of a fixed length, I use it
>> to display e.g. email adresses.
>> 
>> Sometimes the email address fits into the field, but other
>> times the email address ist to long, so I only see 80% of it.
>> 
>> I now noticed that the iPhones address application,
>> automatically reduces the font size to be able to always
>> display the whole address.
> 
> 
> Here is the routine I use:
> 
>-- shrink font until it fits, down to a minimum of 8
>set the textSize of fld tFieldName to 12
>put 12 into tStartSize
>repeat 4 times
>if the formattedWidth of fld tFieldName > the width of
> fld tFieldName then
>subtract 1 from tStartSize
>set the textSize of fld tFieldName to tStartSize
>else
>exit repeat
>end if
>end repeat
>show fld tFieldName
> 
> If the font gets to size 8 and the text is still not all fitting into
> the field, then maybe you need to truncate it.
> 
> Cheers,
> 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

___
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: Odd selection hangup

2010-02-22 Thread DunbarX
Jacques.

Nope.

But I could have been clearer.

1- Put the following script into any object:

on selectedObjectChanged
   set the selected of the target to "false"
end selectedObjectChanged

2- Select the object by dragging over it in edit mode.
3- Go back to browse mode.
4- Comment out the script, just for effect. Don't forget to compile.
5- The handles linger. Change tools, go to the next card, do anythiing at 
all except close the stack and reopen.

I agree it is a minor thing, and, per Richard, there are better ways to 
implement this odd requirement.

Just, er, bugs me.

Craig
___
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: Altering HTML Text

2010-02-22 Thread Andre Garzia
Check the HTML encoding on the source.

You may be adding some special chars from Mac character set and the HTML
might be using something else.

On Mon, Feb 22, 2010 at 9:00 PM, Ray Horsley  wrote:

> I thought I'd add a line of text to a url displayed via the RevBrowser
> commands.  Here's the general idea:
>
> put revBrowserGet(sBrowserId,"htmlText") into myHtmlText
> -- add a line of text to the top of therevBrowserSet
> sBrowserId,"htmlText",myHtmlText
>
> I can get the htmlText, but it looks funny in the variable watcher with
> weird characters and, even if I don't add a line to it, when I user
> revBrowserSet to put it back it comes out funny looking.  Uniencoding and
> decoding doesn't work.
>
> Ideas?
>
> Ray Horsley
> LinkIt! Software
> ___
> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Odd selection hangup

2010-02-22 Thread Bob Sneidar
I think you have to pass it for the IDE to do it's thing. Otherwise the IDE 
will never get the message and therefore it will do nothing about it. Not only 
are you trapping the fact that it got selected, but you are trapping your own 
deselection of it. 

Bob


On Feb 22, 2010, at 2:43 PM, dunb...@aol.com wrote:

> Jacques.
> 
> Nope.
> 
> But I could have been clearer.
> 
> 1- Put the following script into any object:
> 
> 
> 
> 2- Select the object by dragging over it in edit mode.
> 3- Go back to browse mode.
> 4- Comment out the script, just for effect. Don't forget to compile.
> 5- The handles linger. Change tools, go to the next card, do anythiing at 
> all except close the stack and reopen.
> 
> I agree it is a minor thing, and, per Richard, there are better ways to 
> implement this odd requirement.
> 
> Just, er, bugs me.
> 
> Craig
> ___
> 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


Yet an Odder selection hangup

2010-02-22 Thread DunbarX
Here is a better one, if anybody is listening. There is more going on than 
first appears.

Create two objects. Place this script in object 1:

on selectedObjectChanged
set the selected of the target to false
end selectedObjectChanged

Go into edit mode and drag across object 1. Yes, the handles linger, and by 
the way you can only resize, not relocate, that object. Now and forever. 
Change modes. I don't care.

Next...

Get back to edit mode and drag object 2 around. Works fine. If you start a 
drag outisde that object, it doesn't move. (why should it?).

If you now select object 2, and start a drag inside OBJECT 1, it does move. 
You cannot relocate object 1, but you can relocate object 2.

Arcane, but a bug.

Craig Newman
___
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: Yet an Odder selection hangup

2010-02-22 Thread J. Landman Gay

dunb...@aol.com wrote:
Here is a better one, if anybody is listening. There is more going on than 
first appears.


Create two objects. Place this script in object 1:

on selectedObjectChanged
set the selected of the target to false

end selectedObjectChanged

Go into edit mode and drag across object 1. Yes, the handles linger, and by 
the way you can only resize, not relocate, that object. Now and forever. 
Change modes. I don't care.


Next...

Get back to edit mode and drag object 2 around. Works fine. If you start a 
drag outisde that object, it doesn't move. (why should it?).


If you now select object 2, and start a drag inside OBJECT 1, it does move. 
You cannot relocate object 1, but you can relocate object 2.


Arcane, but a bug.


Bob's right, you need to pass the message. Otherwise the IDE backscript 
won't get it (so it can't handle selections) and the engine won't get it 
either.


Tests with the browse tool won't do anything because the message is not 
sent with that tool. Right-clicking does work here to deselect the 
object, but only when done with the edit tool. A quick test shows the 
behavior I think you're expecting if you pass the message.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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


[ANN] The Slug's Color Picker is now on the road for beta test

2010-02-22 Thread zryip theSlug
Hello friends!

A simple color picker is available on my site.
This is my first stack with RR. I seeking now some volunteers to test
it, give me some feedback and report bugs that I have missed. 8-)

You will find the stack and a small preview here:
http://www.aslugontheroad.co.cc


TIA


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Altering HTML Text

2010-02-22 Thread Ray Horsley

André,

Thanks for the tip!  Is the HTML encoding a property as in get the  
htmlEnccoding of myVar, or is it something else?


Thanks,

Ray

On Feb 22, 2010, at 2:53 PM, Andre Garzia wrote:


Check the HTML encoding on the source.

You may be adding some special chars from Mac character set and the  
HTML

might be using something else.

On Mon, Feb 22, 2010 at 9:00 PM, Ray Horsley  wrote:

I thought I'd add a line of text to a url displayed via the  
RevBrowser

commands.  Here's the general idea:

put revBrowserGet(sBrowserId,"htmlText") into myHtmlText
-- add a line of text to the top of therevBrowserSet
sBrowserId,"htmlText",myHtmlText

I can get the htmlText, but it looks funny in the variable watcher  
with

weird characters and, even if I don't add a line to it, when I user
revBrowserSet to put it back it comes out funny looking.   
Uniencoding and

decoding doesn't work.

Ideas?

Ray Horsley
LinkIt! Software
___
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





--
http://www.andregarzia.com All We Do Is Code.
___
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: Altering HTML Text

2010-02-22 Thread Jim Ault

On Feb 22, 2010, at 8:01 PM, Ray Horsley wrote:
Is the HTML encoding a property as in get the htmlEnccoding of  
myVar, or is it something else?



Fields have the htmlText property since they display text.
Variables don't display text.
You can put the htmlText of fld 1 into a variable, or a custom  
property, or write it to a file.


Hope this helps.


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


Trapping Cancel on Ask Dialogue

2010-02-22 Thread RevList
This will sound like a NewBee question, but I can't find the answer.

I want to trap when someone click on the Cancel button on a Ask Dialogue


For example  Ask "How old are you?"

How do I know if someone click on the Cancel button. It is what they
respond.

Stewart


This message and any attachments are intended only for the use of the
individual to whom they are addressed and it may contain information that
is privileged or confidential. If you have received this communication by
mistake, please notify us immediately.


___
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: Trapping Cancel on Ask Dialogue

2010-02-22 Thread J. Landman Gay

RevList wrote:

This will sound like a NewBee question, but I can't find the answer.

I want to trap when someone click on the Cancel button on a Ask Dialogue


For example  Ask "How old are you?"

How do I know if someone click on the Cancel button. It is what they
respond.


It's in "the result":

  if the result = "cancel" then...

This is mentioned in the dictionary under the "ask command" entry.

You can also check to see if "it" is empty, because both cancel and no 
response both blank out the "it" variable.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-22 Thread Josh Mellicker

On Feb 19, 2010, at 8:52 PM, Jim Bufalini wrote:

> Josh Mellicker wrote:
> 
>> Oops.
>> 
>> I learned coding from an old guy in an alley, that's why. :-)
>> 
>> When a handler is not event driven, but just looping, monitoring
>> something, and keeps calling itself, what is the proper term?
> 
> Recursion or recursive. This is the same as a tight loop because the handler
> never ends until the recursive calling stops. Hence, without waits *with
> messages* you will have a sluggish GUI.

Just FYI, we were using:

if "monitorExternalProcess" is not in the pendingMessages then send 
"monitorExternalProcess" to me in 1 milliseconds

That's why I was calling it a "1 millisecond loop".

Since this only calls itself once at a time, it's not recursive, right?


> Also, you could easily hit the
> recursive limit if the condition you are looking for does not occur as you
> expect, and your program will crash.
> 
> Use instead:
> 
> send "" to me in 1 millisecond
> 
> This will solve all of your problems of allowing the GUI to be responsive
> and avoid hitting the recursion limit.
> 
> One thing to be aware of though, in any case, of using *wait... with
> messages* or sending in time. The time factor is not absolute. If, for
> example, a handler that takes 10 milliseconds to execute is triggered then
> there will be 10 milliseconds between executions of your "in-time loops"
> 
> Aloha from Hawaii,
> 
> Jim Bufalini
> 
> ___
> 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


on-rev and coda

2010-02-22 Thread Jeffrey Massung
Has anyone here successfully connected to on-rev with coda for editing their 
web pages? If so, what were the settings you used?

Jeff M.___
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: Time entry

2010-02-22 Thread Josh Mellicker
Here is a text entry field so that a user can enter a time in a field in a 
"shorthand" and get a full, properly formatted date out of it.

Here are some examples:

enter this = get this

1 = 1:00 PM
12 = 12:00 PM
123 = 1:23 PM
1234 = 12:34 PM

add an "a" at the end for am, like:

1a = 1:00 AM


We have been using this for a few years and everyone really likes it, it seems 
intuitive and faster than any other method of entering a time.


field script:

   ON enterInField
   convertTime
   END enterInField

   ON returnInField
   convertTime
   END returnInField

   ON closeField
   convertTime
   END closeField


put this somewhere in the message path:

   ON convertTime
   put the text of the target into t
   IF (char -1 to -2 of t = "am") OR (char -1 of t = "a") THEN
   put "AM" into ampm
   ELSE
   put "PM" into ampm
   END IF
   REPEAT for each char c in t
   IF c is a number THEN put c after t2
   END REPEAT

   SWITCH
   CASE the number of chars of t2 < 3
   put ":00" after t2
   break
   CASE the number of chars of t2 = 3
   put char 1 of t2 & ":" & char 2 to 3 of t2 into t2
   break
   CASE the number of chars of t2 = 4
   put char 1 to 2 of t2 & ":" & char 3 to 4 of t2 into t2
   break
   END SWITCH
   put space & ampm after t2
   put t2 into the target
   END convertTime



On Feb 22, 2010, at 10:21 AM, Peter Haworth wrote:

> Thanks Scott.  The clock face is certainly the most familiar for users and 
> does take up less real estate.  I haven't entirely discounted it but I feel 
> it doesn't lend itself very well to time entry on a computer.  It really 
> needs two hands for it to be the familiar clock face we're all used to (which 
> I'm guessing would complicate the code quite a bit) and clock faces in 
> general don't differentiate between AM and PM times.  I guess that's why I'm 
> leaning more towards the slider approach - certainly less familiar than a 
> clock face but feels very comfortable nonetheless and I think I can find the 
> real estate.  I'll probably implement it as a small button (maybe looking 
> like a clock!) that will popup a window with the sliders in it.
> 
> Either way, thanks a lot for the code.
> 
> Pete Haworth
> 
> 
> 
> On Feb 22, 2010, at 10:00 AM, use-revolution-requ...@lists.runrev.com wrote:
> 
>> From: Scott Rossi 
>> Subject: Re: Time entry
>> To: How to use Revolution 
>> Message-ID: 
>> Content-Type: text/plain;charset=us-ascii;   format=flowed;  
>> delsp=yes
>> 
>> Hi Pete:
>> 
>> FWIW, if you have a small amount of real estate for the time entry
>> control, a clock face is a lot more efficient than a slider.
>> Regardless, yes 48 is the number of 15 minute intervals.  The other
>> thing you may need to adjust is the width of the slider base graphic
>> -- it's currently wide enough to evenly accommodate tick marks for the 48 
>> intervals.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX Design
> 
> ___
> 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


[OT] Drifting off topic (was: Re-2: on standalonesaved)

2010-02-22 Thread Vokey, John
I would absolutely loved to have been invited (can you just imagine all the 
amazing insights Jacqueline keeps hidden in there simply because she doesn't 
realize how we would all benefit if she just let it all out?). That said, it 
does seems a bit creepy, and I suspect my wife would have words.


On 2010-02-22, at 9:11 PM, use-revolution-requ...@lists.runrev.com wrote:

>> I will have pretty soon. But for now it's mostly a case of Jim joining Sarah
>> in my brain, which you'd think I'd notice, but I was obviously elsewhere. I
>> hope they're happy in there, it's a bit of a mess from where I stand.
> 
> 
> Sorry, I just stepped out for a while. You're on your own in there Jim :-)
> 
> Sarah

--
Please avoid sending me Word or PowerPoint attachments.
See 




___
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: Looking for an idea to ....

2010-02-22 Thread Rolf Kocherhans
Thanks:

Mark, Craig, Andre B. , Andre G. , Sarah and Bob :-) !

I will investigate all of your tips and ideas and post the
best solution "for my purpose" on the list when I am ready.

Thank you all for your help !

I just love this list.

Cheers
Rolf

Am 22.02.2010 um 13:21 schrieb use-revolution-requ...@lists.runrev.com:

> Hello all
> 
> I am looking for an idea to the following problem :-)
> 
> 
> I have a non focused label text field of a fixed length, I use it
> to display e.g. email adresses.
> 
> Sometimes the email address fits into the field, but other
> times the email address ist to long, so I only see 80% of it.
> 
> I now noticed that the iPhones address application,
> automatically reduces the font size to be able to always
> display the whole address.
> 
> Very clever !
> 
> My Label field does not have a monospaced font
> I use (Lucida Grande), I have no clue how to replicating this behavior.
> 
> 
> Does anybody have an idea how I can do the same with revTalk ?
> 
> 
> Cheers
> Rolf

__

Rolf Kocherhans
Informatikdienste
Client Systems  
mailto:rolf.kocherh...@id.uzh.ch
Universität Zürich  
http://www.id.uzh.ch/
Rämistrasse 74/Fach 99  Telephone: (+41) 44 634 23 79
CH-8001 Zürich SWITZERLAND  Faximile : (+41) 44 634 43 47
__

___
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: [OT] Languages and cultures (was Re: survey)

2010-02-22 Thread Bernard Devlin
Please let's stop this discussion about religion and morality.  Those
who like to judge the lives of others, and those who think 'live and
let live' are never going to agree.  They're incommensurable
positions.

My apologies for having caused this.  Whilst many others have felt
free to mention their personal lives on this list without judgement,
it's why I have kept quiet all these years.

If this discussion continues I'm sure that people will become more
offended.  I knew it wouldn't be long before Hitler or Pol Pot was
brought up. But even I'm surprised how quickly it happened :-)

Let's just get back to what matters to all of us - Revolution!

Bernard
___
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


  1   2   >