character sets- missing feature?

2003-10-01 Thread Alex Rice
In Revolution how can I display text with foreign character sets? Not 
Unicode. For example this text file is ISO-8859-2 (Central European ISO 
Latin 2)
http://www.northshorecomputer.net/pg/etext04/rnpz810.txt

In Apple TextEdit, I can select Central European ISO Latin 2 while 
open that file and it displays what appear to be the correct characters.

Rev's MacToISO and ISOToMac functions, while useful, seem to fall short 
of dealing with many, many text encodings out there. Hopefully I am 
overlooking something. I fear I will have to write an external to do 
this :-/

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Saving Preferences

2003-10-01 Thread Ken Ray
  Read in from an external file on startup; if the file 
 doesn't exist, 
  default prefs are applied inside the program an a new prefs 
 file with 
  the defaults is written out to disk. This way, if someone wants to 
  reset their prefs to the defaults, all they need to do is 
 throw away 
  the prefs file.
 --
 Why throw away? Seems more laborious than just having a 
 permanent Prefs substack (which would become its own Prefs 
 file when building for distr., right?). 

True, but having it in an external file means that it is in a
user-readable form that can be modified externally by other programs or
by administrators without opening the stack each time. A lot of it
depends on who the application is going to (i.e. what market). 

Also, I haven't quite understood the advantage of developing with a
substack of a mainstack and then at the last minute breaking it out into
a separate stack... I would think that if I really wanted a substack to
be separate file, I would have started with it that way...

Can someone enlighten me?

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


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


Re: Saving Preferences

2003-10-01 Thread Ken Norris
Back again,

Something I don't quite understand:

1) Suppose you have a Splash that contains the engine and initializes Prefs
from a data stack (which I'll call a Prefs stack from now on).

Now, when you originally create this in the Rev IDE, the Main stack would
actually be the Splash, and the substacks will actually become Rev files at
distr build time. Is this correct?

2) I'll then have a substack which I'll call the UI stack, which is a Rev
file after the distr build. To the user, this thing would look like the main
stack because it has all the buttons, graphics, fields, menus, palettes,
etc. Is this OK so far?

3) I'll also have a PrefDialog substack which will read data from the Prefs
stack, which won't be saved in itself, but can operate on it while open,
change data as appropriate, then write directly back to the Prefs stack,
replacing data (save) there. Is this correct?

4) If all the above is true, then it looks like the Prefs dialog should be
another substack opened by the UI stack, correct?

TIA, 
Ken N.

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


Re: character sets- missing feature?

2003-10-01 Thread Kjetil Rå Hauge
In Revolution how can I display text with 
foreign character sets? Not Unicode. For example 
this text file is ISO-8859-2 (Central European 
ISO Latin 2)
http://www.northshorecomputer.net/pg/etext04/rnpz810.txt

In Apple TextEdit, I can select Central 
European ISO Latin 2 while open that file and 
it displays what appear to be the correct 
characters.

Rev's MacToISO and ISOToMac functions, while 
useful, seem to fall short of dealing with many, 
many text encodings out there. Hopefully I am 
overlooking something. I fear I will have to 
write an external to do this :-/

From the documentation, it seems that ISOtoMac 
handles only 8859-1. Other encodings would surely 
be a welcome addition to this function. This 
workaround will enable you to show  the Polish 
text above in a Revolution field:

- set the textfont of the field to Times CE or another CE font
- open the text with Safari (other OS X browsers probably work as well)
- change the encoding in Safari to Latin-2
- select all, copy, paste into field in Revolution
--
--- Kjetil Rå Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140
--- (this msg sent from home, +47/67148424, fax +1/5084372444)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Burning ISO CD image on Mac

2003-10-01 Thread Pierre Sahores
Hello,

Here is the way i did successfully the same work :

1.- insert a new writable CD into your macosx box.

2.- it will be asked you to prepare it for writing mode

3.- select the last option in the popup (copy cd)

4.- it will be asked you witch iso formated file to write

5.- select directly the lindows iso file you downloaded (instead of your
unneded desktop mounted file)

6.- the copy will begin...

Bests, Pierre

Le mer 01/10/2003  07:34, curry a crit :
 I am trying to test the downloadable Lindows CD, but my CD burner is 
 on my iMac (built-in), so I'm trying to burn it there before using it 
 on my PC. I was using the Finder's burn feature, and made two CDs to 
 try: first I dragged the ISO itself onto the CD image and burned it, 
 and the second time I double-clicked the ISO to mount it and burned 
 the contents. Neither of the CDs was able to boot the PC. (Yes, the 
 PC is checking CD first for boot.)
 
 Does anyone know how to do this type of burn? :)
 
 Thanks very much,
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de rentabilit
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] libLinedFields

2003-10-01 Thread Toma Tasovac
Monte, a very basic question:

what does it mean when you say start using the library?  I must say I 
haven't used your libraries yet so I am confused.

I used the ScriptLibraryInstaller.rev to create a userscript folder in 
componentes/save.  I then placed uLinedFields.rev in that folder, 
restarted Revolution.  I checked in Development -- Plugins 
--revScriptLibrary to make sure that the library loads on startup.  Yet 
when I try the following script:

set the uLinedField of fld Field 1 to true

- nothing happens.

What am I missing?

All best,

Toma

Am Mittwoch, 01.10.03 um 07:20 Uhr schrieb Monte Goulding:

Hi All

I just spent 1/2 an hour working out how to get decent looking 
alternate
color lined fields in Rev. Then I spent another half an hour making a
library out of it and uploading it to my rev site ;-)

Take a look: www.sweattechnologies.com/rev

Cheers

Monte Goulding
B.App.Sc. (Hons.)
Executive Director
Sweat Technologies
email: [EMAIL PROTECTED]
website: www.sweattechnologies.com
mobile (International): +61 421 138 274
   (Australia): 0421 138 274
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


standard file dialog?

2003-10-01 Thread Joel Rees
I know I must just be missing something, but what's the equivalent of
the Mac OS's standard file dialogs?

I need to let the user specify a place and name to save a (results) stack
to.

-- 
Joel Rees, programmer, Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp
--

When software is patentable, anything is patentable. 
(http://swpat.ffii.org)

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


Re: character sets- missing feature?

2003-10-01 Thread Tuviah Snyder
From the documentation, it seems that ISOtoMac
handles only 8859-1. Other encodings would surely
be a welcome addition to this function. This
workaround will enable you to show  the Polish
text above in a Revolution field:
Yeah support for polish as a language will be in 2.1.1. So you'll be able to
use

set the unicodetext of fld 1 to uniencode(sometext,polish)

Tuviah Snyder [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited - Software at the Speed of Thought

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


Re: standard file dialog?

2003-10-01 Thread Jan Schenkel
--- Joel Rees [EMAIL PROTECTED] wrote:
 I know I must just be missing something, but what's
 the equivalent of
 the Mac OS's standard file dialogs?
 
 I need to let the user specify a place and name to
 save a (results) stack
 to.
 

Hi Joel,

Have a look at the Transcript Dictionary entries for
the commands 'ask file' and 'answer file'.
- ask file Save file as :
- answer file Open file :

Hope this helped,

Jan Schenkel.

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

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving Preferences

2003-10-01 Thread Jan Schenkel
--- Ken Norris [EMAIL PROTECTED] wrote:
 Back again,
 
 Something I don't quite understand:
 
 1) Suppose you have a Splash that contains the
 engine and initializes Prefs
 from a data stack (which I'll call a Prefs stack
 from now on).
 
 Now, when you originally create this in the Rev IDE,
 the Main stack would
 actually be the Splash, and the substacks will
 actually become Rev files at
 distr build time. Is this correct?
 

That's not really necessary : you only have to break
out the stacks that you want to save changes to ; the
other stacks can stay in the standalone.

 2) I'll then have a substack which I'll call the UI
 stack, which is a Rev
 file after the distr build. To the user, this thing
 would look like the main
 stack because it has all the buttons, graphics,
 fields, menus, palettes,
 etc. Is this OK so far?
 

