Re: Globals confusion

2005-04-21 Thread Kaveh Bazargan
At 8:28 am +0200 21/4/05, [EMAIL PROTECTED] wrote: >make a little handler in your stack that says > >on putGlobal what > do "global" && what > do "put" && what >end putGlobal > >That should help. Certainly does. This is what I was missing. At any point I can make a variable global, then access it.

OT: Adobe kills Director

2005-04-21 Thread Alex Shaw
hi usually try not to get to caught up in these sort of things but i saw this quote from a ex-Macromedia worker (unconfirmed) on slashdot.. "Adobe will kill off Director within 3 years." Good thing the revolution has all ready started :) regards alex __

Re: OT: Adobe kills Director

2005-04-21 Thread Richard Gaskin
Alex Shaw wrote: usually try not to get to caught up in these sort of things but i saw this quote from a ex-Macromedia worker (unconfirmed) on slashdot.. "Adobe will kill off Director within 3 years." But Macromedia was likely to kill it off themselves in 3 or 4 years anyway. Think about it: Wi

Thanks! Was Simple Scoping Question

2005-04-21 Thread David Burgun
Hi, I would just like to say thanks to everyone that helped me resolve this problem! It is obviosuly FUNDAMENTAL to the whole RunRev experience, but I had missed it. I have had the IDE crashing all over the place and all kinds of weird behavour for ages, now that I've fixed the the whole RunRev

Re: playing video on PCs

2005-04-21 Thread Signe Marie Sanne
Signe Marie Sanne skrev: sims skrev: I need to play video on both OS X and Windows machines which will for the most part be business computers - corporate office machines. The Mac part I can figure out and will be able to use QuickTime. Some PC machines will not have QuickTime installed and will no

Re: playing video on PCs

2005-04-21 Thread sims
At 1:08 PM +0200 4/21/05, Signe Marie Sanne wrote: I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be found either in User spaces under "sms", or under Programming. If anyone finds out how to avoid flickering in closeVideo, I would be grateful to get the scripts. -- Signe Marie Sa

Re: playing video on PCs

2005-04-21 Thread Klaus Major
Hi Marie, At 1:08 PM +0200 4/21/05, Signe Marie Sanne wrote: I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be found either in User spaces under "sms", or under Programming. If anyone finds out how to avoid flickering in closeVideo, I would be grateful to get the scripts. -- Sign

Re: playing video on PCs

2005-04-21 Thread xbury . cs
Klaus, >This does indeed shed some light on the (for me) mysterious >mciSendString stuff... :-) I just [re-]discovered yesterday that there's a full mcistring tutorial in the metacard tools. MCtools stack -> Tools Menu -> Last item -> Tools.metacard.com and click on the mci demo... cheers Xa

Re: playing video on PCs

2005-04-21 Thread Klaus Major
Hi Xavier, Klaus, This does indeed shed some light on the (for me) mysterious mciSendString stuff... :-) I just [re-]discovered yesterday that there's a full mcistring tutorial in the metacard tools. MCtools stack -> Tools Menu -> Last item -> Tools.metacard.com and click on the mci demo... tell m

Re: playing video on PCs

2005-04-21 Thread xbury . cs
Na Klaus, Sorry to hear that! ;) I thought I had found the "right" stuff ;) I'll send you what I find as I find it. Sorry if it's obsolete news ;) Why is it that the programmers that implement this cannot document it or make it clear for the users I wonder? cheerios Xavier On 21.04.2005 14:

Re: Simple Scoping Question

2005-04-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Now if only more people would read the archives *before* posting the questions, the list would have more answers to fewer questions (allowing time for things to catch up...) On Apr 20, 2005, at 9:28 PM, J. Landman Gay wrote: We try to answer question

Re: playing video on PCs

2005-04-21 Thread Klaus Major
Hi X, Na Klaus, Sorry to hear that! ;) I thought I had found the "right" stuff ;) I'll send you what I find as I find it. Sorry if it's obsolete news ;) Don't worry, it's the thought that counts... ;-) Why is it that the programmers that implement this cannot document it or make it clear for the us

General approach question

2005-04-21 Thread Mark Smith
Here's a question, as much philosophical as practical, and I wonder what the list makes of it. I have an app for keeping track of stock and futures trades. The data is effectively a list of days, each day containing a list of open trades, one per line, with the details as items in each line. C

Re: Simple Scoping Question

2005-04-21 Thread Mikey
The problem with the archives is that a) responses here are very fast (in other words, y'all make it easy), and the culture is permissive b) Honestly, the archive search tools are not as easy to use c) Most of the responses are not so complicated as to discourage the responders from telling the noo

Re: Unicode Displaying in Runtime Revolution #2

2005-04-21 Thread Trevor DeVore
On Apr 20, 2005, at 10:30 PM, Marisa K. wrote: Hi Trevor, Thank you agian for your suggestion. You are right about the database of UTF-8. :-) However, I've tried on that, too, but the result is the same!! I wrote script as: on openCard global tID set the unicodeText of fld testDB to uniEncode(

Re: General approach question

2005-04-21 Thread Mikey
It's the beauty of RR and SC and HC before it - the language lets you do things a zillion different ways, and the environment lets you do things a zillion different ways, too. If the volume of trades that you are tracking isn't enormous, then who cares? Do what's easy. Don't think of a stack as

Re: replaceText in Rev cgi

2005-04-21 Thread paolo
Hi JB may I ask you where did you get a rev 2.5 engine cgi Linux? I thought there was only the rev 2.0 engine cgi available is there a new engine cgi also for mac and windows? I should install the cgi rev engine on a FirstClass server. In MACOX it works fine ... I put the engine on the cgi

Re: OT: Adobe kills Director

2005-04-21 Thread Mikey
I'm with you, Richrad. Who cares? Director is old and redundant. It hasn't been innovative in quite a while. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God p

Re: replaceText in Rev cgi

2005-04-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 2.5 has *been* out for Linux. It's the other *NIX platforms where Rev has been coming up short -- BSD, Solaris, Irix, etc. On Apr 21, 2005, at 11:30 AM, paolo wrote: Hi JB may I ask you where did you get a rev 2.5 engine cgi Linux? I thought there wa

Slider thumbPosition crazy values

2005-04-21 Thread Dennis Brown
I am really baffled debugging what should be a non-problem, but I must be missing something basic. I was trying to debud why my script would not work and I worked it down to this symptom. I made two sliders that go from 1 to 44, increment 1, show value. The first one "startQ" works as expecte

Re: Slider thumbPosition crazy values

2005-04-21 Thread Mark Talluto
On Apr 21, 2005, at 10:17 AM, Dennis Brown wrote: I am really baffled debugging what should be a non-problem, but I must be missing something basic. I was trying to debud why my script would not work and I worked it down to this symptom. I made two sliders that go from 1 to 44, increment 1, sho

Re: Slider thumbPosition crazy values

2005-04-21 Thread Dennis Brown
Thanks Mark, I also just "fixed" the problem by putting a script into the sliders (slider 1 also started generating crazy values the more I tested it). on mouseup set thumbPosition of me to round( thumbposition of me) end mouseup So I can fix it, but it still doesn't explain why I should have t

Re: Slider thumbPosition crazy values

2005-04-21 Thread Eric Chatonet
Hi Dennis, Your problem is with the numberFormat property: By default, the numberFormat property is set to 0.##. BUT (see the docs) the numberFormat of newly created scrollbars is set to empty. So you have a scrollbar whose behaviour accords with default numberFormat value and another with sc

Re: CSS

2005-04-21 Thread Dan Shafer
Thanks for the kind words. Reviewers seem to be very hot or very cold on it. you've read it once more than I have! On Apr 20, 2005, at 10:09 PM, Sivakatirswami wrote: And Dan, as an owner of HTML Utopia... I want to thank you... without your book I don't think I could have made the bridge from t

Re: Slider thumbPosition crazy values

2005-04-21 Thread Mark Talluto
On Apr 21, 2005, at 10:54 AM, Dennis Brown wrote: Thanks Mark, I also just "fixed" the problem by putting a script into the sliders (slider 1 also started generating crazy values the more I tested it). on mouseup set thumbPosition of me to round( thumbposition of me) end mouseup So I can fix it

Re: Slider thumbPosition crazy values

2005-04-21 Thread Dennis Brown
Thanks Eric, Setting the Value Format for the slider let me see that the slider does not increase in unit values of the scale marker even though the scroll distance on bar click is set to 1. I guess the units were close because of the sizing I applied to the object so that it appeared that it

closeStackRequest and closeStack problems

2005-04-21 Thread David Burgun
Hi, I have the following scripts in CARD script of Card 1 - this is to avoid problems when doing saves etc. in the IDE. If I run the Stack, click the dirty button and then click the window close box, I get the following events: closeStackRequest closeStack And it saves as Planned - ALWAYS I

