Re: Re-2: Unicode Displaying in Runtime Revolution

2005-04-20 Thread Marisa K.
Hello,
As previous trial, I still have a problem in displaying Spanish and 
German speacial characters, i.e. inverted?, accented characters, 
characters with umlaut, esset characters.

Although I converted both of the files to /.txt/ with /unicodeText/ 
property settings and using /binfile:/  , they displayed mixed up 
characters.

Any suggestions are welcome, Thank you in advance
Regards,
Marisa
Hi Trevor,
Thank you so much for your information. I really appreciated.
I tried on that (binfile: )and it returns Chinese chararters instead 
of Arabic!? So, I tried again for displaying Thai characters; /file is 
.txt/. It works great!!!

Anyway, I keep working on unicodeText and binfile with /.txt 
/files. They all work fine.

However, I found out that .rtf files cannot be displayed correctly, 
am I right? So, I have to save all the files to .txt as a Unicode 
format.

Thank you again.
Regards,
Marisa
__
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re-2: Unicode Displaying in Runtime Revolution

2005-04-20 Thread Trevor DeVore
On Apr 19, 2005, at 9:12 PM, Marisa Kosaisaevee wrote:
Thank you so much for your information. I really appreciated.
I tried on that (binfile: )and it returns Chinese chararters instead 
of Arabic!? So, I tried again for displaying Thai characters; /file is 
.txt/. It works great!!!

Anyway, I keep working on unicodeText and binfile with /.txt 
/files. They all work fine.

However, I found out that .rtf files cannot be displayed correctly, 
am I right? So, I have to save all the files to .txt as a Unicode 
format.
I haven't tried unicode with rtf so I can't really say what is going 
on.  I would guess that the unicodeText of a field can't handle the 
extra information that an RTF document has in it.  I'm glad it worked 
for you.

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


Re: playing video on PCs

2005-04-20 Thread Signe Marie Sanne
sims skrev:
I need to play video on both OS X and Windows machines which will
for the most part be business computers - corporate office machines.
The Mac part I can figure out and will be able to use QuickTime.
Some PC machines will not have QuickTime installed and will not want
to install QT. I need some advice on what format/codec to use for
these non-QT machines.
Hello Sims
Just mail me off the list if you would like to get a small stack showing how 
to play mpeg files with mciSendString. Any others are also welcome to do the 
same. The stack is not fully overhauled to go RevOnLine, but it contains the 
necessary scripts to get started.

Best regards
Signe Marie
--
Signe Marie Sanne
1. amanuensis/Senior lecturer
Romansk institutt   Tlf.+47 55 58 21 27
Øisteins gt. 1  Epost:  [EMAIL PROTECTED]
Universitetet i Bergen
http://www.hf.uib.no/hfolk/mlab/Info/sms.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Graphic turning to black

2005-04-20 Thread Christian Langers
Hi,

Independently of the img format, the black is there !

But I found out that turning the best resize quality on in the object
inspector, solves this problem...?!

By the way, is there anybody who did a paint-like stack as I'm working on
a module for coloring imported images for children in kindergarten


Thanks for any suggestion how to accelerate the project...


Christian




Am 19/04/05 17:29 schrieb MisterX unter [EMAIL PROTECTED]:

 Christian said
 
 1. I created a new stack
 2. I imported an image (black and white img -- created in
 paint) (.bmp
 here)
 3. colored parts of it with the fill bucket (any color) 4.
 selecting and resizing the image makes the whole image black !!!
 
 You can't work properly with this img anymore ...I noticed
 this only on the win version of REV
 
 5. Saving the stack with the img turned to black, closing and
 reopening it, gives me the colored imag ; the color black did
 disappear...
 
 
 Is this a bug ? Or,... ?
 
 Christian,
 
 Have you tried using PNG? It might be well worth the switch from the old
 antiquated and oversized bmp format...
 
 Which just gives me the idea to make an import/export module for my media
 library...
 
 get askfile(*.bmp;*.pnt)
 importImage it
 replaceFileExtension it, png
 exportImage it
 delete last image
 ImportImage it
 
 excuse the pseudo script (taoo script actually), but im sure you'll find the
 right commands. I just join the names of the functions i use in my
 Transcript wrappers...
 
 Voila... I didn't test the rest mind you but it usually works. Although I've
 found the rev paint tools to be a bit unatractive, I keep the work to a more
 macpaint like program.
 
 I used to love doodling in HyperCard, i just dont feel the pencil the same
 way in RunRev...
 
 cheers
 Xavier
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re-2: Unicode Displaying in Runtime Revolution

2005-04-20 Thread David Burgun
Hi,
I have a problem with menu bars:
If I use the following script in the Stack Script with the 
preOpenStack message, I get problems, the memu bar does not seem to 
get instansiated correct. If I use it in the Mouse Up Handler of a 
button on the Stack, all works fine.

---
--
--  preOpenStack Handler
--
---
on mouseUp
  local myStackFileName
  local myStackShortName
  local myMainMenuPathName
  local myStatus
  
  put the filename of this Stack into myStackFileName
  put the short name of this Stack into myStackShortName
  put replaceText(myStackFileName,myStackShortName,MainMenu) into 
myMainMenuPathName

  start using stack myMainMenuPathName
--
--  Ok to use Functions in MainMenu now
--
  start using stack myStackFileName
  set the menubar of this stack to GroupRectangleMenu
  
  set the destroyStack of this stack to true
  set the cpSaveStackFlag of this stack to false
  
  if the environment is not development then
set the location of this stack to the screenLoc
  end if
  
end mouseUp

Here's how my App works:
I have a Stack called MainMenu.rev, this stack contains the default 
Menu Bar for my app and also in the Stack Script, functions that are 
used in other stacks of the same app.

Normally when being used as an App (or built as a standalone) the 
sequence of events is as follows:

AppFolder/SpashScreenStack (or the Standalone) - this stack display a 
splash screen and goes to Stack AppFolder/RunTime/MainMenu.rev

AppFolder/StackMainMenu.rev Setups up the Default Menu bar and then 
goes to other stacks depending on which item is selected.

The problem is that under the IDE I want to be able to open one of 
the other stacks, however since this stack may use funtions defined 
in MainMenu.rev I want to make sure it's loaded and the Stack Script 
is available for use.

