Re: How to remove the ugly focus border?

2005-03-17 Thread xbury . cs
>if you want to be consistent with other windows apps, you'll have to live >with the ugliness because that's the "norm" in Windows. Ouch! I guess a skinning for buttons will be required then... Thanks again Ken cheers Xavier - Visit us at http://www.clea

Re: Can Revolution communicate with Excel?

2005-03-17 Thread xbury . cs
Thanks Ken, That will save me a bit of research and testing I was preparing ;) cheers Xavier On 18.03.2005 08:18:11 use-revolution-bounces wrote: >That's neat. Now it means I can 'script' complex .NET code too... > >Thanks > >Vikram > >Ken Ray <[EMAIL PROTECTED]> wrote: >On 3/17/05 7:06 PM, "[EM

Re: Card 2 PDF

2005-03-17 Thread Ken Ray
On 3/18/05 12:12 AM, "Derek Bump" <[EMAIL PROTECTED]> wrote: > I believe the script you are going to use is a combination of Transcript > and AppleScript. So no matter what, you would need the MacOS (and I'm > assuming it requires OS X) and you would have 2 scripts. 1 transcript > and 1 AppleScr

Re: How to remove the ugly focus border?

2005-03-17 Thread Ken Ray
On 3/17/05 11:48 PM, "MisterX" <[EMAIL PROTECTED]> wrote: > Hi scripters, > > I keep trying but I keep seeing this ugly focus border on buttons in windows > (non-XP) but it happens on XP without the xp styled buttons too. > > It's an UGLY dotted rectangle showing a few pixels inside the button b

Re: Can Revolution communicate with Excel?

2005-03-17 Thread Vikram Singh
That's neat. Now it means I can 'script' complex .NET code too... Thanks Vikram Ken Ray <[EMAIL PROTECTED]> wrote: On 3/17/05 7:06 PM, "[EMAIL PROTECTED]" wrote: > Wow! I'm a new user and really impressed with how quick (and accurate) my > first question was answered. I thank everyone who ans

Re: Trial software and registering

2005-03-17 Thread kee nethery
On Mar 16, 2005, at 5:00 AM, Karen wrote: Hi, Does anyone have any advice on how to go about putting in time limits to a program to give, say, a 30-day trial? And perhaps even more importantly, how to implement a key system to remove the trial restrictions for purchasers? I highly recommend that

Re: Can Revolution communicate with Excel?

2005-03-17 Thread Ken Ray
On 3/17/05 7:06 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Wow! I'm a new user and really impressed with how quick (and accurate) my > first question was answered. I thank everyone who answered. Perhaps someone > can > also answer the following: Is there any way in which data (e.g.

Re: Card 2 PDF

2005-03-17 Thread Derek Bump
I believe the script you are going to use is a combination of Transcript and AppleScript. So no matter what, you would need the MacOS (and I'm assuming it requires OS X) and you would have 2 scripts. 1 transcript and 1 AppleScript. -- Derek Bump Dreamscape Software ___

RE: Can Revolution communicate with Excel?

2005-03-17 Thread MisterX
Andre, Is there a nice and easy DDE reference, faq or tutorial that you know of? cheers Xavier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Andre Garzia > Sent: Friday, March 18, 2005 06:36 > To: How to use Revolution > Subject: Re: Can Revo

Re: Search Rev docs "at the speed of thought"

2005-03-17 Thread Pat Trendler
On Friday, March 18, 2005 2:42 PM Mark Swindell wrote: snip Very cool. What I'd like when searching is to return ALL instances of the search in ALL categories at once... not have to predefine where I want to search before the fact. and Still, a great, usable, useful stack. Thanks. Exactly my

How to remove the ugly focus border?

2005-03-17 Thread MisterX
Hi scripters, I keep trying but I keep seeing this ugly focus border on buttons in windows (non-XP) but it happens on XP without the xp styled buttons too. It's an UGLY dotted rectangle showing a few pixels inside the button between the text and the shadow border of the button. I tried all the o

Re: Can Revolution communicate with Excel?

2005-03-17 Thread Andre Garzia
Steve, if you're in a mac, use applescript. If you're in a win32 machine, use DDE On Mar 18, 2005, at 1:03 AM, MisterX wrote: Wow! I'm a new user and really impressed with how quick (and accurate) my first question was answered. I thank everyone who answered. Perhaps someone can also answer

Card 2 PDF

2005-03-17 Thread Dwayne Rothe
Hi All, I have been trying to implement the example script "Print PDF" from "The Scripters Scrapbook" for saving a card/stack as a PDF file. I keep getting an error at the "on run {}" part of the script, the error reads 'not a valid handler' hint { Can anyone help me with this? Is there a differ

Re: Search Rev docs "at the speed of thought"

2005-03-17 Thread Mark Swindell
Very cool. What I'd like when searching is to return ALL instances of the search in ALL categories at once... not have to predefine where I want to search before the fact. Not doing so presupposes knowledge that doesn't necessarily exist. Also, there is an extra step by invoking the search

RE: Can Revolution communicate with Excel?

2005-03-17 Thread MisterX
Steve, Are you on a Mac or PC? Applescripts or WSH/VBS respectively to make it fully automatic or simply use CVS. The other way is via import export... I wrote a stack to show how to convert from the "exceptional" csv formats Excel employs to RunRev. Shouldn't be hard to do the opposite. htt

Re: Invisible Stack Help

2005-03-17 Thread Pat Trendler
Further - If a Win stack is minimized and then closed from the taskbar, it invariably, next time it is opened is still iconified. In closestackrequest I put - "set the iconic of this stack to false" And in the openstack or preopenstack "set the loc of this stack to the screenloc" (or whatever l

Re: Invisible Stack Help

2005-03-17 Thread Pat Trendler
Len, I downloaded your stack - and as you said the icon appears on the taskbar. But on my win mach it has just been minimized, that's all. Just click the ID Card icon on the task bar to restore it or right click the icon and select restore or maximize. If you still can't see it check its posit

Re: WTF! An error with my comments?!

2005-03-17 Thread J. Landman Gay
On 3/17/05 7:08 PM, [EMAIL PROTECTED] wrote: I added about 5 lines of code to the smtp library and now runrev refuses to do anything with it stating there's an error with the comments (well it looks like the second line of the stack script irregardless of what's there). Here's the error from the

more on my error

2005-03-17 Thread [EMAIL PROTECTED]
Here's something else that's interesting - whatever line the "libSmtpConnect" is on in the button's mouseUp handler is the same line that is being returned as the error. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runr

Can Revolution communicate with Excel?

2005-03-17 Thread Stgoldberg
Wow! I'm a new user and really impressed with how quick (and accurate) my first question was answered. I thank everyone who answered. Perhaps someone can also answer the following: Is there any way in which data (e.g. a number) calculated at in a Revolution stack can be automatically transf

WTF! An error with my comments?!

2005-03-17 Thread [EMAIL PROTECTED]
I added about 5 lines of code to the smtp library and now runrev refuses to do anything with it stating there's an error with the comments (well it looks like the second line of the stack script irregardless of what's there). Here's the error from the error dialog executing at 7:50:05

Invisible Stack Help

2005-03-17 Thread Len Morgan
I just uploaded a stack (username: lmorgan) that was part of a two stack file. It worked fine this morning but I've apparently done something to mess it up so that it no longer displays. I've checked all the possible suspects and can't figure it out. I can play with all the controls on the o

Re: check if an item is a date

2005-03-17 Thread Alex Tweedly
Since we're talking about dates, and date formats, I thought I'd forward a note from /. /Break out your party hats. According to http://www.onlineconversion.com/unix_time.htm , Unix time is supposed reach 11 on Fri, 18 Mar 2005 01:58:31 GMT That's only 1036372537 seconds from 2^31 (ie

erratic screen updates (was Slow screen lock/unlock)

2005-03-17 Thread Michael J. Lew
OK, thanks to all who helped me. The suggestions of Malte Brill, Jim Hurley and Richard Gaskin were particularly useful. I've now done some more fiddling around, and it seems that Jim is right: my problem is the same as that he was battling previously. Malte's suggestion to use messages and a f

RevQueryDatabase help

2005-03-17 Thread Bill
put revConnectionOfQuery("ConnectCrew") into tConnection -- first escape error if tConnection is not a number then put "tConnection is:" && dbCUR into fld "Exec result" exit mouseUp end if put "SELECT LAST_INSERT_ID() from tripulantes" into dbQuery put revQueryDatabase(tConnecti

Re: Buttons,Fields & Columns

2005-03-17 Thread Sarah Reichelt
I am currently trying to: 1. Use PrimaryOptionButton with the lettters, A,B,C, 2. A SecondaryOptionButton -set multiple choice categories. 3. A TaskField for entering a task or action. 3. Combine the PrimaryOptionButton and the SecondaryOptionButton and the TaskField into a Multicolumn field

Re: Search Rev docs "at the speed of thought"

2005-03-17 Thread Klaus Major
Hi Wilhelm, Klaus Major <[EMAIL PROTECTED]> wrote: Hello Wilhelm, (snip) thanks, very good work! But after opening your stack, the cursor stucks to "busy", any hints on how to remove this? Hello Klaus, I do not see this here in the four situations possible for me: Rev and Metacard IDE on WindowsX

Re: Search Rev docs "at the speed of thought"

2005-03-17 Thread Wilhelm Sanke
Klaus Major <[EMAIL PROTECTED]> wrote: Hello Wilhelm, (snip) thanks, very good work! But after opening your stack, the cursor stucks to "busy", any hints on how to remove this? Hello Klaus, I do not see this here in the four situations possible for me: Rev and Metacard IDE on WindowsXP and MacOS

Buttons,Fields & Columns

2005-03-17 Thread Michael Mandaville
I am a new Revolutionary - a whole two weeks - but very excited. I am trying to primarily work with text and data. If anybody knows of any useful examples (like Jan Schenkel's stack) for -drag and drop -text manipulation from field to field. I would appreciate it. I am currently trying to: 1.

It's Official! RevConWest Early Bird Registration Now Open - Save $70

2005-03-17 Thread Dan Shafer
Well, Chipp Walters and I have decided that, based on the early feedback from this list and on Runtime Revolution's decision to support us, we're going to go ahead and hold RevConWest on June 17-18 in Monterey, California (or, as those of us fortunate enough to live here say, "Beautiful Montere

Re: RevCopyFile (and hello)

2005-03-17 Thread FlexibleLearning
Welcome, Chris. Yes, you can copy a file without RevCopyFile. Depending on the file type, you can... put url ("file:"&tSourceFilePath) into url ("file:"&tDestPath) - for text files or put url ("binfile:"&tSourceFilePath) into url ("binfile:"&tDestPath) - for binary files. If you als

Re: Search Rev docs "at the speed of thought"

2005-03-17 Thread J. Landman Gay
On 3/16/05 6:16 PM, Wilhelm Sanke wrote: As announced two weeks ago, the alternative search stacks for the XML files of the Rev Documentation (version 2.5.1) are now available for a first inspection. Wilhelm, this is quite amazing. Very nice! I see that a symlink to the Rev Help folder works ju

Re: RevCopyFile (and hello)

2005-03-17 Thread Chris Carroll-Davis
Joy! I can't believe it, but I've never noticed the shortcut reference before!! I wonder how many other obvious things I've been missing... On 17 Mar 2005, at 18:39, J. Landman Gay wrote: Cmd-Shift-C (on Windows: Control-Shift-C) For the stack script: Cmd-Shift-S (on Windows: Control-Shift-S) F

Re: RevCopyFile (and hello)

2005-03-17 Thread Chris Carroll-Davis
Klaus - thanks for the tips If the files are not too big, read if they may fit into memory, you can: ... put url("binfile:MyHD/Myfolder/slickimage.psd") into url("binfile:MyHD/anotherfolder/copy of slickimage.psd") This would be perfect for me. I'd had a quick fiddle with this type of approach,

RE: check if an item is a date

2005-03-17 Thread MisterX
> Want to be even more flexible? Try this: > > convert myvalue to long date > if it is "invalid date" then >answer "That date is invalid!" > else >put it into myvalue > end if > Good solution! Nice... For extended formats, the format function is probably the best all around tool put f

Re: RevCopyFile (and hello)

2005-03-17 Thread J. Landman Gay
On 3/17/05 10:17 AM, Chris Carroll-Davis wrote: p.s. Is there a keyboard shortcut for calling up the card script ? Cmd-Shift-C (on Windows: Control-Shift-C) For the stack script: Cmd-Shift-S (on Windows: Control-Shift-S) For more: Help menu -> Quick Reference Guides -> Shortcut reference -- Jacque

RE: check if an item is a date

2005-03-17 Thread MisterX
> This is nothing new, Xavier, > > >But surprise! > > Thanks Rob! I went lengthy on this but you'll laugh at the situation and irony I hopefully managed to write (ed.) ;) I, well, no, "we" all know RunRev can't handle all date formats... But compounded issues in this one little report I tried

Re: Can one change a mainstack so that it is a substack of another mainstack?

2005-03-17 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote: > I'm a new user with a basic question: I have created two separate mainstacks, > but would like to combine them so that one mainstack is the substack of the > other. Can I do that within Revolution? Thanks. In the message box: set the mainStack of stack

Re: Can one change a mainstack so that it is a substack of another mainstack?

2005-03-17 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Two things to be aware of: 1. Substacks may not have substacks. If stack "B" has substacks before being converted to a substack, the results may not be exactly what you expect. 2. The stack script for a mainstack is in the message path of its subst

Re: Can one change a mainstack so that it is a substack of another mainstack?

2005-03-17 Thread Ken Ray
On 3/17/05 11:40 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm a new user with a basic question: I have created two separate mainstacks, > but would like to combine them so that one mainstack is the substack of the > other. Can I do that within Revolution? Thanks. Absolutely! You c

Re: Can one change a mainstack so that it is a substack of another mainstack?

2005-03-17 Thread Klaus Major
Hi Steve, I'm a new user with a basic question: I have created two separate mainstacks, but would like to combine them so that one mainstack is the substack of the other. Can I do that within Revolution? You bet! ;-) 1. Use the (stack) inspector: Basic Properties -> popup menu: mainstack 2. The

Can one change a mainstack so that it is a substack of another mainstack?

2005-03-17 Thread Stgoldberg
I'm a new user with a basic question: I have created two separate mainstacks, but would like to combine them so that one mainstack is the substack of the other. Can I do that within Revolution? Thanks. Steve Goldberg ___ use-revolution mailing list

Re: RevCopyFile (and hello)

2005-03-17 Thread Klaus Major
Hello Chris, Hello folks - Firstly, I'd better say "hello". welcome to the show! I've been subscribed to this list for quite a long time but never really posted to it, but that's about to change! Over the last few months I've been getting into Rev after a lifetime with SC. So have many of us :-)

Re: check if an item is a date

2005-03-17 Thread Rob Cozens
Frank, et al, note that I seem to have come across a problem with this that sticks a leading zero on the day number, even though my system prefs do not call for one. I see that in Transcript also; it was not a problem in HyperTalk. BTW, doesn't your long date conversion test fail for dates outsid

Re: check if an item is a date

2005-03-17 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Want to be even more flexible? Try this: convert myvalue to long date if it is "invalid date" then answer "That date is invalid!" else put it into myvalue end if This will convert other recognized date formats into the long date format and replace

Re: check if an item is a date

2005-03-17 Thread Rob Cozens
Jacque, et al, I see seconds & fixed notations (yours + Julian + whatever) as non-sequitur: To put it another way: For user input validation, a date is valid ONLY if it conforms to the computer's current system date format. Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy "Fisherme

RE: Keywords

2005-03-17 Thread Jeanne A. E. DeVoto
At 7:53 PM -0500 3/16/05, Kevin J wrote: Is there a document or a website that can explain some of the key words a bit better. When to know when you need the key words "the", "is" ect. ie: if the somthing of the otherthing = "true" then The the keyword is mandatory before the names of built-in f

Re: check if an item is a date

2005-03-17 Thread Rob Cozens
Jacque, et al, If you can think of a bullet-proof way to evaluate dates in all languages, with all types of delimiters, with all types of system date formats, without mistaking seconds or fixed-length notations as non-dates, you might consider submitting a feature request with your suggestions.

RevCopyFile (and hello)

2005-03-17 Thread Chris Carroll-Davis
Hello folks - Firstly, I'd better say "hello". I've been subscribed to this list for quite a long time but never really posted to it, but that's about to change! Over the last few months I've been getting into Rev after a lifetime with SC. So although I'm reasonably experienced at scripting

Re: check if an item is a date

2005-03-17 Thread J. Landman Gay
On 3/17/05 6:38 AM, [EMAIL PROTECTED] wrote: No matter that I get weird data gathering item 3 of it... yet ANOTHER bug! But surprise! put (2485694 is a date) I don't think this is a bug. Evaluating dates is a tricky business and I think the engine does a pretty good job of it. We can't expect it

Re: check if an item is a date

2005-03-17 Thread Rob Cozens
This is nothing new, Xavier, But surprise! put (2485694 is a date) It gets worse... 1 is also a date! So either the << is a date>> function is useless as a date checker and we all must roll our own AGAIN Virtually any integer represents a date in seconds format in xTalks; so if you need need to va

RE: Slow screen lock/unlock

2005-03-17 Thread Lynch, Jonathan
Can you explain what wait 0 with messages does? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Thursday, March 17, 2005 10:42 AM To: How to use Revolution Subject: Re: Slow screen lock/unlock Jim Hurley wrote: > RR does not do a scre

Re: Slow screen lock/unlock

2005-03-17 Thread Richard Gaskin
Jim Hurley wrote: RR does not do a screen refresh after a "set the loc of " in OS X and so an "Unlock screen" command is required. This slows the OS X performance. The Quartz rendering engine in OS X is a strange CPU-intensive beast. It's a good thing that 16 layers of alpha channels are abs

Re: Help... Ask/answer dialogs' color changing in standalone

2005-03-17 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, setting the backgroundColor of the stack to white will likely delete with the pinstripes, you should probably set it to empty instead. On Mar 17, 2005, at 8:14 AM, Christian Langers wrote: Hi, I only did what Sarah suggested me to to : Chan

RE: check if an item is a date

2005-03-17 Thread MisterX
part of the solution is return (it is not a number and it is a date) -- it is more likely a date however this wont work for dates like put 01012005 is a date So a coerced or forced check on date type would be necessary... Any ideas? I dont trust the convert function anymore either... cheers X

listbehavior and imagesource

2005-03-17 Thread Signe Marie Sanne
Hello, using both Windows XP and Mac OSX, both Revolution and MetaCard: in a field with listbehavior set to true and imagesource of last char set - the script: put cr & sometext after fld 1 -- results in either a completely blurred first line or the application quits. Is this a known bug? Signe M

Re: Getting a *standalone* to read & write to/from text file?

2005-03-17 Thread T. R. Ponn
Steve, Here's what I've done and though not the prettiest code in the world, it has worked solidly for me for the last couple years on Mac, Win and Lin. I haven't tried the OSX portion...so caution: global allStatusLo on openStack put whichMachine(platform()) into thisMachine put thisMachine&"V2

Re: Help... Ask/answer dialogs' color changing in standalone

2005-03-17 Thread Thomas McGrath III
thx,, On Mar 17, 2005, at 8:14 AM, Christian Langers wrote: Hi, I only did what Sarah suggested me to to : Changing the backgroundcolor of the stack to white and setting the backgroundcolor (here of the cards needing dialogs) to black... Cheers, Christian ___

Re: Keywords

2005-03-17 Thread xbury . cs
Kevin, > THe other problem I still have >is that the descriptions in the docs don't show enough examples of the >different ways a script can be written. That's not true... If you browse the docs, you'll find examples for everything and every use... But the basics of the is and the keywords is

Re:Re:Help... Ask/answer dialogs' color changing in standalone

2005-03-17 Thread Christian Langers
Hi, I only did what Sarah suggested me to to : Changing the backgroundcolor of the stack to white and setting the backgroundcolor (here of the cards needing dialogs) to black... Cheers, Christian > Christian, > > What was it that fixed it? Sometimes reading these threads I like to > think wh

Re: Keywords

2005-03-17 Thread Thomas McGrath III
Kevin, That is what I always had problems with at first. I learned from reading other peoples scripts to see how live examples where done. I downloaded hundreds of sample stacks from the great people on this list and open them for how this stuff works. THe other problem I still have is that the

Re: Help... Ask/answer dialogs' color changing in standalone

2005-03-17 Thread Thomas McGrath III
Christian, What was it that fixed it? Sometimes reading these threads I like to think what it could be if that were happening to me and would like to know what fixed it, if ya found out that is. Sometimes they fix themselves Tom On Mar 16, 2005, at 6:28 PM, Christian Langers wrote: Thanks S

check if an item is a date

2005-03-17 Thread xbury . cs
Hi everyone, Although I discovered this bug using MetaCard, it wasn't surprising that it didn't work either in Rev... After the date sorting and conversion problems, this comes as the cherry on the cake... I got this nice table "title" field which automatically sorts the columns below. I've

2.5.1 Minor Update

2005-03-17 Thread Mark Waddingham
Hi all, All the 2.5.1 Revolution distributions available from the website have been updated with a new version of the 2.5.1 engine. This minor update contains fixes to the 'clone card' issue and also Bug 2471. For your convenience, you can also download just the engines here: http://www.runrev.

Re: Slow screen lock/unlock

2005-03-17 Thread Jim Hurley
Message: 16 Date: Thu, 17 Mar 2005 08:59:06 +1100 From: "Michael J. Lew" <[EMAIL PROTECTED]> Subject: Slow screen lock/unlock To: use-revolution@lists.runrev.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" ; format="flowed" It takes about 260 milliseconds to lock an

Re: Search Rev docs "at the speed of thought"

2005-03-17 Thread Klaus Major
Hello Wilhelm, That depends of course on the permeability of your synapses and the quality of the thought. In many cases the applied search routines will be faster. ... Metacard user need to copy the Revolution Help folder into their main folder of the MC IDE. For cosmetic reasons - to be able to

Re: Slow screen lock/unlock

2005-03-17 Thread Malte Brill
Hi Michael, [snip] Here is my test script that takes 2680 milliseconds to run: [/snip] 970 on my g4-400 X.2.6 But I think that test doesn´t match the problem. I guess you wouldn´t want to refresh the screen inside a repeat loop and you didn´t do it in your original script. The slow screen updat