New substacks are black

2005-04-21 Thread Varen Swaab
Hi all, Here is a problem that is probably something really stupid that I'm doing, just can't figure out what. In my application when I create a new substack the window comes up black. There is no color property in the inspector, the window is just black. I can change the color of the window by

Re: New substacks are black

2005-04-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Okay, sounds like the background color of the main stack is black. This is inherited by the substacks (and thus the dialog boxes) of that stack unless you explicitly specify a background color of the substacks. On Apr 21, 2005, at 3:29 PM, Varen Sw

Re: New substacks are black

2005-04-21 Thread Devin Asay
On Apr 21, 2005, at 1:29 PM, Varen Swaab wrote: Hi all, Here is a problem that is probably something really stupid that I'm doing, just can't figure out what. In my application when I create a new substack the window comes up black. There is no color property in the inspector, the window is just

Re: New substacks are black

2005-04-21 Thread Varen Swaab
Thanks, you're absolutely correct, the color was inherited from the mainstack. I'm not sure I would have figured that out myself even if I spent a day on the problem. I'm grateful for this discussion to help with problems like this!! Varen On Apr 21, 2005, at 1:07 PM, Devin Asay wrote: On Apr 2

line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
I am confused can someone help me Thanks I have a for each repeat statement in my script. The global "theKeys" holds a list of valid images that can be clicked. If it is a valid key/image then I want to find out what line it is on in that global since I have a field that I want to hi

Re: line number in a for each repeat

2005-04-21 Thread Scott Rossi
Recently, Thomas McGrath III wrote: > repeat for each line x in theKeys > if x = theKey then -- after the third sweep it comes to x = three > >-- this is where I need the actual line number that three is in > theKeys global which in this case is 3 > put line x into theblend -- does

Re: line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
I'm afraid that gets me "three" and not the line number 3 which is what I needed. I am now trying to use the lineoffset on the global using the short name of the target with the global list of images. Thank you On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote: Recently, Thomas McGrath III wrote:

R: Re: replaceText in Rev cgi

2005-04-21 Thread carambola
Rev cgi is great also on the windows platform... I fixed all the problems and now it works! Ciao Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Re: line number in a for each repeat

2005-04-21 Thread Brian Yennie
Thomas, You can always just add your own counter to the loop: put 0 into lineNumber repeat for each line x in theKeys add 1 to lineNumber ... end repeat HTH - Brian I'm afraid that gets me "three" and not the line number 3 which is what I needed. I am now trying to use the lineoffset on t

Re: line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
Yes that would work. I forgot because I am not used to the (new to me) repeat for each and was more concerned if there was a way built into the repeat that did it. I was so concerned that I forgot that I could role my own. I did end up using the lineoffset and that works for what I am doing, b

Re: line number in a for each repeat

2005-04-21 Thread Richard Gaskin
Thomas McGrath III wrote: PS.. I have decided to take on our Director programmer after reading the threads about Adobe buying MM out. Before I felt that he had a lot of time invested and although I knew I could do this I didn't want to push him out. Now however I figured that it was a good time

Re: line number in a for each repeat

2005-04-21 Thread Brian Yennie
Yes that would work. I forgot because I am not used to the (new to me) repeat for each and was more concerned if there was a way built into the repeat that did it. I was so concerned that I forgot that I could role my own. Yah- many other languages supply a way to fetch the "key" as well as the

Adding text to fields

2005-04-21 Thread Gordon Webster
Dear Revvers This is probably a very simple question, but when I'm adding text to a scrolled field, how do I make it autoscroll down so that it's always showing the last line of added text? Best Gordon ___ use-revolution mailing list use-revolution@li

Re: Adding text to fields

2005-04-21 Thread Björnke von Gierke
set the vscroll of field "yourfield" to the formattedheight of field "yourfield" On Apr 21 2005, at 23:58, Gordon Webster wrote: Dear Revvers This is probably a very simple question, but when I'm adding text to a scrolled field, how do I make it autoscroll down so that it's always showing the las

Re: Adding text to fields

2005-04-21 Thread Nicolas Cueto
Gordon, (B (BHere's how I was taught to do it: (B (Bon doScrollCheck (B ---MAKE SURE FIELDS ARE SCROLLED TO MAX SO READER CAN VIEW MSG (B put the formattedHeight of field "fWhatever" into tHeight (B set the scroll of field "fWhatever" to tHeight (Bend doScrollCheck (B (BCheers, (BNico

Re: line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
Thanks, I did not know that the lineoffset would slow it down. In my case i only have between 3 to 18 items to work with so speed should not be affected. i will revisit my code and look at a counter method. This started out because I have set a goal for myself to both optimize my code using my

Re: Simple Scoping Question

2005-04-21 Thread David Burgun
The problem with the archives is that a) responses here are very fast (in other words, y'all make it easy), and the culture is permissive b) Honestly, the archive search tools are not as easy to use c) Most of the responses are not so complicated as to discourage the responders from telling the noo

Re: General approach question

2005-04-21 Thread Richard Gaskin
Mark Smith wrote: I have an app for keeping track of stock and futures trades. The data is effectively a list of days, each day containing a list of open trades, one per line, with the details as items in each line. Currently, I have this data in an array, with the keys being the date of each d

Menu Bar Blues

2005-04-21 Thread Varen Swaab
I'm making a menu bar for a cross-platform application. I can place the menu bar and it shows properly, that's good, but when I check the option to "Set as Menu Bar on Mac OS" all the images and controls on the stack slide up to fill the space where the menu bar was. I'd like the menu bar to sho

Re: Menu Bar Blues

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote: I'm making a menu bar for a cross-platform application. I can place the menu bar and it shows properly, that's good, but when I check the option to "Set as Menu Bar on Mac OS" all the images and controls on the stack slide up to fill the space where the menu bar was. I'd like

Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab
To make a Mac app look like a Windows app just clear the menuGroup property of the stack (uncheck the checkbox you set labeled "Set as Menu Bat on Mac OS"). Richard, If I uncheck this checkbox then the menu will stay in the stack window in Mac OS and not move to the top of the screen. I'm tryi

Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab
Sorry, there was a major typo in my previous post which changed the meaning of my question... I meant to say: "I'm trying to figure out how to move the stack and to the top of the screen in Mac OS but ***NOT*** resize the stack window when it does." On Apr 21, 2005, at 5:48 PM, Varen Swaab wro

Re: Menu Bar Blues

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote: To make a Mac app look like a Windows app just clear the menuGroup property of the stack (uncheck the checkbox you set labeled "Set as Menu Bat on Mac OS"). Richard, If I uncheck this checkbox then the menu will stay in the stack window in Mac OS and not move to the top of t

Re: Simple Scoping Question

2005-04-21 Thread Erik Hansen
--- Scott Rossi <[EMAIL PROTECTED]> wrote: > ... to initialize stuff, placing the init > scripts in the first card of > your main stack causes the scripts to > run only when the main stack is > opened (preOpenStack, openStack, openCard, > etc). and if any of your mainstack cards may be deleted?

Re: line number in a for each repeat

2005-04-21 Thread Sarah Reichelt
On 22 Apr 2005, at 8:35 AM, Thomas McGrath III wrote: Thanks, I did not know that the lineoffset would slow it down. In my case i only have between 3 to 18 items to work with so speed should not be affected. i will revisit my code and look at a counter method. If you have a long list, it is fast

number of substacks- practical limits

2005-04-21 Thread Kurt Kaufman
Assuming that an individual substack consists of a single card containing perhaps 7 or 8 fields, each with <5 KB of text, plus a few pop-up menus and buttons, how many substacks can be associated with a single mainstack? Only one substack would be open at any given point, but I might have as m

Re: Simple Scoping Question

2005-04-21 Thread Scott Rossi
Recently, Erik Hansen wrote: >> ... to initialize stuff, placing the init >> scripts in the first card of >> your main stack causes the scripts to >> run only when the main stack is >> opened (preOpenStack, openStack, openCard, >> etc). > > and if any of your mainstack cards > may be deleted? F

Re: Simple Scoping Question

2005-04-21 Thread Scott Rossi
Recently, Scott Rossi wrote: > Or you can go through all substacks and place blocking handlers in each (open > preOpenStack, end preOpenstack, etc). Actually the following is a little more clear: on preOpenStack end preOpenStack on openStack end openStack Etc. These are placed in your su

Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab
Richard After further research I suppose what I'm asking is whether the EditMenus property for a stack can be disabled so a stack doesn't resize when it's menu bar is changed from true to false and from false to true. So that the EditMenus property has only the effect to show the menu bar and n

Initial Caps in Table Fields

2005-04-21 Thread Thomas McGrath III
Hey, does anyone know WHY 'table fields' keep initial capitalizing each word when I tab out of that field? Is there a way to turn this off? I need exact names in the table. TOm Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 _

Better than tables, better than delimited lines?

2005-04-21 Thread Thomas McGrath III
Hello all, I am playing with tables for a database driven interface. I used to use comma delimited items with CR delimited lines in a text document. Is there a better way to do this, I am trying with a table field. The interface needs three criteria (Key columns one two and three) and then anyw

Re: Initial Caps in Table Fields

2005-04-21 Thread Thomas McGrath III
Actually it is only the upper most top left table field that wants to capitalize the first letter. The ones below it will stay lower case if I typed it that way. This is weird to me? Tom On Apr 21, 2005, at 11:17 PM, Thomas McGrath III wrote: Hey, does anyone know WHY 'table fields' keep initial

Re: Simple Scoping Question

2005-04-21 Thread Erik Hansen
--- Scott Rossi <[EMAIL PROTECTED]> wrote: > Recently, Erik Hansen wrote: > > >> ... to initialize stuff, placing the init > >> scripts in the first card of > >> your main stack causes the scripts to > >> run only when the main stack is > >> opened (preOpenStack, openStack, openCard, > >> etc).

Re: arrowKey modifier?

2005-04-21 Thread Erik Hansen
--- Ken Ray <[EMAIL PROTECTED]> wrote: > If I'm reading you correctly, you just trap the > message, get the direction > of the arrowkey and process accordingly. > on arrowKey pDir > if the shiftKey is down then put 10 into tIncr > else put 1 into tIncr > put the selectedObject into tObj >

Image Library question

2005-04-21 Thread Varen Swaab
Hi everyone, I'm working on an application which has about 25 .png files imported via the image library. We recently discovered an aesthetic problem with the images which required me to import new images into the stack's library. When I imported the new images I noticed some wrong images being

Re: Menu Bar Blues

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote: Richard After further research I suppose what I'm asking is whether the EditMenus property for a stack can be disabled so a stack doesn't resize when it's menu bar is changed from true to false and from false to true. So that the EditMenus property has only the effect to show

Re: Image Library question

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote: I'm working on an application which has about 25 .png files imported via the image library. We recently discovered an aesthetic problem with the images which required me to import new images into the stack's library. When I imported the new images I noticed some wrong images

Re: Image Library question

2005-04-21 Thread xbury . cs
Hi Varen I think the issue is this... http://support.runrev.com/bugdatabase/show_bug.cgi?id=2449 Not the first or last time. You'll find some solutions and answers to your questions there I hope... Im writing a library to avoid the issue altogeter and have both images and any references reass

Re: General approach question

2005-04-21 Thread J. Landman Gay
On 4/21/05 6:38 PM, Richard Gaskin wrote: Cards may seem more "natural" to someone coming from HyperCard because with HC you had no choice: it had neither arrays nor custom properties to store them in, and the built-in sort command only worked on cards; you had to use an external for anything e

Re: General approach question

2005-04-21 Thread Richard Gaskin
J. Landman Gay wrote: On 4/21/05 6:38 PM, Richard Gaskin wrote: Cards may seem more "natural" to someone coming from HyperCard because with HC you had no choice: it had neither arrays nor custom properties to store them in, and the built-in sort command only worked on cards; you had to use an e

Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab
Richard, I haven't tried your suggestion yet but it seems to solve the problem. Thanks very much for your help! Varen On Apr 21, 2005, at 10:47 PM, Richard Gaskin wrote: Varen Swaab wrote: Richard After further research I suppose what I'm asking is whether the EditMenus property for a stack ca

Re: HC sort container.

2005-04-21 Thread Stephen Barncard
Because it was added in v2.0 or so...late in the game... sqb If HC had a sort command then why were there so many sort externals floating around? -- Richard Gaskin ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/

Re: number of substacks- practical limits

2005-04-21 Thread Eric Chatonet
Hi Kurt, You can open as much script windows or property palettes as you want... Don't you? To do this there are not thousands of stacks (or substacks) in the IDE. Think of such an architecture to solve your problem: Create a template substack (only one!) and clone it on the fly when needed :-) A

Re: Better than tables, better than delimited lines?

2005-04-21 Thread Sarah Reichelt
These all make sense to me in what I am doing but I want a visual field to do my testing and was wondering if there is a better recommended way to handle many calls to a field by line first then first three items and then finally by last three to seven items? Again, I used to use comma delimite