Re: Threads

2006-10-13 Thread Alex Shaw

Hi

Was wondering how rev performed on these new dual/quad/multi core CPUs 
which are becoming standard in new systems.


Am hoping for a smoother interface experience by starting to do more 
process-slashing of long running functions by breaking them down and 
using more send calls to recursively munch data.


I know rev doesn't do threads and I don't think it needs to but I would 
like to think that it handles it's internal messages efficiently.


I posted the above to the improve-list previously but the link below is 
new :)


http://blog.labnotes.org/2006/08/29/why-processes-scale-better-than-threads/

Viktoras: When you use go stack, as far as I know, the loaded stack 
just joins the message queue of the current (calling) rev process 
(standalone or ide).


Maybe we need..

go stack blah1.rev as modal run as thread

/or

go stack blah1.rev as modal run as process

I too am keen to write powerful server solutions with rev without having 
many smaller server instances sharing the load. Good load balancing code 
to sync many servers isn't my idea of fun.


regards
alex

Viktoras Didziulis wrote:

Why shouldn't it work?
 
Threads can be produced by cloning an invisible substack (named thread)
with 
a handler and renaming the clones to thread_1, thread_2, etc... If this
makes any sense to 
anyone the code is free to explore (Rev studio 2.7):
 
go stack url http://www.ekoinf.net/inv/threading.rev;
 
or compiled for windows 
http://www.ekoinf.net/inv/threads.exe 
 
The main stack contains a field which displays status of threads and 
indicates when a thread finishes its job. Any number of threads can be 
specified. I tried with 100 and it was OK (~100 kb memory footprint). The
task was simple 
- parent generates and sends a random number within range 1..10. Process in 
a thread takes that number and sends it back to a handler in the parent in 
an equivalent number of seconds. The parent displays status of all threads 
and cleans up when all threads are finished. 
  
All the best! 
Viktoras 
 
---Original Message--- 
 
From: Luis 
Date: 10/12/06 13:19:40 
To: How to use Revolution 
Subject: Re: Threads 
 
Maybe this could be done, albeit in a rather primitive way: 
 
Separate standalones communicating with each other? 
 
Cheers, 
 
Luis. 
 
 
Dar Scott wrote: 
On Oct 5, 2006, at 12:46 PM, Andrew wrote: 
What kind of communication? 
Do this and let me know when you are finished. 
Do this, show progress, and let me know when you are finished. 
Bidirectional message queue. 
Send messages to a thread in 'send' style. 
My initial idea would be that when you send a message you could do so 
indicating it should be run it it's own thread (or in an existing 
thread that you know the name of). By default each object (button, 
field, card etc) would have a mutex that you must hold to update it's 
attributes or to run any of its handlers (this would be acquired 
automatically). It would be possible to do finer grained locking if 
the programmer took the trouble to code it. The automatic acquisition 
of locks would be dependent on some global property (that might also 
be used to permit the creation of threads in the first place) so there 
would be no overhead for non-threaded stacks. 
I think something like that might work, however I wonder what the right 
way would be to make this fit into the Revolution way of things and to 
ward off potential problems. 

It might start off simple, perhaps between sort of between a thread and 
a process in which a library script is used to create a thread and 
messages (like with send) are sent back and forth. The shared resources 
might be added based on that. Same with accessing objects. 

That is far from being able to access anything the home thread could, so 
folks might think that too weak. 

Dar 


--
*** 
Dar Scott 
Dar Scott Consulting and Dar's Lab 
Lab, office, home: +1 505 299 9497 
Fax: call above first 
Skype: send me a note first 

http://www.swcp.com/dsc 
Computer programming 
*** 



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



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


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

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



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to 

Re: Where to Save Downloads -- Best Practice?

2006-10-13 Thread Signe Marie Sanne


So, what should one do? I guess the options are to use Application  
Support

On the Mac and some such similar special directory on Windows.
If I'm right, then what is it?

What we need is the standard, for-sure-to-work
location for saving the file to, such that it can be
successfully written, immediately, by script control
 without prompting  the user to pick a directory and name the file.
i.e. the default guaranteed for-sure-exists and is read -- write  
directories

for each platform.



Hello Katirswami,
I'm not sure if this already has been suggested to you, but did you  
try specialFolderPath(26)? This saves to C:/Documents and Settings/ 
MyUserId/Application Data/ which usually is open.


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


Re: Where to Save Downloads -- Best Practice?

2006-10-13 Thread Eric Chatonet

Hi Sivakatirswami,

You might be interested by Ken Ray's specialFolderPath codes at  
http://www.sonsothunder.com/devres/revolution/tips/file010.htm

All you need is there :-)

Le 13 oct. 06 à 03:24, Sivakatirswami a écrit :

So, what should one do? I guess the options are to use Application  
Support

On the Mac and some such similar special directory on Windows.
If I'm right, then what is it?

What we need is the standard, for-sure-to-work
location for saving the file to, such that it can be
successfully written, immediately, by script control
 without prompting  the user to pick a directory and name the file.
i.e. the default guaranteed for-sure-exists and is read -- write  
directories

for each platform.



Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


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


blendlevel magic

2006-10-13 Thread Claudi Cornaz

Hi,

I just discovered a way to cool trick with blendlevels and (list)fields.
You can have multicolored hilitedLines for a field. No problem.
No special coding neccesary, you just set the hilitedLines of 2 flds
a top of each other. That's all.

Create 2 flds same size on top of each other. Set the opaque of the top 
one to false
Put as many empty lines in the bottom one as you have lines of text in 
the top one.
Now set the hiliteColor of the 2 flds to something different, let's say 
one is
bright blue and the other is quite red. Next set the blendlevel of the 
top

fld to somewhere between 30 and 70% also play with the inks.
(a nice one is for instance bothl blendlevels 0 and ink for the bottom 
layer to bitwise scrCopy

and the ink for the top one to arithmic blend)
Anyway now set the hilitedLines of the base fld, the one with the empty 
lines,
to lets say 1, 2 and of the top fld to 2,3. Now we have 3 differently 
colored lines.
Sync the 2 flds up and you can have magic, Heck you can do it with 3 
flds aswell.


Alternating colored lines, it's easy. Except for syncing the scroll of 
the 2 fld's,

no extra code necessary. Neat, ...   ...   very neat.

Happy coding you guys and gals

Claudi

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


Seeking Rev Consultant

2006-10-13 Thread Adrian Williams

Is anyone interested in scripting for using a Unicode font?

The custom font may have up to 14000 characters.
255 Standard chars.
The remainder are Latin characters with attached joining strokes,
stored in the Japanese or the some Other Language part of the font.
Font/scripts will be used to 'join' English words.
A graphic example of the main function is shown here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

From the Users perspective...
Text is entered into A4/US Letter sized field.
As each character is entered, it 'joins' to the previous char.
After any text has been entered, User may go back and place
insertion point anywhere in the text and correct a spelling and
the word will re-join correctly.

Script efficiency is important to reduce screen flicker while processing
each char. A small flicker is acceptable, but not a long delay.

I will develop the interface and font(s) in Rev Studio.
I need a Rev. scriptor to create the 'joining' portion.
Just for a few joining characters to prove/test above requirements.
I will spend the long hours/days/months creating the font characters
then entering their Unicode/HTML/Decimal??? values in the script.

If interested, please contact me and I will furnish more information.
Many thanks,
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]

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


Re: Seeking Rev Consultant

2006-10-13 Thread Brian Yennie

Adrian,

I am available for contract work. If you let me know what your  
budget / timeframe are and/or send a small sample of the font, I can  
give you an estimate. I have over ten years xTalk experience (since  
the Hypercard days!) and you can probably get an idea of my scripting  
abilities by searching the list archives.


Thanks,
---
Brian Yennie
Director of Technology Integration
QLD Learning
(310)-367-7364



Is anyone interested in scripting for using a Unicode font?

The custom font may have up to 14000 characters.
255 Standard chars.
The remainder are Latin characters with attached joining strokes,
stored in the Japanese or the some Other Language part of the  
font.

Font/scripts will be used to 'join' English words.
A graphic example of the main function is shown here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

From the Users perspective...
Text is entered into A4/US Letter sized field.
As each character is entered, it 'joins' to the previous char.
After any text has been entered, User may go back and place
insertion point anywhere in the text and correct a spelling and
the word will re-join correctly.

Script efficiency is important to reduce screen flicker while  
processing

each char. A small flicker is acceptable, but not a long delay.

I will develop the interface and font(s) in Rev Studio.
I need a Rev. scriptor to create the 'joining' portion.
Just for a few joining characters to prove/test above requirements.
I will spend the long hours/days/months creating the font characters
then entering their Unicode/HTML/Decimal??? values in the script.

If interested, please contact me and I will furnish more information.
Many thanks,
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]

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

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




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


Re: Threads

2006-10-13 Thread Viktoras Didziulis
I should have put threading in quotes, indeed :o). Well, at least
Revolution can emulate thread-like behaviour to accomplish tasks where
identical processes, well, handlers have to share same job. 
 
Now I wonder if one wishes to share the job among several machines in a
network (aka distributed computing on beowoolf cluster or global grid), how
to calculate the optimal distribution of loads based on speed of a
processors, RAM, and connection bandwidth available for each node. Are there
any formulas for this ? 
 
Best! 
Viktoras
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Seeking Rev Consultant

2006-10-13 Thread Brian Yennie
Apologies to the list - another meant to send it privately oops for  
the archives...!



Adrian,

I am available for contract work. If you let me know what your  
budget / timeframe are and/or send a small sample of the font, I  
can give you an estimate. I have over ten years xTalk experience  
(since the Hypercard days!) and you can probably get an idea of my  
scripting abilities by searching the list archives.


Thanks,
---
Brian Yennie
Director of Technology Integration
QLD Learning



Is anyone interested in scripting for using a Unicode font?

The custom font may have up to 14000 characters.
255 Standard chars.
The remainder are Latin characters with attached joining strokes,
stored in the Japanese or the some Other Language part of the  
font.

Font/scripts will be used to 'join' English words.
A graphic example of the main function is shown here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

From the Users perspective...
Text is entered into A4/US Letter sized field.
As each character is entered, it 'joins' to the previous char.
After any text has been entered, User may go back and place
insertion point anywhere in the text and correct a spelling and
the word will re-join correctly.

Script efficiency is important to reduce screen flicker while  
processing

each char. A small flicker is acceptable, but not a long delay.

I will develop the interface and font(s) in Rev Studio.
I need a Rev. scriptor to create the 'joining' portion.
Just for a few joining characters to prove/test above requirements.
I will spend the long hours/days/months creating the font characters
then entering their Unicode/HTML/Decimal??? values in the script.

If interested, please contact me and I will furnish more information.
Many thanks,
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]

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

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




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

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




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


Re: Seeking Rev Consultant

2006-10-13 Thread Adrian Williams

Dear Brian,
Thanks for responding.
I have to go to a meeting for the remainder of today but
will get back to you with a sample of the font for you to
test the theory as soon as I can. It may be tomorrow.
I need to remake it (in part) for others to test.

I a noob so is x-Talk same as/export of Rev?
I need to plant your script(s) into a Rev. stack.

Thanks again,
Adrian

___
Adrian Williams Design Ltd (trading as Club Type),
44 Mill Lane,
Merstham,
Redhill,
Surrey RH1 3HQ, UK

Telephone/Facsimile: 01737 643300
dFax (computer reception): 0870 0515681

International tel/fax (UK)+44 1737 643300
International dFax:  (UK)+44 870 0515681

Email: [EMAIL PROTECTED]
Website: http://www.clubtype.co.uk
On 13 Oct 2006, at 09:46, Brian Yennie wrote:


Adrian,

I am available for contract work. If you let me know what your budget 
/ timeframe are and/or send a small sample of the font, I can give you 
an estimate. I have over ten years xTalk experience (since the 
Hypercard days!) and you can probably get an idea of my scripting 
abilities by searching the list archives.


Thanks,
---
Brian Yennie
Director of Technology Integration
QLD Learning
(310)-367-7364



Is anyone interested in scripting for using a Unicode font?

The custom font may have up to 14000 characters.
255 Standard chars.
The remainder are Latin characters with attached joining strokes,
stored in the Japanese or the some Other Language part of the 
font.

Font/scripts will be used to 'join' English words.
A graphic example of the main function is shown here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

From the Users perspective...
Text is entered into A4/US Letter sized field.
As each character is entered, it 'joins' to the previous char.
After any text has been entered, User may go back and place
insertion point anywhere in the text and correct a spelling and
the word will re-join correctly.

Script efficiency is important to reduce screen flicker while 
processing

each char. A small flicker is acceptable, but not a long delay.

I will develop the interface and font(s) in Rev Studio.
I need a Rev. scriptor to create the 'joining' portion.
Just for a few joining characters to prove/test above requirements.
I will spend the long hours/days/months creating the font characters
then entering their Unicode/HTML/Decimal??? values in the script.

If interested, please contact me and I will furnish more information.
Many thanks,
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]

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

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




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

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



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


Re: Seeking Rev Consultant

2006-10-13 Thread Adrian Williams

Oops.  I did it too! sorry list.
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]

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


Re: Unwanted Explicit variables set to true?

2006-10-13 Thread David Glasgow


On 12 Oct 2006, at 6:00 pm, Malte Brill  wrote:





Hi David,

check your preferences. Maybe you accidently checked Variable 
checking by default in the script editor pane? Prefs are preserved 
cross versions since 2.7.x so this might be the cause. This setting is 
not exactly the same as setting the explicit vars. You might want to 
check uncheck it once even if it appears unchecked.


Hope that helps,

Malte


Malte,

That is exactly what it was!  Odd thing is I have never before looked 
in Rev preferences.  I was surprised to see how many options there are, 
and have certainly never looked at the script editor pane before.


So the mystery of why remains, but the mystery of what is solved.  For 
me, that is enough.  Thank you so much, I would have spent hours 
messing with this.



Best Wishes,

David Glasgow
Carlton Glasgow Partnership

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


cards of a bg not recognized !?

2006-10-13 Thread André.Bisseret

Hello,
In a stack I have two groups behaving like backgrounds.
For one of them, if I script go to last cd of bg frame2 nothing  
happens.


In the message box if I ask :
there is bg frame2
--I get  true
If I ask :
there is last cd of bg frame2
--I get false
If I ask :
the number of cd of bg frame2
-- I get 0 ; In fact I have more than a hundred cd with this bg ?

(for the first bg all is OK)

I am lost ; please, could someone help me

Best regards from Grenoble
André



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


textColor misbehaving?

2006-10-13 Thread Richmond Mathewson
I have a field which contains a sentence in black.

When I attempt to change the color/colour of the text
inside the box like this:

set the textColor of fld FFF to red

it stays black

Hmm

sincerely, Richmond Mathewson



Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases.
   Mathewson, 2006




___ 
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy 
and free. http://uk.docs.yahoo.com/trueswitch2.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: textColor misbehaving?

2006-10-13 Thread William de Smet

Hi Richmond,

Works for me!
RR 2.7.4 on OSX 10.4.7

greetings,

William de Smet

2006/10/13, Richmond Mathewson [EMAIL PROTECTED]:

I have a field which contains a sentence in black.

When I attempt to change the color/colour of the text
inside the box like this:

set the textColor of fld FFF to red

it stays black

Hmm

sincerely, Richmond Mathewson



Philosophical problems are confusions arising owing to the fluidity of meanings 
users attach to words and phrases.
   Mathewson, 2006




___
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy 
and free. http://uk.docs.yahoo.com/trueswitch2.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





--
ICT-coördinator
Herman Broerenschool
2612 SP Delft
015-2141066
http://www.hermanbroerenschool-delft.nl
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: textColor misbehaving?

2006-10-13 Thread Mark Smith

Have you set the color of the actual text by hand, at any point?

What I mean is,

select the text by dragging over it, set the color of it to black by  
from the Text menu. Now, setting the text of the field to red won't  
make the existing text red, it will stay black.


I don't know if this is a foolproof way of checking, but if you 'put  
the htmlText of fld FFF', you can see if a color has been set that  
the textColor of the field won't override.


Best,

Mark

On 13 Oct 2006, at 10:34, Richmond Mathewson wrote:


I have a field which contains a sentence in black.

When I attempt to change the color/colour of the text
inside the box like this:

set the textColor of fld FFF to red

it stays black

Hmm

sincerely, Richmond Mathewson



Philosophical problems are confusions arising owing to the  
fluidity of meanings users attach to words and phrases.

   Mathewson, 2006




___
Copy addresses and emails from any email account to Yahoo! Mail -  
quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html

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

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


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


Connecting to mysql database using MAMP

2006-10-13 Thread Pierre Del.

Hi,
I have downloaded MAMP (local server for Mac, with Apache, Mysql and  
PHP). It works fine on port 8889. But when I try to connect Rev to it  
using   get revOpenDataBase(MySQL, localhost:8889,  
MyDataBase, root, root), I always get the error message :  
Unknown MySQL server host 'localhost:8889' . Am I using a bad syntax?  
Or is there some kind of incompatibility?


Thanks for your help

Pierre Delain

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


Re: textColor misbehaving?

2006-10-13 Thread Signe Marie Sanne

Did you try

set the textColor of char 1 to -1 of fld FFF to red

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


Re: textColor misbehaving?

2006-10-13 Thread Mark Schonewille

Or:

put fld FFF into fld FFF
set textColor of fld FFF to red

Mark

--

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

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 13-okt-2006, om 13:13 heeft Signe Marie Sanne het volgende  
geschreven:



Did you try

set the textColor of char 1 to -1 of fld FFF to red

Signe Marie Sanne



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


Re: Connecting to mysql database using MAMP

2006-10-13 Thread John Craig
I noticed the same thing yesterday connecting to MySQL and specifying a 
port number using  host:port
It works fine by ommiting the port and using host name only (providing 
you use the default port 3306)


JC



Pierre Del. wrote:


Hi,
I have downloaded MAMP (local server for Mac, with Apache, Mysql and  
PHP). It works fine on port 8889. But when I try to connect Rev to it  
using   get revOpenDataBase(MySQL, localhost:8889,  
MyDataBase, root, root), I always get the error message :  
Unknown MySQL server host 'localhost:8889' . Am I using a bad syntax?  
Or is there some kind of incompatibility?


Thanks for your help

Pierre Delain

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

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




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


Re: Connecting to mysql database using MAMP

2006-10-13 Thread Pierre Del.
The problem is that MAMP MySql server seems not to work at port 3306  
(I don't know why)


Le 13 oct. 06 à 14:07, John Craig a écrit :

I noticed the same thing yesterday connecting to MySQL and  
specifying a port number using  host:port
It works fine by ommiting the port and using host name only  
(providing you use the default port 3306)


JC



Pierre Del. wrote:


Hi,
I have downloaded MAMP (local server for Mac, with Apache, Mysql  
and  PHP). It works fine on port 8889. But when I try to connect  
Rev to it  using   get revOpenDataBase(MySQL, localhost: 
8889,  MyDataBase, root, root), I always get the error  
message :  Unknown MySQL server host 'localhost:8889' . Am I using  
a bad syntax?  Or is there some kind of incompatibility?


Thanks for your help

Pierre Delain

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

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




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

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



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


Re: Seeking Rev Consultant

2006-10-13 Thread Andre Garzia

Adrian,

one invaluable tool will be altFont by Altuit. Its an external for  
mac and windows machines that allow you to load fonts without the  
need to install them. With altFont you can store your unicode font  
into a custom prop and load on runtime.


their page is http://www.altuit.com/webs/altuit2/altFontCover/ 
default.htm


it's specially useful for people working with custom fonts that don't  
know if their users will be savvy enough to know to install fonts or  
if they will have the administrator password for doing that.


Cheers
andre



On Oct 13, 2006, at 5:08 AM, Adrian Williams wrote:


Is anyone interested in scripting for using a Unicode font?

The custom font may have up to 14000 characters.
255 Standard chars.
The remainder are Latin characters with attached joining strokes,
stored in the Japanese or the some Other Language part of the  
font.

Font/scripts will be used to 'join' English words.
A graphic example of the main function is shown here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

From the Users perspective...
Text is entered into A4/US Letter sized field.
As each character is entered, it 'joins' to the previous char.
After any text has been entered, User may go back and place
insertion point anywhere in the text and correct a spelling and
the word will re-join correctly.

Script efficiency is important to reduce screen flicker while  
processing

each char. A small flicker is acceptable, but not a long delay.

I will develop the interface and font(s) in Rev Studio.
I need a Rev. scriptor to create the 'joining' portion.
Just for a few joining characters to prove/test above requirements.
I will spend the long hours/days/months creating the font characters
then entering their Unicode/HTML/Decimal??? values in the script.

If interested, please contact me and I will furnish more information.
Many thanks,
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]

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

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


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


Re: Connecting to mysql database using MAMP

2006-10-13 Thread Trevor DeVore

On Oct 13, 2006, at 3:41 AM, Pierre Del. wrote:


Hi,
I have downloaded MAMP (local server for Mac, with Apache, Mysql  
and PHP). It works fine on port 8889. But when I try to connect Rev  
to it using   get revOpenDataBase(MySQL, localhost:8889,  
MyDataBase, root, root), I always get the error message :  
Unknown MySQL server host 'localhost:8889' . Am I using a bad  
syntax? Or is there some kind of incompatibility?


Documentation error.  Pass the port number in as parameter 6.  useSSL  
should be parameter 7.  Try this:


get revOpenDataBase(MySQL, localhost, MyDataBase, root,  
root, 8889)


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


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


Re: cards of a bg not recognized !?

2006-10-13 Thread Eric Chatonet

Bonjour André,

You think as an HyperCard man ;-)
Backgrounds act slightly differently with Revolution:
Regarding to coding, a background is placed, as it was with HC,  
between the card and the stack in the message path.
But, as you know it, you can place multiples backgrounds (groups) on  
the same card.

So, regarding to objects relations, you can't say last cd of bg frame2
But only group frame2 of last cd (or any card where this group is  
placed)


I assume you want to go to the last card where a group has been placed?
Here is a fast workaround:

  unmarl all cds
  mark cds where there is a grp frame2
  go last marked cd

But actually, I think you should probably revise your architecture to  
be more Rev compliant ;-)


Best Regards from Paris,
Eric Chatonet

Le 13 oct. 06 à 11:33, André.Bisseret a écrit :


Hello,
In a stack I have two groups behaving like backgrounds.
For one of them, if I script go to last cd of bg frame2 nothing  
happens.


In the message box if I ask :
there is bg frame2
--I get  true
If I ask :
there is last cd of bg frame2
--I get false
If I ask :
the number of cd of bg frame2
-- I get 0 ; In fact I have more than a hundred cd with this bg ?

(for the first bg all is OK)

I am lost ; please, could someone help me

Best regards from Grenoble
André


 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


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


Re: Connecting to mysql database using MAMP

2006-10-13 Thread Pierre Del.




Documentation error.  Pass the port number in as parameter 6.   
useSSL should be parameter 7.  Try this:


get revOpenDataBase(MySQL, localhost, MyDataBase, root,  
root, 8889)


sorry, it does not work, still looking at standard localhost, not  
taking the 8889 into account


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


Re: textColor misbehaving?

2006-10-13 Thread Devin Asay
I always do this when I want to set a text property globally for a  
field:


set the textColor of line 1 to -1 of fld mine to empty
set the textColor of fld mine to red

Same principle, whether it's textcolor, textfont, size, etc.

Devin

On Oct 13, 2006, at 6:03 AM, Mark Schonewille wrote:


Or:

put fld FFF into fld FFF
set textColor of fld FFF to red

Mark

--

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

Get your store on-line within minutes with Salery Web Store  
software. Download at http://www.salery.biz


Op 13-okt-2006, om 13:13 heeft Signe Marie Sanne het volgende  
geschreven:



Did you try

set the textColor of char 1 to -1 of fld FFF to red

Signe Marie Sanne





Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Connecting to mysql database using MAMP

2006-10-13 Thread John Craig

That worked for me on 2.7.4 (Windows) - thanks.

Trevor DeVore wrote:


On Oct 13, 2006, at 3:41 AM, Pierre Del. wrote:


Hi,
I have downloaded MAMP (local server for Mac, with Apache, Mysql  and 
PHP). It works fine on port 8889. But when I try to connect Rev  to 
it using   get revOpenDataBase(MySQL, localhost:8889,  
MyDataBase, root, root), I always get the error message :  
Unknown MySQL server host 'localhost:8889' . Am I using a bad  
syntax? Or is there some kind of incompatibility?



Documentation error.  Pass the port number in as parameter 6.  useSSL  
should be parameter 7.  Try this:


get revOpenDataBase(MySQL, localhost, MyDataBase, root,  
root, 8889)





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


Re: cards of a bg not recognized !?

2006-10-13 Thread André.Bisseret



Le 13 oct. 06 à 16:08, Eric Chatonet a écrit :


Bonjour André,

You think as an HyperCard man ;-)
Backgrounds act slightly differently with Revolution:
Regarding to coding, a background is placed, as it was with HC,  
between the card and the stack in the message path.
But, as you know it, you can place multiples backgrounds (groups)  
on the same card.
So, regarding to objects relations, you can't say last cd of bg  
frame2
But only group frame2 of last cd (or any card where this group is  
placed)


I assume you want to go to the last card where a group has been  
placed?

Here is a fast workaround:

  unmarl all cds
  mark cds where there is a grp frame2
  go last marked cd

But actually, I think you should probably revise your architecture  
to be more Rev compliant ;-)


Bonjour Éric et merci for the workaround ; but
In fact, I want to add new cards to two different sets of cards ; in  
the first set the cards share a group ( with behavior bg) say  
frame1 and in the second set the cards share another group (set to  
bg too) say frame2.


What I don't understand is that it works nicely with frame1 and not  
with frame2 !?

 When I script :
go to last cd of bg frame1
create cd
etc.
it works well, from any cd in the stack, BUT
go to last cd of bg frame2
does not wor'k

I can't imagine why ?
I would appreciate a lot any explanation

Best regards from Grenoble
André

P.S. Another possible workaround : When I am on a cd having frame2  
on it, then go to last cd of this bg works, then I could go to such  
a cd (the first one).


Best Regards from Paris,
Eric Chatonet

Le 13 oct. 06 à 11:33, André.Bisseret a écrit :


Hello,
In a stack I have two groups behaving like backgrounds.
For one of them, if I script go to last cd of bg frame2 nothing  
happens.


In the message box if I ask :
there is bg frame2
--I get  true
If I ask :
there is last cd of bg frame2
--I get false
If I ask :
the number of cd of bg frame2
-- I get 0 ; In fact I have more than a hundred cd with this bg ?

(for the first bg all is OK)

I am lost ; please, could someone help me

Best regards from Grenoble
André


-- 


http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


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

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




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


slightly OT - differencing and version control

2006-10-13 Thread Chris Sheffield
Anybody out there working on a team of developers? If so, how do you  
handle file version control with your Rev stack files? I've been  
using MagicCarpet (which has worked very well for me; thanks Chipp).  
But up until now my company has only had myself and, at most, one  
other developer, and MagicCarpet has met our needs. But we're getting  
to a point where we need something a little more robust. Something  
that will preferably allow multiple concurrent checkouts of files,  
and then merge differences as they're checked back in.


Is there something like this that even exists? I realize since Rev  
stacks contain binary data it makes things a bit more difficult. Is  
there anything out there that can handle binary files this way? If  
not, could something like this be created with Rev? If so, how  
difficult would it be?


Thanks,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--

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


re: is this weird or is t me?

2006-10-13 Thread [EMAIL PROTECTED]
After following the discussion in the subject line on masking and disabling 
buttons,I tried a few scenarios to see what all the hassle was about. 
The result was a little stack for trying out the possibilities discussed (I 
think) and I have uploaded it to My Space.
(Don't know how to link you to it from here - user name BarryB)

Although I am sure it will be of no interest to those who took part in the 
discussion,I thought it might be to any other beginners in Revolution who maybe 
as thick as me. If any! ;-)

 Oh! if someone can tell me how to reset the scrollbar on a text field to the 
top when leaving the card, I should be very grateful and will update it.
Barry Barber


--
Ancora dubbi? Scegli Barclaycard, la carta di Credito leader in Europa: 0 
Canone, 0 Commissioni, 100% Sicura!
http://click.libero.it/barclaycard


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


Re: is this weird or is t me?

2006-10-13 Thread Klaus Major

Buongiorno Barry,

After following the discussion in the subject line on masking and  
disabling buttons,I tried a few scenarios to see what all the  
hassle was about.
The result was a little stack for trying out the possibilities  
discussed (I think) and I have uploaded it to My Space.

(Don't know how to link you to it from here - user name BarryB)

Although I am sure it will be of no interest to those who took part  
in the discussion,I thought it might be to any other beginners in  
Revolution who maybe as thick as me. If any! ;-)


 Oh! if someone can tell me how to reset the scrollbar on a text  
field to the top when leaving the card, I should be very grateful  
and will update it.


on closecard
  set the scroll of fld your field here to 0
  ...
end closecard

will do the trick :-)


Barry Barber


Best

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

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


Re: Threads

2006-10-13 Thread Dar Scott


On Oct 12, 2006, at 5:25 PM, Viktoras Didziulis wrote:


Threads can be produced by cloning
an invisible substack (named thread) with
a handler and renaming the clones to thread_1, thread_2, etc...


This stack is a good mockup of what a simple threading capability  
would look like like.


It also points out that much of what we would want in threading can  
be done with 'send'.  I have an old, but applicable primer on  
message mechanics, that is, building message machines here:


   http://www.swcp.com/dsc/revstacks.html

Should anybody be interested, that is.  Using 'message mechanics'  
does require a different way of looking at a problem, perhaps making  
a state machine.  And it is not a full substitute for threads.


I have in my box of projects a new 'send' that has some issues fixed  
and is broader in what can be sent to what.  I was thinking of  
expanding that so messages can be sent to threads.  I was thinking  
of making threads out of command-line Revolution, much as the cgi  
folks do.  I have tinkered with command-line Rev on OS X and I think  
this approach may have promise.


Of course, resources would not be as intimately shared as in some  
threading models.  But to be able to say, go off and do this FFT,  
would be nice.


Of course, the mad scientist is flighty in these projects so don't  
count on anything.


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


Re: Stack rename itself

2006-10-13 Thread Mark Wieder
Bill-

Thursday, October 12, 2006, 10:47:23 PM, you wrote:

 I would like to be able to rename the stack file and other pertinent
 information so that there could be multiple versions of the stack  
 personalized to different people.

Not sure what you want here. Do you need something that clone won't
give you?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


RevDB and 2.7.4 on on OS 10.2.8?

2006-10-13 Thread Trevor DeVore

Is anybody successfully using RevDB with OS 10.2.8 and Rev 2.7.4?

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


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


Re: Status of the Kagi KRM plug-in?

2006-10-13 Thread Trevor DeVore

On Oct 10, 2006, at 8:11 AM, kee nethery wrote:

The module makes extensive use of XML and the standard XML parsers  
but bog down with the data we send it.


Kee,

Out of curiosity, do you still get the same bog down if you use  
messaging as opposed to creating a tree in memory when you call  
revCreateXMLTree?



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


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


Re: is this weird or is t me?

2006-10-13 Thread Mark Schonewille

on closeCard
  set the scroll of fld x to 0
  pass closeCard
end closeCard

--

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

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 13-okt-2006, om 18:09 heeft barryb@@libero..it het volgende  
geschreven:


snip

 Oh! if someone can tell me how to reset the scrollbar on a text  
field to the top when leaving the card, I should be very grateful  
and will update it.

Barry Barber


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


Re: slightly OT - differencing and version control

2006-10-13 Thread Richard Gaskin

Chris Sheffield wrote:
Anybody out there working on a team of developers? If so, how do you  
handle file version control with your Rev stack files? I've been  
using MagicCarpet (which has worked very well for me; thanks Chipp).  
But up until now my company has only had myself and, at most, one  
other developer, and MagicCarpet has met our needs. But we're getting  
to a point where we need something a little more robust. Something  
that will preferably allow multiple concurrent checkouts of files,  
and then merge differences as they're checked back in.


Is there something like this that even exists? I realize since Rev  
stacks contain binary data it makes things a bit more difficult. Is  
there anything out there that can handle binary files this way? If  
not, could something like this be created with Rev? If so, how  
difficult would it be?


About half of the projects I've done over the last decade have been with 
teams, usually with about three developers but the two largest had about 
20 team members each.


One of those large projects was in done Gain Momentum (since renamed 
RadBuilder), which has a stack-based MagicCarpet-like check in/check out 
tool built in.


For the other large project (which used Rev) we wrote a custom version 
control system focused at the card level which was specific to the 
unique workflow of that system.


