Accessing IE history for 'Last Week'
specialfolderpath(34) is the folder where Microsoft stores browser history. Going to that directory in Explorer, you can click through 'Last Week' and see the folder equivalents of what you see in the History pane in Internet Explorer. My question is how can I set the defaultfolder to see inside this 'Last Week' entity, so that I can collect history data and do something with it. Thanks in advance Mark ___ 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
Firefox equivalents for specialfolderpath(6) et. al.
Ken Ray has a dynamite resource that cross references Microsoft CSIDL constants to specialFolderPath equivalents. http://www.sonsothunder.com/devres/revolution/tips/file010.htm A few of these are folders where IE stores favorites, cookies, history, cached files, etc. My question is, is there something analagous for the counterpart folders that Firefox creates? For example, if I wanted to fetch Firefox bookmarks, is there a path statement that works across all localized Windows OS'es? Thanks very much for your help Mark ___ 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: Copying files and Folder permissions
HI Nic: Can't speak to your overall question, but did want to alert you to detailed files bug in 2.8 that has been discussed here, in case you have not encountered it. If you use v 2.8, modification dates start showing 1969 due to a misplaced zero in item 5. Plus there is a similar issue with the permissions item. Mark ___ 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: Enabling a Menu
Joe, You and I are both veterans from the Hypercard days, where there was no such animal as custom properties. Ergo, we are old dogs that need to learn new tricks. I know this in my bones, but try as I might I have never segued over to this feature...instead staying in the comfort zone of globals. I know I am on the wrong path every time I open a stack script and see, like, a thousand global declarations in the header. What Jacque says is the honest truth...I will do better...I will do betterI will do better Mark -Original Message- Jacqueline Landman Gay wrote: Not only that, but you will almost never use a global variable again. ;) -Original Message- Joe Lewis Wilkins wrote: Don't know when I'll ever get around to using this feature, but once I've digested it, I feel pretty sure that it's amazing qualities will hit me right between the eyes! ___ 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: Methodology forprogramming challenge
If I were given the choice, I would write to external HTML, using a combination of ROWSPAN, css, and carefully foundried images. All things considered, it does not seem that hard to do, if in fact you have a say on how to create the output and print quality of non-vector graphics were acceptable. Mark ___ 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: Bkgnd process that returns immediately
put start /MAX C:\foo.html C:\foo.txt into MyCom set the hideConsoleWindows to true get start cmd /c quote MyCom quote get shell(it) To keep the console window from flashing in the snippet above, Xavier responded use start /b to hide the window. I have tried this, in both line 1 and line 3, and in various ordering. But the console still flashes. What am I doing wrong? What is the entire single line of script with the /b in the recommended position? Gratefully, Mark ___ 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: Bkgnd process that returns immediately
Phil Davis wrote: One thing you might find helpful is the 'start' Help info. Yes, I have done that. What it indicates is that /B is an optional argument to start that starts an application without creating a new window. But what is not clear is, which of the two lines where 'start' is used actually get the argument, and how is the full line supposed to read. put start /MAX C:\foo.html C:\foo.txt into MyCom set the hideConsoleWindows to true get start cmd /c quote MyCom quote get shell(it) Some things I have tried for line 1 that do not work put start /B /MAX C:\foo.html C:\foo.txt into MyCom put start /MAX /B C:\foo.html C:\foo.txt into MyCom put start C:\foo.html /MAX /B C:\foo.txt into MyCom put start /b /MAX C:\foo.html C:\foo.txt into MyCom put start /MAX /b C:\foo.html C:\foo.txt into MyCom put start C:\foo.html /MAX /b C:\foo.txt into MyCom and some attempts at line 3 get start cmd /c /b quote MyCom quote get start cmd /b /c quote MyCom quote get start cmd /c /B quote MyCom quote get start cmd /B /c quote MyCom quote As you can tell, I am aimlessly trying to pin a tail on the donkey. ___ 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: Mouse messages while down
Hi Sarah: Depending on the arrangement and characteristics of your 400 controls, you could take the approach of putting mouse detection in an image above your buttons instead of in a card script below: Create a one-bit mask...with areas in the image that register with buttons being made opaque, other areas being transparent. In Rev set the blendlevel of the image to 100. The entire image will be visually transparent, but mouse clicks will respect *original* opacity/transparency. Therefore in the script of the image you could have something like this: on mouseDown --detectable in opaque areas only put BtnBelowAtMouseDown() into gBtnDown set the hilite of btn gBtnDown to true end mouseDown on mouseRelease set the hilite of btn gBtnDown to false end mouseRelease on mouseUp set the hilite of btn gBtnDown to false send mouseUp to btn gBtnDown -- if needed end mouseUp on mouseMove put BtnBelowAtHover() into tBtnHovered ... end mouseMove The BtnBelowAtMouseDown and BtnBelowAtHover algorithms depend a lot on card design. I have done something similar, but with 4 underlying controls instead of 400 so I am not sure about performance and the efficiency of those two algorithms in your particular case. A compelling feature of this approach is that the creation of the mask itself could be scriptable...using snapshot, button rects, alphadata, etc...though I have never done it. Mark ___ 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: Bkgnd process that returns immediately
Xavier: Thanks for the additional info on the redirect technique. I have adapted it to the following put start /MAX C:\foo.html C:\foo.txt into MyCom set the hideConsoleWindows to true get start cmd /c quote MyCom quote get shell(it) and have further questions... -1- This does seem to open foo.html without blocking. However, the console window flashes despite setting hideConsoleWindows to true. Do you have that same behavior? Is this due to the redirect, or is there something else I can include to keep the console window invisible. -2- Suppose I wanted to close the window foo.html via shell. What would the text be on the first line before ? -3- Can I put multiple lines into mycommand so that shell will run commands in sequence? Thanks very much. Mark ___ 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
Bkgnd process that returns immediately
A 2005 thread (from Brian, Xavier, Chipp, et. al) talked about re-direction to achieve a non-blocking shell call, using get shell(mycommand mylogfile.log ) My brain cannot get this to work. Let's say I want Rev to start C:\blah.html using shell(), and then continue executing downstream Rev handlers. I've tried variations of get shell(start C:\blah.html ) and get shell(start C:\shellTemp.txt ) where shellTemp.text contains C:\blah.html among other variations but nothing works. The following get shell(start C:\blah.html ) does work, but it is blocking. I understand the ampersand performs a handoff but am ignorant of the overall sequence of events. What am I doing wrong? Mark ___ 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: Bkgnd process that returns immediately
Xavier wrote: I just dont use the ampersand and it works like a charm... Which one of the literal examples works for you? get shell(start C:\blah.html) get shell(start C:\shellTemp.txt) If the second, then what is in the targeted file? ___ 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: Detecting Browser Page on Windows/Linux
If (objApp.Name = Windows Internet Explorer) or (objApp.Name=Microsoft Internet Explorer) then Hi Ken: Does this signify that the VB will not work with browsers other than IE? Mark ___ 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: Detecting Browser Page on Windows/Linux
Ken Ray wrote I have some VBScript that can work in WIndows to give you ther URL of all currently open web browser documents (or tabs)... Hi Ken: Can your script send a force-refresh to a named browser window? (Windows OS) Mark ___ 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: Detecting Browser Page on Windows/Linux
Yes, even better! Is it up on your site? Ken Ray wrote I have some VBScript that can work in WIndows to give you ther URL of all currently open web browser documents (or tabs)... Mark Powell wrote Can your script send a force-refresh to a named browser window? (Windows OS) Ken Ray wrote Sort of - you can force a refresh to a browser window that is displaying a specific (known) URL. Will that work for you? ___ 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: How to create PDF files?
Google quartam (with an a) and you will find it. www.quartam.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tiemo Hollmann TB Sent: Monday, March 05, 2007 10:41 AM To: 'How to use Revolution' Subject: AW: How to create PDF files? Hello, I am too interested in creating pdfs on Win and Mac. I didn't find any link to quartum in google. Can anyone provide a link? Someone posted to just use the print dialog on mac. Is a pdf printer standard on mac? On win it is not. Thank you Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Andre Garzia Gesendet: Montag, 5. März 2007 15:25 An: How to use Revolution Betreff: Re: How to create PDF files? Dave, jan's pdf library and report tool are the best thing you can have. I recommend sticking to Quartam library, you can ask him if you can include it in your app by paying the license beforehand or something like that. Andre On Mar 5, 2007, at 11:19 AM, Dave wrote: Hi, Are there any products available to create PDF files in RunRev? I need to be able to create a simple PDF file for a Demo this week. I need it to be working for Friday. It looks like Quartum would do it but it's not available for sale as yet and I can't get figure out how to include the public beta into my project. I posted to the Quartum list but have had no answer as yet and I need to get something as a fall back in just in case they don't respond or I can't include it in my project. Thanks a lot All the Best Dave ___ 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 ___ 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 ___ 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 ___ 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: writing to external file from Windows standalone: empty files
Hi Curt: I would not think it is a permissions issue if you are successfully creating the file (albeit without content). I think Bill is right...it is the open file statement. The following works for me on XP, without opening or otherwise preparing vTargetFile for appending. put vContent into URL vTargetFile ___ 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
Best practice question--Protecting auto-loaded Rev stack
I am using the so-called altSplash architecture (standalone executable that loads an un-compiled rev stack) and have a basic best-practices question: What is the best way to protect the rev stack? Stack A: Loader stack (compiled standalone) Stack B: Main stack (uncompiled Rev stack) Stack B2: Substack of Stack B If I set the password of Stack B and B2 to foo, then what do I need to do in the standalone A so that Stack B functions, but without Stack B's scripts being viewable by someone with the Rev IDE installed? Or is it a foregone conclusion that the architecture presumes the Rev stack to be open source? Thnaks Mark ___ 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: Itemization of detailed files changed in v 2.8?
How to use Revolution Joe Lewis Wilkins wrote: Actually, it was easy to run the older version, once I found it! (smile) That did improve the situation, Trevor DeVore wrote: the bug appeared in 2.7.5 betas (which became 2.8). detailed files works fine in 2.7.4 which was the last released version of 2.7.x. I believe it is too generous to say that it improves the situation *not* to upgrade. Forego a new version, because you can't trust it is not a solution, it is a coping mechanism. (-: What is particularly frustrating about this bug is that it looks simply like bad counting on the part of the engine. The permissions component is just wrong, but the mod date is now item 6 of detailed files instead of item 5. Grrr. I make lots of mistakes and the ones that grind on me the most are ones like this that are due to my own sloppy housekeeping. So my advice to the Rev team: shoot for the stars in improvements, yes, but make sure the on-board toilet keep working while you are on the journey. Thanks to all for responding. This list is cheaper than counseling, and much more effective. --Mark ___ 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: Please test this...takes 2 seconds
Windows XP Professional Rev. 2.8.0 Works fine with keystroking. But with menus, Edit Copy works (e.g. proven by going to NotePad and pasting) but Edit Paste does not. When I try Edit Paste, the stack window loses focus and the focusedObject becomes: field id 1035 of card id 1002 of stack C:../revmessagebox.rev so it may try to be pasting into fld id 1035 (whatever that is). This may be a hold-over of the shifting focus problem in earlier versions? Maybe fld id 1035 is supposed to be un-focusable? Mark ___ 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: Please test this...takes 2 seconds
Sorry, I miswrote. The focusedObject becomes button id 1222 of card id 1002 of stack C:/.../revmenubar.rev Maybe this is what it is supposed to be, but I can see visually that the stack window becomes de-focussed. --- Windows XP Professional Rev. 2.8.0 Works fine with keystroking. But with menus, Edit Copy works (e.g. proven by going to NotePad and pasting) but Edit Paste does not. When I try Edit Paste, the stack window loses focus and the focusedObject becomes: field id 1035 of card id 1002 of stack C:../revmessagebox.rev so it may try to be pasting into fld id 1035 (whatever that is). This may be a hold-over of the shifting focus problem in earlier versions? Maybe fld id 1035 is supposed to be un-focusable? Mark ___ 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
Itemization of detailed files changed in v 2.8?
Can someone give me a reality check. The following is a straight message box call of put the detailed files When I do it under 2.7.2, I get. About+the+Earth.txt,46,,1160311160,1160308669,1172320050,0,0,0,666, AboutFiles.txt,3088,,1160669830,1164203803,1172320050,0,0,0,666, encap_sol_system.gif,2770,,1160311160,1078329184,1172517002,0,0,0,666, Process+Meeting.msg,620544,,1160311160,1160308722,1172320051,0,0,0,666, When I do it under 2.8, I get. About+the+Earth.txt,46,,1160311160,0,1160308669,0,0,0,000, AboutFiles.txt,3088,,1160669830,0,1164203803,0,0,0,000, encap_sol_system.gif,2770,,1160311160,0,1078329184,0,0,0,000, Process+Meeting.msg,620544,,1160311160,0,1160308722,0,0,0,000, In 2.8, I am getting modification dates of 1969 due to the zero in item 5. Is anyone else seeing this, or am I just hallucinating (again)? Mark ___ 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: Itemization of detailed files changed in v 2.8?
Never cease to be amazed how something functioning in an earlier version can break so freely in upgrades. Who is minding the store, anyhow? And if it was broken between 2.7.2 and 2.7.5 (as reported by Trevor), any excuse why it wasn't remedied in 2.8?Aargh. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor DeVore Sent: Monday, February 26, 2007 12:52 PM To: How to use Revolution Subject: Re: Itemization of detailed files changed in v 2.8? On Feb 26, 2007, at 11:22 AM, Mark Powell wrote: In 2.8, I am getting modification dates of 1969 due to the zero in item 5. Is anyone else seeing this, or am I just hallucinating (again)? http://quality.runrev.com/qacenter/show_bug.cgi?id=4474 -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com [EMAIL PROTECTED] ___ 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 ___ 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
Tri-state checkboxes
I know there is debate among HIF designers that such a thing should exist in the first place, but let's assume that one has a good reason for it: My question is, is there any Rev-native way of doing tri-state checkboxes? Where a checkbox can have an ON, OFF, or equivocal setting that signifies something between ON and OFF. If not Rev-native, has anyone cooked up their own solution whose look and feel is cross-platform compatible (so that the tri-state checkbox can be ganged alongside conventional Rev-native checkboxes, and not stand out like a sore thumb)? I am on 2.8.0 Mark ___ 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: Tri-state checkboxes
Thanks to all for your suggestions, but they do not precisely fit what I need. The image solutions assume one look-and-feel...if the standalone were to be run on Vista, for example, the image would have the wrong motif when compared to the neighboring conventional checkboxes. And Stephen's solution uses disabled as the third state, which is not what I need. I need an enabled third state. I am guessing this is not possible, but any other ideas are greatly appreciated. Mark On 23 Feb 2007, at 14:01, Mark Powell wrote: I know there is debate among HIF designers that such a thing should exist in the first place, but let's assume that one has a good reason for it: My question is, is there any Rev-native way of doing tri-state checkboxes? Where a checkbox can have an ON, OFF, or equivocal setting that signifies something between ON and OFF. If not Rev- native, has anyone cooked up their own solution whose look and feel is cross-platform compatible (so that the tri-state checkbox can be ganged alongside conventional Rev-native checkboxes, and not stand out like a sore thumb)? I am on 2.8.0 Mark ___ 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 ___ 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 ___ 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: Tri-state checkboxes
Ken: Sounds promising. Is the size/location of the underlying checkbox predictable enough for this? i.e. it doesn't pixel-creep from platform to platform? Mark Well, the closest you can get is to have a single image that shows the equivocal state that is put on top of a real checkbox, and is hidden. When the user clicks on the checkbox, you check the current state of the hilite and if it is true (checked), you show the equivocal image on top and allow the mouseup to continue (which will change the checkbox to cleared (unchecked), but beneath the equivocal image. Then when the user clicks on the image, you have script that simply hides the image. Then to find out the state of the checkbox, you'd just check the visible of the image - if it's showing, you're in an equivocal state; if not, you take the hilite of the checkbox. ___ 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: Am I overseeing something here?
Should you not be asking if char -3 to -1 of the long name of the target = XYZ then Instead of if char -4 to -1 of the long name of the target = XYZ then --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Major Sent: Tuesday, February 20, 2007 11:51 AM To: How to use Revolution Subject: Am I overseeing something here? Hi friends, I have a stack XYZ that I start using. Then I wrote a closestack handler and surely do not want to let ALL stacks execute it. So I wrote an if... then... clause to filter other stacks. But only solution 1 does work, solution 2 does NOT? To me the logic is identically, but maybe I am overseeing something obvious here? Any hints and explanations are very appreciated! Solution 1 does work: on closestack if char -4 to -1 of the long name of the target = XYZ then do this and that ONLY for stack XYZ ... end if end closestack Solution 2, does NOT work, do this and that... IS being executed by other stacks: on closestack if NOT char -4 to -1 of the long name of the target = XYZ then exit closestack end if do this and that ONLY for stack XYZ ... end closestack What do I miss here??? Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ 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 ___ 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: OT: The State of Video Capture Spring 2007
You might look at the Visual Communicator product from a company called Serious Magic. http://www.seriousmagic.com/ The company has been acquired by Adobe, so I don't know how they plan on integrating it into their offerings. It is very script-based ('script' as in the playwright/Hollywood sense, not in the progammatic sense) and like everything has its pro's and con's. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Sent: Friday, February 09, 2007 5:38 AM To: How to use Revolution Subject: Re: OT: The State of Video Capture Spring 2007 Hiya, Had a little think: Keynote can export to QT movie format: http://docs.info.apple.com/article.html?path=Keynote/3.0/en/key18.html I'm assuming this can be scripted. Script the audio (pre-recorded and tagged): Tag the QT mov to pull in and play the audio - Save the QT mov with the audio. Convert the QT mov to DVD format. I haven't done any QT mov conversions, but I have used VisualHub (http://www.techspansion.com/visualhub/) to convert other file types to DVD. I recall there being an additional download to do this from the Apple site (the mpeg2encoder methinks) for VisualHub to do it, but I can't be sure right now. It also exports for iPod, so you could offer that as an alternative to the DVD... Don't know if this helps. Cheers, Luis. Sivakatirswami wrote: Luis wrote: Hiya, Would you detail the setup a little more? To mind is a HD cam, but I'm not sure I'm seeing what you require straight off. Cheers, Luis. 1) Presentations are created in Keynote 2) At the end of the KeyNote, you want to just hand out to the audience the presentation on a DVDs. 3) It obviously does not have the audio by the presentor. 4) We have been recording the presentation live in studio a setting while running the Keynote and capturing this with SnapzPro. It works fairly well. We were able to go up to nearly 30 minute and the G 5 handled it pretty well. Does that help? On 8 Feb 2007, at 22:08, Sivakatirswami wrote: We are in the midst of our hard ware upgrade cycle (once very two years we do major enterprise hardware upgrade here.) And we are taking a hard look at must have equipment. Some background: (Apple only, OSX) We are ramping up video production in a big way and getting from a Keynote to a DVD is right now an incredible jump thru hoops where, using SnapzPro on our biggest G5 dual processor desktop production station [snip] Obviously the SnapzPro is price is right vs a $5M conversion box.. but I would be interested to know what a hardware solution might offer that SnapzPro cannot... Thanks! ___ 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 ___ 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 ___ 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: finding renamed files
Hello David: Assuming you are dealing with jpegs only, you could use exif data in your comparison algorithm. For example, if you know the source of all images you can parse the exif data to see if an unknown 'image software source' field exists. If yes, then it is deemed to have changed. Alex Tweedly has a stack libEXIF that does this well. I think it is in RevOnline. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Glasgow Sent: Thursday, February 08, 2007 3:28 AM To: use-revolution@lists.runrev.com Subject: Re: finding renamed files Thanks to all who made suggestions re the above. The detailed files looked promising, but ultimately a bit disappointing. Maybe last accessed might offer something, unless of course the file is renamed without opening. Mind you, I am only interested in files renamed because they *mean* something to the user, so I may well want to ignore anything renamed without opening. I will call that a 'feature' ;-)) I will experiment and see what works best. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk ___ 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 ___ 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: In standalone, closing a modal closes everything
Hi Chipp/Trevor By chance, have you implemented something to work around this bug? Wait for fix? Subject users as is? If testing for engine version, then what? I am at an impasse. Nothing seems quite workable to me. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters Sent: Thursday, February 01, 2007 9:17 AM To: How to use Revolution Subject: Re: In standalone, closing a modal closes everything Yeah Mark, that's the bug. I believe Trevor's well documented it and I believe I've heard it's fixed in a newer version, when it gets released. On 1/31/07, Mark Powell [EMAIL PROTECTED] wrote: This, I believe, is the bug in 2.7.2 that Chipp raised a few weeks back. Am I right? Anyone know if that little bug has been fixed? ___ 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 ___ 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
Application suspending after a window closes in 2.7.x
Combination of two earlier threads... I am running XP with Rev 2.7.2. In standalone, closing a modal suspends the rev application and the user is thrown into another currently running application (Outlook or Photoshop, for example). My understanding from the October/November time frame is that this is a known bug that was said to be high priority. Does anyone know if this has been fixed in newer versions? Is there *ANY* established workaround for it? Many thanks from the land of eternal snow. Mark ___ 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: In standalone, closing a modal closes everything
Well, I guess it is fixed. I had had no closeStack handler in the substack, but when I place on closeStack end closeStack into the stack script of the substack, the resulting executable works. Apparently, a call within the substack button to 'close this stack' or 'close stack License' sends a closeStack message up the hierarchy? I did not realize this...I thought the button script had to specifically say 'closeStack' to yield that result. So 'close this stack' in the button apparently reaches the following in the stack script of the main stack on closeStack if the environment is not development then quit end closeStack which I guess explains why I was not having a problem in the development environment. Thanks everybody for bearing with me. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters Sent: Tuesday, January 30, 2007 12:11 PM To: How to use Revolution Subject: Re: In standalone, closing a modal closes everything I imagine the closeStack message is being sent to your mainStack (not the altSplash stack). If you don't change the originating call, then handle it in the card or stack script of the mainStack. ___ 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 ___ 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: In standalone, closing a modal closes everything
Aaargh. I solved the one problem (trapping the closeStack handler) so that the rev application does not quit improperly. However, now a new one has come up. The closing of the modal *SUSPENDS* the application (throws the focus onto Outlook, Photoshop, or some other application)! The rev application is still in the taskbar, it just is not active anymore. This, I believe, is the bug in 2.7.2 that Chipp raised a few weeks back. Am I right? Anyone know if that little bug has been fixed? Or am I again showing my ignorance as to how message passing is supposed to work? Thanks very much. Mark ___ 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
In standalone, closing a modal closes everything
Here is a distillation of my problem. From my main stack, I call a stack with modal stack MyAnswerDialog On that modal stack, there is an OK button with the script ending with close this stack In the development environment, the modal is closed as expected and you return to the main stack. As an executable, clicking the OK button quits the application (i.e. OK closes both main and modal stacks). I am using Rev 2.7.2. Am I doing something wrong? I could have sworn this has worked in the past. Mark ___ 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: In standalone, closing a modal closes everything
It ends with that -- what comes before it? --in main stack, button script is... on mouseUp openLicenseDialog end mouseUp --in main stack, stack script is... on openLicenseDialog modal stack License end openLicenseDialog --in stack License, button script is... on mouseUp RequestDone end mouseUp --in stack License, stack script is... on RequestDone simple variable checks here close this stack end RequestDone BTW, Devin, I have tried saying specifically close stack License but the result is the same. I should clarify one thing. In development it works as expected. In the standalone model, I am using the altSplash methodology, so the splash screen is technically the executable, while the main stack referenced above is an un-compiled stack. Also, I know there has been a bug in one version of Rev or another of focus switching out of Rev into another application. I experience that with 2.7.2. I can hack together a small sample of what I am talking about later today, but any idea beforehand are greatly appreciated. ___ 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 ___ 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
How do I query 'What object is on top?'
Can't find this anywhere in docs or archives. How can I determine what object is occupying the top layer of a card at a given moment? Mark ___ 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: How do I query 'What object is on top?'
Hi Mark, Thanks, but that tells me the layer number, right? What I need to know is what *object* occupies the layer. For example, a pseudo function like put whatObjectOnTop() might return image id 2834 Mark P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Schonewille Sent: Monday, January 22, 2007 10:22 AM To: How to use Revolution Subject: Re: How do I query 'What object is on top?' Hi Mark, put the layer of the last control Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 18:11 heeft Mark Powell het volgende geschreven: Can't find this anywhere in docs or archives. How can I determine what object is occupying the top layer of a card at a given moment? Mark ___ 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 ___ 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 ___ 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: How do I query 'What object is on top?'
Richard, This does do what I was asking about, thanks! Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Monday, January 22, 2007 1:02 PM To: How to use Revolution Subject: Re: How do I query 'What object is on top?' To get the topmost object: get the long id of last control To get its name: get the short name of the last control To get its layer: get the layer of the last control To get its type-specific number: get the number of the last control What else is needed? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ 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 ___ 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: How to convert seconds to date and time?
This works in my code ... convert vTheSeconds to short system date and abbreviated system time ... where vTheSeconds is a value in seconds such as 1141690766 Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reinhold Venzl-Schubert Sent: Friday, January 12, 2007 3:23 AM To: use-revolution@lists.runrev.com Subject: How to convert seconds to date and time? Hi! In the documentation I find the way to convert the date the time to seconds but I do not find a way to convert the seconds back the date the time. Reinhold ___ 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 ___ 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: Hairlines and Scaling
Hi Joe You might also consider the strategy of creating/maintaining the vectors in an oversized stack, say 2000 x 3000 pixels in size, then exporting cards as needed as GIF, JPG or whatever file format your program can scale, print, or otherwise consume. (See the export command in the docs). If you need a more easily viewable image in your native Rev stack, I can imagine a scheme where you create thumbnails for viewing within Rev. However, not sure how you would go about having a more easily *manipulable* (scroll-free) image in Rev. There is no zoom-in capability, ala Illustrator or Photoshop. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Lewis Wilkins Sent: Monday, January 01, 2007 1:08 AM To: How to use Revolution Subject: Re: Hairlines and Scaling Thanks for your response, Scott. I suppose one method for me to achieve this effect will be to print my output at a 50% magnification. This would reduce one pixel lines to half a pixel. Of course this means that the objects themselves will have to be drawn at twice their size in order to produce an accurately scaled drawing. Using one of my other programming languages I was able to do Hairlines; whether they were 1/2 pixel width or not, I'm not sure; but they looked narrower. FYI, I'm planning to write a program that can be used to create shop drawings of a manufacturer's product by providing digital input, rather than having to actually draw the items. Once I've figured out how to do this it will reduce the time to produce these drawings, properly label and date everything to minutes instead of the days it now takes; even using CAD systems. Again, thanks, Joe Wilkins On Dec 31, 2006, at 11:36 PM, Scott Rossi wrote: Recently, Joe Lewis Wilkins wrote: Has anyone developed a method of giving graphic objects' lines a thickness less than 1 pixel in size? Also, a method of assigning other than 72 pixels per inch; preferably 192? Rev cannot natively display a true line object less than 1 pixel in thickness since it does not currently support sub-pixel positioning, but even then, all you might wind up with is a blurred line that occupies more than 1 pixel in thickness. Are you perhaps trying to create a scalable display or something else? The only way I can think of to accomplish something like this is to use an image that has space around the line that will antialias when scaled. Not sure if this helps. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ 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 ___ 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 ___ 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: Removing a stack from memory - is this a bug?
Joe: I was myself a practicing architect and then HyperCard guru, working for Apple Computer for several years in the 1990s. When I left Apple I found myself in the Windows wasteland, Hypercard-less and mute for almost 5 or 6 years until I stumbled across Rev. As I have said before: Where once I was blind, now I see. (The fact that Frederic Rinaldi is here speaks volumes, doesn't it?). Make sure to communicate that in your journals...for ex-HyperCarders who have never found Rev, you will be like an apostle. As to the original reason for this post, is there any chance that the bar character in the stack name is the cause of the problem? I am guessing you use it liberally elsewhere without problems, but I'd avoid it. Its 'OR-ness' is too significant for my conservative tastes. Mark ___ 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
How to press Enter when there is no such key on my keyboard
Really dumb question: I am working on my laptop in the airport and am testing scripts via the multiple-line message box. However, my laptop has only the Return key (which happens to be labelled 'Enter' but isn't really). Does anyone know how to fool Rev or the Windows OS into receiving an enterkey in this scenario when the keyboard does not actually have one? I worked around it by creating temporary buttons, but am just curious if there is a direct way. ~Mark Powell ___ 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: How to press Enter when there is no such key on my keyboard
It works, thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Davis Sent: Tuesday, December 26, 2006 1:02 PM To: How to use Revolution Subject: Re: How to press Enter when there is no such key on my keyboard Hi Mark, Try ctrl-enter. I have a Dell laptop with a similar keyboard. I found I can press ctrl-enter to close the script editor. Phil Davis Mark Powell wrote: Really dumb question: I am working on my laptop in the airport and am testing scripts via the multiple-line message box. However, my laptop has only the Return key (which happens to be labelled 'Enter' but isn't really). Does anyone know how to fool Rev or the Windows OS into receiving an enterkey in this scenario when the keyboard does not actually have one? I worked around it by creating temporary buttons, but am just curious if there is a direct way. ~Mark Powell ___ 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 ___ 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: Help. How do you insert a custom icon into your standalone?
Does building icons for XP automatically mean they are compatible with Windows 2000? Mark ___ 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
Writing to $ALLUSERSPROFILE
Working on a utility for Windows that writes to C:\Documents and Settings\All Users\Application Data but it occurs to me that this would not work for non-English operating systems. Three questions: - Can I use the environmental variable $ALLUSERSPROFILE with absolute confidence that it will resolve on all Windows operating systems? - How do I write into the Application Data subdirectory? (i.e. how do I anticipate the localized name?) - If I can't, then can I create a directory at the root of All Users with absolute confidence that I can do it on all systems? Thanks Mark Powell ___ 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
Best Practices for licensing
Open question for those on the list with commerical offerings for Windows: What are best practices for licensing of your RR-created applications? For example, how do you recommend generating the keys, how do you distribute them, and how do you store the bits locally etc? And in general, what are the problems to look out for. Thanks all, Mark ___ 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
stack vs. exe behavior in altSplash deployment
I have an app in development that I am now transitioning to be suitcased with Altuit's altSplash architecture. [BTW Chipp: altSplash is to Rev apps what Dick Fosbury was to high jumping--I hope you understand the compliment] Anyway, a couple of questions -1- Cursor idiosynracies: Rev's built-in cursors aren't available (e.g. instead of hand and busy, I get the hourglass). How do I ensure that cursors port over correctly when a stack is deployed as a non-executable? -2- Saving state: When deployed as a non-executable, is it accurate to say that saving state (i.e. preferences, last state of checkbox, etc) is as straightforward as asking whether to save when the stack is closed? -3- Alpha channels: When used in the context of altSplash, is alpha channel synonymous with transparency layer. I am getting transparency to work, but am wondering if I am not capitalizing on the effects available in the engine. Thanks very much Mark ___ 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
iconifyStack sends me to the Milky Way
I want to *close* a minimized stack and go to a second stack at a controlled location. Details... I have a window with various elements, one of which is a button that performs dragDrop tasks. I want to give users the option to 'collapse' this window to show only the dragDrop button (i.e. resulting in a smaller drag-and-drop well). I currently accomplish this by an in-window button that closes the stack and goes to a substack that is a reduced version of the first. It works exactly as I want. I would also like to have the minimize button in the titlebar mimic the same thing. However, when I trap the iconifyStack message and exectute the same instruction set, Windows OS overrides my loc settings and puts the destination window at a loc of -31775,-31683. It also does not respect the closeStack handler for the originating stack, leaving it open in the taskbar. Number one, why the inter-galactic coordinates? Number two, how do I close the first stack? Number three, any better way of accomplishing this? Mark ___ 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
Allow line breaks at a char other than 'space'
In a field, I would like to allow line breaks to occur at a forward slash char in the same way as they occur at a space char. (I don't want to *force* the line break...only to *allow* it if the right margin is in play). Is there any easy way to do this without having to calculate effective widths etc. Mark Powell ___ 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
Does a day start at 1:00 AM everwhere?
I have a user-specified date. I want to convert it to seconds and factor in 86400 to establish the range of seconds for that date, so that I can compare a file's creation date to determine whether that file was created on that specified day. The problem is I am not sure what is used as the starting point for a date's seconds counter. At 6:42 this morning, I ran this: put the short date into theDate convert theDate to seconds put ((the seconds - theDate) / 3600) and got 4.710556, which suggests that a date starts at 1:00 AM and not midnight. Is this accurate? And more importantly, is this the way the computation would be handled on any client machine anywhere? Thanks Mark Powell ___ 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: Does a day start at 1:00 AM everwhere?
Jim and Ken: Aargh. I hate it when something I'd hope would be easy turns into a rathole. My problem is that I have two inputs. One is the user inputting a date. Another is the creation date in seconds that has previously been extracted via a 'detailed files' call, which has been concatenated in the format below. C:/RevolutionStacks/SortTest/!?!Sept_009K.jpg!/9040/1157431138 What I wanted to do is to express the input date in seconds and test it against item -1 of each line in the container (there are potentially 100,000 such lines in a container). Using dateItems or 'word 1 of tFileDateTime' as you suggest would require modification to the original 'detailed files' extraction algorithm, which doubtless will have a ripple effect elsewhere. So, is there not any reliable way to compare seconds to seconds? Or do I have to go the route of approximation. Also Ken, the DST et. al. wrinkles you describe: does that affect the interpretation of a creation date extracted from the file? Or is the complication confined to how a particular user's computer calculates a time query? For example, if a user's OS displays a creation date for foo.txt as 11/21/05, will Rev not always interpret it as 11/21/05? Or can fencepost error arise where Rev misinterprets the static date? Thanks again Mark Powell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Powell Sent: Friday, October 27, 2006 6:53 AM To: use-revolution@lists.runrev.com Subject: Does a day start at 1:00 AM everwhere? I have a user-specified date. I want to convert it to seconds and factor in 86400 to establish the range of seconds for that date, so that I can compare a file's creation date to determine whether that file was created on that specified day. The problem is I am not sure what is used as the starting point for a date's seconds counter. At 6:42 this morning, I ran this: put the short date into theDate convert theDate to seconds put ((the seconds - theDate) / 3600) and got 4.710556, which suggests that a date starts at 1:00 AM and not midnight. Is this accurate? And more importantly, is this the way the computation would be handled on any client machine anywhere? Thanks Mark Powell ___ 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 ___ 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
Multiple arguments with the filter command
Another text filtering question, please. I have studied the archives but have not found precisely the solution that works. I have a container vContainer of file names, each line of the form directory/!?!filename!/filesize/creationdate Here are three literal examples: C:/The World/Asia/!?!prologue.ps!/1026/1115309596 C:/The World/Europe/!?!Map of Europe.jpg!/3536844/1155845730 C:/The World/!?!About1953.txt!/4288/1161776573 User-input text strings can define what files from vContainer are to be retained. The following works to filter-in the first example above: filter vContainer with (*!*.ps*!*) However, if the user wants both .ps and Europe to be retained, how best to do it without repeat loops and a lot of temporary copies of vContainer? Is there a way? One catch is that if the user inputs something like 53, the operation must recognize the fact that the 53 in the first two examples is not a part of the file name, thereby filtering them out, but that 53 is a part of the file name in the third example, thereby filtering it in. This is one reason for the exclamation point tokens in vContainer. Any ideas greatly appreciated. Mark Powell ___ 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: Multiple arguments with the filter command
Thanks to both Jim and Marielle for their awesome feedback. Instead of asking specific questions about the details of your feedback, I want to ask a general performance question. The filter does work within a repeat loop like this: repeat for each item thisItem in vInputStrings get vContainer filter it with (*!* thisItem *!*) put cr it after vNewContainer end repeat ...do something with vNewContainer But given that vInputStrings could be very large, my concern is that the getting and putting involved would be dangerously memory- or processor-intensive. What are the risks you have seen with the brute force approach like the one above? Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Powell Sent: Wednesday, October 25, 2006 10:04 AM To: use-revolution@lists.runrev.com Subject: Multiple arguments with the filter command Another text filtering question, please. I have studied the archives but have not found precisely the solution that works. I have a container vContainer of file names, each line of the form directory/!?!filename!/filesize/creationdate Here are three literal examples: C:/The World/Asia/!?!prologue.ps!/1026/1115309596 C:/The World/Europe/!?!Map of Europe.jpg!/3536844/1155845730 C:/The World/!?!About1953.txt!/4288/1161776573 User-input text strings can define what files from vContainer are to be retained. The following works to filter-in the first example above: filter vContainer with (*!*.ps*!*) However, if the user wants both .ps and Europe to be retained, how best to do it without repeat loops and a lot of temporary copies of vContainer? Is there a way? One catch is that if the user inputs something like 53, the operation must recognize the fact that the 53 in the first two examples is not a part of the file name, thereby filtering them out, but that 53 is a part of the file name in the third example, thereby filtering it in. This is one reason for the exclamation point tokens in vContainer. Any ideas greatly appreciated. Mark Powell ___ 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 ___ 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: Multiple arguments with the filter command
Aah, my ambiguity. What I am looking for is an OR solution. For example, Keep file names with Europe OR .ps OR 53 That is why I have a vNewContainer variable, although file names satisfying more than one string would have to dealt with. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marielle Lange Sent: Wednesday, October 25, 2006 2:32 PM To: How to use Revolution Subject: Re: Multiple arguments with the filter command Yep, this was the fast solution to the and problem ;-). Best strategy to adopt then is to first sort the search items by length. Then run your repeat loop from longest to shortest. If lucky, you will only have 1 or 2 items left in your file list. What matters then is the size of your list of words to search for rather than the size of the original list of files. I was not quite sure to understand the use of your vNewContainer variable. Filter will directly act on your variable such that only the lines that the filter let go appear in the new list. So, in fact, you could code it this way and as with the strategy outlined above, if lucky after the first repeat, vNewContainer wlll be very small. put vContainer into vNewContainer repeat for each item thisItem in vInputStrings filter vNewContainer with (*!* thisItem *!*) end repeat ...do something with vNewContainer Thanks to both Jim and Marielle for their awesome feedback. Instead of asking specific questions about the details of your feedback, I want to ask a general performance question. The filter does work within a repeat loop like this: repeat for each item thisItem in vInputStrings get vContainer filter it with (*!* thisItem *!*) put cr it after vNewContainer end repeat ...do something with vNewContainer But given that vInputStrings could be very large, my concern is that the getting and putting involved would be dangerously memory- or processor-intensive. What are the risks you have seen with the brute force approach like the one above? Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Powell Sent: Wednesday, October 25, 2006 10:04 AM To: use-revolution@lists.runrev.com Subject: Multiple arguments with the filter command Another text filtering question, please. I have studied the archives but have not found precisely the solution that works. I have a container vContainer of file names, each line of the form directory/!?!filename!/filesize/creationdate Here are three literal examples: C:/The World/Asia/!?!prologue.ps!/1026/1115309596 C:/The World/Europe/!?!Map of Europe.jpg!/3536844/1155845730 C:/The World/!?!About1953.txt!/4288/1161776573 User-input text strings can define what files from vContainer are to be retained. The following works to filter-in the first example above: filter vContainer with (*!*.ps*!*) However, if the user wants both .ps and Europe to be retained, how best to do it without repeat loops and a lot of temporary copies of vContainer? Is there a way? One catch is that if the user inputs something like 53, the operation must recognize the fact that the 53 in the first two examples is not a part of the file name, thereby filtering them out, but that 53 is a part of the file name in the third example, thereby filtering it in. This is one reason for the exclamation point tokens in vContainer. Any ideas greatly appreciated. Mark Powell ___ 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 ___ 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 Marielle Lange (PhD), http://widged.com Bite-size Applications for Education ___ 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 ___ 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
How to delete trailing spaces in a line
I want to delete all spaces at the end of a line, be they a single space or a couple dozen. What is the best way to do this? Mark Powell ___ 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: How to delete trailing spaces in a line
Thanks for the reply, Mark. However, it must be at the end of line only. In addition, I need to do the operation on a container in one call, preferably using replaceText. I am having problems with ... put space + return into vStringToStrip replaceText(vMyContainer,vStringToStrip,empty) ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Smith Sent: Tuesday, October 24, 2006 10:03 AM To: How to use Revolution Subject: Re: How to delete trailing spaces in a line put word 1 to -1 of tLine into tLine - though this will also remove spaces at the beginning of the line. Best, Mark On 24 Oct 2006, at 17:10, Mark Powell wrote: I want to delete all spaces at the end of a line, be they a single space or a couple dozen. What is the best way to do this? Mark Powell ___ 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 ___ 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 ___ 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: How to delete trailing spaces in a line
Yes, Jim hit the nail on the head. Does exactly what I wanted and quickly. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault Sent: Tuesday, October 24, 2006 1:50 PM To: How to use Revolution Subject: Re: How to delete trailing spaces in a line I believe the original question by Mark Powell was asking about removing spaces at the end of every line in a multi-line container, then later the he described trying to use replaceText and a regular expression to do the job, which it can do. See my earlier post with one way of doing this. Jim Ault Las Vegas On 10/24/06 11:46 AM, André.Bisseret [EMAIL PROTECTED] wrote: I don't claim that it is the best way, but, in order to delete all spaces at the end of a field I am using : repeat until last char of fld leTexte is not space delete last char of fld leTexte end repeat which works for a line as well (I just tried it). Best regards from Grenoble André Le 24 oct. 06 à 17:10, Mark Powell a écrit : I want to delete all spaces at the end of a line, be they a single space or a couple dozen. What is the best way to do this? Mark Powell ___ 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 ___ 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
Comma in file names thwarting URLdecode(the files)
Sure this has to be a simple question but I can't find anything about it in docs or forum. -The long files function returns a comma-delimited list of attributes. -With URLdecode, a file name with comma skews item delimiting. -Without URLdecode, a file name with percentage sign skews delimiting. -Checking 'number of items' seems to be OS-dependent (last item empty on Windows?!) What am I missing? How can I reliably derive a Windows-OS file name from 'the files'? Mark Powell mark_powell (at symbol) symantec.com ___ 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
Using 'for each' to modify a container
I want to use the 'for each' form of the repeat loop, but don't know how to use it to modify data within a container. For example: repeat for each line thisLine in vContainer put doSomeFunction(item -2 of thisLine) into item -2 of thisLine --how do I get the change back into vContainer? end repeat Thanks! Mark Powell mark_powell (at symbol) symantec.com ___ 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: Andy's comments and positioning...
Being a veteran of HyperCard wars at Apple, I could not agree more with Chipp's assessment. It is perception and (in part) simple name recognition. Case in point, I go into my management and say I need x dollars budget to develop this utility. What are you developing in? they ask. If I say C++ or VB, they stroke their metaphorical chins and with gravitas, acknowledge regretfully the necessity of such an outlay. If I say Revolution, they look they're being lobbied by Dennis Kucinich. Don't let the door hit you in the butt. It is a comfort factor. I think the positioning angle (I am very sorry to say), demands that Rev strive to be more agnostic as far as Mac vs. Wintel is concerned. The few people I have spoken to who have ever heard of Revolution think of it as a Macintosh-only thing. That turns off a heckuva lot of potential users before they even have a chance to learn any better. Other things that developers can adopt are what I call placebo features, whose presence is solely to soothe a user into feeling that their app has been developed in a professional SDE. One example is the cursor set (that I believe Chipp distributes) that turns the telltale hand cursor into the more familiar OS like cursor. It is without reason from a purist's point of view, but so if wearing a business suit to board meeting. Perception. All in all my advice is don't get angry at people who simply can't see the forest for the trees. As my dad used to say to me: Don't tell me. Show me. Revolution needs compelling apps whose appearance and functionality don't telegraph how they were developed. Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Deselect on click
Simple I'm sure, but it evades me... I have a field that I'm using as a clickable list. Its listBehavior, toggleHilites, noncontiguousHilites, autoHilite, are all set to true. The standalone works as I want, except for one thing. If the user has a line or lines already selected, then clicks on another line *without* using Shift or Command/Control keys, all the previously selected lines should un-highlight and the new line should then be highlighted by itself. At least that is how it works in applications that I use. How do I do that? Mark ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Runtime error with 'get URL'
I am on Windows 2000 with two machines A and B. I develop and debug on A, but test standalones on both A and B. I have a runtime error that I have isolated to the following code in the preOpenStack handler: ... get URL ClientDataCurrent answer calling from preOpenStack, this is what is \ read from the data_current file: return it if (the result is not empty) then exit routine end if put it into gWhatever ... On machine A in both the IDE and standalone, gWhatever is populated and everything works as desired. On machine B, the code gets nothing from the text file (confirmed by the answer dialog during runtime). The result testing is not triggered in any scenario. Moreover, on both A and B I can validate connectivity by pasting the URL into a browser and seeing the data directly. Any ideas? Are there additional tests I can do during runtime that will shed light on this? Mark ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Runtime error with 'get URL'
PARAPHRASED FROM DAR What is 'the result' and 'the syserror'? What version of Rev? Is the URL on B? Does B have to go through a proxy? The result is empty. Rev 2.0.1. I did not know about 'the syserror', will try it out. Machine B does not go through a proxy, and similar routines in standalones have worked on this machine before. The URL is to a location on the company intranet. PARAPHRASED FROM DAVE === the result may be from the answer?... http or ftp etc? libUrl loaded? I put the answer dialog late in the process, same results before I inserted it. I can go back in and remove it just to validate. The URL is an http one. Is the loading of libURL a function of what machine you are one (the standalone does work on machine A). == ORIGINAL MESSAGE == I am on Windows 2000 with two machines A and B. I develop and debug on A, but test standalones on both A and B. I have a runtime error that I have isolated to the following code in the preOpenStack handler: ... get URL ClientDataCurrent answer calling from preOpenStack, this is what is \ read from the data_current file: return it if (the result is not empty) then exit routine end if put it into gWhatever ... On machine A in both the IDE and standalone, gWhatever is populated and everything works as desired. On machine B, the code gets nothing from the text file (confirmed by the answer dialog during runtime). The result testing is not triggered in any scenario. Moreover, on both A and B I can validate connectivity by pasting the URL into a browser and seeing the data directly. Any ideas? Are there additional tests I can do during runtime that will shed light on this? Mark === ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: text encoding gotcha?
Suddenly, I am seeing something similar in my IDE (running on Windows). A list is showing either the box you describe or a bold pipe at the end of each line. A chartonum query identifies this character as 13, and when I replace numtochar(13) with empty, the artifact goes away. This 'fix' is making me nervous, because it seems to be the equivalent of saying strip the carriage returns, which it is not doing. I am seeing this for the first time today. Maybe we have the same flu. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 5:25 PM To: How to use Revolution Subject: text encoding gotcha? Suddenly when I do a Win32 standalone build, when I run it on windows, some fields are all garbled looking. Every other character is a box- signifying maybe this is using a wide character encoding. This is bizarre- I'm not using Unicode at all. What the heck could be going on? Is it possible to disable the automatic MacToISO encoding for fields which happens when you launch a Mac-built standalone on Windows? Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: text encoding gotcha?
The scripts do save to, and extract from, a standalone text file. No clipboard involved is involved however. -Original Message- From: Alex Rice [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 10:56 AM To: How to use Revolution Subject: Re: text encoding gotcha? On Jan 13, 2004, at 10:48 AM, Mark Powell wrote: I am seeing this for the first time today. Maybe we have the same flu. Any chance you copy-pasted the contents of the field, from another app? It seems in my case Revolution is not checking the contents of the clipboard carefully enough, or is misinterpreting the clipboard encoding. Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Update a global when going to a stack as modal
I have a handler in stack A of the pseudo form below ... LINE 1 put Before into global gFoo LINE 2 go to stack B as modal; user input there goes into gFoo LINE 3 put gFoo into fld Information of stack A ... The text that is put into the field on stack A is inevitably Before. However, if I immediately type put gFoo into fld Information the data that was collected in stack B is put into the field in stack A as expected. The global is populated as I would want, except it is as if line 3 above is run before line 2. What is going on? Can I not switch between stacks and collect data? Is there a workaround? Mark ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Setting listBehavior to false = 'break' ?
I have a preOpenStack handler that sets the context-specific properties of one particular field (sometimes editable, sometimes clickable, etc.). When using the following line set the listBehavior of field foo to false in either a switch or if/else construction, the debugger shows that my handler acts as if there is a break statement following this line, immediately exiting the construction without performing any downstream instructions. Can someone instruct me on what I am doing wrong? Is there a bug in the system or is there a bug between my ears? My config is Rev. 2.0.1 on Windows. Thanks in advance. Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Referencing cells by column and row name
Say I have 50 lines of tab-delimited data. Each line represents one of the 50 U.S. states. Each item within a line corresponds to some kind of data (population, area, etc.) Is there any way using Rev's built-in commands to write something akin to get item Population of line Colorado where Population and Colorado are not variables, but 'column' and 'row' names. Is it possible to establish names in this way and retrieve data similarly to above? Appreciate any and all suggestions Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Need user name, not computer name
How can I determine one's user name? I have been using the address property to extract it, but have just learned that this is the computer name, which IST changes when a computer is upgraded. Ergo, one user can no longer launch the standalone. On a related note, I see through the debugger that there are distinct globals $USERNAME and $COMPUTERNAME, but do not know how to trace how these globals are set up by the engine. Perhaps $USERNAME is what I need to use? Does this persist across hardware changes? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Need user name, not computer name
Windows, please. What platform(s), Mark? How can I determine one's user name? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Increasing indent factor in script windows
Is there any way to increase the indent factor in script windows? (i.e. instead of having the engine indent by two spaces per tier, have it indent by four, for example). I would like to have a more pronounced nesting. Alternately, I extract scripts for purposes of documentation and can write a handler to increase it. But I am a bit stumped by the most basic thing. How do I say in a script the equivalent of if line x of script has leading spaces then double the number of leading spaces without resorting to heavy handed repeat loops? Appreciate your help. Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Simple question--what handler am I in?
In a script window, is there any way to automatically know what handler you are in the middle of (i.e. without scrolling to its opening or closing declaration)? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Acrobat exporting?
Acrobat itself can export to rtf and ps, so if you can figure out a way to drive Acrobat from Rev, you might have success. Mark Powell -Original Message- Greetungs list! Sorry if this was mentioned earlier but has anyone got an acrobat to somethingelse converter? I mean from Acrobat file format converter to text, html, xml, files pieces or stack format? It's for the xos project! TIA XB ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Questions about experiences
Bjoernke: I'll echo what Alex wrote (i.e. extolling its positives). I spent seven years at Apple Computer in the early 90s on a team that delivered technical documentation using a home-grown HyperCard engine. I was never a programmer, but over the course of that time I became very proficient at understanding the texture of HC. It was like that dream where I was in a foreign country but could somehow speak flawlessly in the local language. Then I woke up! I left Apple, entered the Wintel-dominated work force, and all my HC skills were for nothing. Nevering finding equivalent time to learn some other SDE, I was never able to automate tasks as I would like and found myself hamstrung in trying to do what I knew an X-Talk SDE would allow me to do. Simple things, most of them. When I stumbled across Revolution last summer, I swear I felt like singing Amazing Grace (that once I was lost, and now I am found). Not to sound too much the groupie, but without Revolution, I'd be blind, deaf, and mute (metaphorically speaking). Mark Powell -Original Message- From: Björnke von Gierke [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 4:24 PM To: [EMAIL PROTECTED] Subject: Questions about experiences Hello, I am in the process of writing an article about runrev, and would like to ask you about two things: Did you experience that you wanted to make a project, but where unable to do it with runrev? For example because a technology was not supported, not fast enough or because it was otherwise not up to the task. DId you realise any projects that you did not think that it would be possible to do with runrev? Thank you for your time Bjoernke von Gierke ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: GIF animation problem
Hi Graham: Have you ever seen animated GIFs overlap in any other environment? Without having tried anything like this in the past, I'd say this is the behavior that I would expect. If two animated GIFs (or any other kind of motion graphic) were attempting to occupy common pixels within the same window, it seems that the OS would understandably protest. That one button is masked behind the other perhaps doesn't insulate them in the same way as if they were on different windows. I am only guessing. If you want to have them both animate, maybe you'd have to somehow have them within different windows so that dragging them around is not actually dragging the icon, but dragging a stack window (the rect of the window equalling the rect of the button, perhaps? Aargh). Another option may be to test for overlapping and set the icon of the lower button to a static image. Yet another option maybe to animate context-sensitive cursors while dragging, instead of animating icons. All of these ideas are pretty nightmarish, but it is the best I can think of, apart from abandoning animation all together. Are you sure there is a compelling benefit in trying to animate like this? Mark -Original Message- From: Graham Samuel [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 1:13 PM To: Revolution user discussion Subject: Re: GIF animation problem At 12:30 + 6/11/03, I wrote: In an app that is in an advanced state of testing, I have a couple of transparent buttons each of which has an icon which itself is an animated GIF. [...] I didn't say clearly that the user is allowed to drag these buttons around the screen. This generally works extremely well, but my beta tester has pointed out that just one of these animations stops working as soon as its border overlaps with the other one. It doesn't seem to mind overlapping with other, static, controls (images and grcs). I have tried all sorts of stuff now, such as changing the size of the GIFs, taking away other graphics and images, etc, but the phenomenon continues. It seems that the GIF with the most frames is the one which stops moving, while the one with less frames continues to animate: if both have the same number of frames, or are derived from the same image, then both stop. It doesn't seem to be an issue of the relative level (layer) of each GIF, and the problem shows up in different OSs. I am now totally stuck - the only thing I can think of doing is to rearrange the entire screen so that the buttons don't have to overlap. It does begin to look like a bug in the engine's GIF-animating routine (I guess it must have one). Still hoping for some help. Graham -- --- Graham Samuel / The Living Fossil Co. / UK France ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Hand in the script editior
Rev is very intuitive. It must have sensed that you needed a hand... -Original Message- From: Ken Norris [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:59 PM To: [EMAIL PROTECTED] Subject: Hand in the script editior Hello, Hmmm. I was just now fiddling with scripts, and I got a hand cursor in the editor and couldn't place the blinking I-beam in the middle of a line where I wanted it. But the hand disappeared as I moved out of the middle of the line, and I could place the cursor at the end. Very strange. I had to close the editor and reopen to get it to respond properly. Has anyone else experienced that? Not a big deal, just curious what was happening. TIA, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Text field formatting
My advice is to completely divorce yourself from anything native to PowerPoint. Depending on what kind of effects you need to replicate and your display quality needs, I would suggest grabbing the slides as screen shots, or doing Save as within PowerPoint and saving the presentation to HTML, RTF, GIF, or whatever. Then deal with those objects. -Original Message- From: Thomas J McGrath III [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 11:17 AM To: [EMAIL PROTECTED] Subject: Text field formatting Hello all, I am doing a rush CD project and need to do a lot of conversions from existing Powerpoint presentations. I need to import text and graphics from Powerpoint into a card in rev. Then I need to replicate the special effects that were done in Powerpoint in the new card in Rev. I started doing the text and am having trouble even getting the text field formatting to look right. A wrap around text line does not tab in to align correctly. The text starts at the number or bullet instead of tabbed in to align with where the text starts. Rev does not seem to have good text field tools for formatting. Any ideas on good formatting in REV? Has anyone had to do a lot of importing of formatted text? Any ideas on how to do this. I am in a crunch on this. Thanks much, Tom Thomas J McGrath III Advanced Media Group 220 Drake Rd. Bethel Park, PA 15102 [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Is there any documentation on how to build distributions?
Is there any documentation anywhere on building distributions? Thanks! Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: How do I delete substacks?
The rub is that I have no idea how those resource stacks became substacks of my main stack. I am guessing it happened during an attempt at building a distribution. Any ideas? Mark -Original Message- From: Klaus Major [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 2:57 PM To: How to use Revolution Subject: Re: How do I delete substacks? Hi Mark, How do I delete substacks? See the dox - delete stack To delete a mainstack: ... delete stack name of stack ... To delete a substack: ... delete stack name of substack of stack name of mainstack ... What if they are Rev's resource stacks (revMenuBar, revIcons, for example)? Well... ehmm... Let me put it this way: That would not be good! ;-) Since YOU are writing the scripts (do you?) this should be easily avoidable ;-) Thanks. Mark Powell (a former HyperCard user who is not yet clear on the concept of substacks) Hope that helps... Regards Klaus Major [EMAIL PROTECTED] www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Build Distribution does nada
I have encountered a problem that is preventing me from building, even though up until the last two days I have been able to. Depending on what settings I attempt in Build Distribution, I get one of two things. -1- After clicking Build Distribution, nothing happens (although the feedback text checking for stacks in memory and Preparing to build does flash for about a tenth of a second at the bottom of the BD window). -2- I get the alert that the revLibrary group already exists, after which nothing happens. Another thing that is different is that my rev file now has more substacks than it had previously (revMenuBar, revIcons, et.al). How do I get rid of these things and where are they? Lastly, is there *any* documentation at all on the Build Distribution stack? I can find none. Thanks very much! Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Ignore punctuation when addressing word n of a string
I have a string such as now, that is a string! But when I address word n of the string, I get now, (when n = 1) and string! for (when n = 5). How can I point to a string and get only the nth word, without any contiguous punctuation getting in the way? Thanks in advance, Mark Powell Production Manager VERITAS Education ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Ignore punctuation when addressing word n of a string [more info]
Okay, so word automatically assumes white space as delimiter. I can't skim out the punctuation, so can someone suggest how I do the following. (This example is closer my real life problem). Within a bunch of text, I want to replace any string of pattern 00-000 (where 0 is any integer and the dash is a literal dash) with a string of A HREF=#00-0-000/A In other words, I am looking to bracket the pattern string with an HTML index tag that uses the same literal string as a named target. Short of doing a char-by-char crawl, how can I accomplish this search and replace? ManyTIA Mark Powell Production Manager VERITAS Education ---original post I have a string such as now, that is a string! But when I address word n of the string, I get now, (when n = 1) and string! for (when n = 5). How can I point to a string and get only the nth word, without any contiguous punctuation getting in the way? - ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Easier way to do text-movement algorithm?
Jim: Have you considered inserting token characters that can be used as itemdelimiters? In a stitching application I am working on now, I am using a ` character to delimit streams of text into sections to do just the block manipulation you describe. I further delimit sections into subsections with a tab delimiter, and subs into subsubs with comma delimiters. I prefilter the stream and substitute legitimate tick marks (and tabs and commas) with alias strings, which I filter back out on output. It is kludgey, but it works well for me. Mark -Original Message- From: Jim Witte [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 9:38 PM To: [EMAIL PROTECTED] Subject: Easier way to do text-movement algorithm? I'm making an source code rearrangement application... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Bug with quote and put URL
You might check to see that Excel is not adding quotes unilaterally during export. I know it encloses a cell with quotation marks if a comma is in a cell, and it may do so under other circumstances. Mark -Original Message- From: François Cuneo [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 8:11 AM To: [EMAIL PROTECTED] Subject: Bug with quote and put URL Hello everybody! I have a not very funny bug to present:-) Here is the code and it works perfectly: * set the itemdelimiter to tab put item 1 to -2 of chemin into chemin put chemin /Data/French.rev into cheminloc1 -- IMPORTATION Des FICHIER FRANCAIS (FRENCHOBJ.TXT et FrenchMsg.txt) VERS -- LES CHAMPS DE LA CARTE 2 put put URL QUOTEfile: cheminloc1 QUOTE into field QUOTE messagesQUOTEof card id 1032 of me into fich_a_importer do fich_a_importer delete line 1 of fld Objets of card id 1032 of me --j'efface le titre de la liste * OK, all the file is correctly in the field Messages, fine. The imported text is a tabuled text. If I have in the text ((tab) it's when I use the tabkey): coucou (tab) gag (tab) haha all is good BUT if the text is with a quote: coucou (tab) gag (tab) haha I obtain double quote!! coucou (tab) gag (tab) ahaha gr. Shure it a bug! No?? It's me??? Thank you to say why!!! Friendly François -- François Cuneo Site Web dédié au Macintosh http://www.cuk.ch E-mail: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Extracting from Excel and Access
Can anyone give me a pointer as to how to perform the following 2 pseudo-procedures -1- Open Excel file 'foo.xls' Copy all the fields of sheet blah as text put it into a var -2- Open Microsoft Access file 'foo.mdb' Copy Table 'blah' as text put it into a var I am on Windows 2000 and I am not currently interested in querying the contents of either. I just want to extract and ruminate within Revolution. Thanks in advance Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Wild card searches
Is there any way to do wild card searches of the following pseudo-form? Look at a bunch of text and delete all chunks bracketed by ! and /! (for example, it should delete both !m/! and !030924/! and leave nothing behind. Thanks in advance Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Wild card searches
Hi Alex: Thanks for the pointer. However, it seems to be treat delimiters funkily, assuming only one hit per line. (e.g. the following returns apple x instead of apple banana carrot x. on mouseup put apple tab \ !nice/!banana tab \ !031110/!carrot tab \ !f/!x into myBefore answer replaceText(myBefore, !.+/!, empty) end mouseup Any ideas? I want to delete _all_ occurrences of !whatever! strings. Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Disappear script editors
I switch apps through the task bar and when I return to Revolution, the script editor is always hidden behind the stack window. (The script editor window does show in the Revolution Window menu.) I am not hitting Return or Enter or Alt-Tab. I am on Windows 2000. It is a two click operation...I am in the script editor, click on a (say) Note Pad document in the taskbar, and immediately click back on the stack button in the taskbar, and the script editor is gone. It is behavior that is completely unintuitive and am assuming it is something in my settings or operations. But kick me in the teeth if I know what. Mark This never happens to me either... Is it possible you are hitting the Return key? Hitting return will apply the changes in the script editor, and hitting Return again will close the script editor. If you look in the Window menu in Revolution- is the script editor open just hidden by another window? What version of Windows are you running? How are you switching apps? task bar, Alt-Tab, something else? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Disappear script editors
Hi Howard: Thanks for the sanity check! It isn't just me! I will try your suggestion, but am sure that it will prompt me to finally insist that my management installed a second monitor for me. Having a two (or three!) monitor setup is vital with Director and Photoshop type apps and it is proving to be the same with Revolution. Thanks all for the help. --Mark -Original Message- From: Howard Bornstein [mailto:[EMAIL PROTECTED] Sent: Sunday, July 20, 2003 8:29 PM I switch apps through the task bar and when I return to Revolution, the script editor is always hidden behind the stack window. (The script editor window does show in the Revolution Window menu.) I am not hitting Return or Enter or Alt-Tab. I am on Windows 2000. It is a two click operation...I am in the script editor, click on a (say) Note Pad document in the taskbar, and immediately click back on the stack button in the taskbar, and the script editor is gone. Mark, I just verified that the same thing happens on my Windows 2000 system. The script editor isn't really gone but is placed behind the stack. If you leave the script editor visible somewhere on your screen, you can just click in it to get back into Rev with your editor showing, rather than using the taskbar to get back to Rev. That's the way I do it. Regards, Howard Bornstein D E S I G N E Q www.designeq.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Image recognition tool
As I understand it, Revolution can ready binary data, which suggests there that you would have the ability to compare two files. Others would know this better than I. -Original Message- From: Sannyasin Sivakatirswami [mailto:[EMAIL PROTECTED] Sent: Saturday, July 19, 2003 8:20 PM To: [EMAIL PROTECTED] Subject: Image recognition tool Probably too much to ask... but does anyone think that there would a way for revolution to determine if one image was a duplicated of another? I mean, not by file name but from the image data itself? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED] www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Script Editor Menu Reference not clickable
When I try to access the docs for the Script Editor Menu Reference, the the cursor does not turn to browse over the links. For example, the File menu (Script Editor) type links are not clickable. Any way of remedying this? Thanks. Mark Powell Production Manager VERITAS Education ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Disappear script editors
I am new to Revolution and am on Windows 2000. When I switch from a Rev script editor window or help window to the window of another application and then return to Revolution, the window is always gone. Can I adjust a setting somewhere so that windows will stay put when I go in and out of Revolution. It is extremely annoying. Mark Powell Production Manager VERITAS Education ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Creating a DSN for ODBC access
I am on Windows 2000, and have a relatively small Microsoft Access database that I want to point to and extract raw data. I am stumped at square one. I would like to use the path instead of a DSN to address the database, something like get revOpenDatabase(ODBC,,pathToFile) However this doesn't seem to work. Is it required that I use a DSN for ODBC access? I am not understanding the advantages of having to do this and am confounded by the interface of the Data Sources control panel that the docs point to. (BTW, I am a RunRev newbie, but with years of HyperCard development in the early 90s--this product is my dream come true). Any help appreciated! Mark Powell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution