Re: MySQL help

2004-07-16 Thread Sarah Reichelt
Hi Larry,
I haven't time at the moment to give you a detailed answer, but if you  
download the stack MySQLtests.rev from my web page, you can follow how  
to firstly connect to a database and then get data from a query using  
that connection. If you need any more help after that, please ask.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
On 15 Jul 2004, at 8:01 pm, Larry Koscianski wrote:
I new to Revolution.   Used to work with HyperCard, many many years  
ago.
Lost most of it.

I have a MySQL database running @ the office.
I'm writing a Revolution screen to display one record.
I can display a table - no problem.
I want to enter a part#, press the button, and have the results of the  
SQL Query fill my card fields.
I'm building my SQL Query then executing it in the revQuerydatabase  
command.  like this;

on mouseup
  put (Select * from parts where partnumber='  field  
searchpartnumber  ') into card field sqlquery
  get revQueryDatabase (mcss, field sqlquery,field  
partnumber,field description,field labor,field  
exchangeprice,field stockprice)
end mouseup

Can you help
Thanks
--- 
---
Larry Koscianski
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Mail List problems

2004-07-16 Thread K


It seems I am no longer receiving and posts to the use-revolution mailling list should 
I recreate my account? 

NOTE: I am currently reading postings via the archives.

K

-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Color Converter 2

2004-07-16 Thread FlexibleLearning
 
Link should now be fixed to ColorConverter2. A standAlone version is also  
now available for Windows users.
 
/H
_www.FlexibleLearning.com/xtalk_ (http://www.FlexibleLearning.com/xtalk)  
 
 

Hi  Hugh,

The link you provide on your page for ColorConverter2 isn't  working.

-Chipp

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


UUID Generation

2004-07-16 Thread K


I use UUIDs in a considerable amount of my *NIX and Win32 C++ applications (Temporary 
file names, Object Ids etc.).  I was wondering if anyone has written a 
function/command for Runtime Revolution?

Kevin


-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Thanks Rob

2004-07-16 Thread K

Rob thanks for the response reguarding preOpenStack.  I actually found it more useful 
than even I expected.  I had not idea of the existance of the keyword control! You 
just changed my entire view of components.

Kevin



-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: UUID Generation

2004-07-16 Thread MisterX
K,

what do you want to accomplish?

Generate or get the file ids?

if it's the later, check out www.sysinternals.com

for the first, internal file id tracking,
just add 1 to a fileID, you can work as many as 2^48 files or folders!

then use the file array object

  filearray[fileid,path|name|type|size|data]

put filesize(filearray[fileid,path) into filearray[fileid,size]
put filearray[123,filename) cR after afilelist

cheers
Xavier


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of K
 Sent: Friday, July 16, 2004 10:27
 To: [EMAIL PROTECTED]
 Subject: UUID Generation




 I use UUIDs in a considerable amount of my *NIX and Win32 C++
 applications (Temporary file names, Object Ids etc.).  I was
 wondering if anyone has written a function/command for Runtime Revolution?

 Kevin


 -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
 Disclaimer:

 Any resemblance between the above views and those of my
 employer, my terminal, or the view out my window are purely
 coincidental.
 Any resemblance between the above and my own views is non-deterministic.

  The question of the existence of views in the absence of anyone to hold
 them
 is left as an exercise for the reader. The question of the existence of
 the reader
  is left as an exercise for the second god coefficient.
 (A discussion of non-orthogonal, non-integral polytheism is beyond the
 scope of this article.)



 ___
 Join Excite! - http://www.excite.com
 The most personalized portal on the Web!
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: focus color and osx

2004-07-16 Thread Klaus Major
Hi Sarah Reichelt:
Note that although this system setting is used and cannot be 
overridden by a
setting in Rev, the system highlight color setting is used by 
default but CAN be
overridden by your own setting.
Is there a way to retrieve this OS X system hilite color?
In a plist or something?
I would like my fake lists (a graphic faking the hilite!) to use 
the currently selected
system hilite color, too...
Yes, get the hiliteColor when your app or Revolution first starts.
It is set to the system hilite color on startup.
GREAT!
Thank you very much, Sarah :-)
Sarah
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Q: using combo boxes

2004-07-16 Thread Jim Lyons
On Jul 15, 2004, at 7:12 PM, jeanne a. e. devoto wrote:
At 10:19 AM -0400 7/15/04, Jim Lyons wrote:
I am missing something really basic about using combo boxes.
...
 How do I get/set the contents of the field?
To get (from How to determine the current selection in a menu):
   get the selectedText of button My Combobox
Nope, this does not give you the contents of the field. It returns 
empty.

To set the field contents to one of the choices in the menu (from
How to change the selected item in an option menu or combo box):
   set the menuHistory of button My Combobox to 2 -- or whatever line
Yes ma'm, I know how to do this part. 8^)
I actually don't think there's any way to set the field contents to a
line that's not in the menu from a script. (Does anyone know of one?)
Richard Gaskin said to use the effective label, and in fact this 
works, as does just label. I searched on effective label and got 
just one hit, on label, and it very clearly explains this use for 
combo boxes. I wondered why I hadn't found this in the docs, so I went 
back and repeated the search on combo box. It did not return the 
entry for label among the 22 hits. 8^/  (Rev 2.2.1 OS 10.3)

Anyway, thanks for the reply. I use the docs dozens of times a day and 
usually find exactly what I want, along with several other useful 
things I didn't know. Can't wait to see the new version...

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


Re: Documentation Books+promise+finish!

2004-07-16 Thread Wolfgang M . Bereuter
Sorry that I m so late finishing this threat and fulfilling my promise 
of an example.

On 11.07.2004, at 21:27, Marian Petrides wrote:
Beginners (especially) need things explained to them in what I call 
people language.  My post was intended to demonstrate how that can 
be done. I hate the name for Dummies but using the term is the 
quickest way to get the point across.  In order to hook beginners, 
we need introductory material such as would appear in a book entitled 
Revolution for Dummies.  :-0)
thats exactly what I m tried to say - but in better english;)
I realize now, but didn't when I made my post, that Judy wasn't 
looking for that kind of answer. At the time I thought she was (sorry, 
Judy!).
It was my impression too.
!Important: pls dont analyze these examples for correct content. I did 
_not_ learn what an Array is. I tried only to show, what kind of 
book/exemple stack/tool I would like to learn new/unknown content. And 
how would I restructure rev examples.
It is only a first draft. To become a real brainfriendly 
book/tool/MM-App/ it would need a lot more of conceptional and detail 
work.