I therefore came up with the following script.
I think that there are two problems, one in my code and one that may 
be due to my code but causes the IDE to become unstable as a result. 
I am trying to find the problem in my code (which seems to be message 
I am using (preOpenStack), since it works when placed in a button. 
The second problem seems to be related to when I use either put 
 or answer  or use the debugger to try to find the 
problem. If I do this then it looks like the menu bar gets changed 
and code that accesses the Menubar object doesn't work (I get an 
object not found error when trying to enable or disable items in the 
menubar.

If anyone could give me some advice here, that would be really 
helpful. Knowing the correct message to put the script onto would be 
of help!!!

One specific questions I have is, does the line:
  start using stack myMainMenuPathName
cause the preOpenStack, openStack etc. messages to be executed in the 
Stack myMainMenuPathName???

Thanks a lot and All the Best
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Problem with Menubar handling

2005-04-20 Thread David Burgun
*Opps! Many appoligies, I sent out the last mail without changing 
the subject!*

Hi,
I have a problem with menu bars:
If I use the following script in the Stack Script with the 
preOpenStack message, I get problems, the memu bar does not seem to 
get instansiated correct. If I use it in the Mouse Up Handler of a 
button on the Stack, all works fine.

---
--
--  preOpenStack Handler
--
---
on mouseUp
  local myStackFileName
  local myStackShortName
  local myMainMenuPathName
  local myStatus
put the filename of this Stack into myStackFileName
  put the short name of this Stack into myStackShortName
  put replaceText(myStackFileName,myStackShortName,MainMenu) into 
myMainMenuPathName

  start using stack myMainMenuPathName
--
--  Ok to use Functions in MainMenu now
--
  start using stack myStackFileName
  set the menubar of this stack to GroupRectangleMenu
set the destroyStack of this stack to true
  set the cpSaveStackFlag of this stack to false
if the environment is not development then
set the location of this stack to the screenLoc
  end if
  end mouseUp
Here's how my App works:
I have a Stack called MainMenu.rev, this stack contains the default 
Menu Bar for my app and also in the Stack Script, functions that are 
used in other stacks of the same app.

Normally when being used as an App (or built as a standalone) the 
sequence of events is as follows:

AppFolder/SpashScreenStack (or the Standalone) - this stack display a 
splash screen and goes to Stack AppFolder/RunTime/MainMenu.rev

AppFolder/StackMainMenu.rev Setups up the Default Menu bar and then 
goes to other stacks depending on which item is selected.

The problem is that under the IDE I want to be able to open one of 
the other stacks, however since this stack may use funtions defined 
in MainMenu.rev I want to make sure it's loaded and the Stack Script 
is available for use.

I therefore came up with the following script.
I think that there are two problems, one in my code and one that may 
be due to my code but causes the IDE to become unstable as a result. 
I am trying to find the problem in my code (which seems to be message 
I am using (preOpenStack), since it works when placed in a button. 
The second problem seems to be related to when I use either put 
 or answer  or use the debugger to try to find the 
problem. If I do this then it looks like the menu bar gets changed 
and code that accesses the Menubar object doesn't work (I get an 
object not found error when trying to enable or disable items in the 
menubar.

If anyone could give me some advice here, that would be really 
helpful. Knowing the correct message to put the script onto would be 
of help!!!

One specific questions I have is, does the line:
  start using stack myMainMenuPathName
cause the preOpenStack, openStack etc. messages to be executed in the 
Stack myMainMenuPathName???

Thanks a lot and All the Best
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Keypress Help - Solution

2005-04-20 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
But not necessarily for the mouse ;-)
On Apr 20, 2005, at 12:56 AM, sims wrote:
Doing the above will also be therapeutic for you.

Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZkdz7aqtWrR9cZoRAoqkAJ9Mmr5moj5vvahE03qpmKLFdsxTCACdHVjt
v43Cp+ukbfmfxGgLagBAHKE=
=WQ3w
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It's too bad HTML tables are not supported; that would make these 
questions SO much easier to deal with:

table width=100%
trtd bgcolor=#00Line 1/td/tr
trtd bgcolor=#ffLine 2/td/tr
trtd bgcolor=#00Line 3/td/tr
trtd bgcolor=#ffLine 4/td/tr
/table
On Apr 20, 2005, at 1:29 AM, Gordon Tillman wrote:
Howdy Varen,
About your post:
I'm trying to format a list field which displays plain old html with 
a list of links. I'd like to format the list so that each link in the 
list is an alternating color such as white, light grey, white, light 
grey, etc.
Here is an example which may get you started..
Given a simple stack with one card that has two fields on it:
(1) field htmlFld that displays the information, and
(2) field entryFld where you can enter sample HTML to play with.
Field entryFld has the following script:
on enterInField
  set the htmlText of field htmlFld to me
end enterInField
And I entered the following into field entryFld:
font color=blackLine 1
lifont color=greenLine 2
lifont color=blueLine 3
When you hit enter with the cursor in field entryFld, then field 
htmlFld displays this:

Line 1
Line 2
Line 3
The first line is black, the second line is green, and the third line 
is blue.

OK, here is another idea...
Given a card with a field that contains the list of data to colorize, 
this script will set the colors to alternate:

on mouseUp
  local tColor1, tColor2, tLastColor
  put blue into tColor1
  put green into tColor2
  put tColor1 into tLastColor
  local tLine
  repeat with tLine = 1 to the number of lines of field 1
set the textColor of line tLine of field 1 to tLastColor
if tLastColor is tColor1 then put tColor2 into tLastColor
else put tColor1 into tLastColor
  end repeat
end mouseUp
--gordon
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZkjB7aqtWrR9cZoRAk8CAJ9fCT9xlxzrKVFMRwngS7oRVqNMDQCfZnI6
8Sf9aQc1K0KWfm+FeNj0LuM=
=VCUE
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Graphic turning to black

2005-04-20 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Drag an image area onto your stack, then right-click and choose Paint 
Tools, and you will see that Rev already has built-in painting tools 
for use with images.

You'll need to make your own toolbar (or otherwise provide an interface 
to pick a tool and color(s)), but most of the infrastructure is already 
there.  Look up the tool property in the docs for more info.

On Apr 20, 2005, at 7:04 AM, Christian Langers wrote:
Hi,
Independently of the img format, the black is there !
But I found out that turning the best resize quality on in the object
inspector, solves this problem...?!
By the way, is there anybody who did a paint-like stack as I'm 
working on
a module for coloring imported images for children in kindergarten

Thanks for any suggestion how to accelerate the project...
Christian

Am 19/04/05 17:29 schrieb MisterX unter [EMAIL PROTECTED]:
Christian said
1. I created a new stack
2. I imported an image (black and white img -- created in
paint) (.bmp
here)
3. colored parts of it with the fill bucket (any color) 4.
selecting and resizing the image makes the whole image black !!!
You can't work properly with this img anymore ...I noticed
this only on the win version of REV
5. Saving the stack with the img turned to black, closing and
reopening it, gives me the colored imag ; the color black did
disappear...
Is this a bug ? Or,... ?
Christian,
Have you tried using PNG? It might be well worth the switch from the 
old
antiquated and oversized bmp format...

Which just gives me the idea to make an import/export module for my 
media
library...

get askfile(*.bmp;*.pnt)
importImage it
replaceFileExtension it, png
exportImage it
delete last image
ImportImage it
excuse the pseudo script (taoo script actually), but im sure you'll 
find the
right commands. I just join the names of the functions i use in my
Transcript wrappers...

Voila... I didn't test the rest mind you but it usually works. 
Although I've
found the rev paint tools to be a bit unatractive, I keep the work to 
a more
macpaint like program.

I used to love doodling in HyperCard, i just dont feel the pencil the 
same
way in RunRev...

cheers
Xavier
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZkqB7aqtWrR9cZoRApj4AJ9uZvoO97aWZhZxklncnOdhDB+AvQCfbrd8
5mQTEfuVgs5Ec0/wdWw7FWM=
=Kh+H
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Gordon Tillman
Ain't that the truth Frank!
On Apr 20, 2005, at 07:19, Frank D. Engel, Jr. wrote:
It's too bad HTML tables are not supported; that would make these 
questions SO much easier to deal with:

table width=100%
trtd bgcolor=#00Line 1/td/tr
trtd bgcolor=#ffLine 2/td/tr
trtd bgcolor=#00Line 3/td/tr
trtd bgcolor=#ffLine 4/td/tr
/table
I guess in the meanwhile one could use the altBrowser plugin... I 
bought a copy of that when it was released but have been so busy 
working on other projects I haven't had a chance to play with it... :-(

--gordy
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Unicode problem

2005-04-20 Thread Ton Kuypers
I've created a search  replace application to be used from within 
Adobe Indesign and it works perfectly:
A list with search words, a second list with replace words, some 
options and Indesign has got a supercharged SR function with whole 
lists of words replaced by one click on a button.
To add words to the list, one can enter it in a Search textfield, the 
second part in the replace textfield. An add button adds it to the 
list.

But...
InDesign uses OpenType or double-byte fonts. These are unicode fonts.
When copying a word from a page in InDesign the clipboard contains te 
text with the special characters, but they are mixed (unicode and 
regular).

Problem:
- Paste in the entry field shows the correct text, moving it up to the 
list doesn't.
Solution:
- Loop through the characters in the entry field and set the unicode 
text or the regular text of the correct line in the list.
Question:
- Is there a better way to do this?

Problem 2:
I know what number the last line of the list is, so I put this number + 
1 into a var. Each new line will be entered into line varName.
- When the last line of the list is a unicode text, the next line is 
entered on the same line, it seams that the linenumber in the var 
doesn't have any effect anymore.
I've tried to add a CR after that line, but no luck :-(

Anyone any solutions or remarks?
Regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Simple Scoping Question

2005-04-20 Thread David Burgun
Hi,
If I have a Stack (Call iits GlobalStack that has a lot of common 
funtions in the Stack Script, and those functions refer to this 
Stack, which stack does that actually refer to?

e.g. if Stack A
does a start using start using stack GlobalStack
and thean Stack A calls a Function in GlobalStack that refers to 
this stack does that refer to Stack A or GlobalStack ?

Does this work the same way if the Stacks in question are both main 
stacks and does it work the same way in a Standalone Application?

Thanks in advance
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode problem

2005-04-20 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Did you try using the htmlText of that line rather than just the 
plaintext of the line?  In other words, something like this:

set the htmlText of line 7 of field Target to the htmlText of field 
Source

On Apr 20, 2005, at 9:28 AM, Ton Kuypers wrote:
I've created a search  replace application to be used from within 
Adobe Indesign and it works perfectly:
A list with search words, a second list with replace words, some 
options and Indesign has got a supercharged SR function with whole 
lists of words replaced by one click on a button.
To add words to the list, one can enter it in a Search textfield, 
the second part in the replace textfield. An add button adds it to 
the list.

But...
InDesign uses OpenType or double-byte fonts. These are unicode fonts.
When copying a word from a page in InDesign the clipboard contains te 
text with the special characters, but they are mixed (unicode and 
regular).

Problem:
- Paste in the entry field shows the correct text, moving it up to the 
list doesn't.
Solution:
- Loop through the characters in the entry field and set the unicode 
text or the regular text of the correct line in the list.
Question:
- Is there a better way to do this?

Problem 2:
I know what number the last line of the list is, so I put this number 
+ 1 into a var. Each new line will be entered into line varName.
- When the last line of the list is a unicode text, the next line is 
entered on the same line, it seams that the linenumber in the var 
doesn't have any effect anymore.
I've tried to add a CR after that line, but no luck :-(

Anyone any solutions or remarks?
Regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZm1h7aqtWrR9cZoRAuPVAJ4ivgljtrwI3PE58x4aJ+qz2DO/oQCfbwNV
9nZ5zk0hQ3d1+J41A4aB7ME=
=wlpi
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread Rob Cozens
Hi Dave,
e.g. if Stack A
does a start using start using stack GlobalStack
and thean Stack A calls a Function in GlobalStack that refers to this 
stack does that refer to Stack A or GlobalStack ?

Does this work the same way if the Stacks in question are both main stacks 
and does it work the same way in a Standalone Application?
This always refers to the currently selected, whether referencing 
stacks, cards, groups, or individual controls.  Substitute
'stack GlobalStack' for this stack in GlobalStack's stack script.

Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
It is contrary to human welfare to contribute in any way...
 to the degradation of the sea's capacity to support life.
 -- Walter Hickel, U. S. Secretary of the Interior, 1971
in From Abundance to Scarcity by Michael L. Weber 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread David Burgun
Hi Dave,
e.g. if Stack A
does a start using start using stack GlobalStack
and thean Stack A calls a Function in GlobalStack that refers to 
this stack does that refer to Stack A or GlobalStack ?

Does this work the same way if the Stacks in question are both main 
stacks and does it work the same way in a Standalone Application?
This always refers to the currently selected, whether 
referencing stacks, cards, groups, or individual controls. 
Substitute
'stack GlobalStack' for this stack in GlobalStack's stack script.

Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
Hi,
I am confused, in the case where StackA calls a Function in 
GlobalStack, when in that function should this stack return 
StackA or GlobalStack ?

I want it to return StackA so that the functions are general.
Thanks a lot
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread Eric Chatonet
Hi Dave,
In any script of stack A, if you call a function placed in the script 
of stack B, *this* will refer to stack A since your script has been 
initiated in stack A.
Function or handler places do not matter.
The only important point is: from where do I began :-)

Le 20 avr. 05, à 17:33, David Burgun a écrit :
Hi Dave,
e.g. if Stack A
does a start using start using stack GlobalStack
and thean Stack A calls a Function in GlobalStack that refers to 
this stack does that refer to Stack A or GlobalStack ?

Does this work the same way if the Stacks in question are both main 
stacks and does it work the same way in a Standalone Application?
This always refers to the currently selected, whether referencing 
stacks, cards, groups, or individual controls. Substitute
'stack GlobalStack' for this stack in GlobalStack's stack script.

Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
Hi,
I am confused, in the case where StackA calls a Function in 
GlobalStack, when in that function should this stack return 
StackA or GlobalStack ?

I want it to return StackA so that the functions are general.
Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread David Burgun
Hi,
That's how I thought it would work. I am getting very strange results
from code that does this tho. Could the Current Stack be being lost
as a result of calling Answer or put xxx into msg box?
Thanks
Dave

Hi Dave,
In any script of stack A, if you call a function placed in the
script of stack B, *this* will refer to stack A since your script
has been initiated in stack A.
Function or handler places do not matter.
The only important point is: from where do I began :-)
Le 20 avr. 05, à 17:33, David Burgun a écrit :
Hi Dave,
e.g. if Stack A
does a start using start using stack GlobalStack
and thean Stack A calls a Function in GlobalStack that refers
to this stack does that refer to Stack A or GlobalStack ?
Does this work the same way if the Stacks in question are both
main stacks and does it work the same way in a Standalone
Application?
This always refers to the currently selected, whether
referencing stacks, cards, groups, or individual controls.
Substitute
'stack GlobalStack' for this stack in GlobalStack's stack script.
Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
Hi,
I am confused, in the case where StackA calls a Function in
GlobalStack, when in that function should this stack return
StackA or GlobalStack ?
I want it to return StackA so that the functions are general.
Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Varen Swaab
Thanks Gordon but this  example makes the text alternate in color not 
the background of the text. I presume that there is no way to do this 
based on other comments here. Table support in htmlText would be 
greatly appreciated.

Var
On Apr 19, 2005, at 10:29 PM, Gordon Tillman wrote:
Howdy Varen,
About your post:
I'm trying to format a list field which displays plain old html with 
a list of links. I'd like to format the list so that each link in the 
list is an alternating color such as white, light grey, white, light 
grey, etc.
Here is an example which may get you started..
Given a simple stack with one card that has two fields on it:
(1) field htmlFld that displays the information, and
(2) field entryFld where you can enter sample HTML to play with.
Field entryFld has the following script:
on enterInField
  set the htmlText of field htmlFld to me
end enterInField
And I entered the following into field entryFld:
font color=blackLine 1
lifont color=greenLine 2
lifont color=blueLine 3
When you hit enter with the cursor in field entryFld, then field 
htmlFld displays this:

Line 1
Line 2
Line 3
The first line is black, the second line is green, and the third line 
is blue.

OK, here is another idea...
Given a card with a field that contains the list of data to colorize, 
this script will set the colors to alternate:

on mouseUp
  local tColor1, tColor2, tLastColor
  put blue into tColor1
  put green into tColor2
  put tColor1 into tLastColor
  local tLine
  repeat with tLine = 1 to the number of lines of field 1
set the textColor of line tLine of field 1 to tLastColor
if tLastColor is tColor1 then put tColor2 into tLastColor
else put tColor1 into tLastColor
  end repeat
end mouseUp
--gordon
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread Eric Chatonet
Hi Dave,
No.
But a statement setting the defaultStack property yes.
Best,
Le 20 avr. 05, à 18:41, David Burgun a écrit :
Hi,
That's how I thought it would work. I am getting very strange results
from code that does this tho. Could the Current Stack be being lost
as a result of calling Answer or put xxx into msg box?
Thanks
Dave

Hi Dave,
In any script of stack A, if you call a function placed in the
script of stack B, *this* will refer to stack A since your script
has been initiated in stack A.
Function or handler places do not matter.
The only important point is: from where do I began :-)
Le 20 avr. 05, à 17:33, David Burgun a écrit :
Hi Dave,
e.g. if Stack A
does a start using start using stack GlobalStack
and thean Stack A calls a Function in GlobalStack that refers
to this stack does that refer to Stack A or GlobalStack ?
Does this work the same way if the Stacks in question are both
main stacks and does it work the same way in a Standalone
Application?
This always refers to the currently selected, whether
referencing stacks, cards, groups, or individual controls.
Substitute
'stack GlobalStack' for this stack in GlobalStack's stack 
script.

Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
Hi,
I am confused, in the case where StackA calls a Function in
GlobalStack, when in that function should this stack return
StackA or GlobalStack ?
I want it to return StackA so that the functions are general.
Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Varen Swaab
I'm curious, if I used the altBrowser plugin, would I get all the 
normal functionality such as LinkClicked message, etc.

And, yes Jim, stylesheets are wonderful and would completely solve my 
problem.

Varen
On Apr 20, 2005, at 10:03 AM, Jim Lyons wrote:
On Wed, 20 Apr 2005 08:01:52 -0500 Gordon Tillman wrote:
It's too bad HTML tables are not supported...
I guess in the meanwhile one could use the altBrowser plugin... I
bought a copy of that when it was released but have been so busy
working on other projects I haven't had a chance to play with it... 
:-(
I bought a copy of altBrowser just to be able to create and display 
CSS formatted text in Revolution. It works great! If you have never 
experienced the joy of using style sheets, you owe it to yourself to 
learn about it.

And then of course, it does tables too 8^)
Jim Lyons
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Richard Gaskin
Jim Lyons wrote:
On Wed, 20 Apr 2005 08:01:52 -0500 Gordon Tillman wrote:
It's too bad HTML tables are not supported...

