Re: what's this stack

2010-11-15 Thread Mark Smith
Jonathan Lynch wrote: Is one stack a substack of the other? If so, both are saved together. yes, save is a substack used only as an alert. So save this stack saves the parent or primary stack and all substacks. Thanks -- View this message in context:

Re: what's this stack

2010-11-15 Thread Mark Smith
Robert Brenstein wrote: change your code as follows to resolve this for yourself ;-) on savenotes modeless stack save answer Saving (the short name of this stack) -- just to know save this stack wait 360 millisecs close stack save end savenotes Robert And

Re: what's this stack

2010-11-15 Thread Mark Smith
Robert Brenstein wrote: change your code as follows to resolve this for yourself ;-) on savenotes modeless stack save answer Saving (the short name of this stack) -- just to know Interesting, when I put the answer line in the notepad stack script I get saving notepad. But

what's this stack

2010-11-14 Thread Mark Smith
Hi, I recently wrote this code which works fine on savenotes modeless stack save save this stack wait 360 millisecs close stack save end savenotes when i went back to document it I stumbled across a sort of confusion in my understand on savenotes modeless stack save --

RE: alerts

2010-11-12 Thread Mark Smith
Robert Brenstein wrote: If your saving is done on different cards in a multi-card stack or in multiple stacks, then you can do the above but show a substack instead of a field to ensure it is always above the card controls. disable all controls saving their enabled state

Re: alerts

2010-11-11 Thread Mark Smith
Peter Brigham MD wrote: The saving of the time in a customProp is because I have scripted things so the stack is automatically saved every 20 minutes, or at whatever interval the user chooses in the preferences. That feature was irrelevant to your question and I could have taken it

Re: alerts

2010-11-11 Thread Mark Smith
Joe Lewis Wilkins wrote: Hi Mark, Why don't you create an image, paste it wherever you want into your stack; then when you want it to appear, just show it; when you're through with it, then hide it. I've done this a number of times. I usually create such images using MacDraft, but I'm

RE: alerts

2010-11-11 Thread Mark Smith
Hi Thanks, more like: show something save this stack hide something I'm on the verge of testing something to be some sort of modeless stack/window. We shall see how it goes. Thanks for the suggestion - M From:

Re: alerts

2010-11-10 Thread Mark Smith
Peter Brigham MD wrote: Here's the way I do it. I show a small display stack, the idea is just that it's a billboard to tell the user that the saving is occurring. It closes after the save is done. on doSave modeless stack savingAlert wait 10 millisecs save stack

Re: alerts

2010-11-10 Thread Mark Smith
william humphrey-2 wrote: Except it should have a progress bar. One step at a time. But thanks for suggesting a future question :-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3037243.html Sent from the Revolution - User mailing list

Re: Refreshing a card

2010-11-08 Thread Mark Smith
Monte Goulding wrote: I think this is the simplest solution to your problem. Alternatively you could put the same code in a setprop handler in your stack script. Something like: setprop showdatestamp pBoolean if there is a fld dateStampField then set the visible of field

RE: Refreshing a card