please have a look first at arrayexplication and then at arrayexample 
to understand naturally like a beginner learner.
To make an important point more clearer; understanding and remembering 
is not only an issue of beinners. A better understandable structure and 
a more selfexplaining grafical UI helpes also the professionals to get 
it faster and remember more effectively.

http://www.internettrainer.com/9files/revolution/arrayexplication.html
http://www.internettrainer.com/9files/revolution/arrayexample.html
On 11.07.2004, at 19:52, Judy Perry wrote:
Head on over to the new Yahoo group Richard  Dan have set up on this
topic:
http://groups.yahoo.com/group/RevDocs
If you're willing to collaborate...
Hope to see you over there!
Thanks Judy, I ll check that!
thanks to all for you patience and for your very interesting ideas too.
regards
Wolfgang M. Bereuter
TrainingsmapsĀ© -- speadreading Mindmaps!
INTERNETTRAINER Wolfgang M. Bereuter
Edelhofg. 17/11, A-1180 Wien, Austria
...
http://www.internettrainer.com
[EMAIL PROTECTED]
...
Tel: ++43/1/ 961 0418 Fax: ++43/1/ 479 2539
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: UUID Generation

2004-07-16 Thread K


I am aware of the C++/Visual Basic code to generate a UUID including those on 
sysinternals.  I am looking for a (portable) 'RR' implementation of the UUID 
algorithum.


Kevin

-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to load a property with an Array?

2004-07-16 Thread Michael D Mays
Thanks to all! I was concerned about the cat to rat ratio, but Jacque 
cleared that all up.;)

Michael
On Jul 15, 2004, at 10:41 AM, Jeanne A. E. DeVoto wrote:
At 9:52 PM -0500 7/14/04, Michael D Mays wrote:
Can I set an array directly into a custom property or do I have to 
'combine' the array before setting it and then 'split' it after I get 
it in order to use it as an array?
You can set it directly.
Technically, what you get in this case is a custom property set - with 
each element being a property in that set. But for your purposes the 
distinction doesn't matter, because you address the properties in a 
custom property set with array notation:

  set the customProperties[pets] of this card to myPetInventory -- 
array
  put the pets[dog] of this card into field Number of Dogs
  set the pets[cat] of this card to 14
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com

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


Discovering and learning to use Rev

2004-07-16 Thread sims
Is there one type of person who is drawn towards learning and
using a scripting language such as Transcript? Not a chance.
Is there only one method for learning how to make things with Rev?
Absolutly not.
Here is the first in a series on interviews with people who
have become highly skilled at making things with Rev. They
provide snapshots of how people found and learned to
use Rev.
Why path lead Klaus Major to Rev and how did he learn Transcript?
Find out here:http://techietours.com/Rev/profile_km.html
We are trying to estimate how many people are interested in attending
the European Rev Conference 14-15-16  November 2004 in Malta.
If you are considering, pondering, not sure, certain, or are one of those
last minute decision types please send me an email. No obligation.
We are simply trying to estimate so we can provide  plan for the best
experience possible.
Send an email to [EMAIL PROTECTED] if you *might* attend in November.
Thanks,
sims
--
Tech Conferences  http://TechieTours.com
We make...
iBirthday  http://EZPZapps.com/iB
SmartDoghttp://EZPZapps.com/SmartDog
Kartolina  http://EZPZapps.com/kartolina
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: IDE speed

2004-07-16 Thread Kenneth Rabe
You are probably experiencing a memory leak.  Once the memory size of 
the IDE reaches a certain point, it slows down dramatically and only 
restarting the application will help.

Hershel Fisch wrote:
Hi all,
I'm wondering why my IDE is slowing down dramatically , I mean 
dramatically , its slower then typing with one hand , I type a line 
and then have to wait ... till it finishes and then till a window 
opens up and so on.
Thanks.

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


Color conversion question

2004-07-16 Thread John Rule
Hello everyone,

  Is there a routine to convert a color constant name (i.e. 'black') to the
triple RGB value? I can't seem to find anything in the docs, and I have
tried all of the tricks I know...

Thanks,
JR

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


How many chars in each wrapped line?

2004-07-16 Thread John Rule
I am trying to calculate the number of chars in each line of a wrapped
field...there doesn't seem to be any property value that helps either. Any
ideas?

Thanks,
JR

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


Re: How to load a property with an Array?

2004-07-16 Thread Mark Brownell
on 7/16/04 7:13 AM, Michael D Mays at [EMAIL PROTECTED] wrote:

 Thanks to all! I was concerned about the cat to rat ratio, but Jacque
 cleared that all up.;)
 
 Michael

Not so fast! Here on the island of Dr. Moreau we have managed to put the cat
and the rat together using a pull-parser.

mb

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


Re: IDE speed

2004-07-16 Thread Hershel Fisch
On Friday, July 16, 2004, at 10:43 AM, Kenneth Rabe wrote:
You are probably experiencing a memory leak.  Once the memory size of 
the IDE reaches a certain point, it slows down dramatically and only 
restarting the application will help.
Well I did restart the application a few times  and guess what ... 
didn't help. What did help , to restart the computer.
Thanks.
Hershel Fisch wrote:
Hi all,
I'm wondering why my IDE is slowing down dramatically , I mean 
dramatically , its slower then typing with one hand , I type a line 
and then have to wait ... till it finishes and then till a window 
opens up and so on.
Thanks.

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


Re: How many chars in each wrapped line? - never mind!

2004-07-16 Thread John Rule
put the number of chars in Line 1 of the formattedText of fld myText into
myChars

:-)

JR


- Original Message - 
From: John Rule [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 16, 2004 8:30 AM
Subject: How many chars in each wrapped line?


 I am trying to calculate the number of chars in each line of a wrapped
 field...there doesn't seem to be any property value that helps either. Any
 ideas?

 Thanks,
 JR


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


Re: Color conversion question

2004-07-16 Thread FlexibleLearning
 



Try ColorConverter 2 at _http://www.FlexibleLEarning.com/xtalk_ 
(http://www.FlexibleLEarning.com/xtalk) 
 
You will see that it applies the colorName to an object, then gets the  
backcolor of the object returned in RGB.
 
/H
 
-
Hello everyone,

Is there a routine to convert a color  constant name (i.e. 'black') to the
triple RGB value? I can't seem to find  anything in the docs, and I have
tried all of the tricks I  know...

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


Re: Color conversion question

2004-07-16 Thread Troy Rollins
On Jul 16, 2004, at 12:07 PM, [EMAIL PROTECTED] wrote:
Try ColorConverter 2 at _http://www.FlexibleLEarning.com/xtalk_
(http://www.FlexibleLEarning.com/xtalk)
You will see that it applies the colorName to an object, then gets the
backcolor of the object returned in RGB.
For what it's worth, URLs generally work best in email clients when 
surrounded by angle brackets -

http://www.FlexibleLEarning.com/xtalk
This will even allow them to be valid when wrapped by the email client. 
and in many cases helps them to be recognized as URLs.

BTW - the color converter tool is very cool.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How many chars in each wrapped line?

2004-07-16 Thread Richard Gaskin
John Rule wrote:
I am trying to calculate the number of chars in each line of a wrapped
field...there doesn't seem to be any property value that helps either. Any
ideas?
Look at the formattedText.
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Remember the NSProgressIndicator OS X?

2004-07-16 Thread Wouter
For those who like to play,
paste the following starter script into a button:
constant cStar = grc runningStar
local aPoints,runState,Cp
on mouseUp
  if runstate  = 0 then set the label of me to Stop Running
  else set the label of me to 
  if runstate  0  then
stopLines
exit to top
  end if
  if there is no grp runningStar then goCreateSome
  put the right of me + 20,item 2 of the loc of me into CP
  put 9 into runState
  delete var aPoints
  prepArray  11,7
  startLines
  runLines
end mouseUp
on stopLines
  repeat with i = 7 down to 1
put cStar  i into tStar
hide tSTar
wait 50 millisecs
  end repeat
  put 0 into runState
end stopLines
on startLines
  repeat with i = 7 down to 1
put cStar  i into tStar
put runstate - i  + 1 into x
if x = 0 then add 12 to x
set the points of tSTar to aPoints[x]
show tSTar
wait 70 millisecs
  end repeat
end startLines
on runLines
  if runState  0 then
repeat with i = 1 to 7
  put cStar  i into tStar
  put runstate - i  + 1 into x
  if x = 0 then add 12 to x
  set the points of tSTar to aPoints[x]
end repeat
if runstate = 12 then put 1 into runstate
else add 1 to runState
send runLines to me in 70 millisecs
  end if
end runLines
on prepArray  tG,tK
  put item 1 of Cp into tX
  put item 2 of Cp into tY
  put (2 * pi / 12) into sRad
  repeat with i = 1 to 12
put trunc(tG * cos (sRad * i)) + tX into a
put trunc(tG * sin (sRad * i)) + tY into b
put trunc(tK * cos (sRad * i)) + tX into c
put trunc(tK * sin (sRad * i)) + tY into d
put a,b  cr  c,d into aPoints[i]
  end repeat
end prepArray
### for those who like 1 liners,
###beware of the linewrap
put trunc(tG * cos (sRad * i)) + tX,trunc(tG * sin (sRad * i)) + tY  
cr  trunc(tK * cos (sRad * i)) + tX,trunc(tK * sin (sRad * i)) + tY  
into aPoints[i]
###

on goCreateSome
  put 110 into tX
  repeat with i = 1 to 7
put tX,tX,tX into tColors[i]
add 20 to tX
  end repeat
  repeat with i = 1 to 7
put cStari into tStar
do create invisible  tStar
set the style of tStar to polygon
set the linesize of tStar to 2
set the colors of tStar to tColors[i]
put the name of tStar  and   after tList
  end repeat
  delete last word of tList
  do group  tList
  set the name of last grp to runningStar
  choose browse tool
end goCreateSome

Have fun.
Greetings,
WA
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Remember the NSProgressIndicator OS X?

2004-07-16 Thread Troy Rollins
On Jul 16, 2004, at 2:23 PM, Wouter wrote:
For those who like to play,
Very awesome.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


ColorConverter 2

2004-07-16 Thread FlexibleLearning
A bug fix and some improvements to the RGB/WebCode/ColorName/Blend color  
format conversion utility at _http://www.FlexibleLearning.com/xtalk.htm_ 
(http://www.flexiblelearning.com/xtalk.htm)  
 
/H
 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Refer to Cards

2004-07-16 Thread Roger Guay
I have a large script which I would like to operate on a number of 
identical cards.  The script is at the stack level and I need to refer 
to each of the identical cards in sequence.  Is there a way to put the 
focus on a specific card with a (single) line of script without having 
to specify the card in every one of the lines?  It would simplify my 
script immensely if I didn't have to insert the card name everywhere!!

Thanks for your help, Roger
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Refer to Cards

2004-07-16 Thread Wouter
From: Roger Guay
 Date: Fri, 16 Jul 2004 17:23:26 -0700
 I have a large script which I would like to operate on a number of 
identical cards. The script is at the stack level and I need to refer 
to each of the identical cards in sequence. Is there a way to put the 
focus on a specific card with a (single) line of script without having 
to specify the card in every one of the lines? It would simplify my 
script immensely if I didn't have to insert the card name everywhere!!

Thanks for your help, Roger

Hi Roger,
Have a look at the mark command and the marked keyword in the 
transcript dictionary
(don't forget unmark)

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