That looks like the standard way of handling it.

 3) I'll also have a PrefDialog substack which will
 read data from the Prefs
 stack, which won't be saved in itself, but can
 operate on it while open,
 change data as appropriate, then write directly back
 to the Prefs stack,
 replacing data (save) there. Is this correct?
 

That will work just fine ; and is IMHO a better
solution than to merge the preferences UI and data
storage into a single stack.

 4) If all the above is true, then it looks like the
 Prefs dialog should be
 another substack opened by the UI stack, correct?
 

Yes, you will have to open it in order to get to its
data ; but you can open it invisibly so nobody ever
has to know :-)

 TIA, 
 Ken N.
 

Hope this helped,

Jan Schenkel.

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

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: standard file dialog?

2003-10-01 Thread Joel Rees
 snort cough cough wheeze shuffle shuffle

 --- Joel Rees [EMAIL PROTECTED] wrote:
  I know I must just be missing something, but what's
  the equivalent of
  the Mac OS's standard file dialogs?
  
  I need to let the user specify a place and name to
  save a (results) stack
  to.
  
 
 Hi Joel,
 
 Have a look at the Transcript Dictionary entries for
 the commands 'ask file' and 'answer file'.
 - ask file Save file as :
 - answer file Open file :
 
 Hope this helped,
 
 Jan Schenkel.

You must have telepathic powers, because I was dozing in front of the
Mac a few minutes ago and suddenly woke up with the impression I should
check for options to ask and answer. 8-/

Thanks, and sorry for the noise.

-- 
Joel Rees, programmer, Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp
--

When software is patentable, anything is patentable. 
(http://swpat.ffii.org)

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


Re: character sets- missing feature?

2003-10-01 Thread Robert Brenstein
 From the documentation, it seems that ISOtoMac
 handles only 8859-1. Other encodings would surely
be a welcome addition to this function. This
workaround will enable you to show  the Polish
text above in a Revolution field:
Yeah support for polish as a language will be in 2.1.1. So you'll be able to
use
set the unicodetext of fld 1 to uniencode(sometext,polish)

Tuviah Snyder [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited - Software at the Speed of Thought
But how does uniencode know what the current encoding of sometext is? 
It can be 8859-2 but also MacCE or Windows-1250. Even more options 
are for example for Russian (Cyrillic).

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


I need Distribution Builder advice

2003-10-01 Thread Graham Samuel
I'm having a number of problems creating a distribution for OSX. I've 
searched bugzilla and I see at least one of the problems I've had (a 
kind of dummy copy of Revolution appears beside my app when the 
distribution is built, but it crashes on opening and anyway what's it 
doing there?), but I couldn't understand from the Bugzilla comment in 
what sense it had been fixed. I have had other issues with 
'Revolution' appearing in the app's menu for example, which only 
happens sometimes...

I also seem to have problems setting icons and also creating OSX 
distributions when using MacOS 9.2.2 (in native mode, not using 
Classic under OSX). Basically I need a tutorial, so that I can try to 
use the Dist Builder as correctly as I can and then if need be report 
any actual bugs.

I may have missed it, but I have not found any cookbook items 
relating to distribution building. It seems to me that we badly need 
some kind of step-by-step instructions for creating a robust app with 
proper icons and menus for OSX, explaining what to do about the 
various issues that have come up from time to time (like the Quit 
menu issue, what to do with plists, what exactly an icon set has to 
consist of etc). Clearly building a robust OSX distribution is 
possible, since RunRev itself has done it, but since it didn't work 
first time for me, I really don't know what to do now. I can't 
believe I'm the only one to be confused by all this.

Can anyone point me in the right direction?

TIA

Graham
--
---
 Graham Samuel / The Living Fossil Co. / UK  France
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I need Distribution Builder advice

2003-10-01 Thread Malte Brill
Hi Graham,

maybe I can help you with some of them, even though it is a bit complicated
because I do it by hand:

I also seem to have problems setting icons

Thats an easy one, you can copy and paste it in the finder:
You need an icon file (.icns I believe)
Try selecting your app bundle. Click Applei, select your icon click
applei, selct the thumbnail of your icon in the info window press applec
select the icon thumbnail of your app in its info window press applev

I have had other issues with
'Revolution' appearing in the app's menu for example, which only
happens sometimes...

If that happens on X:

open the app bundle by control clicking on it. Choose show Package contents
open the file info.plist. Look for the word Revolution. Change it to your
apps name. I will look for the correct tags when I´m under X again in a few
minutes) Open the folder MacOs: Change the name of the File in it (named
revolution) to your apps. name. Now it should show correct in the quit menu
for example. You can double check it by opening a terminal window and typing
top into it. Your apps name should show in that window.

Hope that helps a bit,

Regards,

Malte

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


Re: I need Distribution Builder advice

2003-10-01 Thread Malte Brill
Hi Graham,


open the app bundle by control clicking on it. Choose show Package contents
open the file info.plist. Look for the word Revolution. Change it to your apps
name. I will look for the correct tags when I´m under X again in a few minutes)

It is keyCFBBundleExecutable/keystringRevolution/string

Where Revolution should be  your apps name.

Open the folder MacOs: Change the name of the File in it (named revolution) to
your apps. name. Now it should show correct in the quit menu for example. You
can double check it by opening a terminal window and typing top into it. Your
apps name should show in that window.

Hope that helps a bit,

Regards,

Malte

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


Re: Burning ISO CD image on Mac

2003-10-01 Thread curry
Thanks so much, Alex and Pierre! I had almost lost hope on it. 
Lindows, here I come.

--
Curry Kenworthy
--
Christian xTalk discussion list
http://groups.yahoo.com/group/cxtalk/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I need Distribution Builder advice

2003-10-01 Thread sims
Hi Graham,

 open the app bundle by control clicking on it. Choose show Package contents
 open the file info.plist.
Also change get info information such as version number and copyright
whilst there.
atb

sims

--
---
   http://EZPZapps.com [EMAIL PROTECTED]
  Software - Internet Development - Consulting
We make...
iBirthday!   http://EZPZapps.com/iB
SmartDog!http://EZPZapps.com/SmartDog
Kartolina! http://ezpzapps.com/kartolina
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] libLinedFields

2003-10-01 Thread Trevor DeVore
On Tuesday, September 30, 2003, at 11:20  PM, Monte Goulding wrote:

I just spent 1/2 an hour working out how to get decent looking 
alternate
color lined fields in Rev. Then I spent another half an hour making a
library out of it and uploading it to my rev site ;-)

Take a look: www.sweattechnologies.com/rev
Monte,

This works great.  Did a quick test and on OS X.2.6 the margins 2,3,2,8 
seemed to work best.  If I didn't use 8 as the bottom margin then the 
last line of text would get cut off.

Thanks,

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


Re: character sets- missing feature?

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 03:14  AM, Tuviah Snyder wrote:

Yeah support for polish as a language will be in 2.1.1. So you'll be 
able to
use