I guess in the meanwhile one could use the altBrowser plugin... I
bought a copy of that when it was released but have been so busy
working on other projects I haven't had a chance to play with it... :-(

I bought a copy of altBrowser just to be able to create and display CSS 
formatted text in Revolution. It works great! If you have never 
experienced the joy of using style sheets, you owe it to yourself to 
learn about it.
It's a great option for displaying lists, but getting at the data is 
another matter when it's in a browser control.

Xavier once posted what is in my experience the efficient solution for 
this yet:  he has a second field below the first filled with spaces and 
the background color set as you like for alternating colors, with a 
scrollbarDrag message in the top field which contains the data in order 
to synch the two.

Mr. X - got the URL handy?
You may find this a suitable holdover until we get alternating lines 
implemented natively.

FWIW, I rarely use alternating line colors myself. I recognize the 
value, but somewhere along the way it occured to me that the most 
commonly-used table views, the Windows Explorer and Mac Finder, seem to 
get along well without them.

They're a good nice-to-have, and if a client is insistent I use Xavier's 
method.  But more often than not I save the overhead and follow the 
examples of Microsoft's and Apple's file lists.

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


Re: Alternating rows in a list

2005-04-20 Thread Mikey
Ugh.  I dislike CSS.  In most cases I have found that it makes life
harder, not easier.  Reading through the HTML seems to be harder.  The
additional bulk seems to be frequently unwarranted.

I guess mainly what I'm saying is I disklike the way most people use
CSS, not that I dislike CSS.

-- 
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread David Burgun
Hi,
Ok, I think I have found the problem! I have a openStack handler in
the script of the Stack,  as so:
on openStack
local myStackFileName,myStackShortName,myGlobalStackName
put the fileName of this stack into myStackFileName
put the short name of this stack into myStackShortName
put replaceText(myStackFileName, myStackShortName,GlobalStack into
myGlobalStackName
set the cpGlobalStackFileName to myGlobalStackName   --*Breakpoint here
--start using stack myGlobalStackName  -Commented out to stop crashing
end openStack
on closeStack
if the cpGlobalStackFileName of this stack   empty
  -- stop using stack the cpGlobalStackFileName of this stack
-Commented out to stop crashing
  set the cpGlobalStackFileName to empty
end if
end closeStack
---
The Stack is closed and then I re-open it and hit the breakpoint and
the variables are set as you would expect and I think the start using
line would work ok.
I then hit run and then Save the Stack and hit the breakpoint again,
this time the variables are set as follows:
myStackFileName - empty
myStackShortName  - empty
myGlobalStackName  - revSaving
I hadn't realized that the openStack handler gets called when doing a
Save. What is the recommended action for handle this?
I could do one of three things:
1.  Check if myStackFileName is empty and if so skip the start uisng
2.  Check the Stack Name for revSaving and if so skip the start uisng
3.  Check if in development moce and if so  skip the start uisng
I suppose I need similar tests in preOpenStack and closeStack?
Can anyone tell me the best thing to do under this condition?
Thanks in advance.
Dave

Hi Dave,
No.
But a statement setting the defaultStack property yes.
Best,
Le 20 avr. 05, à 18:41, David Burgun a écrit :
Hi,
That's how I thought it would work. I am getting very strange results
from code that does this tho. Could the Current Stack be being lost
as a result of calling Answer or put xxx into msg box?
Thanks
Dave
Hi Dave,
In any script of stack A, if you call a function placed in the
script of stack B, *this* will refer to stack A since your script
has been initiated in stack A.
Function or handler places do not matter.
The only important point is: from where do I began :-)
Le 20 avr. 05, à 17:33, David Burgun a écrit :
Hi Dave,
e.g. if Stack A
does a start using start using stack GlobalStack
and thean Stack A calls a Function in GlobalStack that refers
to this stack does that refer to Stack A or GlobalStack ?
Does this work the same way if the Stacks in question are both
main stacks and does it work the same way in a Standalone
Application?
This always refers to the currently selected, whether
referencing stacks, cards, groups, or individual controls.
Substitute
'stack GlobalStack' for this stack in GlobalStack's stack script.
Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
Hi,
I am confused, in the case where StackA calls a Function in
GlobalStack, when in that function should this stack return
StackA or GlobalStack ?
I want it to return StackA so that the functions are general.
Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread Eric Chatonet
Hi,
openStack handler is called each time a stack is open: in the IDE it 
may be when opening any script, any property window, rev error dialog, 
app browser, etc..
In fact any window. That's the great thing with Rev : the IDE is built 
with Rev :-)
As for your problem, you have to check when you have to trigger or PASS 
a system message with a condition test.
You are right: IDE behaviour if different from stand alone environment.
You can check this too and act accordingly.
Best,

Le 20 avr. 05, à 19:53, David Burgun a écrit :
I hadn't realized that the openStack handler gets called when doing a
Save. What is the recommended action for handle this?
I could do one of three things:
1.  Check if myStackFileName is empty and if so skip the start uisng
2.  Check the Stack Name for revSaving and if so skip the start 
uisng
3.  Check if in development moce and if so  skip the start uisng

I suppose I need similar tests in preOpenStack and closeStack?

Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread David Burgun
Hi Eric and thanks for the help!

As for your problem, you have to check when you have to trigger or
PASS a system message with a condition test.
You are right: IDE behaviour if different from stand alone environment.
You can check this too and act accordingly.
I really don't understand what you mean here, what test do I need to
perform? One of these, or something different?
1.  Check if myStackFileName is empty and if so skip the start uisng
2.  Check the Stack Name for revSaving and if so skip the start uisng
3.  Check if in development moce and if so  skip the start uisng
Assuming it's 1 above, do you mean do this:
if myStackFileName = empty then
   pass openStack
   exit openStack
end if
Do I use the same test in the closeStack handler?
Thanks in Advance
Dave
Hi,
openStack handler is called each time a stack is open: in the IDE it
may be when opening any script, any property window, rev error
dialog, app browser, etc..
In fact any window. That's the great thing with Rev : the IDE is
built with Rev :-)
As for your problem, you have to check when you have to trigger or
PASS a system message with a condition test.
You are right: IDE behaviour if different from stand alone environment.
You can check this too and act accordingly.
Best,
Le 20 avr. 05, à 19:53, David Burgun a écrit :
I hadn't realized that the openStack handler gets called when doing a
Save. What is the recommended action for handle this?
I could do one of three things:
1.  Check if myStackFileName is empty and if so skip the start uisng
2.  Check the Stack Name for revSaving and if so skip the start uisng
3.  Check if in development moce and if so  skip the start uisng
I suppose I need similar tests in preOpenStack and closeStack?

Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread Scott Rossi
Recently, David Burgun  wrote:

 I hadn't realized that the openStack handler gets called when doing a
 Save. What is the recommended action for handle this?
 
 I could do one of three things:
 
 1.  Check if myStackFileName is empty and if so skip the start uisng
 2.  Check the Stack Name for revSaving and if so skip the start uisng
 3.  Check if in development moce and if so  skip the start uisng
 
 I suppose I need similar tests in preOpenStack and closeStack?
 
 Can anyone tell me the best thing to do under this condition?

If your openStack handler is only supposed to apply to your main stack, then
place the openStack handler in the script of the *first card* of your main
stack (this goes for any initialization handlers since they are only called
when the first card is opened).  Any subsequent opening/closing of stacks
will not trigger the init handler/s.

If your openStack handler must apply to any substacks of your main stack,
you can do as you suggest above: check the stack's name, for development
mode, etc.

Regards,

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Alternating rows in a list

2005-04-20 Thread MisterX
Uh, what, where?

I thought it was about html text and text color... not stripes...

Although with some ink effects... 

The download page with all the possible votes, comments you can add @

http://www.monsieurx.com/modules.php?name=Downloadsd_op=viewdownloaddetails
lid=75

But i think it should be time somebody voted on (oh, it's not there [again])

http://support.runrev.com/bugdatabase/show_bug.cgi?id=2791

Truly, it's not a negative bug, RunRev's fields do so much already, it's
beyond 
most standards. But there's lots of rough corners IMOPO. Some are so
impossible 
to work around that im actually forced to run without the RevIDE or stop 
the debugger all together!!! It's scary!!!

 http://support.runrev.com/bugdatabase/show_bug.cgi?id=2781 - a true
blocker!

And that's only on W2K, W2K3 is now without RevIDE at all or crash non stop!

Thanks Richard for keeping the MC IDE up. Im currently making all my TAOO
tools 
compatible to it too now that the MGM is working!

Note that Devolution will need a bit of evolution to keep up - I hope to
challenge the RunRev team in features soon ;)

Like Wiki i think it's essential that a part of TAOO be public. 

And now, on to the MGM interface design... There's a challenge!
Making an original GUI is not in any link i've seen... ;)

cheers
Xavier





 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Richard Gaskin
 Sent: Wednesday, April 20, 2005 19:26
 To: How to use Revolution
 Subject: Re: Alternating rows in a list
 
 Jim Lyons wrote:
  On Wed, 20 Apr 2005 08:01:52 -0500 Gordon Tillman wrote:
  
  It's too bad HTML tables are not supported...
 
 
  I guess in the meanwhile one could use the altBrowser plugin... I 
  bought a copy of that when it was released but have been so busy 
  working on other projects I haven't had a chance to play 
 with it... 
  :-(
  
  
  I bought a copy of altBrowser just to be able to create and display 
  CSS formatted text in Revolution. It works great! If you have never 
  experienced the joy of using style sheets, you owe it to 
 yourself to 
  learn about it.
 
 It's a great option for displaying lists, but getting at the 
 data is another matter when it's in a browser control.
 
 Xavier once posted what is in my experience the efficient 
 solution for this yet:  he has a second field below the first 
 filled with spaces and the background color set as you like 
 for alternating colors, with a scrollbarDrag message in the 
 top field which contains the data in order to synch the two.
 
 Mr. X - got the URL handy?
 
 You may find this a suitable holdover until we get 
 alternating lines implemented natively.
 
 FWIW, I rarely use alternating line colors myself. I 
 recognize the value, but somewhere along the way it occured 
 to me that the most commonly-used table views, the Windows 
 Explorer and Mac Finder, seem to get along well without them.
 
 They're a good nice-to-have, and if a client is insistent I 
 use Xavier's method.  But more often than not I save the 
 overhead and follow the examples of Microsoft's and Apple's 
 file lists.
 
 --
   Richard Gaskin
   Fourth World Media Corporation
   ___
   [EMAIL PROTECTED]   http://www.FourthWorld.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread Graham Samuel
On Wed, 20 Apr 2005 16:33:47 +0100, David Burgun  
[EMAIL PROTECTED] wrote:
Hi,
I am confused, in the case where StackA calls a Function in
GlobalStack, when in that function should this stack return
StackA or GlobalStack ?
I want it to return StackA so that the functions are general.
I think it works the way you want: if  you put a function in your  
mainstack GlobalStack whose script is

function ReportMyName
  return the short name of this stack
end ReportMyName
and then you call it from your substack StackA (the script of  
GlobalStack will automatically be in the message path) say in a  
button which is scripted

on mouseUp
  put reportMyName()
end mouseUp
You'll get StackA in the message box, but if you run that script from  
GlobalStack, you'll get GlobableStack, or from another substack  
StackB, then that name. So within the function, 'this' still refers  
to the calling stack. I think this is what you expected.

HTH
Graham
 
---
Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread David Burgun
Hi,
Thanks a lot for this. No, I don't have any substacks so moving it 
into the card script sounds best. Ok a couple of questions of this. 
You say move it to the first card, well in this stack there is only 
one card so the issue doesn't come out, but for the sake of knowing, 
if I have more than one card in the stack, do you mean the card that 
is currently the first card, or the first card created by the IDE?

Sorry if I sound dense, but I have been mucking about with this for 
ages and I just wanna get it right!

Thanks for the help
Dave
Recently, David Burgun  wrote:
 I hadn't realized that the openStack handler gets called when doing a
 Save. What is the recommended action for handle this?
 I could do one of three things:
 1.  Check if myStackFileName is empty and if so skip the start uisng
 2.  Check the Stack Name for revSaving and if so skip the start uisng
 3.  Check if in development moce and if so  skip the start uisng
 I suppose I need similar tests in preOpenStack and closeStack?
 Can anyone tell me the best thing to do under this condition?
If your openStack handler is only supposed to apply to your main stack, then
place the openStack handler in the script of the *first card* of your main
stack (this goes for any initialization handlers since they are only called
when the first card is opened).  Any subsequent opening/closing of stacks
will not trigger the init handler/s.
If your openStack handler must apply to any substacks of your main stack,
you can do as you suggest above: check the stack's name, for development
mode, etc.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Alternating rows in a list

2005-04-20 Thread MisterX

Mickey,

Thanks to CSS, it only took 3 seconds to change the text coloring on
MonsieurX.
Took much more to find the different places where phpnuke doesn't use those 
as css. And I haven't found all of them yet gr

;)

Xav 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Mikey
 Sent: Wednesday, April 20, 2005 19:45
 To: How to use Revolution
 Subject: Re: Alternating rows in a list
 
 Ugh.  I dislike CSS.  In most cases I have found that it 
 makes life harder, not easier.  Reading through the HTML 
 seems to be harder.  The additional bulk seems to be 
 frequently unwarranted.
 
 I guess mainly what I'm saying is I disklike the way most 
 people use CSS, not that I dislike CSS.
 
 --
 http://taoof4d.blogspot.com
 http://4dwishlist.blogspot.com
 On the first day, God created the heavens and the Earth On 
 the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Mikey
X
What, no Replace in your text editor?
Again, I'm mainly annoyed with the way that people use CSS, and the
fact that people seem to use it for EVERYTHING, not just large
documents, which makes small ones much more difficult to read.


It's MIKEY, DAMMIT!
-- 
http://taoofrunrev.blogspot.com
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread Scott Rossi
Recently, David Burgun  wrote:

 If your openStack handler is only supposed to apply to your main stack, then
 place the openStack handler in the script of the *first card* of your main
 stack (this goes for any initialization handlers since they are only called
 when the first card is opened).  Any subsequent opening/closing of stacks
 will not trigger the init handler/s.

 Thanks a lot for this. No, I don't have any substacks so moving it
 into the card script sounds best. Ok a couple of questions of this.
 You say move it to the first card, well in this stack there is only
 one card so the issue doesn't come out, but for the sake of knowing,
 if I have more than one card in the stack, do you mean the card that
 is currently the first card, or the first card created by the IDE?

Literally, the first card of *your* main stack.

In your case there is only one card but the method still applies: whenever
you need to initialize stuff, placing the init scripts in the first card of
your main stack limits causes the scripts to run only when the main stack is
opened (preOpenStack, openStack, openCard, etc).  Subsequent opening/closing
of substacks or IDE stacks will not trigger your card scripts because they
are not part of the other stacks' message hierarchy.

Regards,

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Animation Builder

2005-04-20 Thread Varen Swaab
I have a new question which I'm sure will embarrass me. I'm (obviously) 
new at this RR stuff but I swear my application had a menu item for an 
Animation Builder. In fact I know it did because I used it during a 
tutorial. Now I'm trying to do an animation and the menu item is gone, 
it's not where it should be at all, not greyed out, just not there.

BTW, I'm looking in the Tools menu.
Any ideas where the Animation Builder in my application has gone to?
Reward offered :)
Varen
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Revonline update yourself!

2005-04-20 Thread MisterX
Whenever you need them menus that are too short...

Im tired of waiting for this or that bugzilla but this cool 
nitrous injection should already give ya a leg up... 

I got this stack coming with many of these little enhancements.
But i wanted to start a thread on it because it seemed that i 
might not be the only one... 

So, who wants to play and post more?

I'll compile them and make sure they stick to the right versions
of the IDE given feedback naturally... They will also be selective
so you only modify the danger level you want to play with.

-- see restrictions below
Create stack nitrous injection
create button Improve RPP
set the script of it to 
on mouseUp
  put revpropertypalette into s
  put 1 into i
  repeat while there is a stack (s  i)
set the menulines of btn mainstack of card revstack of stack (s 
i) to 20
set the menulines of btn inks of card revinks of stack (s  i) to
20
save stack (s  i)
add 1 to i
  end repeat
end mouseUp

-- i just learned what triple quotes did in phyton - totally cool!

Am i poking at RunRev? No! Absolutely not. 

For one, i know they dont have time to see the thousands of bugs to be
verified and 
so on... 