For smaller projects I've either custom-crafted a simple stack-based 
system like MagicCarpet, or just assigned owners to specific stacks and 
used email to trade them among the team.  The latter has worked well 
enough to keep the MetaCard IDE project running for several years 
(though admittedly it's a small-scale project).


For the work that I've done I've found stacks to be a very natural 
dividing line for sharing the workflow.  Stacks tend to be either UI 
elements or libraries, and it usually benefits the project as a whole to 
keep the interconnections between such modules as simple and clean as 
possible anyway, so divvying up the project by stacks lends a clarity to 
the work.


Because most other languages make software out of hundreds of tiny text 
files (as opposed to Rev's more self-contained binary files), there's an 
inclination among multi-lingual professionals to think about solutions 
for Rev projects in terms of what works elsewhere.  But just as we enjoy 
the simplicity of the object model, we can re-think old production 
habits to discover ways to simplify the workflow as well, making Rev's 
unique object model work for us.  Go with the grain.


While it may be technically possible to atomize stacks into mergeable 
parts (I've made a few myself as experiments, using XML and even custom 
mini-macro-languages to describe objects), I don't prefer such a 
workflow in production.


The overhead of coordinating among team members is high enough with the 
even simplest tools and methods. Steven McConnell's research finds that 
adding a second programmer adds only another ~50% additional 
productivity on average, with the rest of the time spent coordinating 
between programmers.  A third programmer will add only another 30-40%, 
and the rate of diminishing returns increases with team size.  If the 
team grows larger than the project warrants it could eventually result 
in negative productivity, with more effort spent coordinating that coding.


So in short, team member coordination is expensive.  Defining the 
logical dividing lines of a project and assigning ownership of discrete 
components to team members based on key competencies helps the workflow 
parallel the execution of the code: each component should have minimal 
connections to others, and putting the best mind on each component helps 
ensure that it gets done well and with minimal interconnection issues.


If it appears that a particular UI window or library may best be served 
by having multiple programmers working on it simultaneously, that may be 
an indication of something very different, perhaps a need for 
cross-training or team member reassignment.


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


Re: Seeking Rev Consultant

2006-10-13 Thread Dar Scott

Adrian,


Is anyone interested in scripting for using a Unicode font?


I am available for both script writing and for review consulting.  I  
have some experience with Unicode and with intercepting keystrokes.   
I am aware of the major problems in using Unicode keys in arrays and  
in intercepting keystrokes (assuming those apply).


From Brian Yennie's comments on the lists over the years, I suspect  
he would be good, too.


Dar

--
**
Dar Scott
Dar Scott Consulting  and  Dar's Lab
8637 Horacio Place NE
Albuquerque, NM 87111

Lab, office, home:  +1 505 299 9497
Fax:call above first
Skype:  dar_scott

http://www.swcp.com/dsc
[EMAIL PROTECTED]

Computer programming
**


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


Re: cards of a bg not recognized !?

2006-10-13 Thread Dar Scott


On Oct 13, 2006, at 3:33 AM, André.Bisseret wrote:


In the message box if I ask :
there is bg frame2
--I get  true
If I ask :
there is last cd of bg frame2
--I get false
If I ask :
the number of cd of bg frame2
-- I get 0 ; In fact I have more than a hundred cd with this bg ?


This is a wild guess.

Maybe those more-than-a-hundred-cards have a background with a  
slightly different name.  The other name frame2 might apply to a  
background that still exists in the stack if the last one on a card  
was removed instead of deleted.  (Backgrounds belong to the stack.)


Move to a card with no groups and look at the names on the Place menu  
item and see if a different one shows up.  Or check the name of your  
group with the property inspector.


Dar

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


Re: textColor misbehaving?

2006-10-13 Thread Dar Scott


On Oct 13, 2006, at 3:34 AM, Richmond Mathewson wrote:


I have a field which contains a sentence in black.

When I attempt to change the color/colour of the text
inside the box like this:

set the textColor of fld FFF to red

it stays black


Individual characters also have the property textColor which override  
the textColor of the field.  Try this:


   set the textColor of char 1 to -1 of field FFF to red

Dar

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


Bundling externals in MacOS X standalones.

2006-10-13 Thread Andre Garzia

Folks,

where should I put a external so it will be bundled in 2.7.4 MacOS X  
standalone app. I tried opening the package and putting it in the  
Externals folder next to the application inner executable with no  
success, I also tried putting it directly next to the inner  
executable with no success either.


How should I bundle it?

The externals prop of the stack has no path info.

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


Re: Bundling externals in MacOS X standalones.

2006-10-13 Thread Mark Schonewille

Hi Andre,

First set the externals property of the mainstack to externals/ 
externalname.bundle or externals/externalname.dll. Then put the  
externals into the externals folder, which is next to the standalone.


You can include externals in the list of files to copy, in the  
standalone builder. Create a folder next to your main stack, call it  
Externals and put your externals into this folder. In the  
standalone builder, you can now add the files. When they are copied,  
the path relative to the stack will be the same (i.e. in th externals  
folder).


Best,

Mark

--

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

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 13-okt-2006, om 20:07 heeft Andre Garzia het volgende geschreven:


Folks,

where should I put a external so it will be bundled in 2.7.4 MacOS  
X standalone app. I tried opening the package and putting it in the  
Externals folder next to the application inner executable with no  
success, I also tried putting it directly next to the inner  
executable with no success either.


How should I bundle it?

The externals prop of the stack has no path info.

Andre



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


Re: slightly OT - differencing and version control

2006-10-13 Thread Mark Wieder
Chris-

Friday, October 13, 2006, 9:03:54 AM, you wrote:

 Is there something like this that even exists? I realize since Rev
 stacks contain binary data it makes things a bit more difficult. Is
 there anything out there that can handle binary files this way? If  
 not, could something like this be created with Rev? If so, how  
 difficult would it be?

Here's the approach I took: any rev object can be described by its
1. script
2. properties
3. custom properties
4. custom property sets (and 3 recursively)

I made a client-end plugin that enumerates these and sends them as
text over a socket connection to a server that stores them away as
(item,value) pairs. Checking an object out then is a matter of
grabbing the description and, item by item, issuing set commands.

Checkin:
foreColor,black
backColor,white

Checkout:
in a repeat loop:
put item 1 of line x of tDescription into tProp
put item 2 of line x of tDescription into tValue
set the tProp of control tObject to tValue

Diffing two versions of an object:
I save only the complete contents of the current version an object.
Previous versions have only the items that are different from the
next-most-recent saved. To see the difference between the two latest
versions you just have to display those items. To diff a less recent
version you work your way back down the chain.

There *are* some problems with this, notably with respect to object
ids if you need to recreate the entire stack from its descriptions or
when one developer checks in a new control and a second developer
needs to import it into an existing stack. Object ids (with the
exception of images) are immutable in rev for some reason.

Hope this helps. Next step (someday) is to integrate this with
subversion.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Seeking Rev Consultant

2006-10-13 Thread Adrian Williams

Hi Brian,
If you supply your personal email - I will contact you with the details 
off-list.

Thanks,
Adrian

On 13 Oct 2006, at 09:46, Brian Yennie wrote:


Adrian,

I am available for contract work. If you let me know what your budget 
/ timeframe are and/or send a small sample of the font, I can give you 
an estimate. I have over ten years xTalk experience (since the 
Hypercard days!) and you can probably get an idea of my scripting 
abilities by searching the list archives.


Thanks,
---
Brian Yennie
Director of Technology Integration
QLD Learning
(310)-367-7364



Is anyone interested in scripting for using a Unicode font?

The custom font may have up to 14000 characters.
255 Standard chars.
The remainder are Latin characters with attached joining strokes,
stored in the Japanese or the some Other Language part of the 
font.

Font/scripts will be used to 'join' English words.
A graphic example of the main function is shown here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

From the Users perspective...
Text is entered into A4/US Letter sized field.
As each character is entered, it 'joins' to the previous char.
After any text has been entered, User may go back and place
insertion point anywhere in the text and correct a spelling and
the word will re-join correctly.

Script efficiency is important to reduce screen flicker while 
processing

each char. A small flicker is acceptable, but not a long delay.

I will develop the interface and font(s) in Rev Studio.
I need a Rev. scriptor to create the 'joining' portion.
Just for a few joining characters to prove/test above requirements.
I will spend the long hours/days/months creating the font characters
then entering their Unicode/HTML/Decimal??? values in the script.

If interested, please contact me and I will furnish more information.
Many thanks,
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]

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

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




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

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



___
Adrian Williams Design Ltd (trading as Club Type),
44 Mill Lane,
Merstham,
Redhill,
Surrey RH1 3HQ, UK

Telephone/Facsimile: 01737 643300
dFax (computer reception): 0870 0515681

International tel/fax (UK)+44 1737 643300
International dFax:  (UK)+44 870 0515681

Email: [EMAIL PROTECTED]
Website: http://www.clubtype.co.uk

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


Re: Seeking Rev Consultant

2006-10-13 Thread Adrian Williams

Hi Dar,
Thanks for the offer. I *may* be in touch.
Adrian

On 13 Oct 2006, at 18:49, Dar Scott wrote:


Adrian,


Is anyone interested in scripting for using a Unicode font?


I am available for both script writing and for review consulting.  I 
have some experience with Unicode and with intercepting keystrokes.  I 
am aware of the major problems in using Unicode keys in arrays and in 
intercepting keystrokes (assuming those apply).


From Brian Yennie's comments on the lists over the years, I suspect he 
would be good, too.


Dar

--
**
Dar Scott
Dar Scott Consulting  and  Dar's Lab
8637 Horacio Place NE
Albuquerque, NM 87111

Lab, office, home:  +1 505 299 9497
Fax:call above first
Skype:  dar_scott

http://www.swcp.com/dsc
[EMAIL PROTECTED]

Computer programming
**


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

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



___
Adrian Williams Design Ltd (trading as Club Type),
44 Mill Lane,
Merstham,
Redhill,
Surrey RH1 3HQ, UK

Telephone/Facsimile: 01737 643300
dFax (computer reception): 0870 0515681

International tel/fax (UK)+44 1737 643300
International dFax:  (UK)+44 870 0515681

Email: [EMAIL PROTECTED]
Website: http://www.clubtype.co.uk

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


question about launch documentpath

2006-10-13 Thread jbv
Hi list,

when executing

launch documentpath with applicationpath

is it possible to know the coordinates (size  position) of the
window opened by the app (for a snapshot of that specific screen
portion for instance) ?

Thanks,
JB

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


textColor misbehaving?

2006-10-13 Thread Richmond Mathewson
Thank you all so much for your helpful suggestions.

In the end I plumped for Devin Asay's method.

Now, being the type of person I am (cough, cough):

I would like to know WHY the method which is described
in the Documentation didn't work . . .

sincerely, Richmond Mathewson



Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases.
   Mathewson, 2006


Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Bundling externals in MacOS X standalones.

2006-10-13 Thread Andre Garzia

Hi Mark,

this didn't work for me out of the box. To make this work, I had to  
trap the Startup message and set the defaultfolder to the path of  
the inner stack or it would not find the externals folder next to the  
main stack.


Cheers
andre

On Oct 13, 2006, at 3:12 PM, Mark Schonewille wrote:


Hi Andre,

First set the externals property of the mainstack to externals/ 
externalname.bundle or externals/externalname.dll. Then put the  
externals into the externals folder, which is next to the standalone.


You can include externals in the list of files to copy, in the  
standalone builder. Create a folder next to your main stack, call  
it Externals and put your externals into this folder. In the  
standalone builder, you can now add the files. When they are  
copied, the path relative to the stack will be the same (i.e. in th  
externals folder).


Best,

Mark

--

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

Get your store on-line within minutes with Salery Web Store  
software. Download at http://www.salery.biz


Op 13-okt-2006, om 20:07 heeft Andre Garzia het volgende geschreven:


Folks,

where should I put a external so it will be bundled in 2.7.4 MacOS  
X standalone app. I tried opening the package and putting it in  
the Externals folder next to the application inner executable with  
no success, I also tried putting it directly next to the inner  
executable with no success either.


How should I bundle it?

The externals prop of the stack has no path info.

Andre



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

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


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


Forums are Back

2006-10-13 Thread Lynn Fredricks
Hi all,

The forums are back, however unfortunately we werent able to restore them
completely to the point where they were right before they went down. If you
get a message that you do not have an account, it could be because...there
isnt one.

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd

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


Re: Seeking Rev Consultant

2006-10-13 Thread Dar Scott

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


Re: textColor misbehaving?

2006-10-13 Thread Devin Asay


On Oct 13, 2006, at 1:08 PM, Richmond Mathewson wrote:


Thank you all so much for your helpful suggestions.

In the end I plumped for Devin Asay's method.

Now, being the type of person I am (cough, cough):

I would like to know WHY the method which is described
in the Documentation didn't work . . .


I don't know what part of the documentation you're referring to, but  
maybe the docs make the (sometimes faulty) assumption that no other  
styles, colors, etc. have been applied to the text within the field.  
Maybe a candidate for a documentation correction?


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: slightly OT - differencing and version control

2006-10-13 Thread Chipp Walters

Chris,

We have a version of altSubversion (the altuit external for the
opensource subversion document/code management software) lying around
somewhere. It's super easy to script and takes a lot of the work out
of having to manage files (like MGC has to do). Try contacting chris
at Altuit and I believe he can help you out.

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


Re: Comparison of Multimedia

2006-10-13 Thread Luis

Found this for format conversion, might be worth a look:

http://www.techspansion.com/visualhub/

Cheers,

Luis.


On 12 Oct 2006, at 1:26, Luis wrote:


Hiya,

Ok, I'll get the feelers out on QT: I'll get back to you as soon as  
I get word back.


Cheers,

Luis.

On 11 Oct 2006, at 5:02, GregSmith wrote:



Luis:

Anything you can dig up regarding the future of QuickTime on iPods  
is of
definite interest to me. And, as far as QuickTime development  
software goes,
VideoClix seems to be holding its own while other companies are  
floundering,
(TotallyHip seems to be more of a consullting firm, now, than a  
software
producer).  iShell also has had to regroup and is now under the  
flagship of

another company.  All this news beats me.

Thanks again,

Greg Smith



Luis-24 wrote:


If you're looking to the iPod market:

Ever the cheapo me... Look at this: http://www.apple.com/quicktime/
tutorials/creatingvideo.html
QT pro is $30.

There are rumours about (and with the new releases having games and
all!) that the firmware may be updated to support QT VR, adding
interactivity to QT files on the iPods... (VideoClix probably has
it's own QT codec for this). Lemme know and I'll try to dig up more
info if you like.

Need to sleep now.

Cheers,

Luis.


On 11 Oct 2006, at 0:21, Luis wrote:


Hiya,

From their site:

VideoClix 2.9 Lite  Updates For: Short video Blogs
Quicktime
$ 49 US

VideoClix 2.9 Edu For: Educational use  Podcasts
Quicktime, AVI, Mpeg1  4, DV
$ 249 US

VideoClix 2.9 Pro For: Commercial use
Quicktime, AVI, Mpeg1  4, Flash, DV
$ 699 US

VideoClix OEM License
$ 9995 US

Are you nuts! Or loaded? (Are you married?... ;)

The interface looks very simple, but it doesn't look like it
couldn't be done with Revolution and the EnhancedQT External (have
a look at: http://www.runrev.com/spotlight_on/alida1.php to see
what I mean. No EQT, but then again, he didn't need it). Revolution
and EQT could be used to create your own 'creator'. The export
formats would probably be doable with Media Cleaner (now Autodesk
Cleaner, I think it's $500) or some other app.
I haven't tried it, and at those prices... Although the Commercial
licence isn't too bad considering others around. Norpath and
QuickMedia are roughly half the price. It really depends what your
target markets are.
I'd opt for the cheap end, and if I find I'm rolling in it I'd
invest in a broader market by purchasing, possibly, such an app.
But man, $9995 just for rebranding?! I'm sure with Revolution, EQT
and some other apps you could do it for a fraction of the cost.
Even though I do like Norpath, a lot, it still falls short for some
other things I want to do (MIDI panning for example. It has it, but
not 'controllable'). I'd easily be able to do the same as
VideoClix, and then work on the export formats with some other app
(probably find a freebie somewhere in Sourceforge).
Kagi integration would be cool, but then there are other ways to
integrate payment systems. Like I said, I'd start small and work up
from there.

Download the trial and see. But really test the trial and see what
support you get for any issues you crop up with. After that, well,
it's your money!
But at first glance, looking at the capabilities of the other apps,
it doesn't tempt me at the moment, it's too specific, and the
projects I have lined up need greater flexibility and facilities.

I'm sure more experienced Transcript coders than me on this list
would be able to drum up something similar (dang! There goes
another idea...).

Let me know what you think!

Cheers,

Luis.


On 10 Oct 2006, at 22:53, GregSmith wrote:



Luis:

Now that we're discussing various multimedia software, what about
VideoClix?
If it had Kagi KRM, I'd buy it today.  The thing about VideoClix
is, again,
no forum, not much apparent support, no demo at all and a high
price tag.
Now, how do they expect to get customers that way?  Although,
every review
is favorable and Apple, itself, (herself, himself), uses this
QuickTime
dedicated software.  Now, just casually considering all of the
stuff it
allows you to do inside the QuickTime container, and how universal
QuickTime
is becoming, (imagine dispensing training solutions via iPods), I
can even
imagine being able to put together a rather primitive adventure
game, just
by using this app.  What do you know or think about it?

Greg Smith



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




--
View this message in context: http://www.nabble.com/Re%3A- 
Comparison-of-Multimedia-tf2417422.html#a6749941

Sent from the Revolution - User mailing list archive at Nabble.com.

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

running handlers

2006-10-13 Thread Jon Seymour
Is there a way to find out the names of all handlers currently  
running, that is, those that have started but not yet finished?

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


Re: running handlers

2006-10-13 Thread Dar Scott


On Oct 13, 2006, at 7:09 PM, Jon Seymour wrote:
Is there a way to find out the names of all handlers currently  
running, that is, those that have started but not yet finished?


There is only one thread in Revolution so all handlers that are  
currently running are those on the call stack.  The top one is  
triggered by an event or send (and for send I guess the clock change  
is an event).  The rest are called by that directly or indirectly or  
triggered by an event or send in 'wait ... with messages'.


You can see those with the unsupported property executionContexts.   
You should be able to figure out how to parse it with a little  
experimenting.  Item -1 is the line number within the handler, -2 is  
the name of the handler and item 1 to -3 is the long id of the object  
the handler is in.


It does miss some handlers.  For example, it misses any handlers  
executing 'wait ... with messages'.  (That might be there to solve  
some other problem.)  In some cases you can find the skipped handler  
but that might take some work.


Dar


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


Re: running handlers

2006-10-13 Thread Dar Scott


On Oct 13, 2006, at 7:48 PM, Dar Scott wrote:

Item -1 is the line number within the handler, -2 is the name of  
the handler and item 1 to -3 is the long id of the object the  
handler is in.


Whoops.  I mean for each line with the first line being the top and  
the bottom line being the one that accessed the executionContexts  
property.


Dar

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


Danish Windows tester needed

2006-10-13 Thread Sarah Reichelt

Hi All,

As I have already announced, I have a program called Pic-a-POD
http://www.troz.net/Pic-a-POD/ that downloads various pictures of
the day and uses them to set  change your desktop. I was contacted by
a Dane who asked me to translate it into Danish. With him supplying
the translations, I have done this and he has tested it on his Danish
Mac OS X system.

I have a Danish version for Windows also and it seems to work fine on
my Windows system, but I would really like to have it tested on a
Danish system before releasing it. If there is anyone out there
running Windows in Danish who would be prepeared to test it for me,
please contact me off-list.

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