set the unicodetext of fld 1 to uniencode(sometext,polish)
Tuviah, this will be superb- I beg you to implement it for 2.1.1. This 
is the only capability that Rev doesn't offer for my current project.

But I believe the text encoding name will have to be passed as a 
parameter, as Robert Brenstein notes. At least an optional 
parameter.Unless you have an extremely smart encoding guesser. Even 
TextEdit.app does not correctly guess the encoding this file with 
ISO-8859-2, I have to pick the encoding manually. Cocoa has a pretty 
good text encoding framework, so if it can't guess the encoding it must 
be a hard problem.

For reference, I'm using Project Gutenberg, which has approx 8,000 
files- the books are text files mostly with 7-bit ASCII, some with 
8-bit ASCII. I think the 8-bit ones are where the ISO encodings come 
into play.

There probably hundreds of files that have encodings other than the 
ISO-8859 that Rev supports. Of those maybe a few are Unicode already, 
but most are like this Polish file with  various ISO-8859-x variants.

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] libLinedFields

2003-10-01 Thread Toma Tasovac
Monte, a very basic question:

what does it mean when you say start using the library?  I must say I 
haven't used your libraries yet so I am confused.

I used the ScriptLibraryInstaller.rev to create a userscript folder in 
componentes/save.  I then placed uLinedFields.rev in that folder, 
restarted Revolution.  I checked in Development -- Plugins 
--revScriptLibrary to make sure that the library loads on startup.  Yet 
when I try the following script:

set the uLinedField of fld Field 1 to true

- nothing happens.

What am I missing?

All best,

Toma

P.S. sorry if this gets posted twice -- it didn't seem to have gone 
through the first time.

Am Mittwoch, 01.10.03 um 07:20 Uhr schrieb Monte Goulding:

Hi All

I just spent 1/2 an hour working out how to get decent looking 
alternate
color lined fields in Rev. Then I spent another half an hour making a
library out of it and uploading it to my rev site ;-)

Take a look: www.sweattechnologies.com/rev

Cheers

Monte Goulding
B.App.Sc. (Hons.)
Executive Director
Sweat Technologies
email: [EMAIL PROTECTED]
website: www.sweattechnologies.com
mobile (International): +61 421 138 274
   (Australia): 0421 138 274
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Using Rev as a multiplatform GUI to control perl and shell scripts -- or is Tcl/tk better?

2003-10-01 Thread Ben Collyer
I want to make a multiplatform GUI for dozens of perl and shell scripts 
that process and analyse logs.

I had hoped to try to use Revolution, because I know some transcript, 
but wondered how you simply execute a perl script using Rev, (without 
passing any arguments etc. -- although this might eventually be useful).

I am running the scripts on MacOSX, from the bash shell.

a typical command line to execute a script might be

bash-2.05a$ perl desktop/logs/scripts/extract.pl

its a script that churns away for potentially hours, stripping and 
reformatting logfile lines, counting, etc

what transcript script do I need to launch the same script from a 
button in Rev?
And would the same transcript work on other platforms?

A friend said I should learn Tcl/Tk instead.. but is he right?

 opinions gratefully received

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


copying text from lists.runrev.com

2003-10-01 Thread rand valentine
hi, all. i have a really basic question. often, when i have a question about
runrev, instead of bugging/bothering the list, i open my browser and do a
google search on the list archive for relevant info, e.g. if i were
wondering about how arrays work (which I am!), then I would type:

array site:lists.runrev.com

well, this is great, because it's easy to follow threads, and i _should_ be
able to cut and paste a given thread to produce nice little threaded
studies of topics. but here's my problem: whenever i paste a message in
mac os x.2.6 [and x.2.8] (and i haven't tried other systems) all of the
quoted material (with lines beginning with  or ) in a message
collapses into a single paragraph, eg,

Yves, As long as cPoints only has student data (i.e. every element in cPoints
is what you'll be checking), you can do this: put  into myList put 1 into
elementNum repeat for each element e in cPoints if e = 5 then put line
elementNum of keys(cPoints)  cr after myList end if add 1 to elementNum end
repeat Hope this helps, 

now, the display in my browser has a line break before each  or . why are
the cr's before  so spineless, i.e., does anyone know why my computer
converts this into the useless mess above, and how i might correct it? i've
tried everything i can think of. does it have something to do with mac vs
windows linefeed/cr stuff? thanks.

rand

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


Re: copying text from lists.runrev.com

2003-10-01 Thread Kjetil Rå Hauge
the cr's before  so spineless, i.e., does anyone know why my computer
converts this into the useless mess above, and how i might correct it? i've
It seems to be a (mis)feature of Safari. Does not happen with Mozilla.
--
---
Kjetil Rå Hauge, U. of Oslo, PO Box 1030 Blindern, N-0315 Oslo, Norway
Tel. +47/22856710, fax +47/22854140
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Using Rev as a multiplatform GUI to control perl and shell scripts -- or is Tcl/tk better?

2003-10-01 Thread Pierre Sahores
Hi Ben,

The best way is to pipe all the needed perl or any other kind of
scripting languages you would have to use. See, as an example, how i'm
accessing the psql command line client (PostgreSQL) and just tune the
script below by replacing my code by yours :

put psql -h localhost projecoles -U postgres into PgPath
put shell(echo  quote  select * from etablist order by
etab0011  quote  |  PgPath) into AccPpx

Bests, Pierre

Le mer 01/10/2003  17:16, Ben Collyer a crit :
 I want to make a multiplatform GUI for dozens of perl and shell scripts 
 that process and analyse logs.
 
 I had hoped to try to use Revolution, because I know some transcript, 
 but wondered how you simply execute a perl script using Rev, (without 
 passing any arguments etc. -- although this might eventually be useful).
 
 I am running the scripts on MacOSX, from the bash shell.
 
 a typical command line to execute a script might be
 
 bash-2.05a$ perl desktop/logs/scripts/extract.pl
 
 its a script that churns away for potentially hours, stripping and 
 reformatting logfile lines, counting, etc
 
 what transcript script do I need to launch the same script from a 
 button in Rev?
 And would the same transcript work on other platforms?
 
 A friend said I should learn Tcl/Tk instead.. but is he right?
 
   opinions gratefully received
 
 Ben
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de rentabilit
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Using Rev as a multiplatform GUI to control perl and shell scripts -- or is Tcl/tk better?

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 09:16  AM, Ben Collyer wrote:

A friend said I should learn Tcl/Tk instead.. but is he right?

 opinions gratefully received
As Pierre mentioned- see the shell() function.

As for Tcl/Tk, I am not a tcl programmer, but I think that Revolution 
is going to have similar capabilities as Tcl/Tk - in that they are both 
high-level languages. Revolution is event-driven- I assume Tcl is also.

Revolution can compile relatively small, fast single-file executables 
for many platforms, which I don't think Tcl can do.

Tcl/Tk some versions are Free, but Revolution is not.

Tcl/Tk may not come with a GUI builder tool like Revolution offers.

Tk apps used to be glacially slow- click a button and go get a cup of 
coffee - kind of slow. I assume that is no longer an issue on today's 
hardware.

I would also compare Tcl/Tk's shell/task/process management functions 
and see if it's any better than Revolution's offerings.

Also keep an eye on this new site by David Bovill [EMAIL PROTECTED]
http://sourceforge.net/projects/opn-repository/
Open source environments which use Rev for rapid prototyping of fron 
ends, but which relate to other componenets written in othe languages.

HTH

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving Preferences

2003-10-01 Thread Ken Norris
 Date: Wed, 1 Oct 2003 02:24:06 -0700 (PDT)
 From: Jan Schenkel [EMAIL PROTECTED]
 Subject: Re: Saving Preferences

 3) I'll also have a PrefDialog substack which will
 read data from the Prefs
 stack, which won't be saved in itself, but can
 operate on it while open,
 change data as appropriate, then write directly back
 to the Prefs stack,
 replacing data (save) there. Is this correct?
 
 
 That will work just fine ; and is IMHO a better
 solution than to merge the preferences UI and data
 storage into a single stack.
--
Well, I thought about that, but it wouldn't save to itself, so it made more
sense to break out the Prefs stack into a separate file by itself. In fact,
it will probably have no controls at all.

But I also think I should make the Prefs dialog stack separate as well.

That's why I'm exploring and asking opinions. I still haven't completely
decided how I should do what I want. I think I'd like to develop a standard
way to build Prefs/Control Panel stacks which can be updated independantly
and remotely.

Suppose I want to offer a new theme package of icons and feedback sounds. I
would like a module that will download the package from a website, and
install it automatically, i.e., the image and sound data files will be
loaded into the Prefs stack folder and the new choice added to the
availability list in the Prefs stack, which can be read and acted on from
the Prefs _dialog_ stack.

I know this can be done in Rev, but I haven't quite worked it out yet. It
should check for duplicates and the like. And, also, for the user's own
sake, a security device to prevent the user from accidentally throwing away
the Prefs or other pertinent data stacks.
--
 4) If all the above is true, then it looks like the
 Prefs dialog should be
 another substack opened by the UI stack, correct?
 
 
 Yes, you will have to open it in order to get to its
 data ; but you can open it invisibly so nobody ever
 has to know :-)