They can also find bugs or fix them in just one click for the next rev build
this way!

These are just GUI bug fixes - nothing major...

Yes, I test everything I release to the extent of my satisfaction experience
using the
software. Fixes happen as well as daily improvements. I hope to bring this
also to 
RunRev and you the users! This way we can all get to script or design stacks
faster!

So, send me your improvements and together we'll help RunRev with their
updates in 
a really practical fashion... No GM or scripteditor or debugger stuff
please.

Restrictions
Oh yes, use this script at your own risk - I certainly do so!

cheers
Xav

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Animation Builder

2005-04-20 Thread Varen Swaab
Great, I didn't embarrass myself as badly as I feared. What was the 
reason for removing it? Will it or something like it return in the 
future?

Var
On Apr 20, 2005, at 12:07 PM, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The Animation Builder was removed from Revolution (was it with the 
release of 2.5? I forget) -- I believe it is still available as a  
free (separate) download from Rev's web site, but is no longer 
supported by the company.

On Apr 20, 2005, at 2:53 PM, Varen Swaab wrote:
I have a new question which I'm sure will embarrass me. I'm 
(obviously) new at this RR stuff but I swear my application had a 
menu item for an Animation Builder. In fact I know it did because I 
used it during a tutorial. Now I'm trying to do an animation and the 
menu item is gone, it's not where it should be at all, not greyed 
out, just not there.

BTW, I'm looking in the Tools menu.
Any ideas where the Animation Builder in my application has gone to?
Reward offered :)
Varen
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZqh27aqtWrR9cZoRAtO0AJ0XbXysAsFbzfyL9QzNTF6bbEC7GACfen3h
1MwiWfPfM+jItGxbe/W0QZ4=
=kyzR
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread David Burgun
Recently, David Burgun  wrote:
 If your openStack handler is only supposed to apply to your main 
stack, then
 place the openStack handler in the script of the *first card* of your main
 stack (this goes for any initialization handlers since they are only called
 when the first card is opened).  Any subsequent opening/closing of stacks
 will not trigger the init handler/s.

 Thanks a lot for this. No, I don't have any substacks so moving it
 into the card script sounds best. Ok a couple of questions of this.
 You say move it to the first card, well in this stack there is only
 one card so the issue doesn't come out, but for the sake of knowing,
 if I have more than one card in the stack, do you mean the card that
 is currently the first card, or the first card created by the IDE?
Literally, the first card of *your* main stack.
In your case there is only one card but the method still applies: whenever
you need to initialize stuff, placing the init scripts in the first card of
your main stack limits causes the scripts to run only when the main stack is
opened (preOpenStack, openStack, openCard, etc).  Subsequent opening/closing
of substacks or IDE stacks will not trigger your card scripts because they
are not part of the other stacks' message hierarchy.
Ok, I think I understand that, in this case though, the Stack in 
question *is* a main stack, does this make a difference?

The reason I asked is because I have some Stacks that have multiple 
cards formed into a Tabbed Button, one card for each tab, and on the 
stacks that have this control I send a menuPick command to the Tab to 
select the correct card. I was wondering if this would cause 
problems, seems not? Just add it to the fist card of the Stack.

Ok, I will give this a try and report back.
Thanks a lot for your help, you don't know how much I appreciate it. 
Some of this stuff is a complete mystery. The documentation seems so 
scattered that it's hard to know what is going on sometimes.

I guess it doesn't help that the IDE gets hosed so often when trying 
to setup this kind of stuff.

All the Best
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode problem

2005-04-20 Thread Ton Kuypers
Sometimes life can be so simple...
I tried
set the htmlText of line 7 of field Target to field Source
and
set the unicodeText of line 7 of field Target to field Source
 but just forgot to add the last part: the htmlText of field Source
Using the htmlText for both fields works like a charm!
Thanks a lot
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
On 20-apr-05, at 16:55, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Did you try using the htmlText of that line rather than just the 
plaintext of the line?  In other words, something like this:

set the htmlText of line 7 of field Target to the htmlText of field 
Source

On Apr 20, 2005, at 9:28 AM, Ton Kuypers wrote:
I've created a search  replace application to be used from within 
Adobe Indesign and it works perfectly:
A list with search words, a second list with replace words, some 
options and Indesign has got a supercharged SR function with whole 
lists of words replaced by one click on a button.
To add words to the list, one can enter it in a Search textfield, 
the second part in the replace textfield. An add button adds it to 
the list.

But...
InDesign uses OpenType or double-byte fonts. These are unicode fonts.
When copying a word from a page in InDesign the clipboard contains te 
text with the special characters, but they are mixed (unicode and 
regular).

Problem:
- Paste in the entry field shows the correct text, moving it up to 
the list doesn't.
Solution:
- Loop through the characters in the entry field and set the unicode 
text or the regular text of the correct line in the list.
Question:
- Is there a better way to do this?

Problem 2:
I know what number the last line of the list is, so I put this number 
+ 1 into a var. Each new line will be entered into line varName.
- When the last line of the list is a unicode text, the next line is 
entered on the same line, it seams that the linenumber in the var 
doesn't have any effect anymore.
I've tried to add a CR after that line, but no luck :-(

Anyone any solutions or remarks?
Regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZm1h7aqtWrR9cZoRAuPVAJ4ivgljtrwI3PE58x4aJ+qz2DO/oQCfbwNV
9nZ5zk0hQ3d1+J41A4aB7ME=
=wlpi
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Animation Builder

2005-04-20 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There has been a marginalized rumor that a new one will be created at 
some point in the future, but I don't think that is known for sure, and 
I certainly haven't seen anything like a timetable related to this.

So the short answer is, maybe, maybe not.  We of the list do not know.  
This question comes up a lot, btw; you might be able to find more info 
by searching the list archives.

On Apr 20, 2005, at 3:19 PM, Varen Swaab wrote:
Great, I didn't embarrass myself as badly as I feared. What was the 
reason for removing it? Will it or something like it return in the 
future?

Var
On Apr 20, 2005, at 12:07 PM, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The Animation Builder was removed from Revolution (was it with the 
release of 2.5? I forget) -- I believe it is still available as a  
free (separate) download from Rev's web site, but is no longer 
supported by the company.

On Apr 20, 2005, at 2:53 PM, Varen Swaab wrote:
I have a new question which I'm sure will embarrass me. I'm 
(obviously) new at this RR stuff but I swear my application had a 
menu item for an Animation Builder. In fact I know it did because I 
used it during a tutorial. Now I'm trying to do an animation and the 
menu item is gone, it's not where it should be at all, not greyed 
out, just not there.

BTW, I'm looking in the Tools menu.
Any ideas where the Animation Builder in my application has gone to?
Reward offered :)
Varen
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZqh27aqtWrR9cZoRAtO0AJ0XbXysAsFbzfyL9QzNTF6bbEC7GACfen3h
1MwiWfPfM+jItGxbe/W0QZ4=
=kyzR
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZroF7aqtWrR9cZoRAgO8AJ4hDolAtEjmtjEDlEDmH0U70bpnwQCeO/qC
waBzvhi5jxMQEM1aZsqO+IA=
=AUtv
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Animation Builder

2005-04-20 Thread Varen Swaab
Thanks  for the info Frank, btw, I couldn't find a download on the Rev 
site.

Var
On Apr 20, 2005, at 1:22 PM, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There has been a marginalized rumor that a new one will be created at 
some point in the future, but I don't think that is known for sure, 
and I certainly haven't seen anything like a timetable related to 
this.

So the short answer is, maybe, maybe not.  We of the list do not know. 
 This question comes up a lot, btw; you might be able to find more 
info by searching the list archives.

On Apr 20, 2005, at 3:19 PM, Varen Swaab wrote:
Great, I didn't embarrass myself as badly as I feared. What was the 
reason for removing it? Will it or something like it return in the 
future?

Var
On Apr 20, 2005, at 12:07 PM, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The Animation Builder was removed from Revolution (was it with the 
release of 2.5? I forget) -- I believe it is still available as a  
free (separate) download from Rev's web site, but is no longer 
supported by the company.

On Apr 20, 2005, at 2:53 PM, Varen Swaab wrote:
I have a new question which I'm sure will embarrass me. I'm 
(obviously) new at this RR stuff but I swear my application had a 
menu item for an Animation Builder. In fact I know it did because I 
used it during a tutorial. Now I'm trying to do an animation and 
the menu item is gone, it's not where it should be at all, not 
greyed out, just not there.

