using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread [EMAIL PROTECTED]
Hello, Is it possible and how can we use activeX with the alternateLanguage Function of runrev by the way of visual basic script vbs? I do know how to run Excel or Word from runrev in this way (using COM and createObject), but not how to use an ocx. Any idea or suggestions? I use an ocx (Olym

Re: using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread Mark Schonewille
Hi Franz, I don't think you can use sub routines in the do command. Each time when you call form_load, you'll probably have to rewrite the entire function verbose. Sometimes, I have to experiment a bit with the createObject function to make it work. For example, adding "set' in front of t

Re-2: using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread [EMAIL PROTECTED]
Hi Mark, of course you are right - I cannot Form like in vb6 and dont try this. I just tried scanner = CreateObject("Twizlib.Twiz") > >scanner.AutoFeeder = True > >scanner.MaxImages = 3 > >scanner.ShowUI = False > >scanner.Resolution = 300 > >scanner.Acquir

Re-3: using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread [EMAIL PROTECTED]
Hello This HTML-Page starts immediately (after a security warning on xp sp3 but this I think can be avoided) Question: How to "translate" this in vbs code which I can send to the wsh using do in runrev? Regards Franz ___ use-revolution mai

Re: Absolute File Paths - Bug or bad Docs

2008-09-25 Thread Devin Asay
On Sep 24, 2008, at 7:53 PM, Kay C Lan wrote: On Thu, Sep 25, 2008 at 7:25 AM, Bob Sneidar <[EMAIL PROTECTED]> wrote: I thought that if you wanted to refer to an absolute path in unix you would use /volumes/Macintosh HD/Applications. This is of course for the Mac OS. Perhaps other Unix var

Re: Re-2: using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread Ken Ray
> I will test your suggestion: > SET scanner = createObject("TwizLib.Twiz") > > this might be a starting point. Thanks! BTW, as someone who's done a lot of VBScripting with Rev, I would strongly recommend that you write up the VBScript in a text file (Notepad works, or TextPad, etc.), and save

Re: Absolute File Paths - Bug or bad Docs

2008-09-25 Thread Richard Gaskin
Devin Asay wrote: It's not surprising that the examples in the docs are correct if you are working in the Mac Classic environment, since, to my knowledge, RunRev (or at least Jeanne DeVoto, who wrote the first version of the docs) was working primarily in the Mac OS classic environment at th

Re: Re-3: using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread Ken Ray
> Question: How to "translate" this in vbs code which I can send to the wsh > using do in runrev? Sounds like you're trying to implement an OCX, which when I looked it up on the web was from back in 1999 when VB4 was around. OCXes are controls that are placed on a form in VB (like the 3-D button

Re: the visible of a stack

2008-09-25 Thread Devin Asay
On Sep 25, 2008, at 12:01 AM, Chipp Walters wrote: Dick, Nice find. For some reason I didn't get your email, but I do see it in Andre's response... HMMM. function isStackCurrentlyVisibleOnAnyMonitor pStack --> pStack IS THE SHORT NAME OF STACK set wholematches to true if pStack is among the li

Ask/Answer sometimes losing defaultStack

2008-09-25 Thread Richard Gaskin
Since v2.7 I've had some bug reports from my users which lead me to believe that the ask and answer dialogs aren't always returning the defaultStack to what it was before they were called. I've seen this a few times myself, in scripts that first call an ask or answer dialog, then in subsequent

Re: Absolute File Paths - Bug or bad Docs

2008-09-25 Thread Devin Asay
On Sep 25, 2008, at 9:51 AM, Richard Gaskin wrote: Devin Asay wrote: It's not surprising that the examples in the docs are correct if you are working in the Mac Classic environment, since, to my knowledge, RunRev (or at least Jeanne DeVoto, who wrote the first version of the docs) was working

Re: the visible of a stack

2008-09-25 Thread Mikey
A big "Thank You" to everyone who jumped into this thread. This has been an excellent discussion, with excellent information and tips. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and man

Re: Ask/Answer sometimes losing defaultStack

2008-09-25 Thread Éric Miclo
Hello, Perhaps bug #5925 could be an example? Best, ÉrIC Le 25 sept. 08 à 18:03, Richard Gaskin a écrit : Since v2.7 I've had some bug reports from my users which lead me to believe that the ask and answer dialogs aren't always returning the defaultStack to what it was before they were

weird table field behavior

2008-09-25 Thread Jim McNeely
Hello everyone, I have a table field on a card, and if I click a row, it hilites. Then, if I use the up and down arrow keys, it changes the hilited row. HOWEVER, if I TAB into the field, it gains the focus, but the arrow keys no longer work. Any ideas why, or how to work around this? Tha

Re: Ask/Answer sometimes losing defaultStack

2008-09-25 Thread Richard Gaskin
Éric Miclo wrote: Perhaps bug #5925 could be an example? Thanks for the pointer. That one's worth knowing about, but in my case these aren't sheets, just ask and answer used as non-sheet modal, and the issue I'm experiencing isn't related to printing. Any one else see anything else like wh

another weird table field behavior

2008-09-25 Thread Jim McNeely
First, I figured out something for my initial question on this; I put this into the script for the edit field: on arrowKey theKey if theKey is "up" and the hilitedLine of field resultList ≠ 1 then set the hilitedLine of field resultList to the hilitedLine of field resultList - 1 e

Req: spinning progress indicator a la OS X

2008-09-25 Thread Richard Gaskin
I'm looking for a freeware animated GIF file of an OS X-style spinning progress indicator, such as you see when booting the Mac. Anyone know where I can find one? I've tried Googling but to no avail... TIA - -- Richard Gaskin Fourth World Media Corporation _

Re: Req: spinning progress indicator a la OS X

2008-09-25 Thread Ken Ray
On 9/25/08 2:31 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: > I'm looking for a freeware animated GIF file of an OS X-style spinning > progress indicator, such as you see when booting the Mac. > > Anyone know where I can find one? > > I've tried Googling but to no avail... I've got one -

Re: the visible of a stack

2008-09-25 Thread Chipp Walters
Devin, Yes, you are correct. Here's the latest: function isStackCurrentlyVisibleOnAnyMonitor pStack --> pStack IS THE SHORT NAME OF STACK if pStack is among the lines of windows() then if not the vis of stack pStack then return false if the blendlevel of stack pStack = 100 then return fal

Re: Req: spinning progress indicator a la OS X

2008-09-25 Thread Chipp Walters
http://ajaxload.info/ ___ 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: the visible of a stack

2008-09-25 Thread Dick Kriesel
Hi, Chipp. Here's a version that's effectively the same but that has a couple minor advantages. First, it has a single exit point, possibly improving maintainability. Second, it executes the corner functions only once no matter how many screens there are, possibly improving performance. -- Dick

Rev 3.0 script window error

2008-09-25 Thread william humphrey
In RunRev 3.0 I keep getting an error in this code * # Description # Unlocks the script, allowing the user to edit it. command scriptUnlock set the lockText of field "Script" of me to false set the backgroundColor of field "Script" of me to sePrefGet( "editor,backgroundColor") end scr

Re: Rev 3.0 script window error

2008-09-25 Thread Mark Schonewille
Hi Bill, Yes, several people have reported this problem. Please, find the relevant bug in the QCC and add your comments. Even something like "I'm using the latest version of Rev Studio with multiple script windows", or whatever your actual situation is, will help. What kind of project are

Re: Req: spinning progress indicator a la OS X

2008-09-25 Thread Richard Gaskin
Chipp Walters wrote: http://ajaxload.info/ Great find - thanks! And thanks to Stephen Barncard and Ken Ray, who also sent me good gifs offline. I love this place! :) -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROT

Re: another weird table field behavior

2008-09-25 Thread Eric Chatonet
Bonsoir Mickey, First question: Why do you want to script a feature that exists yet without any scripting? Generally, you only choose to script a different behavior than usual one: For instance to make arrow keys to act in carousel: on arrowKey pKey switch pKey case "up" if the hili

Re: another weird table field behavior

2008-09-25 Thread Eric Chatonet
Re, Le 25 sept. 08 à 22:38, Eric Chatonet a écrit : Bonsoir Mickey, First question: Why do you want to script a feature that exists yet without any scripting? Generally, you only choose to script a different behavior than usual one: For instance to make arrow keys to act in carousel: on

Req: spinning progress indicator a la OS X

2008-09-25 Thread Richmond Mathewson
It took me about 30 minutes with GIMP and PIXEN (Great for animated GIFs): http://opensword.org/Pixen/ it is available at: http://groups.yahoo.com/group/RMimages/?yguid=254544547 (this is a Yahoo Group that you have to join to download files) it is called 'Flower.zip' sincerely, Richmond Math

Re: another weird table field behavior

2008-09-25 Thread Jim McNeely
Thanks Eric. I scripted it because if you tab into that field the up and down arrows didn't work. Jim McNeely On Sep 25, 2008, at 1:38 PM, Eric Chatonet wrote: Why do you want to script a feature that exists yet without any scripting? ___ use-

Re: another weird table field behavior

2008-09-25 Thread Eric Chatonet
Bonsoir Jim, I confused the poster; I hope you'll be not offended. Really sorry. Le 25 sept. 08 à 22:51, Jim McNeely a écrit : Thanks Eric. I scripted it because if you tab into that field the up and down arrows didn't work. Jim McNeely Best regards from Paris, Eric Chatonet. --

Re: weird table field behavior

2008-09-25 Thread Bob Sneidar
Yes. Don't use table fields. They are not real tables, but only a way to get a text field to kind of act like it wants to be a table when it grows up. There are some quite usable solutions people have developed using scripts to get a series of fields to look and act like a real table, but

Re: weird table field behavior

2008-09-25 Thread Richard Gaskin
Bob Sneidar wrote: Yes. Don't use table fields. They are not real tables, but only a way to get a text field to kind of act like it wants to be a table when it grows up. There are some quite usable solutions people have developed using scripts to get a series of fields to look and act like

Re: Stopping A Stack From Starting Up in the IDE

2008-09-25 Thread Chipp Walters
Just a follow-up note on this problem with Larry's crashing stack. It turns out locking messages still didn't prevent a crash on any version of Rev I have. So I had to get a bit more sneaky and access the stack's contents BEFORE opening it. Turns out there were a number of issues with the stack:

Re: Absolute File Paths - Bug or bad Docs

2008-09-25 Thread Kay C Lan
On Fri, Sep 26, 2008 at 12:30 AM, Devin Asay <[EMAIL PROTECTED]> wrote: > > Has anyone here submitted that request to the RQQC? >> > > Done. > > http://quality.runrev.com/qacenter/show_bug.cgi?id=7214 > Thanks Devin. As usual I've been away from the Revolution as my Boss incongruously expects me

Re: Req: spinning progress indicator a la OS X

2008-09-25 Thread Thomas McGrath III
Richard, Did you look at the image library? Standard Images: image id 210065 through 210071 are sideways barber poles. Or are you looking for the Beach Ball??? Tom McGrath III On Sep 25, 2008, at 3:31 PM, Richard Gaskin wrote: I'm looking for a freeware animated GIF file of an OS X-style

Re: Req: spinning progress indicator a la OS X

2008-09-25 Thread Thomas McGrath III
Never mind, I see you got it Tom McGrath On Sep 26, 2008, youat 12:01 AM, Thomas McGrath III wrote: Richard, Did you look at the image library? Standard Images: image id 210065 through 210071 are sideways barber poles. Or are you looking for the Beach Ball??? Tom McGrath III On Sep

Re: Req: spinning progress indicator a la OS X

2008-09-25 Thread Richard Gaskin
Thomas McGrath III wrote: > On Sep 25, 2008, at 3:31 PM, Richard Gaskin wrote: >> I'm looking for a freeware animated GIF file of an OS X-style >> spinning progress indicator, such as you see when booting the Mac. > > Did you look at the image library? > Standard Images: image id 210065 > through

Object Reference in Variable?

2008-09-25 Thread Scott Rossi
Hey List Folks: I'm having trouble remembering how to get Rev to see object references in variables, as opposed to the variable data. For example, if I script: put the long id of field 1 into tField put the number of lines of tField I'll get '1' in the message box regardless of how may line

Re: Object Reference in Variable?

2008-09-25 Thread Jim Sims
On Sep 26, 2008, at 8:22 AM, Scott Rossi wrote: Hey List Folks: I'm having trouble remembering how to get Rev to see object references in variables, as opposed to the variable data. For example, if I script: put the long id of field 1 into tField put the number of lines of tField I'll

Re: Object Reference in Variable?

2008-09-25 Thread Stephen Barncard
Hey Scott... " put the long id of field 1 into tField " long id of field 1 of stack WHAT?? sometime this stuff needs to be addressed more clearly for the engine especially from the message box. I mess this up all the time. I just assume the engine 'knows' what I want! Hey List Folks: I'

Re: Object Reference in Variable?

2008-09-25 Thread Richard Gaskin
Scott Rossi wrote: I'm having trouble remembering how to get Rev to see object references in variables, as opposed to the variable data. For example, if I script: put the long id of field 1 into tField put the number of lines of tField I'll get '1' in the message box regardless of how may

ftp.runrev.com gone?

2008-09-25 Thread Richard Gaskin
I just tried . No go. Did they recently pull FTP access to the latest engine? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com __