--
By opening it offscreen, locking the screen,...what method?

Ken N.

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


Re: character sets- missing feature?

2003-10-01 Thread Dar Scott
On Wednesday, October 1, 2003, at 12:04 AM, Alex Rice wrote:

In Revolution how can I display text with foreign character sets? Not 
Unicode. For example this text file is ISO-8859-2 (Central European 
ISO Latin 2)
I suspect the mapping to unicode is straight-forward.  You might be 
able to do this yourself.  One of my references suggested that for many 
encodings all you have to do is change the high byte.  I am pretty sure 
this is an oversimplification, but it does indicate that it may not 
require a table for random mapping.

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


Re: Saving Preferences

2003-10-01 Thread Jan Schenkel
--- Ken Norris [EMAIL PROTECTED] wrote:
  Date: Wed, 1 Oct 2003 02:24:06 -0700 (PDT)
  From: Jan Schenkel [EMAIL PROTECTED]
  Subject: Re: Saving Preferences
  
  4) If all the above is true, then it looks like
 the
  Prefs dialog should be
  another substack opened by the UI stack, correct?
  
  
  Yes, you will have to open it in order to get to
 its
  data ; but you can open it invisibly so nobody
 ever
  has to know :-)
 --
 By opening it offscreen, locking the screen,...what
 method?
 

Steer your copy of Revolution to the Transcript
Dictionary, and check out the 'invisible' clause for
the 'go'/'open' command :-)

Hope this helped,

Jan Schenkel.

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

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


QuickTime, text fields, closed captioning

2003-10-01 Thread Toma Tasovac
Is it possible to have a transparent text field on top of a quicktime 
movie, the way we can put a text field layer over an image?  if not -- 
is there any way in revolution to fake closed captioning?  (i know i 
can do this in, say, LiveStage Pro, but I want to implement closed 
captioning in such a way that the user can stop the movie at any frame, 
and click on any words in the subtitle -- which Revolution should then 
take care of, translate etc...

Is this absolutely hopeless?

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


Re: character sets- missing feature?

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 11:51  AM, Dar Scott wrote:

I suspect the mapping to unicode is straight-forward.  You might be 
able to do this yourself.  One of my references suggested that for 
many encodings all you have to do is change the high byte.  I am 
pretty sure this is an oversimplification, but it does indicate that 
it may not require a table for random mapping.
Really? I am kind of a character encoding neophyte- can you hook me up 
with a reference or a couple of lines of code if you have something  in 
mind?

 Thanks Dar,

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I need Distribution Builder advice

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 04:27  AM, Graham Samuel wrote:
Can anyone point me in the right direction?
Like Malte, I also construct my App bundles by hand on OS X. Because of  
the new bundle/package format on OS X you are no longer dependent on  
the compiler or resedit to create the application file.

In addition to the other suggestions, here are some tips I thought of:

1) I wrote a shell script to copy files, including my Rev standalone  
executable, and my already existing app bundle. Then I double-click on  
the bundle's Info.plist to edit the other bundle properties with the  
PropertyListEditor.app

# example shell script command to copy the executable file
cp  
FacilityCa_MacOSX_Standalone/FacilityCalculator.app/Contents/MacOS/ 
Revolution \
   NPSFacCalc/FacilityCalculator.app/Contents/MacOS/FacilityCalculator

2) Apple's Project Builder, although it is a compiler, also has really  
flexible methods of creating application bundles, and has GUI forms for  
a lot of the bundle properties. You can also add shell scripts to  
customize the build process. One could use Project Builder to do  
automate builds of app bundles, even if it's just collecting files from  
various places and not really compiling any C/C++ code.



Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


QuickTime, text fields, closed captioning