2010-11-07 Thread Mark Smith
something like... Set the visible of grp/fld/whatever dateStamp to the showDateStamp of this stack ...to your case statement HTH, Terry... On 1/11/10 2:52 PM, Mark Smith mark_sm...@cpe.umanitoba.ca wrote: Hello all, by now most of you are probably familiar with my silly questions (born of, I

alerts

2010-11-07 Thread Mark Smith
How do you do a dialog like the Save dialog (Command-S) in rev? (ie. it goes away without user interaction when the action is complete) Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3031113.html Sent from the Revolution -

Re: Refreshing a card

2010-11-07 Thread Mark Smith
Hi Monte, sorry if I missed replying. The problem was that on any specific card when I selected the toggle date stamp menu option, visibly nothing happened. In reality the property showdatestamp was changing from true to false on each menu selection based on the statement: set the showDateStamp

Re: alerts

2010-11-07 Thread Mark Smith
Hi Craig, I looked up dialogs and what not in the dictionary and user guide and all I found where ones driven by ask and answer (nothing like a 1 way conversation like tell). In this case we don't need the user to dismiss the dialog, or answer anything, we just want to inform them that

Re: alerts

2010-11-07 Thread Mark Smith
Hi Craig, Forget the part about not knowing when a save is done... I'm a little tired at the moment but did figure it out. I have code that says: on mouseUp save this stack end mouseUp Pretty simple. But there is no visible indication to the user in my stack that anything happened. So what

Re: Swapping scrolling text for regular text

2010-10-31 Thread Mark Smith
Thanks Terry. (I did stumble on it as well, and was embarrassed I posted but you never know with these things). I have another question to post tonight, hopefully not quite as silly. Terry Judd wrote: Mark - all you need to do is select the field and enable its vScrollbar property in the

Refreshing a card

2010-10-31 Thread Mark Smith
Hello all, by now most of you are probably familiar with my silly questions (born of, I am afraid, too many years engrossed in procedural programming languages). Here we go. I have a menu option called Toggle Date Stamp and it toggles on/off the display of a date stamp on the card. When you

Swapping scrolling text for regular text

2010-10-30 Thread Mark Smith
I have a sort of dumb question. I have a stack with about 12 cards that has a text field on it (part of a background group). I would like to change this field to a scrolling text field. Is it possible to swap or change the existing regular text field into a scrolling one without loosing the

adding new object to background group

2010-10-03 Thread Mark Smith
I'd like to add a button to an existing background group, but RR/LC is telling me if I do that I am going to loose the background with that group on it from all previous cards. And it does. Here's what I did. Added the button. Selected the existing background group (group 1031) and the new

Re: WINDOWS VERSION MENU PROBLEM - architect

2010-10-03 Thread Mark Smith
Hi Joe, I agree. As my program grows finding all the bits and pieces will be difficult. Having an option to save all scripts to text with some minimal description (button script -- delete, stack script, etc) would allow to browse all the code, get some idea of how it is organized as well as back

RE: loading another stack from splash

2010-10-02 Thread Mark Smith
Runtime Revolution] [ml-node+2768466-1431577482-120...@n4.nabble.com] Sent: Thursday, September 30, 2010 5:23 PM To: Mark Smith Subject: Re: loading another stack from splash On 9/28/10 5:11 PM, Mark Smith wrote: Also, it would be real nice not to have to hard code the path in case I want to change

RE: WINDOWS VERSION MENU PROBLEM - architect

2010-10-02 Thread Mark Smith
Hi Joe, is that a feature of LC (saving all scripts as text), or do you have to select and save them out 1 at a time? From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of Joe Lewis Wilkins [pepe...@cox.net]

RE: loading another stack from splash

2010-09-28 Thread Mark Smith
Hi Splash, any further thoughts on your last questions and my post. I'm sort of still trying to figure this compile thing out. Since I want to save the notes in the notepad stack does that mean it cannot absolutely ever be compiled? I am beginning to think that is my error in thinking. I was

RE: loading another stack from splash

2010-09-24 Thread Mark Smith
Hmm are you trying to create a notepad-like application that, when closed, saves it's contents and reloads them back when it's been relaunched? Yes, exactly. Each card is a note. There are buttons to navigate forwards, backwards through the cards/notes, add and delete cards etc. Pretty simple

RE: loading another stack from splash

2010-09-21 Thread Mark Smith
notepad3 stack as a substack to your splash stack. :) --- On Mon, 20/9/10, Mark Smith mark_sm...@cpe.umanitoba.ca wrote: From: Mark Smith mark_sm...@cpe.umanitoba.ca Subject: RE: loading another stack from splash To: How to use Revolution use-revolution@lists.runrev.com Date: Monday, 20

loading another stack from splash

2010-09-20 Thread Mark Smith
Hi folks, I've written an application (a simple notepad) that I wanted to compile. RunRev documentation suggests creating a splash screen that calls the notepad so that notepad can save into itself. So I created a stack called Startup. So far it has a single script in the stack script that says

RE: loading another stack from splash

2010-09-20 Thread Mark Smith
tell so I can try to further help you. --- On Mon, 20/9/10, Mark Smith mark_sm...@cpe.umanitoba.ca wrote: From: Mark Smith mark_sm...@cpe.umanitoba.ca Subject: loading another stack from splash To: use-revolution@lists.runrev.com use-revolution@lists.runrev.com Date: Monday, 20 September, 2010

RE: Find or Search Function

2010-09-10 Thread Mark Smith
Hi Ted, just wondering if you were able to get something useful running and what approach you took. Thanks -- Mark From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of Ted Mills [tm1...@gmail.com] Sent:

RE: Sarah Reichelt's XML sample stack

2010-06-25 Thread Mark Smith
Hi Simon, there is a lot of material online although it can take awhile to find. I've compiled some of the most interesting looking links below (if anyone knows of others sites please let me know). Keep in mind that the BYU course material is all online, so you don't have to signup or register

RE: Tools palette showing?

2010-06-24 Thread Mark Smith
Really, that is so cool! From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of Mark Wieder [mwie...@ahsoftware.net] Sent: Thursday, June 24, 2010 4:00 PM To: How to use Revolution Subject: Re: Tools palette

RE: make standalone (was 2 quick questions)

2010-06-20 Thread Mark Smith
Not to worry - somedays I *am* one. Wanna trade? Only if it helps :-) PS I've added your previous msg to my RevGold folder. THere is a lot in there to digest. You've been most generous with your time Mark. Thanks From:

RE: make standalone (was 2 quick questions)

2010-06-20 Thread Mark Smith
it gets compiled like the startup stack. Somebody correct me if I'm wrong. Instead add you main stack as an included file in you standalone settings. Bob Sent from my iPad On Jun 18, 2010, at 8:05 PM, Mark Smith mark_sm...@cpe.umanitoba.ca wrote: Some have the main stack be a kind of splash screen

RE: make standalone (was 2 quick questions)

2010-06-19 Thread Mark Smith
Mark and Bob, thank you so much for your responses. (In particular Mark, your Standalone conference stack was a big help). Now I have but a few questions (sorry, somedays I do feel like an idiot!) It looks like I have 2 options for my Startup stack 1. In the stack script put: on startup

RE: make standalone (was 2 quick questions)

2010-06-18 Thread Mark Smith
, I want to compile to a standalone but I don;t understand the instruction to split my stack so I can save the notes? I just have the one stack. Any suggestions? Mark Smith From: use-revolution-boun...@lists.runrev.com [use-revolution-boun

RE: make standalone (was 2 quick questions)

2010-06-18 Thread Mark Smith
sense? Bob Sent from my iPad On Jun 18, 2010, at 5:37 PM, Mark Smith mark_sm...@cpe.umanitoba.ca wrote: Funny you should mention that. My first app is something similar... a notepad (just for its simplicity and completeness). It has (appropriately) a text field, cards are numbered (so I know

RE: 2 quick questions

2010-06-16 Thread Mark Smith
are apparently needing to deal only with the one stack, so this card will do fine. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 15, 2010, at 10:21 PM, Mark Smith wrote: HI Mark, I was all excited until I realized i didn't know where to put it. Here is what I want

RE: Change Field Property in All Fields of a Stack

2010-06-15 Thread Mark Smith
Craig, sounds like an interesting technique. Is there any example code around that demonstrates this? Mark Smith From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com [dunb...@aol.com] Sent

2 quick questions

2010-06-15 Thread Mark Smith
find it. Thanks Mark 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

RE: 2 quick questions

2010-06-15 Thread Mark Smith
Thanks Mark. Am I allowed to continue asking dumb questions (always the best sort for a FAQ since then you can just point the annoying offender to the FAQ :-) Is there any reason for choosing this over the the current or is just personal preference? Regards, Mark Smith

RE: 2 quick questions

2010-06-15 Thread Mark Smith
cardnumberfield thanks -- M Mark Smith From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of Mark Schonewille [m.schonewi...@economy-x-talk.com] Sent: Tuesday, June 15, 2010 9:33 AM To: How to use Revolution Subject: Re

RE: 2 quick questions

2010-06-15 Thread Mark Smith
Thanks Terry (and Mark)... what a great list. I can go to bed and sleep tonight knowing it will all come together (and run) tomorrow. Mark Smith From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of Terry

RE: 2 quick questions

2010-06-15 Thread Mark Smith
Thanks Bob, I'll test that out Mark Smith From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of Bob Sneidar [b...@twft.com] Sent: Tuesday, June 15, 2010 10:24 PM To: How to use Revolution Subject: Re: 2

RE: runrev community : how many licenses? How many users? How many developpers?

2010-06-10 Thread Mark Smith
Even with glasses I couldn't see the edit button. Help!! Mark Smith Associate Director, Repository Manitoba Centre for Health Policy University of Manitoba 727 McDermot Ave Room 408 Winnipeg, Manitoba R3E 3P5 (204) 789-3264 http://umanitoba.ca/faculties/medicine/units/mchp

revMobile and SDK

2010-05-30 Thread Mark Smith
I have a question for the group. I've been reading about the recent changes to the Apple SDK for the last couple of hours (here and on Appleinsider) and one thing I don't understand is how Apple can actually do this? Is it only for products that are intended to be marketed through the app

Re: postgresql question

2009-11-01 Thread Mark Smith
It sounds like something that should probably be handled in the revDB library. Best, Mark On 1 Nov 2009, at 01:38, Mark Wieder wrote: Mark- Saturday, October 31, 2009, 6:23:35 PM, you wrote: Mark, this thread may help (I'm pretty sure I got details wrong in the last post)

Re: postgresql question

2009-10-31 Thread Mark Smith
) into tStringtosend I can't remember if tStringtosend should be hex or base64 encoded. You may also need to prepend md5 to tStringtosend. Best, Mark Smith On 31 Oct 2009, at 23:35, Mark Wieder wrote: All- Has anyone been able to connect to a postgresql database using md5 authentication? Since

Re: postgresql question

2009-10-31 Thread Mark Smith
Mark, this thread may help (I'm pretty sure I got details wrong in the last post) http://archives.postgresql.org/pgsql-general/2002-06/msg00484.php Best, Mark Smith On 1 Nov 2009, at 01:09, Mark Wieder wrote: Mark- Saturday, October 31, 2009, 5:41:04 PM, you wrote: Mark, I haven't done

[ANN]My stuff is moving...

2009-10-30 Thread Mark Smith
I've moved my revolution download page from dreamhost to on-rev: http://marksmith.on-rev.com/revstuff/index.html The Dreamhost page will stay up for a while, but I don't know how long. Best, Mark Smith ___ use-revolution mailing list use-revolution

Re: [ANN]My stuff is moving...

2009-10-30 Thread Mark Smith
! Best, Mark Smith On 30 Oct 2009, at 21:59, Martin Koob wrote: Mark Smith li...@... writes: I've moved my revolution download page from dreamhost to on-rev: http://marksmith.on-rev.com/revstuff/index.html The Dreamhost page will stay up for a while, but I don't know how long. Best, Mark

tRev colorization

2009-10-26 Thread Mark Smith
Anyone know if it's possible to run tRev without script colorization? I just got it, and it seems really, really good, but I can't seem to stop the colorization of scripts. Jerry, anyone? Best, Mark Smith ___ use-revolution mailing list use

Re: tRev colorization

2009-10-26 Thread Mark Smith
Thanks, Jerry. What are the chances of making it optional in a future release? I find text that is a riot of colour very hard to see as text at all... Best, Mark Smith On 26 Oct 2009, at 13:13, Jerry Daniels wrote: tRev's script colorization is always on. Best, Jerry Daniels Watch tRev

Re: tRev colorization

2009-10-26 Thread Mark Smith
Jerry, fantastic! The water cannon of software! Best, Mark Smith On 26 Oct 2009, at 16:04, Jerry Daniels wrote: This Friday you will have some relief from the rioting. Best, Jerry Daniels Watch tRev - The Movie http://reveditor.com/trev-the-movie On Oct 26, 2009, at 8:38 AM, Mark Smith

Re: tRev colorization

2009-10-26 Thread Mark Smith
keep editor visible unchecked in the prefs. No biggie, mind you, since command H hides it like any other app. I'm on Mac OS 10.4.11 and Rev Enterprise 4.0. tRev is a wonderful thing, so thanks, Jerry! Best, Mark Smith On 26 Oct 2009, at 17:36, Jerry Daniels wrote: With the above

[OT]Grace Hopper

2009-10-20 Thread Mark Smith
complicated for the average user and introduced a very wordy language - for example Add One To Total rather than Total=Total+1 Strangely familiar Best, Mark Smith ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: [OT] Figuring Out XML Error?

2009-10-12 Thread Mark Smith
Inserting Dave's DOCTYPE declarations (2nd version) gets the file a clean bill of health from xml nanny (http://www.versiontracker.com/ dyn/moreinfo/macosx/27761). Best, Mark Smith ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: Telnet Shell Help

2009-10-03 Thread Mark Smith
Stewart, I think you could do telnet over a socket connection. See open socket, write to socket and friends in the docs. Best, Mark Smith On 3 Oct 2009, at 22:28, RevList wrote: I need to write a very small utility that uses Telnet so that I can connect to a server on port 333 and login

[ANN]libRevFreeDB

2009-09-25 Thread Mark Smith
/libRevFreeDb.zip It comes with a little demo stack and some notes in a pdf. As always, any comments or queries happily recieved. Best, Mark Smith ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

[ANN]libRevFreeDb update

2009-09-25 Thread Mark Smith
Best, Mark 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

Re: Running a stack from the On-Rev server.

2009-09-23 Thread Mark Smith
You can certainly install the 3.5 cgi engine on on-rev, so a script to check the folder and copy to another server can be run as a cron-job. I don't think libUrl is part of the cgi engine, though I'm pretty sure you could install it with the engine, and start using it in your command-line

Re: Changing date format in CalendarWidget100

2009-09-10 Thread Mark Smith
Charles, if tDate is 2009,9,10 - try something like this: put line (item 2 of tDate) of the monthnames item 3 of tDate item 1 of tDate into tNewDate Best, Mark Smith On 10 Sep 2009, at 17:09, Charles Szasz wrote: I thought this would be easy but it is not! I want to change

[ANN} updates to libs

2009-09-09 Thread Mark Smith
: http://futsoft.futilism.com/revolutionstuff.html Best, Mark 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

Re: Safe place to write a file under Vista

2009-09-02 Thread Mark Smith
Richard - 'the tempname' might be what you're after. ie. put the tempname into tFile -- do stuff with the file delete file tFile On my OS X machine, put the tempname gives this: /private/var/tmp/folders.501/TemporaryItems/tmp0 (repeated calls will increment that trailing zero) What it would be

Re: Performance of RevMedia on matrix diagonalization

2009-08-27 Thread Mark Smith
obvious optimisations to make in the code you've written. Hopefully, someone here will be able to be more helpful, but this may be one of those things that revolution simply isn't best suited for :( Best, Mark Smith On 27 Aug 2009, at 08:16, Piero Ugliengo wrote: I am completely new

Re: long FieldName to owning stackName

2009-08-25 Thread Mark Smith
Scott, what's wrong with chunking? However, to get a list: function objectOwner objectId put the owner of objectId into tOwner if tOwner is not empty then put tOwner cr objectOwner(tOwner) after tList end if return tList end objectOwner so put objectOwner(the long id of fld

Re: Temporary storage of imagedata

2009-08-24 Thread Mark Smith
the array with arrayencode, (and maybe base64encode the result for transmission over the net). Best, Mark Smith On 24 Aug 2009, at 13:28, Richard Miller wrote: This is for a revlet application. I'm looking at various ways to temporarily store image snapshots before displaying them

Re: lineoffset doesn't find empty lines

2009-08-16 Thread Mark Smith
I also see that lineoffset(cr cr, tText) + 1 seems to work well. Best, Mark Smith On 16 Aug 2009, at 22:42, BNig wrote: Björnke, would -- on mouseUp pMouseBtnNo put field 1 into temp repeat while theLine 0 put lineoffset(crcr,temp) into theLine

Re: Groups

2009-08-15 Thread Mark Smith
Steve, if you call up the object inspector for the group, there's a check button for backgroundBehaviour, so you can choose the appropriate behaviour for your case. Also, in the Rev toolbar, there's a button SelectGrouped. If this is hilted then you can select the individual controls in a

Re: Transcript should be called Transcript

2009-08-13 Thread Mark Smith
And, of course, if the new server-side stuff gets popular, lots of people will be calling it irev. Which also sounds like some kind of priestly activity, or maybe Apple's new sermon-processor... :) Mark On 13 Aug 2009, at 17:16, Rick Harrison wrote: Someone just suggested to me that

Re: Why no ScreenUp Dates

2009-08-12 Thread Mark Smith
Sivakatirswami , inserting a wait 0 millisecs with messages just after calcTime might help. Sometimes loops are fast enough to get in the way of rendering the screen, and a 'wait' will give the engine enough time to update the screen. Best, Mark Smith On 12 Aug 2009, at 03:49

Re: password in a script

2009-08-12 Thread Mark Smith
(tNonce tPassword)) = byte 5 to -1 of tCryptPass then authentication passed else authentication failed end if This is not industrial strength cryptography, but a reasonably easy to implement and reasonably secure way to avoid sending your password in the clear. Best, Mark Smith

Re: Print to PDF?

2009-08-07 Thread Mark Smith
Also, filter theText without empty will do the same job. best, Mark Smith On 7 Aug 2009, at 21:57, François Chaplais wrote: Le 7 août 09 à 22:45, Mark Schonewille a écrit : What about repeat until cr cr is not in theText replace (cr cr) with cr in theText end repeat -- Best regards

Re: Decrypt problem

2009-08-01 Thread Mark Smith
for the used cipher (128 bits, for blowfish), so you probably want to use password. The same goes for the decryption as well. Best, Mark Smith On 1 Aug 2009, at 06:06, stevex64 wrote: Hi all, I have .csv files that I encrypt with one little app that only encrypts. It appears to encrypt

Re: Uploading a reblet to the web via Freeway Pro

2009-07-28 Thread Mark Smith
Stephan and Pierre, I just found that you can embed a revlet in a page using Freeway - you need to create a markup item and set it's content to the html generated by rev when you 'save as standalone'. If you just copy and paste from the line that says: div id=plugin style=display:none up

Re: Any thoughts on speed limitations of Revlet?

2009-07-26 Thread Mark Smith
Also here, on 2.2Ghz intel PB/Safari...apart from the first shot when the plug-in is first loaded. Best, Mark On 27 Jul 2009, at 00:28, stephen barncard wrote: NINE BALL looks and works great here. Mac G5 dual 2.5 ghzAwesome ballistics and graphics. - Stephen

Re: Wanted: a clue for using encrypt with DES

2009-07-20 Thread Mark Smith
Ben, have you looked at the output of the ciphernames? There are quite a few 'des' variants, are you sure you're using the right one? Also, I'd stick with the with password format, unless you know how the other side is padding (if they are). Best, Mark On 20 Jul 2009, at 20:00, Ben

Re: Timed User Input

2009-07-17 Thread Mark Smith
Rick, how have you done your timer - a repeat loop or a 'send-in-time' ? Best, Mark On 17 Jul 2009, at 15:48, Rick Harrison wrote: I'm trying to set up a guessing game where the user has to race against a timer to give an answer before the time runs out. The problem is that when the user is

Re: Timed User Input

2009-07-17 Thread Mark Smith
, but have been leaning more towards a multiple choice solution with mouseWithin, or anything else which might work. Rick On Jul 17, 2009, at 11:01 AM, Mark Smith wrote: Rick, how have you done your timer - a repeat loop or a 'send-in- time' ? Best, Mark On 17 Jul 2009, at 15:48, Rick Harrison

Re: filter not working

2009-07-10 Thread Mark Smith
Paul, the filter command may need some wildcards, otherwise it will filter out any lines which contain more than just the filter expression, so: filter pSnips with * tThing * Best, Mark On 3 Jul 2009, at 20:39, pwf wrote: I am having a problem with 'filter'. I'm passing this tab

Re: Rev cannot open my jpeg ! - and some serious thinking

2009-07-02 Thread Mark Smith
Sarah, curl is certainly available for windows, but AFAIK is not part of the standard installation - it can be found here: http://curl.haxx.se/download.html Best, Mark On 2 Jul 2009, at 02:10, Sarah Reichelt wrote: The curl method works beautifully on my Mac, but is curl available on

Re: Rev cannot open my jpeg ! - and some serious thinking

2009-07-01 Thread Mark Smith
Sarah, to get the size of what will be returned by a get url, you need to issue an HTTP HEAD request, which will return the http headers that would be returned from a GET request, but without the actual content. Something like this in a button script: on mouseUp put

Re: Rev cannot open my jpeg ! - and some serious thinking

2009-07-01 Thread Mark Smith
? Best, Mark On 1 Jul 2009, at 10:42, Mark Smith wrote: Sometimes this seems to take quite a few seconds, and I don't know why (I think libUrl doesn't like non-GET/POST requests), but if you have curl available, ___ use-revolution mailing list use

Re: Rev cannot open my jpeg ! - and some serious thinking

2009-07-01 Thread Mark Smith
On 1 Jul 2009, at 10:42, Mark Smith wrote: Sarah, to get the size of what will be returned by a get url, you need to issue an HTTP HEAD request, which will return the http headers that would be returned from a GET request, but without the actual content. Something like this in a button

Re: export to text file in UTF8 format?

2009-06-30 Thread Mark Smith
Klaus, I have these two functions in my library for this: function utf8encode pString return unidecode(uniencode(pString),UTF8) end utf8encode - function utf8decode pString return unidecode(uniencode(pString,UTF8)) end utf8decode - Best, Mark On 30 Jun 2009, at 11:00,

Re: Inefficient code

2009-06-26 Thread Mark Smith
On 26 Jun 2009, at 23:07, Richard Gaskin wrote: Ditto what the others have said about the progress bar. Those updates prompt so many layers of OS rendering code that they take quite a toll. I went to a mod solution with one of my projects and it gave me an order of magnitude speed

Re: Deleting Custom Properties

2009-06-25 Thread Mark Smith
Klaus, a slightly simpler way is to use the fact the the customproperties of an object is an array, so: put the customproperties of btn xyz into tArray delete variable tArray[propname] set the customproperties of btn xyz to tArray Randy, it's worth looking into customPropertySets - the

Re: sorting advice

2009-06-19 Thread Mark Smith
Nicolas, this might a good case for using a custom sort like: on mouseUp put fld 1 into tData sort lines of tData dateTime by toDate(word 2 of each) put tData end mouseUp function toDate pStr replace . with / in pStr return pStr end toDate Best, Mark Smith On 19 Jun 2009

Re: Charset problem (Was: Re: Weather reporting in Rev)

2009-06-18 Thread Mark Smith
charset is. Best, Mark Smith On 18 Jun 2009, at 15:09, Dom wrote: Ken Ray k...@sonsothunder.com wrote: I'd probably use screen scraping techniques; for example, my zip code is 54701, so I go to weather.com and enter my zip. That takes me to a page which is this URL: http://www.weather.com

Re: Getting Mutiple files

2009-06-17 Thread Mark Smith
As Björnke says, you can't do it, but what you can do is save the current default folder and then reset it when you're done: put the defaultFolder into tOldFolder set the defaultFolder to someOtherFolder put the files into tFileList set the defaultFolder to tOldFolder best, Mark On 18 Jun

Re: How to handle a wait for file situation

2009-06-09 Thread Mark Smith
Richard, it might help with cpu efficiency to use a different wait in the loop, polling every second, let's say: repeat add 1 to count if there is a file xxx then exit repeat wait 1 second -- I'm assuming that this form of wait just idles the engine if count = 18

Re: How to handle a wait for file situation

2009-06-09 Thread Mark Smith
Craig, you're quite right, and so is Jaque, but in this case, the script is running as a cgi on a server, so has it's own exclusive copy of the engine running it - so nothing else would be getting held up. In another case, though, you might use wait 1 second with messages, which pauses the

Re: How to handle a wait for file situation

2009-06-09 Thread Mark Smith
with the running engine will stop during a wait, but it doesn't seem to affect anything else, and it would surely be a gigantic bug if it did, no? Best, Mark On 9 Jun 2009, at 19:06, J. Landman Gay wrote: Mark Smith wrote: Craig, you're quite right, and so is Jaque, but in this case

Re: How to handle a wait for file situation

2009-06-09 Thread Mark Smith
Not less than 0%! - I meant 1%. That would be a great trick, though, just fire up a few dozen instances of the engine all doing waits, and voila! free clock cycles:) Mark On 9 Jun 2009, at 19:56, Mark Smith wrote: I saw Revolution go up to 19% then quickly down to less than 0

Re: How to handle a wait for file situation

2009-06-09 Thread Mark Smith
Yes, I think you have to be careful with mouse stuff: on mouseDown repeat if the mouse is up then exit repeat put the mouseloc end repeat end mouseDown got up to 70% cpu Best, Mark On 9 Jun 2009, at 20:25, J. Landman Gay wrote: This is an example the the type of thing

Re: How to handle a wait for file situation

2009-06-09 Thread Mark Smith
Scott, that certainly tallies with my experience of the with messages form - it's the tight polling loops that seem to be greedy. best, Mark On 9 Jun 2009, at 21:53, Scott Rossi wrote: Recently, Mark Smith wrote: Yes, I think you have to be careful with mouse stuff: on mouseDown

Re: How do I block the Windows keys?

2009-06-08 Thread Mark Smith
William for the first part I'd do something like: on rawKeyDown pKey if pkey 65388 and pkey 65389 then pass rawKeyDown end rawKeyDown and for the second, assuming you want to show the image when clicked, on mouseUp if the controlKey is down and the commandKey is down then show img tImg

Re: [OT] Customs

2009-06-05 Thread Mark Smith
Richmond, as you probably know, british customs excise have all sorts of powers that might not generally be considered consistent with a modern, democratic civil society. However, I travel a lot, and nearly always have my laptop with me, and neither I nor anyone I know has had their

Re: Joining 2 images

2009-05-04 Thread Mark Smith
: http://marksmith.on-rev.com/imagejoin.irev and to see the script that's doing it: http://marksmith.on-rev.com/ joinimages.inc Best, Mark On 4 May 2009, at 12:16, David Bovill wrote: 2009/5/4 Mark Smith li...@futilism.com get shell(convert img1.jpg img2.jpg +append result.jpg) As far

Re: Joining 2 images

2009-05-03 Thread Mark Smith
Sarah, others may know better, but I think you'll find this difficult to do. The way one might do this in a stack would be to import both images, then get the imageData of each, and join them up. The imageData is actually just a list of pixel values as they are rendered by rev. Typically,

Re: Joining 2 images

2009-05-03 Thread Mark Smith
This may be easy to do in magick: http://www.imagemagick.org/script/command-line-options.php#append Best, Mark On 4 May 2009, at 01:56, Mark Smith wrote: Sarah, others may know better, but I think you'll find this difficult to do. The way one might do this in a stack would be to import

  1   2   3   4   5   6   7   8   9   10   >