BTW, I'm looking in the Tools menu.
Any ideas where the Animation Builder in my application has gone to?
Reward offered :)
Varen
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZqh27aqtWrR9cZoRAtO0AJ0XbXysAsFbzfyL9QzNTF6bbEC7GACfen3h
1MwiWfPfM+jItGxbe/W0QZ4=
=kyzR
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZroF7aqtWrR9cZoRAgO8AJ4hDolAtEjmtjEDlEDmH0U70bpnwQCeO/qC
waBzvhi5jxMQEM1aZsqO+IA=
=AUtv
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread J. Landman Gay
On 4/20/05 2:33 PM, David Burgun wrote:
Ok, I think I understand that, in this case though, the Stack in 
question *is* a main stack, does this make a difference?
Every stack has one or more cards; mainstacks, substacks, all of them. 
Type this into the message box:

 go card 1
Whatever card appears, that is card one of the current stack. Card 1 is 
also the card you first see when the stack opens, as the engine 
automatically displays that card by default. If you have not set a label 
for your stack and it has more than one card, you will see the card 
number in the title bar as well.

Cards are numbered in the order you have created them. A new stack 
automatically has one card. If you create another card, that will be 
card 2. If you use the arrow keys to page through your stack, it will 
show the cards in order. You can change the order of the cards if 
necessary (though it isn't often done; usually only needed if you decide 
you want to add a title card at the front later on.) To change card order:

  set the number of this card to number
i.e.: set the number of this card to 1
Ask if you need more info.
The reason I asked is because I have some Stacks that have multiple 
cards formed into a Tabbed Button, one card for each tab, and on the 
stacks that have this control I send a menuPick command to the Tab to 
select the correct card. I was wondering if this would cause problems, 
seems not? Just add it to the fist card of the Stack.

Ok, I will give this a try and report back.
Thanks a lot for your help, you don't know how much I appreciate it. 
Some of this stuff is a complete mystery. The documentation seems so 
scattered that it's hard to know what is going on sometimes.

I guess it doesn't help that the IDE gets hosed so often when trying to 
setup this kind of stuff.

All the Best
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Animation Builder

2005-04-20 Thread Richard Gaskin
Varen Swaab wrote:
Any ideas where the Animation Builder in my application has gone to?
 Thanks  for the info Frank, btw, I couldn't find a download on the Rev
 site.
You may not need to -- look locally in:
 Revolution 2.5.1/components/assistants/revanimation.rev
Not sure why it's still bundled if it's unsupported, but at least it 
saves you from downloading it from:
http://support.runrev.com/resources/unsupported.php

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


Re: Simple Scoping Question

2005-04-20 Thread Mikey
 Cards are numbered in the order you have created them. A new stack
 automatically has one card. If you create another card, that will be
 card 2. If you use the arrow keys to page through your stack, it will
 show the cards in order. You can change the order of the cards if
 necessary (though it isn't often done; usually only needed if you decide
 you want to add a title card at the front later on.) To change card order:
 
set the number of this card to number
 i.e.: set the number of this card to 1

E. Freaking S. P.  I have not been following this thread.  I was going
to post this question, but for some reason decided to check this
thread for some other reason first.  Freaking amazing.
-- 
http://taoOfRunRev.blogspot.com
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


CSS

2005-04-20 Thread Stephen Barncard
Well I do a lot of web work too, and I assure you that CSS is the 
future and the way large and consistent sites can be reasonably done. 
What's frustrating is that if a page is constructed in CSS that it is 
not easily possible to see what the commands do as you don't see the 
results until it's rendered in a browser or two...

Using tables is discouraged today - you can do it better and in a 
more modular way with CSS. And CSS allows absolute pixel dimensions 
for better cross platform display. HTML was not designed to be a 
design protocol, but a way to organize and link information online, 
in outline form. The font and many other HTML tags are limited and 
vary depending on platform and browser and shouldn't be used in 
todays html code. CSS is standard, and is essential for 
database-driven sites.

I had to learn to love it, but I think it's great. And it WOULD be 
nice to have style sheets  in REV if we're going to have html.

sqb

X
What, no Replace in your text editor?
Again, I'm mainly annoyed with the way that people use CSS, and the
fact that people seem to use it for EVERYTHING, not just large
documents, which makes small ones much more difficult to read.
It's MIKEY, DAMMIT!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: CSS

2005-04-20 Thread Dan Shafer
As the author of a widely read book on CSS -- specifically targeted at 
the question of how you replace table-driven layouts with CSS -- I must 
say that I agree with Stephen here. Being annoyed at peoples' use of 
CSS is kind of futile; it's been decreed as the standard and its huge 
advantages (principally, I think, the separation of content from 
presentation and standardization in browsers, which is still not 100% 
but better than for other approaches) means it is going to be here to 
stay.

I've played around a bit with creating a Rev stack that would read 
formatted text in Rev apps and create appropriate CSS style sheets to 
describe the content but given that the support in htmlText is so weak 
in terms of the totality of HTML and the fact that the content would 
have to be modified to refer to the style sheet in any case, I haven't 
seen any real value there beyond the academic satisfaction.

On Apr 20, 2005, at 2:27 PM, Stephen Barncard wrote:
Well I do a lot of web work too, and I assure you that CSS is the 
future and the way large and consistent sites can be reasonably done. 
What's frustrating is that if a page is constructed in CSS that it is 
not easily possible to see what the commands do as you don't see the 
results until it's rendered in a browser or two...

Using tables is discouraged today - you can do it better and in a more 
modular way with CSS. And CSS allows absolute pixel dimensions for 
better cross platform display. HTML was not designed to be a design 
protocol, but a way to organize and link information online, in 
outline form. The font and many other HTML tags are limited and vary 
depending on platform and browser and shouldn't be used in todays html 
code. CSS is standard, and is essential for database-driven sites.

I had to learn to love it, but I think it's great. And it WOULD be 
nice to have style sheets  in REV if we're going to have html.

sqb

X
What, no Replace in your text editor?
Again, I'm mainly annoyed with the way that people use CSS, and the
fact that people seem to use it for EVERYTHING, not just large
documents, which makes small ones much more difficult to read.
It's MIKEY, DAMMIT!
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


re: EdCzar

2005-04-20 Thread Stephen Messimer
Hi Judy,
I'd be interested to hear as well.
In the mean time PreceptorTools is still posted on my website.  Its 
freeware and some folks may find it useful.  In fact it might be a 
useful starting point for a broader discussion concerning what 
educators  and educational developers would find useful.

I would certainly be interested in participating in that dialog.
Steve
Steve Messimer, PA-C
Manistique Tribal Health Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Too little space leads to too many spaces

2005-04-20 Thread Michael J. Lew
Yesterday I encountered an oddity when I started to work on a Rev 
project: I started to get repeating space characters in the script 
editor. When I closed the script the problem seemed to go away, at 
least until I focused on a field when the spaces reappeared. My 
keyboard looked fine, and so I switched to another app and there 
seemed to be no problem... until I clicked in a editable place. I 
guessed that Rev had gone mad and so I quit it. That didn't fix the 
problem so I restarted the computer, which did.

Today I started the same Rev project and immediately found the same 
repeating space characters appearing in a field, and in my other 
apps. Oh no, a Rev bug bites? No!. It turns out that when I started 
to work with Rev each time I got out my project workbook and put it 
in front of the keyboard. The book didn't press the space key on that 
keyboard, but I have a second keyboard behind my monitor simply to 
act as a USB extender and when I put the workbook in front of my 
primary keyboard, I was pushing the keyboard back a bit which pushed 
the monitor back a bit which pushed some CD covers onto the space key 
of my USB extender keyboard!

--
Michael J. Lew
Senior Lecturer
Department of Pharmacology
The University of Melbourne
Parkville 3010
Victoria
Australia
Phone +613 8344 8304
**
New email address: [EMAIL PROTECTED]
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Robert Brenstein
Varen Swaab wrote:
Thanks Gordon but this  example makes the text alternate in color 
not the background of the text. I presume that there is no way to 
do this based on other comments here. Table support in htmlText 
would be greatly appreciated.
You can cast your vote for it here:
http://support.runrev.com/bugdatabase/show_bug.cgi?id=1447
--
 Richard Gaskin
 Fourth World Media Corporation
actually or also
http://support.runrev.com/bugdatabase/show_bug.cgi?id=2788
Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Alejandro Tejada
on Wed, 20 Apr 2005 
Varen Swaab wrote:

 I presume that there is no way to do this 
 based on other comments here. 