2003-10-01 Thread Toma Tasovac
Is it possible to have a transparent text field on top of a quicktime 
movie, the way we can put a text field layer over an image?  if not -- 
is there any way in revolution to fake closed captioning?  (i know i 
can do this in, say, LiveStage Pro, but I want to implement closed 
captioning in such a way that the user can stop the movie at any frame, 
and click on any words in the subtitle -- which Revolution should then 
take care of, translate etc...

Is this absolutely hopeless?

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


Re: character sets- missing feature?

2003-10-01 Thread Tuviah Snyder
 But how does uniencode know what the current encoding of sometext is?
 It can be 8859-2 but also MacCE or Windows-1250. Even more options
 are for example for Russian (Cyrillic).
When you say Polish it maps to central european. Just like saying japanese
maps to shift-JIS with uniencode.

Tuviah Snyder [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited - Software at the Speed of Thought

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


RegEx difficulties

2003-10-01 Thread Chris Sheffield
I'm using the matchChunk function to search for given words in a field and
then change the textStyle of those words to link.  I'm having a problem
though when a given word is found in another, longer word.  An example would
be match and matches.  The word I'm searching for is match but I only
want to find match, not matches.

My code is

if matchChunk(tStoryText, (  tWord  ), tStartChar, tEndChar)
then
 set the textStyle of char tStartChar to tEndChar of field myText
to empty
end if

I need a RegEx string that will match only the whole word.  Kind of like the
wholeMatches property works with the offset functions.  Is this possible?

Chris Sheffield
Software Development
Read Naturally
[EMAIL PROTECTED]




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


Re: QuickTime, text fields, closed captioning

2003-10-01 Thread Richard Gaskin
Toma Tasovac wrote:

 Is it possible to have a transparent text field on top of a quicktime
 movie, the way we can put a text field layer over an image?  if not --
 is there any way in revolution to fake closed captioning?  (i know i
 can do this in, say, LiveStage Pro, but I want to implement closed
 captioning in such a way that the user can stop the movie at any frame,
 and click on any words in the subtitle -- which Revolution should then
 take care of, translate etc...
 
 Is this absolutely hopeless?

You can turn on the alwaysBuffer of the player, but that disables the
controller. :(

Better would be to write a SMIL file and use that instead of your QT movie
as the filename.  SMIL lets you synchronize multiple media elements using a
simple XML tile.  Rev player objects can handle SMIL 1.0 plus the additional
QT-specific syntax options noted at
http://www.apple.com/quicktime/authoring/qtsmil.html.

The SMIL 1.0 spec is at http://www.w3.org/TR/REC-smil/.

A good tutorial is at
http://www.helio.org/products/smil/tutorial/toc.html.

I started work on a GUI SMIL editor in Rev some time ago, but alas it's been
collecting dust on my hard drive in favor of more pressing projects.  So
while I don't have a handy tool to pass to you yet, I can offer some
encouragement in the meantime:  SMIL may seem daunting at first, but you can
pick it up in an afternoon and it's as easy to write as HTML.

To give you an idea of the format, here's an example from the
above-referenced tutorial:

smil 
head 
  layout 
  root-layout width =300 height =200 background-color =white /
  region id =vim_icon left =75 top =50 width =32 height =32 /
  region id =soja_icon left =150 top =50 width =100 height =30 /
  / layout 
/ head 
body 
 par 
  img src =vim32x32.gif alt =The vim icon region =vim_icon
   dur =6s / 
  img src =madewithsoja.gif alt =Made with SOJA region =soja_icon
   dur =6s / 
 / par 
/ body 
/ smil 


As a side note, you can also use QT 6's support for 3GPP to dynamically
create text tracks (see
http://developer.apple.com/documentation/QuickTime/QT6_3/index.html), but
it requires QT 6.3 and so it's not nearly as widely supported yet as SMIL,
which should cover what you need.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: I need Distribution Builder advice

2003-10-01 Thread Richard Gaskin
Alex Rice wrote:

 2) Apple's Project Builder, although it is a compiler, also has really
 flexible methods of creating application bundles, and has GUI forms for
 a lot of the bundle properties. You can also add shell scripts to
 customize the build process.

Better still might be a Rev plugin that generates plist and PAD files (see
http://www.asp-shareware.org/pad/) from the same data.

How many of you use PAD to promote your wares?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: RegEx difficulties

2003-10-01 Thread Dar Scott
On Wednesday, October 1, 2003, at 12:35 PM, Chris Sheffield wrote:

I need a RegEx string that will match only the whole word.  Kind of 
like the
wholeMatches property works with the offset functions.  Is this 
possible?
Yes.  Before the word should be either whitespace or the start of the 
string.  After the word should be either whitespace or the end of the 
string.

Dar Scott

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


RE: RegEx difficulties

2003-10-01 Thread Ken Ray
   if matchChunk(tStoryText, (  tWord  ), 
 tStartChar, tEndChar) then
  set the textStyle of char tStartChar to tEndChar of 
 field myText to empty
   end if
 
 I need a RegEx string that will match only the whole word.  
 Kind of like the wholeMatches property works with the offset 
 functions.  Is this possible?

You better believe it, Chris. You can use the \b command which means
word boundary, like this:

  if matchChunk(tStoryText,\b(  tWord  )\b,tStartChar,tEndChar)
then


Have fun!

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


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


RE: QuickTime, text fields, closed captioning

2003-10-01 Thread Ken Ray
Yes, Toma. You need to put the movie into player object and set its
alwaysBuffer to true. Then you can layer objects on top of it. Note,
though, that buffered QT movies may not play at as high a frame rate or
quality than when they are unbuffered, but since you can't layer
something on top of an *un*buffered movie, you don't have much of a
choice. ;-)

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

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Toma Tasovac
 Sent: Wednesday, October 01, 2003 12:40 PM
 To: [EMAIL PROTECTED]
 Subject: QuickTime, text fields, closed captioning
 
 
 Is it possible to have a transparent text field on top of a quicktime 
 movie, the way we can put a text field layer over an image?  
 if not -- 
 is there any way in revolution to fake closed captioning?  (i know i 
 can do this in, say, LiveStage Pro, but I want to implement closed 
 captioning in such a way that the user can stop the movie at 
 any frame, 
 and click on any words in the subtitle -- which Revolution 
 should then 
 take care of, translate etc...
 
 Is this absolutely hopeless?
 
 All best,
 Toma
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED] 
 http://lists.runrev.com/mailman/listinfo/use- revolution
 


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


Re: snapshot on XP makes icons wink out

2003-10-01 Thread Dar Scott
On Tuesday, September 30, 2003, at 12:52 PM, Dar Scott wrote:

On Windows XP, import snapshot or export snapshot causes the icons on 
the primary monitor to wink out.
Anybody else seeing this on Windows?

Try this in the message box:
export snapshot of rect 0,0,100,100 to x as PNG
Chipp described this as redrawing the desktop.

Would folks who try this please send me a note, even if it works?  And 
if you are willing to take the time, let me know what video board, how 
many monitors and what Windows version.  Or anything you think 
applicable.

I'll collect these and add to the bugzilla report #729.

Or if you prefer, you can comment directly to the bugzilla report.

So far RunRev and Ken Ray do not see this.  Chipp Walters and I do see 
this.

Dar Scott

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


RE: RegEx difficulties

2003-10-01 Thread Ken Ray
www.pcre.org - it's all there (although it's a bit long-winded).

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

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Chris Sheffield
 Sent: Wednesday, October 01, 2003 2:11 PM
 To: [EMAIL PROTECTED]
 Subject: RE: RegEx difficulties
 
 
 Thanks, Ken.  That is exactly what I was looking for.  Is 
 that documented somewhere?  It'd be handy to have some really 
 good RegEx docs.  I'm kind of new at it.
 
 Thanks again.
 
 Chris Sheffield
 Software Development
 Read Naturally
 [EMAIL PROTECTED]
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
 Sent: Wednesday, October 01, 2003 12:59 PM
 To: [EMAIL PROTECTED]
 Subject: RE: RegEx difficulties
 
  if matchChunk(tStoryText, (  tWord  ),
  tStartChar, tEndChar) then
   set the textStyle of char tStartChar to tEndChar of 
  field myText to empty
  end if
  
  I need a RegEx string that will match only the whole word.
  Kind of like the wholeMatches property works with the offset 
  functions.  Is this possible?
 
 You better believe it, Chris. You can use the \b command 
 which means word boundary, like this:
 
   if matchChunk(tStoryText,\b(  tWord  
 )\b,tStartChar,tEndChar) then
 
 
 Have fun!
 
 Ken Ray
 Sons of Thunder Software
 Email: [EMAIL PROTECTED]
 Web Site: http://www.sonsothunder.com/ 
 
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED] 
 http://lists.runrev.com/mailman/listinfo/use- revolution
 
 
 
 ___
 
 use-revolution mailing list
 [EMAIL PROTECTED] 
 http://lists.runrev.com/mailman/listinfo/use- revolution
 


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


Re: The close box

2003-10-01 Thread Klaus Major
Hi Thomas,

I want to write a script that executes when anyone clicks the little 
close box in the upper left in my standalone for Mac and on the right 
for Windows. Mac Users aren't accustomed to having the application 
quit when this box is clicked and there are places in my stack where 
instinct would have Windows users click it to get rid of something 
that looks like a window. I want this message to come up when that box 
is clicked: Do you really want to quit the program? with Yes quit! 
or Cancel
I can't seem to find on closebox anywhere so I can do this.
You are probably looking for closestackrequest ;-)

Thanks,
Tom
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RegEx difficulties

2003-10-01 Thread Dar Scott
On Wednesday, October 1, 2003, at 02:01 PM, Ken Ray wrote:

www.pcre.org - it's all there (although it's a bit long-winded).
IIRC, the two man pages might be easier for Revolutionaries to read in 
reverse order.

Dar Scott

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


Re: Saving Preferences

2003-10-01 Thread Ken Norris
Hi Ken,

Thanks for the Re.

 From: Ken Ray [EMAIL PROTECTED]
 Subject: RE: Saving Preferences
 Date: Wed, 1 Oct 2003 01:21:06 -0500
 Organization: Sons of Thunder Software

 Why throw away? Seems more laborious than just having a
 permanent Prefs substack (which would become its own Prefs
 file when building for distr., right?).
 
 True, but having it in an external file means that it is in a
 user-readable form that can be modified externally by other programs or
 by administrators without opening the stack each time. A lot of it
 depends on who the application is going to (i.e. what market).
--
Well, I meant for the Prefs substack to become a separate (external) file at
build time.
--
 Also, I haven't quite understood the advantage of developing with a
 substack of a mainstack and then at the last minute breaking it out into
 a separate stack... I would think that if I really wanted a substack to
 be separate file, I would have started with it that way...
 
 Can someone enlighten me?
--
I'd say it has to a lot to do with ease and speed of development and
buildout. It also depends on content and intentions for use (memory and
performance parameters).

During development, a substack _feels_ much more integral to the project
from a development standpoint. Knowing a substack can be its own
environment, with cards, groups, backgrounds, menus, and objects, but, while
in the IDE, it's easier and faster to test for interaction, tracking
changes, and otherwise manipulate things relative to the Main stack. You can
treat it simply as another hierarchical level, or as a separate file
requiring a filepath, and you don't have to decide which works better until
the project is near completion.

If it performs better as an integral substack, and isn't likely to require
updating, then leave it as an integral substack. If you need to update it,
or work on it independently, then break it out as a separate file at build
time.

OTOH, if it's just text or images with no objects or anything, or your plans
are such that you know it will be updated regularly, then it may be OK to
start it off as a separate file. The problem would be that if, during
development, you wanted to integrate it into the main project, it would take
extra work to do that.

HTH,
Ken N.

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


Running Standalones from the windows desktop

2003-10-01 Thread Stephen King
Hi All,

I have a standalone that my installer places in c:\program files\app_name
and also places a shortcut on the windows desktop.

On first run, this app then copies or creates an ini and a datafile into its
working directory (c:\program files\app_name). However, it doesn't.

If run from the desktop, saving files simply as filename without path saves
to the desktop, not to the working directory. Rev seems to know this and
works happliy with these files on the desktop, but of course this is not
what was intended and is rather messy. Running from the working directory
saves these files in the working directory.

Is there a way that Rev can pick up the real working directory rather than
the desktop? (user has option to change the working directory on
installation).

Any help appreciated.
Cheers
Steve King


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


Freeware testing request

2003-10-01 Thread David Kwinter
Dear Revolutionaries,

I recently finished a fun little project made in Revolution. I've done some
thorough bug testing but would like to invite anyone interested to try out
the program and give their feedback. It's 100% free and available for OS X
and Windows (only tested in XP so far).

It's available at http://www.SofaKing.tv/
Please send feedback to my project's email address: [EMAIL PROTECTED]


Thanks for your time

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


Re: Off Topic! Auto-opening scocket

2003-10-01 Thread Ray G. Miller
Revolvers,

I have a poltergeist or gremlin running my Mac (MOS 9.9.2).

I have DSL with SBC and I always close the DSL when I go off-line. Since 
yesterday afternoon, something is opening a socket to my server. Every 
15 minutes, a socket is opened to SBC.

At first I thought it was errant script dribbled into the stack I was 
working on or into the home stack. Today, I closed all apps except 
Launcher and Stickies and the dohicky strip at the bottom. At precisely 
12:45 the socket opened. Every 15 minutes it opened again!

I cleared all the cookies. I just check the cookie jar and appears 
normal except for a site called atwola.com

Anyone got an inkling what's happening?

Ray G. Miller
__
Turtlelips Productions
4009 Everett Ave.
Oakland, CA 94602
MailTo:[EMAIL PROTECTED]
(V) 510.530.1971
(F) 510.482.3491
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Off Topic! Auto-opening scocket

2003-10-01 Thread Stephen Quinn Barncard
Could be spyware, but most don't bother with Macs.
Could it be the auto-time setting, or perhaps software update checking in?
and of course Adobe and M$ products 'check in with headquarters' 
sometimes, but you said those were not running.

Revolvers,

I have a poltergeist or gremlin running my Mac (MOS 9.9.2).

I have DSL with SBC and I always close the DSL when I go off-line. 
Since yesterday afternoon, something is opening a socket to my 
server. Every 15 minutes, a socket is opened to SBC.

At first I thought it was errant script dribbled into the stack I 
was working on or into the home stack. Today, I closed all apps 
except Launcher and Stickies and the dohicky strip at the bottom. At 
precisely 12:45 the socket opened. Every 15 minutes it opened again!

I cleared all the cookies. I just check the cookie jar and appears 
normal except for a site called atwola.com

Anyone got an inkling what's happening?

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


Re: character sets- missing feature?

2003-10-01 Thread Dar Scott
On Wednesday, October 1, 2003, at 12:05 PM, Alex Rice wrote:

I suspect the mapping to unicode is straight-forward.  You might be 
able to do this yourself.  One of my references suggested that for 
many encodings all you have to do is change the high byte.  I am 
pretty sure this is an oversimplification, but it does indicate that 
it may not require a table for random mapping.
Really? I am kind of a character encoding neophyte- can you hook me up 
with a reference or a couple of lines of code if you have something  
in mind?
I was wrong.  You will need a small table.

This is a handy reference:

   http://www.cs.tut.fi/~jkorpela/iso8859/

Note:  Upper half means A0 (hex) and up.  A mapping table is 
available.

I'd use useUnicode and numToChar() to get the host byte order right.

It might be almost as easy to make a conversion function for the entire 
ISO family.

Off the top of my head, typed directly into mail:

function ISO8859ToUnicode s member
   local unicodeResult, upperHalfTable
   buildISO8859Table upperHalfTable, member
   repeat for each char c in s
  set useUnicode to false
  put put charToNum(c) into code  -- one-byte charToNum()
  if code = 127 then
 set useUnicode to true
 put numToChar(code) after unicodeResult  -- two-byte 
numToChar()
  else
 if code = 160 then
put upperHalfTable[c] after unicodeResult
 else
throw bad ISO8859 char!
 end if
  end if
   end repeat
   return unicodeResult
end ISO8859ToUnicode

Just looking at this, I can see better ways to do this, but you get the 
idea.

I left buildISO8859Table to you.  Remember both keys and elements can 
be binary, so if you want (and I implied above) you can have one-byte 
keys and two-byte elements instead of code keys and elements.  You 
might let empty (no entry) mean an error.  If you do that, you can move 
those 'if's above to the table making handler.  The table building will 
need to get the host ordering right if codes are not used.

I just learning about unicode and ISO-8859, so watch out.

Dar Scott





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


Re: Off Topic! Auto-opening scocket

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 03:40  PM, Ray G. Miller wrote:
Anyone got an inkling what's happening?
Extensions and Control Panels can access the Internet, in addition to 
regular user apps. Try using Conflict Catcher to turn of extensions, if 
you have it. Or look for new Extensions or Control Panels installed 
around the time the problem started and try disabling them (removing 
them from Extensions or the Control Panels folder)

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I need Distribution Builder advice

2003-10-01 Thread Graham Samuel
On Wed, 1 Oct 2003 12:15:00 -0600, Alex Rice [EMAIL PROTECTED] wrote:
Like Malte, I also construct my App bundles by hand on OS X. Because of 
the new bundle/package format on OS X you are no longer dependent on 
the compiler or resedit to create the application file.

In addition to the other suggestions, here are some tips I thought of:

1) I wrote a shell script to copy files, including my Rev standalone 
executable, and my already existing app bundle. Then I double-click on 
the bundle's Info.plist to edit the other bundle properties with the 
PropertyListEditor.app

# example shell script command to copy the executable file
cp 
FacilityCa_MacOSX_Standalone/FacilityCalculator.app/Contents/MacOS/
Revolution \
NPSFacCalc/FacilityCalculator.app/Contents/MacOS/FacilityCalculator

2) Apple's Project Builder, although it is a compiler, also has really 
flexible methods of creating application bundles, and has GUI forms for 
a lot of the bundle properties. You can also add shell scripts to 
customize the build process. One could use Project Builder to do 
automate builds of app bundles, even if it's just collecting files from
various places and not really compiling any C/C++ code.
Thanks to Alex and others who have replied so far: I am collecting 
all the material and I have some hopes of reaching a reasonable 
recipe for reliably generating an OSX standalone.

But what I realise is that my real wish is that I should not have to 
understand the topics discussed above just to generate a standalone - 
I think that RunRev in its guise as a RAD tool should handle this for 
me. In an ideal world, I don't want to know what a plist is (nor what 
it contains), or what a shell is, or what a bundle is, or even that 
Apple's Project Builder exists (let alone having to find it and then 
learn how to use it), just as I don't want to see, still less analyse 
or alter, the code of the RunRev IDE, or on the Windows platform have 
to mess with the Registry.

I admire people who do understand these things, and in my way I have 
been expert in similar arcane matters in other parts of my career 
(yes, I too was a geek and I was paid to be a geek), but now I want 
to use the power of RunRev to construct and then deploy apps across 
different platforms while being protected from the messy details. 
This to my mind is the true promise of Runtime Revolution for the 
majority of its potential users. So I want to see the whole 
standalone creation process smoother, more automated and more truly 
part of the RunRev experience.

Meanwhile I am still eagerly collecting information.

Rant over, I guess.

Graham

--
---
 Graham Samuel / The Living Fossil Co. / UK  France
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: character sets- missing feature?

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 03:55  PM, Dar Scott wrote:
I just learning about unicode and ISO-8859, so watch out.
Thanks for the starter, Dar. Although I just realized going 
character-wise for 1MB+ of text is not going to be practical, I don't 
think, so I hope to be able to get the engine to do it.

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving Preferences

2003-10-01 Thread Ken Norris
Hi Jan,

 Date: Wed, 1 Oct 2003 10:52:38 -0700 (PDT)
 From: Jan Schenkel [EMAIL PROTECTED]
 Subject: Re: Saving Preferences

 Steer your copy of Revolution to the Transcript
 Dictionary, and check out the 'invisible' clause for
 the 'go'/'open' command :-)
 
 Hope this helped,
--
Oh yes. Thanks. I didn't know it was there.

Ken N.

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


Re: QuickTime, text fields, closed captioning

2003-10-01 Thread Ken Norris
Hi Toma,

 Date: Wed, 1 Oct 2003 20:04:37 +0200
 Subject: QuickTime, text fields, closed captioning
 From: Toma Tasovac [EMAIL PROTECTED]

 Is it possible to have a transparent text field on top of a quicktime
 movie, the way we can put a text field layer over an image?
--
Why on top of? Is it critical to the way it looks? Does it have to _look_
like movie subtitles? Screen space issue?

I'd just stick a field under the thing, coordinated with the movie. Easy to
edit, stays out of the way of the visual part of the movie, things you can't
easily do with a real film...the advantage of this venue for presentation.

HTH,
Ken N.

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


Modal stacks not working in OS 9

2003-10-01 Thread Greg DeVore
Has anyone run into this problem?  I have a handler in my program that 
modals a substack to allow the user to set a preference.  It works fine 
under OS X.  In OS 9 the stack opens up but then after a second it 
moves to the back behind the top stack.  It is still open because the 
program won't allow you to interact with the main stack.  To do 
anything you have to switch to another application and then return to 
the standalone, move the main stack and close the modal substack.  I 
haven't tried this out to see if it is also a Windows issue.  I just 
know that it is a problem under OS 9.
Thanks,

Greg DeVore

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


Re: character sets- missing feature?

2003-10-01 Thread Dar Scott
On Wednesday, October 1, 2003, at 04:08 PM, Alex Rice wrote:

Thanks for the starter, Dar. Although I just realized going 
character-wise for 1MB+ of text is not going to be practical, I don't 
think, so I hope to be able to get the engine to do it.
But the engine won't do it until 2.1.1?

Applescript to textEdit?

Dar Scott

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


Re: I need Distribution Builder advice

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 04:01  PM, Graham Samuel wrote:
 So I want to see the whole standalone creation process smoother, more 
automated and more truly part of the RunRev experience.

Meanwhile I am still eagerly collecting information.

Rant over, I guess.
File an enhancement request in bugzilla! You got my vote.

But also I wanted to emphasize that the OS X app bundle scheme (and 
APIs not available from Rev) offers more flexibility and features than 
Revolution could possibly offer, at least in it's current incarnation.

App bundles are used not only to store the executable file in, but to 
package resources, libraries, sounds, media, help files, and so forth. 
And maintain localized variations for all of the above.

So: the OS X app bundle scheme is like your application delivery 
vehicle. So it's not just a hassle, it's also empowering. It could be 
worse- you could be forced to use ResEdit like in MacOS10 days.

Also- I do recommend installing the Free Mac OS X Developer CD even if 
you aren't a C programmer because it installs a number of useful 
utilities like IconComposer, PackageMaker, PropertyListEditor and about 
20 others.

HTH more :-)



Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: QuickTime, text fields, closed captioning

2003-10-01 Thread Trevor DeVore
On Wednesday, October 1, 2003, at 12:04  PM, Toma Tasovac wrote:

Is it possible to have a transparent text field on top of a quicktime 
movie, the way we can put a text field layer over an image?  if not -- 
is there any way in revolution to fake closed captioning?  (i know i 
can do this in, say, LiveStage Pro, but I want to implement closed 
captioning in such a way that the user can stop the movie at any 
frame, and click on any words in the subtitle -- which Revolution 
should then take care of, translate etc...
Some others have mentioned the alwaysBuffer property.  You can also use 
LiveStage and accomplish what you want.  If you have access to 
Livestage Pro you can create the captioning in text tracks (LSP has a 
Media Synchronizer that might help) and then create links that within 
the text that call the DebugStr function.  Revolution can trap DebugStr 
(QTDebugStr player message) messages from a QT movie and respond 
accordingly.  I use this with QTVR and it works great.

Keeping the captioning with the movie can be beneficial if you end up 
deploying the movie on the web as well.

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


Tip: A tutorial on character code issues

2003-10-01 Thread Dar Scott
I am finding this useful as I learn to exploit character encoding with 
Revolution:

   http://www.cs.tut.fi/~jkorpela/chars.html

Dar Scott

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


RE: [ANN] libLinedFields

2003-10-01 Thread Monte Goulding

 Monte, a very basic question:

 what does it mean when you say start using the library?  I must say I
 haven't used your libraries yet so I am confused.

It means you insert the library into the message path use either:
library libLinedFields
or
start using stack libLinedFields

You can also use the Stacks In Use card of the message box.


 I used the ScriptLibraryInstaller.rev to create a userscript folder in
 componentes/save.  I then placed uLinedFields.rev in that folder,
 restarted Revolution.  I checked in Development -- Plugins
 --revScriptLibrary to make sure that the library loads on startup.  Yet
 when I try the following script:

 set the uLinedField of fld Field 1 to true

 - nothing happens.

 What am I missing?

Start scrolling ;-) The library works for a scrolling field. If you don't
have a scrolling field you could just use a static backgroundPattern on the
field.

Cheers

Monte

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


RE: [ANN] libLinedFields

2003-10-01 Thread Monte Goulding


 On Tuesday, September 30, 2003, at 11:20  PM, Monte Goulding wrote:

  I just spent 1/2 an hour working out how to get decent looking
  alternate
  color lined fields in Rev. Then I spent another half an hour making a
  library out of it and uploading it to my rev site ;-)
 
  Take a look: www.sweattechnologies.com/rev

 Monte,

 This works great.  Did a quick test and on OS X.2.6 the margins 2,3,2,8
 seemed to work best.  If I didn't use 8 as the bottom margin then the
 last line of text would get cut off.


I just fixed it so it can use markings of 8. It means there'a a little bit
of grey just before the top line.

Cheers

Monte

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


Re: Off Topic! Auto-opening scocket

2003-10-01 Thread Richard Gaskin
Ray G. Miller wrote:

 I have DSL with SBC and I always close the DSL when I go off-line. Since
 yesterday afternoon, something is opening a socket to my server. Every
 15 minutes, a socket is opened to SBC.

If you have a licensed copy of the ultra-cool FTP tool Interarchy, part of
its coolness is one of its most powerful but seldom-needed features:  it
lets you log all Internet activity in and out of your Mac.

(For the record I don't have any business relationship with Interarchy, just
a deep appreciation for a solid tool sold at a good price.)

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: I need Distribution Builder advice

2003-10-01 Thread Richard Gaskin
Graham Samuel wrote:

 I admire people who do understand these things, and in my way I have
 been expert in similar arcane matters in other parts of my career
 (yes, I too was a geek and I was paid to be a geek), but now I want
 to use the power of RunRev to construct and then deploy apps across
 different platforms while being protected from the messy details.

If you need to get messy, Apple explains how here:
http://developer.apple.com/documentation/MacOSX/Conceptual/SystemOverview/B
undles/chapter_5_section_1.html

Fortunately that document doesn't appear to have been written bythe same
folks who wrote the Inside Mac chapter on Apple events, i.e., it's readable.
:)

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: QuickTime, text fields, closed captioning

2003-10-01 Thread Ken Norris
Hello again Toma,

 Date: Wed, 1 Oct 2003 20:04:37 +0200
 Subject: QuickTime, text fields, closed captioning
 From: Toma Tasovac [EMAIL PROTECTED]
 
 Is it possible to have a transparent text field on top of a quicktime
 movie, the way we can put a text field layer over an image?  if not --
 is there any way in revolution to fake closed captioning?  (i know i
 can do this in, say, LiveStage Pro, but I want to implement closed
 captioning in such a way that the user can stop the movie at any frame,
 and click on any words in the subtitle -- which Revolution should then
 take care of, translate etc...
---
OK forget about the standard fields. You want a QT text track. Simple to
create in QT Pro.

You don't really need LSP except, as Trevor says, it has a way to synch text
tracks. What you should have, though, is QT Pro:

http://www.apple.com/quicktime/resources/qt4/us/help/et/pgs/etTxtTrk.htm

This Apple tutorial:

http://www.apple.com/quicktime/resources/qt4/us/help/et/pgs/etTxtTrk.htm

This captioning tutorial:

http://www.webaim.org/howto/captions/quicktime/quicktime1.php

HTH,
Ken N.

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


Re: character sets- missing feature?

2003-10-01 Thread Alex Rice
On Wednesday, October 1, 2003, at 04:21  PM, Dar Scott wrote:

But the engine won't do it until 2.1.1?
It won't do Polish until 2.1.1- that's OK my app isn't finished yet and 
Polish is a very very small proportion of the files. But I haven't done 
much testing to see exactly how many weird character encodings I have 
to deal with. I think the current uniEncode will cover most but not all 
of the app's encoding needs.

Applescript to textEdit?
Or applescript to Safari- but if it comes to that I will put up a 
dialog for the user- here is the filename, here is what the text 
encoding might be, now knock yourself out, then hit reload here. :-)

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


array on card

2003-10-01 Thread Michael Young
I apologize if the answer to this question is terribly obvious, but I 
would appreciate some help.

How can I put an expandable indexed array as an object on a card. For 
those few who have heard of LabVIEW I am looking for something 
equivalent to how it handles array display. It looks something like 
this:
  __  _
^| index |  | element |
  --  ---

column 1: up down arrows (I did not know how to mimic down arrows.)
column 2: index number
column 3: indexed array element
It would also be great if element could show multiple indexed elements 
in an expandable vertical column.

Thanks for any help.

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


RE: snapshot on XP makes icons wink out

2003-10-01 Thread Chipp Walters
Dar,

I did this:

Create new stack with a button with the following script:

on mouseUp
  import snapshot from rect the screenrect
  delete last img
end mouseUp

position the stack so you can see the icons on the desktop
Click the button.

Screen flashes and icons redraw.

This happens on 4 of 4 WinXP machines.

best,

Chipp

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Dar Scott
 Sent: Wednesday, October 01, 2003 12:23 AM
 To: [EMAIL PROTECTED]
 Subject: Re: snapshot on XP makes icons wink out
 
 
 
 On Tuesday, September 30, 2003, at 10:41 PM, Chipp Walters wrote:
 
  Yep, this is the existing behavior. The desktop is redrawn each time a
  snapshot is created. I've mentioned this before as well, and would 
  like to
  see it fixed.
 
 I bugzilla'd this, but it is in _worksforme_.Ken Ray didn't see 
 this either.  What video card do you have?
 
 
  On slower machines, some of the windows don't even finish redrawing by 
  the
  time the snapshot is taken.
 
 I have seen the missing image in repeated snapshots, but I had assumed 
 the redrawing was from the previous snapshot.
 
 Dar Scott
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

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


RE: Window's Icon

2003-10-01 Thread Chipp Walters
Hi Bob,

I've found RR2.1 won't build using a document icon. It works if you apply
only an application icon, but if you add a document icon, it won't build the
standalone. I've bugzilla'd this.

-Chipp


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


Re: Running Standalones from the windows desktop - solved

2003-10-01 Thread Stephen King
Thanks Alex,

Actually my real problem was why Rev was doing this (ie not picking up the
correct working directory). However, found it was  not Rev. My installer was
not setting the 'Start in' parameter of the shortcut, so the standalone was
only pickup up the exe from the app dir, then running on the desktop. Being
a single exe, there were no errors produced.
Lesson learned here.

Cheers
Steve

..
On Wednesday, October 1, 2003, at 03:15  PM, Stephen King wrote:

 Is there a way that Rev can pick up the real working directory rather
 than
 the desktop? (user has option to change the working directory on
 installation).

You can inspect and modify Rev's concept of the working directory with
the defaultFolder property.

Also beware that Windows 2000 and XP don't allow apps to write to
\Program Files\ except by administrator level users.

Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com
.


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