Hi Varen,

Check the following messages from the archives.
This message thread from march 2003 had for name
iTunes-type alternate colored lines in scrolling 
list field

http://lists.runrev.com/pipermail/use-revolution/2003-March/subject.html#13654

Jan Schenkel, Malte Brill and Eric from Thinker Toys
posted solutions.

In October 2003, Monte Gouldwing posted this stack:

http://www.sweattechnologies.com/rev/libLinedFields.rev


al




Visit my site:
http://www.geocities.com/capellan2000/

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-20 Thread J. Landman Gay
On 4/20/05 3:46 PM, Mikey wrote:
Cards are numbered in the order you have created them. A new stack
automatically has one card. If you create another card, that will be
card 2. If you use the arrow keys to page through your stack, it will
show the cards in order. You can change the order of the cards if
necessary (though it isn't often done; usually only needed if you decide
you want to add a title card at the front later on.) To change card 
order:

   set the number of this card to number
i.e.: set the number of this card to 1


 E. Freaking S. P.  I have not been following this thread.  I was going
 to post this question, but for some reason decided to check this
 thread for some other reason first.  Freaking amazing.

We try to answer questions here before they've been asked. It saves time 
and spooks the competition. ;)

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


re: EdCzar

2005-04-20 Thread Judy Perry
As would I...

Judy

On Wed, 20 Apr 2005, Stephen Messimer wrote:

 Hi Judy,

 I'd be interested to hear as well.

 In the mean time PreceptorTools is still posted on my website.  Its
 freeware and some folks may find it useful.  In fact it might be a
 useful starting point for a broader discussion concerning what
 educators  and educational developers would find useful.

 I would certainly be interested in participating in that dialog.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Unicode Displaying in Runtime Revolution #2

2005-04-20 Thread Marisa K.
Hello,
I have the question about the unicode again. I want to query data from 
database, which are unicode. I used the revDataFromQuery function to 
query data from database. However, the result is . So, I tried 
on setting unicodeText property, it turns out  .

Also, I tried to save the result of the query as binfile. Still, it 
didn't work. As, the result from revDataFromQuery already went wrong. 
Then, I tried on usinng Database Query Builder(from /Tool Menu/) for the 
hope that it will query data correctly, but it doesn't?!!

So, is there a way to query unicode data with or without 
revDataFromQuery function to make data display correctly?

Thank you in advance for any suggestions
Marisa
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode Displaying in Runtime Revolution #2

2005-04-20 Thread Trevor DeVore
On Apr 20, 2005, at 8:49 PM, Marisa K. wrote:
I have the question about the unicode again. I want to query data from 
database, which are unicode. I used the revDataFromQuery function to 
query data from database. However, the result is . So, I 
tried on setting unicodeText property, it turns out  .

Also, I tried to save the result of the query as binfile. Still, it 
didn't work. As, the result from revDataFromQuery already went wrong. 
Then, I tried on usinng Database Query Builder(from /Tool Menu/) for 
the hope that it will query data correctly, but it doesn't?!!

So, is there a way to query unicode data with or without 
revDataFromQuery function to make data display correctly?
Marisa,
I imagine your database is storing the text as UTF8.  Revolution fields 
use UTF16.  Setting the field using this:

set unicodeText of fld Unicode to uniEncode(myDatabaseValue, UTF8)
This should display the characters correctly.
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alternating rows in a list

2005-04-20 Thread Varen Swaab
Alejandro
There were some good ideas in that thread, I'll check them out.
Thanks
Var
On Apr 20, 2005, at 5:50 PM, Alejandro Tejada wrote:
on Wed, 20 Apr 2005
Varen Swaab wrote:
I presume that there is no way to do this
based on other comments here.
Hi Varen,
Check the following messages from the archives.
This message thread from march 2003 had for name
iTunes-type alternate colored lines in scrolling
list field
http://lists.runrev.com/pipermail/use-revolution/2003-March/ 
subject.html#13654

Jan Schenkel, Malte Brill and Eric from Thinker Toys
posted solutions.
In October 2003, Monte Gouldwing posted this stack:
http://www.sweattechnologies.com/rev/libLinedFields.rev
al

Visit my site:
http://www.geocities.com/capellan2000/
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: CSS

2005-04-20 Thread Sivakatirswami
OT but, (my favorite software rant) WestCiv's Style Master is an 
outstanding aid to the process of using CSS. You won't get 100 percent 
preview but it will get you very close... Lots of things you want to 
see right away, like color etc will be there for you instantly as you 
edit the CSS without going to your browser. And it has the best CSS 
editing interface I've seen to date, worth every penny.  Style Master 
now stands next to Revolution, BBedit,  Interarchy and Image Ready as 
top tools to get the web job done pronto. Everytime I try some other 
integrated tool (GoLive or whatever) I always revert back to this suite 
for real productivity.

And Dan, as an owner of HTML Utopia... I want to thank you... without 
your book I don't think I could have made the bridge from the Cretan 
Era to the CSS era. Read I three times cover to cover and  still refer 
to it regularly.

WestCiv's Tutorials on CSS also tops in their web-dev self education 
arena

As for the future of CSS and standards... the Acid2Test challenge is on 
and Safari engineers at least are going for it.

Sivakatirswami
On Apr 20, 2005, at 11:27 AM, Stephen Barncard wrote:
Well I do a lot of web work too, and I assure you that CSS is the 
future and the way large and consistent sites can be reasonably done. 
What's frustrating is that if a page is constructed in CSS that it is 
not easily possible to see what the commands do as you don't see the 
results until it's rendered in a browser or two...

Using tables is discouraged today - you can do it better and in a more 
modular way with CSS. And CSS allows absolute pixel dimensions for 
better cross platform display. HTML was not designed to be a design 
protocol, but a way to organize and link information online, in 
outline form. The font and many other HTML tags are limited and vary 
depending on platform and browser and shouldn't be used in todays html 
code. CSS is standard, and is essential for database-driven sites.

I had to learn to love it, but I think it's great. And it WOULD be 
nice to have style sheets  in REV if we're going to have html.

sqb

X
What, no Replace in your text editor?
Again, I'm mainly annoyed with the way that people use CSS, and the
fact that people seem to use it for EVERYTHING, not just large
documents, which makes small ones much more difficult to read.
It's MIKEY, DAMMIT!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Globals confusion

2005-04-20 Thread Kaveh Bazargan
I have a list of globals at the top of my script, which is assigned to the
one card in my stack. I want these globals to be available, and defined,
when a script has run. In other words, if a value has been given to myVar,
then I want that value to be given when I type

put myVar

in the message box.

What happens now, is that some of these values are retained, and some are
not. I can't understand what determines which variables retain their value.

I am missing something fundamental. Any guidance appreciated.
-- 

Kaveh Bazargan
http://www.river-valley.com/
http://www.holographer.org/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode Displaying in Runtime Revolution #2

2005-04-20 Thread Marisa K.
Hi Trevor,
Thank you agian for your suggestion. You are right about the database of 
UTF-8. :-)

However, I've tried on that, too, but the result is the same!!
I wrote script as:
on openCard
 global tID
 set the unicodeText of fld testDB to uniEncode( revDataFromQuery (, 
return, tID, SELECT cityLocalName FROM POSTAL_CODE_TABLE),utf8)
end openCard

Am I doing sth wrong with the script? Also, I used to try on ;
put revDataFromQuery (, return, tID, SELECT cityLocalName FROM 
POSTAL_CODE_TABLE) into tCityThai
set the unicodeText of fld TestDB to uniEncode (tCityThai, utf8)

The result is the same! Then, i thought 'binfile' may help. So, I saved 
the result from revDataFromQuery directly as binfile. However, when I 
open it, the result was wrong. Anyway, I tried to put its content to 
field with unicodeText settings and uniEncode.

put revDataFromQuery (, return, tID, SELECT cityLocalName FROM 
POSTAL_CODE_TABLE) into URL binfile: tCityThai.txt
set the unicodeText of fld TestDB to uniEncode(URL binfile: 
tCityThai.txt, utf8)

The result is the same, too.
Any suggestions?
Regards,
Marisa
Trevor DeVore wrote:
Marisa,
I imagine your database is storing the text as UTF8.  Revolution 
fields use UTF16.  Setting the field using this:

set unicodeText of fld Unicode to uniEncode(myDatabaseValue, UTF8)
This should display the characters correctly.


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution