Menu madness
Hello everyone - I'm hoping someone can help me with a problem with menus. I have a set of three menus (as one menubar) repeated on several cards. In the menu Builder I have "set as menu bar on Mac OS" selected. Whenever I navigate from one card to another the height of my stack shrinks! Now I suppose Rev is trying to be *helpful* by compensating for the difference in the way Mac and PC handle menus - but obviously something is going awry here. Is there something obvious I'm doing wrong? Help! Chris ___ 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
Message strangeness in 2.7.3
Hello all - I have a weird issue that *seems* to have started since upgrading to 2.7.3. On a project that I am working on, if I double-click on the file to open project and launch Rev at the same time, preopenstack, openstack, preopencard and opencard (of the 1st card) are not sent. However, if I build a standalone it works fine. Or if I open Rev first, then open project it is fine. I'm working on G5 Mac. Has anyone else noticed this? It's *really* annoying! Chris ___ 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
Export PNG weirdness
Hello everyone. Can anybody help with this ... I am exporting PNGs from fields, using this syntax: export snapshot from field fname to file imgPath as PNG This works just fine on about 30 or so fields, but when I come to one particular field it fails with error message: export: can't write to file, mask file, or container All the fields are opaque. If I switch this field to non-opaque... it works fine... or if I export as JPEG it works fine! The only difference (that I can see) between this field and others is that it is larger than the others. Has anyone come across this problem before? Could there be some other property that I have overlooked that is causing the problem? I am pulling my hair out at this one (and at my age I don't have too much to lose) Chris ___ 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: Export PNG weirdness
UPDATE 2: weep, weep. It's the font.:-( I haven't worked out what the specific issues are, but it simply fails with many, many fonts. Don't know whether it is a problem with Postscript, TrueType, Unicode or what. I suppose I should lodge this as a bug - quite serious, in my opinion - since the ability to output images from specific controls was one of the features of 2.7.2 I believe. I've never used bugzilla before (!) is it simple to do? Unhappy Chris On 9 Aug 2006, at 15:28, Chris Carroll-Davis wrote: Update: I can of course make this work by grabbing the relevant portion of screen (rather than specifying the field): put globalloc (Topleft of field fname) into tl put globalloc (botright of field fname) into br export snapshot from rect tl,br to file imgPath as PNG But this is a bit risky as I can't guarantee that there will be nothing on top of the field (e.g. floating palette) or that the field will completely contained on screen. Chris On 9 Aug 2006, at 14:59, Chris Carroll-Davis wrote: Hello everyone. Can anybody help with this ... I am exporting PNGs from fields, using this syntax: export snapshot from field fname to file imgPath as PNG This works just fine on about 30 or so fields, but when I come to one particular field it fails with error message: export: can't write to file, mask file, or container All the fields are opaque. If I switch this field to non- opaque... it works fine... or if I export as JPEG it works fine! The only difference (that I can see) between this field and others is that it is larger than the others. Has anyone come across this problem before? Could there be some other property that I have overlooked that is causing the problem? I am pulling my hair out at this one (and at my age I don't have too much to lose) Chris ___ 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: Export PNG weirdness
Update: I can of course make this work by grabbing the relevant portion of screen (rather than specifying the field): put globalloc (Topleft of field fname) into tl put globalloc (botright of field fname) into br export snapshot from rect tl,br to file imgPath as PNG But this is a bit risky as I can't guarantee that there will be nothing on top of the field (e.g. floating palette) or that the field will completely contained on screen. Chris On 9 Aug 2006, at 14:59, Chris Carroll-Davis wrote: Hello everyone. Can anybody help with this ... I am exporting PNGs from fields, using this syntax: export snapshot from field fname to file imgPath as PNG This works just fine on about 30 or so fields, but when I come to one particular field it fails with error message: export: can't write to file, mask file, or container All the fields are opaque. If I switch this field to non-opaque... it works fine... or if I export as JPEG it works fine! The only difference (that I can see) between this field and others is that it is larger than the others. Has anyone come across this problem before? Could there be some other property that I have overlooked that is causing the problem? I am pulling my hair out at this one (and at my age I don't have too much to lose) Chris ___ 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
Export PNG weirdness
Hello everyone. Can anybody help with this ... I am exporting PNGs from fields, using this syntax: export snapshot from field fname to file imgPath as PNG This works just fine on about 30 or so fields, but when I come to one particular field it fails with error message: export: can't write to file, mask file, or container All the fields are opaque. If I switch this field to non-opaque... it works fine... or if I export as JPEG it works fine! The only difference (that I can see) between this field and others is that it is larger than the others. Has anyone come across this problem before? Could there be some other property that I have overlooked that is causing the problem? I am pulling my hair out at this one (and at my age I don't have too much to lose) Chris ___ 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: Font Menu
Erhm. Ignore this. (*embarrassed cough*) Realised it is only 3 lines of code. :-) Chris On 7 Jul 2006, at 13:27, Chris Carroll-Davis wrote: Hello again. Is there a simple way of implementing a font/size menu? I'm *sure* this must have been asked before, but I can't find any references to it. I was hoping that it might be able to create it automatically like the File, Edit and Help options in the Menu Builder. (I can dream can't I?) Or do I have to use the FontNames function to roll my own? I'm hoping that some kind soul might be able to point me toward an existing example because I'm sure I am reinventing the wheel here!! I am half expecting someone to (politely) say look at XYZ in the docs you dope... Best regards, Chris ___ 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
Font Menu
Hello again. Is there a simple way of implementing a font/size menu? I'm *sure* this must have been asked before, but I can't find any references to it. I was hoping that it might be able to create it automatically like the File, Edit and Help options in the Menu Builder. (I can dream can't I?) Or do I have to use the FontNames function to roll my own? I'm hoping that some kind soul might be able to point me toward an existing example because I'm sure I am reinventing the wheel here!! I am half expecting someone to (politely) say look at XYZ in the docs you dope... Best regards, Chris ___ 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: Exporting transparent PNGs (again)
Jim - I'm sure you are correct here. I tried testing my loop against Dave's. On a small image my loop was 75 times slower than his. On a larger image that took about a third of a second with his routine, I expected mine to take about 20 seconds... After 5 minutes I gave up!!! Chipp - your compositing stack is great - wish I'd seen it a few days ago! With everyone's help I now have a first draft of handler that correctly exports a transparent PNG of a field containing Japanese text - just what I needed! (And I've also learned a couple of scripting lessons to boot - I had never used the "repeat for each +var" syntax before! Doh! I am a SC dinosaur and I don't think SC has this variant). Thanks so much. All I need now is a bigger brain. - Chris On 5 Jul 2006, at 07:27, Jim Ault wrote: The key maybe the repeat for each which is a sequential access rather than 'evaluate the access position each loop' I also think that the larger the data source, the slower 'repeat with x =' becomes. Try these runs and see if the results are linear or exponential. get ( number of chars in imagedata of image "A1"/4) repeat with n = 1 to it/10 repeat with n = 1 to it/5 repeat with n = 1 to it/4 repeat with n = 1 to it/2 repeat with n = 1 to it/1 Jim Ault Las Vegas On 7/4/06 2:33 PM, "Chris Carroll-Davis" <[EMAIL PROTECTED]> wrote: Dave - Thanks so much! Yes, your routine is much faster than mine... though I'm not sure why!! Here is my code: on mouseUp put alphadata of image "black" into temp put the milliseconds into tStart ## for speed calc repeat with n = 1 to number of chars in imagedata of image "A1"/4 put char n*4 of imagedata of image "A1" into char n of temp end repeat put the milliseconds - tStart && length(tMaskData) ##speed score set alphadata of image "black" to temp end mouseUp For some reason, even though my loop is only a quarter of the length of yours with just one line of code in it (and no decisions) it is much slower. It was slower still because I was (for daft reasons I wont go into!) originally doing the loop backwards. I'll try to tweak to improve speed further, but even as it stands I think it should be fine. Also, thanks Ken for the links. They helped me understand what is going on now! Regards, Happy Chris On 4 Jul 2006, at 18:10, Dave Cragg wrote: I'm not sure what calculations you are doing in the loop, but it sounds too slow. The following routine creates alphaData from a 300 x 300 grayscale image in less than a second on my not so fast machine. (You'll probably need to substitute the calculation inside the loop with your own.) I'm sure others will step up with faster alternatives. :-) on mouseUp put the imageData of image 1 into tImageData put the milliseconds into tStart ## for speed calc put 0 into tCount repeat for each char tChar in tImageData add 1 to tCount if tCount = 4 then put numToChar(255 - charToNum(tChar)) after tMaskData put 0 into tCount end if end repeat put the milliseconds - tStart && length(tMaskData) ##speed score set the alphaData of image 1 to tMaskData end mouseUp Cheers 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: Exporting transparent PNGs (again)
Dave - Thanks so much! Yes, your routine is much faster than mine... though I'm not sure why!! Here is my code: on mouseUp put alphadata of image "black" into temp put the milliseconds into tStart ## for speed calc repeat with n = 1 to number of chars in imagedata of image "A1"/4 put char n*4 of imagedata of image "A1" into char n of temp end repeat put the milliseconds - tStart && length(tMaskData) ##speed score set alphadata of image "black" to temp end mouseUp For some reason, even though my loop is only a quarter of the length of yours with just one line of code in it (and no decisions) it is much slower. It was slower still because I was (for daft reasons I wont go into!) originally doing the loop backwards. I'll try to tweak to improve speed further, but even as it stands I think it should be fine. Also, thanks Ken for the links. They helped me understand what is going on now! Regards, Happy Chris On 4 Jul 2006, at 18:10, Dave Cragg wrote: I'm not sure what calculations you are doing in the loop, but it sounds too slow. The following routine creates alphaData from a 300 x 300 grayscale image in less than a second on my not so fast machine. (You'll probably need to substitute the calculation inside the loop with your own.) I'm sure others will step up with faster alternatives. :-) on mouseUp put the imageData of image 1 into tImageData put the milliseconds into tStart ## for speed calc put 0 into tCount repeat for each char tChar in tImageData add 1 to tCount if tCount = 4 then put numToChar(255 - charToNum(tChar)) after tMaskData put 0 into tCount end if end repeat put the milliseconds - tStart && length(tMaskData) ##speed score set the alphaData of image 1 to tMaskData end mouseUp Cheers 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
Re: Exporting transparent PNGs (again)
Hello again. Well, I've made some progress! I can now stick an image on a card and use that image to make an alpha channel for a second image. Hurrah. Trouble is it is S--L--O--W! It takes over 10 seconds to process a tiny 50-pixel square image!!! The utility I'm making needs to export about 3000 - much larger - graphics! The problem is that ImageData uses 4 bytes per pixel (even if it is a 8-bit greyscale image) but AlphaData only uses 1 byte per pixel, so I have to strip the data out in a repeat loop that is huge; even for moderately sized graphics!I started with a 300 x 300 graphic, but of course for AlphaData that is 300x300 bytes = 90,000 repeats. Yuk! There must be a better way Is there any lightning fast way of manipulating the binary data without resorting to a repeat loop? Help! Chris On 4 Jul 2006, at 12:54, Chris Carroll-Davis wrote: Hello again folks. I recently posted a question about Rev's weird behaviour when exporting transparent PNGs from fields with Japanese text. No-one (understandably) was able to offer any help so, as is often the case, I think I'll be looking for a workaround... ... Exporting non-transparent PNGs works fine so, in theory, should I not be able to export the image (perhaps to clipboard or variable) then apply this to a graphic as an alpha channel? Then export the resulting image as transparent PNG? So... two questions: 1) Does the above workaround solution sound feasible? 2) How the devil do I do it???!! I've had a few half-hearted attempts at using the alphadata property, but I can't get it to work at all! Can anyone point me to some example stacks that use this property that I can dissect? I'd be grateful for any suggestions!! Chris ___ 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
Exporting transparent PNGs (again)
Hello again folks. I recently posted a question about Rev's weird behaviour when exporting transparent PNGs from fields with Japanese text. No-one (understandably) was able to offer any help so, as is often the case, I think I'll be looking for a workaround... ... Exporting non-transparent PNGs works fine so, in theory, should I not be able to export the image (perhaps to clipboard or variable) then apply this to a graphic as an alpha channel? Then export the resulting image as transparent PNG? So... two questions: 1) Does the above workaround solution sound feasible? 2) How the devil do I do it???!! I've had a few half-hearted attempts at using the alphadata property, but I can't get it to work at all! Can anyone point me to some example stacks that use this property that I can dissect? I'd be grateful for any suggestions!! Chris ___ 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
export PNG weirdness
Hello all. I want to output a transparent PNG of formatted text in a field. Fine. I use the following script that acts on a non-opaque field: on mouseUp put "/Users/chris/Desktop/transtext.png" into fPath export snapshot from field "transText" to file fPath as PNG end mouseUp Works fine if just "roman" text is used in field. Makes a lovely RGB png with black text on a transparent background. However... if I type in some Japanese text into the field, I get square black blobs instead of Japanese characters. If I set the opaque of the field to true the text renders correctly but on a solid background - which, naturally, I don't want... Interestingly, if the field contains just Japanese, the resulting png seems to be generated as an 8-bit indexed colour image. Can anyone shed any light on this? I guess there is some issue with the way Rev renders unicode(?) in a field. Chris ___ 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: Front Row/Remote
Tom/Ian - Thanks for the help on this. What I really want though, is not to control Front Row, but to "subvert" it altogether. I want to steal the input from the remote control so that I can do useful things with Rev instead. Specifically, I'd like the menu button on remote to bring a Rev window to front that could act as an alternative to the Front Row menu. On it I could put buttons for my slideshow program, an internet radio menu etc... I wish Apple had made the remote control accessible to third-party developers (to maybe tie-in to Front Row) e.g. there is a really neat Digital TV USB adapter (Miglia TVMini) which would seem an obvious extension to the Front Row ethos. The addition of being able to watch TV as well as video/DVD seems sensible. But there is no way of adding this to Front Row. Shame. Chris On 22 Apr 2006, at 18:19, Thomas McGrath III wrote: Chris, I pulled this out of that script: on navigate(this_key) if this_key is in rightKeys then tell application "System Events" keystroke (ASCII character 29) end tell else if this_key is in leftKeys then tell application "System Events" keystroke (ASCII character 28) end tell else if this_key is in upKeys then tell application "System Events" keystroke (ASCII character 30) end tell else if this_key is in downKeys then tell application "System Events" keystroke (ASCII character 31) end tell end if end navigate And it seems after activation you can control FrontRow with keystrokes and if you can do that then we can do it i REV. HTH Tom On Apr 22, 2006, at 1:16 PM, Thomas McGrath III wrote: Chris, I found an applescript for controlling FrontRow via Applescript at: http://homepage.mac.com/mikemunson/mobile/Front%20Row% 20Remote.applescript It may rely on another app if I read the code right but this is doable and also I found some control scripts at Sailing CLicker's forums too. Check it out and see if you can extract from it. TOm On Apr 22, 2006, at 12:33 PM, Chris Carroll-Davis wrote: Tom - Good suggestion - I rushed off to try. But unfortunately no joy. Front Row is a very non-standard app and doesn't seem to be at all scriptable. Blast. I am expecting to be beaten by this one! C On 22 Apr 2006, at 15:33, Thomas McGrath III wrote: Chris, If you approach this from the software side you might have better luck. Open up Applescript editor and see about the Dictionary for Front Row. I don't have Front Row so I can't tell what features are available for third party apps via AS. Then if there are messages for FR from within AS then you can arrange them and control them from within Rev. HTH - Let us know, Tom On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote: Hello all - Anyone have any suggestions on how I might be able to intercept input from the Apple remote control? I have to say I am mightily unimpressed with Front Row. After you get past the initial wow factor of the whizz-bang carousel effect, the rest of the interface (i think) is very limited. E.g. to select shared music is a couple of presses down, even though that is all I *ever* want to do (I have no music stored locally on the MiniMac). Then when I do get to choose a track, I am stuck with the track name/artist in enormous white lettering. Yuk. Front Row might be fine to cover general use for most users, but I (having access to Rev's abilities) could do much better for my own *personal* set up. E.g. I could (and have) use Rev to do custom still/video slideshow or make internet radio interface - but I wish I could hijack the remote control!!! I have tried switching on the message watcher and pressing buttons on the remote in the hope that it might trigger something (e.g. rawkeydown) but nada. Any ideas? Chris ___ 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 Thomas J McGrath III [EMAIL PROTECTED] Lazy River Software™ - http://www.lazyriversoftware.com Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html Meeting Wear™ - http://www.cafepress.com/meetingwear Semantic Compaction Systems - http://www.minspeak.com SCIconics, LLC - http://www.sciconics.com/sciindex.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your su
Re: Front Row/Remote
Tom - Good suggestion - I rushed off to try. But unfortunately no joy. Front Row is a very non-standard app and doesn't seem to be at all scriptable. Blast. I am expecting to be beaten by this one! C On 22 Apr 2006, at 15:33, Thomas McGrath III wrote: Chris, If you approach this from the software side you might have better luck. Open up Applescript editor and see about the Dictionary for Front Row. I don't have Front Row so I can't tell what features are available for third party apps via AS. Then if there are messages for FR from within AS then you can arrange them and control them from within Rev. HTH - Let us know, Tom On Apr 22, 2006, at 10:13 AM, Chris Carroll-Davis wrote: Hello all - Anyone have any suggestions on how I might be able to intercept input from the Apple remote control? I have to say I am mightily unimpressed with Front Row. After you get past the initial wow factor of the whizz-bang carousel effect, the rest of the interface (i think) is very limited. E.g. to select shared music is a couple of presses down, even though that is all I *ever* want to do (I have no music stored locally on the MiniMac). Then when I do get to choose a track, I am stuck with the track name/artist in enormous white lettering. Yuk. Front Row might be fine to cover general use for most users, but I (having access to Rev's abilities) could do much better for my own *personal* set up. E.g. I could (and have) use Rev to do custom still/video slideshow or make internet radio interface - but I wish I could hijack the remote control!!! I have tried switching on the message watcher and pressing buttons on the remote in the hope that it might trigger something (e.g. rawkeydown) but nada. Any ideas? Chris ___ 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 Thomas J McGrath III [EMAIL PROTECTED] Lazy River Software™ - http://www.lazyriversoftware.com Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html Meeting Wear™ - http://www.cafepress.com/meetingwear Semantic Compaction Systems - http://www.minspeak.com SCIconics, LLC - http://www.sciconics.com/sciindex.html ___ 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
Front Row/Remote
Hello all - Anyone have any suggestions on how I might be able to intercept input from the Apple remote control? I have to say I am mightily unimpressed with Front Row. After you get past the initial wow factor of the whizz-bang carousel effect, the rest of the interface (i think) is very limited. E.g. to select shared music is a couple of presses down, even though that is all I *ever* want to do (I have no music stored locally on the MiniMac). Then when I do get to choose a track, I am stuck with the track name/ artist in enormous white lettering. Yuk. Front Row might be fine to cover general use for most users, but I (having access to Rev's abilities) could do much better for my own *personal* set up. E.g. I could (and have) use Rev to do custom still/video slideshow or make internet radio interface - but I wish I could hijack the remote control!!! I have tried switching on the message watcher and pressing buttons on the remote in the hope that it might trigger something (e.g. rawkeydown) but nada. Any ideas? Chris ___ 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: Weird Idle behavior
Thanks for the comments Jaqueline. Yep, I do appreciate that it's more efficient to use "send" * , but the trouble is I want the timer to animate smoothly, not lurch once a second. I have the thing working fine now without using the dreaded idle. I know it's not the best solution, but I'm using two "flavours" of the updateTimer handler. One that includes a call to send update in 6 ticks (so I get 10 fps) that replaces idle. Another flavour (exactly the same but without call for update) updates the timer during tight loops (e.g. during mouse drag of objects). Thanks again. Chris * Am holding copy of complete adventures of Rocky and Bulwinkle in right hand and hereby swear to *never* use idle again in my whole life. Ever. OK? :-) On 27 Mar 2006, at 22:17, J. Landman Gay wrote: Chris Carroll-Davis wrote: Hello folks - here's a weird one... I'm updating a timer on idle: On idle global StartTicks if StartTicks = "" then exit idle updateTimer wait 1 millisecond with messages -- attempt at kludge! end idle which just draws an arc graphic to give visual feedback On updateTimer global StartTicks, timeLimit If StartTicks = "" then exit UpdateTimer put 180+(180/(timeLimit * 60) * (the ticks - StartTicks)) into a set the startangle of grc "timer" to a if a >= 360 and StartTicks <> "" then TimesUp exit updateTimer end if end updateTimer This goes along fine, timing out after the timelimit ... except that it doesn't update the display!!If I call "updateTimer" from a repeat loop, it works fine. Has anyone come across this before? Anyone got a workaround!? Works okay here, after I set the arcAngle to something other than a circle. This is really a job for the "send" command though. If you send the message only once per second you won't get all that extra stuff in the pendingmessages. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.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: Weird Idle behavior
Yep - Richard, "idle" *is* being sent. After 45 seconds, the timer pings and that's that. Rev just refuses to update the graphic on idle! C On 27 Mar 2006, at 20:54, Richard Gaskin wrote: Chris Carroll-Davis wrote: Richard - Thanks. Ha! Yes, I saw that - but I'm an old SC dinosaur so I tend to stick with what I know! I suppose I'll have to make the switch to timed messages. But do you agree that my script *ought* to work? One of the great things about rev is the ability to use a variety of approaches, so it's really annoying when you are forced to work in a specific way... At first glance, yes. Have you verified that your StartTicks global contains what you expect it to? -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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: Weird Idle behavior
Update! Actually, in this instance, timed messages seem a bit hopeless. I want my timer to be smoothly updated (i.e. equivalent of 10 fps or better) during repeated mouse drag operations. With the idle approach, I could simply call the updateTimer handler from within the mousedown loop. But If try the same thing with the timed message, it is sending thousands of "updateTimer in 10 ticks" messages, which seems to swamp it. I guess I'm missing something really obvious. But well, I'm a bit thick! Chris On 27 Mar 2006, at 20:41, Chris Carroll-Davis wrote: Richard - Thanks. Ha! Yes, I saw that - but I'm an old SC dinosaur so I tend to stick with what I know! I suppose I'll have to make the switch to timed messages. But do you agree that my script *ought* to work? One of the great things about rev is the ability to use a variety of approaches, so it's really annoying when you are forced to work in a specific way... Chris On 27 Mar 2006, at 19:57, Richard Gaskin wrote: From the Transcript Dictionary entry for the idle message: --- Note: Usually, it is easier and more efficient to use the send in time form of the send command than to use an idle handler, especially if a task needs to be executed at regular intervals. This example shows an idle handler that updates a clock timer: on idle -- avoid if possible global startTime if the seconds > startTime + 60 -- 60 seconds have gone by put the time into field "Clock Face" put the seconds into startTime end if pass idle end idle The following example does the same thing more efficiently, since it only needs to handle a single message every sixty seconds: on updateClock -- a better way put the time into field "Clock Face" send "updateClock" to me in 60 seconds end updateClock -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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: Weird Idle behavior
Richard - Thanks. Ha! Yes, I saw that - but I'm an old SC dinosaur so I tend to stick with what I know! I suppose I'll have to make the switch to timed messages. But do you agree that my script *ought* to work? One of the great things about rev is the ability to use a variety of approaches, so it's really annoying when you are forced to work in a specific way... Chris On 27 Mar 2006, at 19:57, Richard Gaskin wrote: From the Transcript Dictionary entry for the idle message: --- Note: Usually, it is easier and more efficient to use the send in time form of the send command than to use an idle handler, especially if a task needs to be executed at regular intervals. This example shows an idle handler that updates a clock timer: on idle -- avoid if possible global startTime if the seconds > startTime + 60 -- 60 seconds have gone by put the time into field "Clock Face" put the seconds into startTime end if pass idle end idle The following example does the same thing more efficiently, since it only needs to handle a single message every sixty seconds: on updateClock -- a better way put the time into field "Clock Face" send "updateClock" to me in 60 seconds end updateClock -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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: Weird Idle behavior
Well, no. Unfortunately. I had idlerate set to 0 for best update speed, but setting back to default of 200 makes no improvement. :-( Idle *is* being called. It's just not updating the display! C On 27 Mar 2006, at 19:50, Mark Smith wrote: Not sure if it's the answer, but have you checked out the idleRate property in the docs? Best, Mark On 27 Mar 2006, at 19:25, Chris Carroll-Davis wrote: Hello folks - here's a weird one... I'm updating a timer on idle: On idle global StartTicks if StartTicks = "" then exit idle updateTimer wait 1 millisecond with messages -- attempt at kludge! end idle which just draws an arc graphic to give visual feedback On updateTimer global StartTicks, timeLimit If StartTicks = "" then exit UpdateTimer put 180+(180/(timeLimit * 60) * (the ticks - StartTicks)) into a set the startangle of grc "timer" to a if a >= 360 and StartTicks <> "" then TimesUp exit updateTimer end if end updateTimer This goes along fine, timing out after the timelimit ... except that it doesn't update the display!!If I call "updateTimer" from a repeat loop, it works fine. Has anyone come across this before? Anyone got a workaround!? Chris ___ 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
Weird Idle behavior
Hello folks - here's a weird one... I'm updating a timer on idle: On idle global StartTicks if StartTicks = "" then exit idle updateTimer wait 1 millisecond with messages -- attempt at kludge! end idle which just draws an arc graphic to give visual feedback On updateTimer global StartTicks, timeLimit If StartTicks = "" then exit UpdateTimer put 180+(180/(timeLimit * 60) * (the ticks - StartTicks)) into a set the startangle of grc "timer" to a if a >= 360 and StartTicks <> "" then TimesUp exit updateTimer end if end updateTimer This goes along fine, timing out after the timelimit ... except that it doesn't update the display!!If I call "updateTimer" from a repeat loop, it works fine. Has anyone come across this before? Anyone got a workaround!? Chris ___ 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: White Flash
Scott - Thanks for the tips. The real problem is that I want the stack visible on screen the whole time! So Jonathan's crafty trick of using a screen grab to fake the window's existence on screen was very cunning. You are right about the external - I remember now. Back in those prehistoric days, the white flash lasted a lot longer than it does today. That external saved my bacon on a number of projects! Think I'm going to just have to live with this one. All the best, Chris On 23 Mar 2006, at 19:11, Scott Rossi wrote: Recently, Chris Carroll-Davis wrote: Does anyone know a cunning way to prevent a window briefly painting white when changing the window decorations?? A few things you can try: 1) Set the bottomRight of the window offscreen (like -1000,-1000), do your changes, and then move the window back to where you want it. Note that there is an intermittent bug in window positioning that requires you to position the window to at least two offscreen locations to make sure the position "sticks". I usually do something like this: set bottomRight of stack 1 to -1000,-1000 set bottomRight of stack 1 to -1,-1 set bottomRight of stack 1 to -1000,-1000 Goofy, yes, but it gets around the positioning problem. 2) If you're using Rev 2.7, try setting the blendLevel of stack itself to 100, do your changes, and then set the blendLevel back to 0. 3) If you're using Rev 2.6 and your stack is Mac-only, you can use Trevor DeVore's Window external to do a combination of 1 and 2 -- position the stack offscreen, make changes, set the alpha value of the stack to transparent, move the stack back, then set the alpha value to opaque. I do seem to remember in my SC days (heretic! heretic!) there was an xcmd called "no flash" or "don'tPaintWhite" or similar. I believe this might be the same external that Mark Hanrek wrote while working with me on RadWindow, the first custom window shape external for SC. We found the "white flash" annoying and he graciously wrote the WFE (White Flash Eliminator) external to get around the problem. Those were fun times. 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
Re: White Flash
Jonathan - Couldn't resist giving it a go... It works - perfectly! Except... it's a bit slow. :-(Even on my G5 dual proc it takes about 2-3 seconds. In this case, I'll have to decide if the visual improvement is worth the speed penalty. But this may well be a useful technique for future projects - it could "hide" a multitude of sins! C On 23 Mar 2006, at 18:21, Chris Carroll-Davis wrote: Ah! Now Jonathan, this would definitely work! Great lateral thinking. If I get time, I will have a go at this and let you know the results. Chris You can get even fancier, by creating a new stack whose rect is the screen rect, containing an image of the screen, then change your stack underneath, then delete the cover stack. On 23 Mar 2006, at 17:32, Jonathan Lynch wrote: Also, what about making the stack invisible, then changing the decorations, then making it visible again? You can get even fancier, by creating a new stack whose rect is the screen rect, containing an image of the screen, then change your stack underneath, then delete the cover stack. ___ 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: White Flash
Ah! Now Jonathan, this would definitely work! Great lateral thinking. If I get time, I will have a go at this and let you know the results. Chris You can get even fancier, by creating a new stack whose rect is the screen rect, containing an image of the screen, then change your stack underneath, then delete the cover stack. On 23 Mar 2006, at 17:32, Jonathan Lynch wrote: Also, what about making the stack invisible, then changing the decorations, then making it visible again? You can get even fancier, by creating a new stack whose rect is the screen rect, containing an image of the screen, then change your stack underneath, then delete the cover stack. ___ 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: White Flash
Jonathan - No. Good suggestion, but it seems that if the window is visible on the screen (whether screen is locked or not) you get the flash. :-( And now tried it on Windows - which gives it's own flavour of flash. I think I'm right in saying that "lock screen" only works within the window bounds anyway, so locking the screen then moving the window wouldn't visually "freeze" the window anyway. Pants! Chris On 23 Mar 2006, at 16:17, Jonathan Lynch wrote: Can you move the stack off screen, set the decorations, then lock screen, then move the stack back on screen, and then unlock the screen? ___ 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
White Flash
Hello all Does anyone know a cunning way to prevent a window briefly painting white when changing the window decorations?? I'm allowing user to toggle between a "full screen mode" (kiosk-type - with black backdrop, hidden menubar and plain centred window) and a "standard" (draggable, minimizeable) window mode. On OSX, at least, (not checked Windows yet) the stack briefly flashes white when setting the decorations which is a bit distracting. Locking/ unlocking screen around the "Set decorations..." line doesn't help. I suspect I'll have to live with it ('cos it's a "system thing") - but I do seem to remember in my SC days (heretic! heretic!) there was an xcmd called "no flash" or "don'tPaintWhite" or similar. ??? Chris ___ 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: Windows Dunce Question (probably OT)
Tariel - good suggestion, but no. Initially I thought it was something like that because the icons came up consistently with Adobe PDF icons. But I can change the file association to more or less any program using the file profile options. The problem here though is the fact that Windows refuses to let me associate the files with *Rev*. It lets me browse for for a program, but if I choose Rev it just ignores it. (I think I got Adobe PDF icons simply because "Adobe" begins with "A" so that was the first prog in the list!) :-( Driving me nuts, this one! Thanks for the suggestion, C On 22 Mar 2006, at 18:02, Tariel Gogoberidze wrote: On Mar 22, 2006, at 10:20 AM, Chris Carroll-Davis wrote: Date: Wed, 22 Mar 2006 15:12:37 + From: Chris Carroll-Davis <[EMAIL PROTECTED]> Hello folks. Question here from complete Windows dope. What am I doing wrong? I've installed Rev on PC to test and tweak stuff I've written on Mac. But... any .rev files I see have the wrong icon. Presumably the file association is wrong on my system. I have tried going to "properties" of file and choosing Revolution as the prog to open the file. But a) Rev isn't in the list... and b) if I then "browse" for Rev, the PC won't add Rev to the list or associate it with the file. Upshot is, I can't double-click file (without opening wrong program) Any chance this "wrong program" is WinRAR ? WinRAR uses the same file extension ".rev" as Revolution does and if it's installed prior to Revolution it would change Rev icons to it's own. My solution was to change ".rev" file association directly in registry. WinRAR applies ".rev" extension to rarely used archives (recovery volumes, which can be later used to reconstruct missing files in volume set and only for very specific cases on top of that). So, in my case, because I'm not using such types of WinRAR archives, this solution was fine. best regards Tariel or drag file to Rev program (if I do, it opens Rev but Rev ignores file). The only way I can open the file is by ctrl-O and choosing from dlog... - and that's just oh-so-last-century... Do any of you Windows experts have any suggestions? Do I have a screwed up registry or something? Or just a screwed up Mac user? Help! Chris ___ 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
Windows Dunce Question (probably OT)
Hello folks. Question here from complete Windows dope. What am I doing wrong? I've installed Rev on PC to test and tweak stuff I've written on Mac. But... any .rev files I see have the wrong icon. Presumably the file association is wrong on my system. I have tried going to "properties" of file and choosing Revolution as the prog to open the file. But a) Rev isn't in the list... and b) if I then "browse" for Rev, the PC won't add Rev to the list or associate it with the file. Upshot is, I can't double-click file (without opening wrong program) or drag file to Rev program (if I do, it opens Rev but Rev ignores file). The only way I can open the file is by ctrl-O and choosing from dlog... - and that's just oh-so-last-century... Do any of you Windows experts have any suggestions? Do I have a screwed up registry or something? Or just a screwed up Mac user? Help! Chris ___ 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: Render Images
Ian - DOH! I saw that in the docs, but just thought it was taking the rect info of the object to get a partial screen grab. Should read more carefully... Should read more carefully... Should read more carefully... Should read more carefully... Should read more carefully... Should read more carefully... Just tried it with a group and it seems to work beautifully! C On 14 Mar 2006, at 13:49, Ian Wood wrote: In the docs for import/ export snapshot: "To export a snapshot of a specific (non-stack) object, use the form: export snapshot from [rect[angle] ] of chunk to ... Where chunk is any chunk expression resolving to a control, or any expression evaluating to a control reference." As usual it took me a little trial and error to turn the docs into actual code, in this case by trying to be too complex - now to see if it'll work on groups... Ian On 14 Mar 2006, at 13:43, Chris Carroll-Davis wrote: Ian - Thanks so much - that's perfect! I am writing a multimedia app that needs to display text in many, many languages. Whilst Unicode goes a long to help, it is not a panacea - e.g. can you display Cambodian and Thai on your machine? I'm writing a utility that means that as long as our translators can correctly see the text (as text) on their machine we can export the text as a graphic to display correctly within the app on anyone's machine. By the way - where did you find this syntax? Is there a document I'm missing? I checked through the Rev docs and User guide pdf but couldn't find any reference to it... Thanks again! Chris On 14 Mar 2006, at 13:09, Ian Wood wrote: On 14 Mar 2006, at 12:35, Chris Carroll-Davis wrote: A question: the release blurb for 2.7 says: "Render an image from any object on-screen, preserving the alpha channel, then transform and save." Now this seems to be exactly what I need!... I would like to convert some formatted text (i.e. a field) to a PNG file with transparency. Can I do this in 2.7? Can't find reference to this in docs. import snapshot from fld "test" or export snapshot from fld "test" to file "test.png" as PNG Having made sure that the opaque of the field is set to false first so that there is actually some transparency to capture. This is VERY powerful as it takes the info from the object directly - it doesn't matter if there are other objects on top. A dream come true for some of my apps... I can achieve a similar effect by exporting (via snapshot) text on a white background then displaying resulting image using the "multiply" or "screen" inks (which are brilliant, btw) but that limits my options for colours in text. If you just want to show text over other colours you can use a regular text field with the opaque set to false - no limitations on colours, and works in older versions of Rev. Ian ___ 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: Render Images
Ian - Thanks so much - that's perfect! I am writing a multimedia app that needs to display text in many, many languages. Whilst Unicode goes a long to help, it is not a panacea - e.g. can you display Cambodian and Thai on your machine? I'm writing a utility that means that as long as our translators can correctly see the text (as text) on their machine we can export the text as a graphic to display correctly within the app on anyone's machine. By the way - where did you find this syntax? Is there a document I'm missing? I checked through the Rev docs and User guide pdf but couldn't find any reference to it... Thanks again! Chris On 14 Mar 2006, at 13:09, Ian Wood wrote: On 14 Mar 2006, at 12:35, Chris Carroll-Davis wrote: A question: the release blurb for 2.7 says: "Render an image from any object on-screen, preserving the alpha channel, then transform and save." Now this seems to be exactly what I need!... I would like to convert some formatted text (i.e. a field) to a PNG file with transparency. Can I do this in 2.7? Can't find reference to this in docs. import snapshot from fld "test" or export snapshot from fld "test" to file "test.png" as PNG Having made sure that the opaque of the field is set to false first so that there is actually some transparency to capture. This is VERY powerful as it takes the info from the object directly - it doesn't matter if there are other objects on top. A dream come true for some of my apps... I can achieve a similar effect by exporting (via snapshot) text on a white background then displaying resulting image using the "multiply" or "screen" inks (which are brilliant, btw) but that limits my options for colours in text. If you just want to show text over other colours you can use a regular text field with the opaque set to false - no limitations on colours, and works in older versions of Rev. Ian ___ 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
Render Images
Hello all - I've been away for a few months and lo! when I get back to Rev (just when I thought I was starting to get the hang of it) they go and release a new version... :-) A question: the release blurb for 2.7 says: "Render an image from any object on-screen, preserving the alpha channel, then transform and save." Now this seems to be exactly what I need!... I would like to convert some formatted text (i.e. a field) to a PNG file with transparency. Can I do this in 2.7? Can't find reference to this in docs. I can achieve a similar effect by exporting (via snapshot) text on a white background then displaying resulting image using the "multiply" or "screen" inks (which are brilliant, btw) but that limits my options for colours in text. Any ideas??? Regards, Chris ___ 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
JPEG comments
Hello all - does anyone know of a way to write jpeg comments to an existing file? I think these are similar to the EXIF data written to files by digital cameras. I am working on MAc OS X. "Preview" can read and write these keywords - but it isn't scriptable! Regards, Chris ___ 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
TEST - please ignore!
I said ignore it! :-) ___ 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: Displaying PDF - Help! Urgent!!
Thanks for the help on this. Gordon - your code seems to work beautifully! And Ken's point about the web link is also satisfied because if there is no app to display the PDF, Windows brings up a prompt to d/l software anyway. Thanks again - a real life-saver!! Chris On 13 Sep 2005, at 18:17, Gordon Tillman wrote: Chris it's best to let the particular operating system decide the best way to open a PDF doc (as well as other types of docs as well). Hello folks - I'm doing a quick 'n' dirty menu front-end for a CD and need to be able to display a multi-page PDF document. On Mac I'll just open it with "Preview" - but I need to know what is equivalent on PC. (I am a Windows dunce...) I have to do this tonight!! Gulp! Chris Here is a snippet of code for Mac OS X and Windows (95 through XP). You may need to tweak it a bit but it will give you the idea - I don't have any versions of Windows older than XP handy to check it on: Bonjour IM with Gordon Tillman <[EMAIL PROTECTED]>. 12:17 lll on mouseUp local tPdfFile answer file "Select a PDF document" put it into tPdfFile if tPdfFile is empty then exit mouseUp if the platform is "MacOS" and char 1 to 2 of the systemVersion is "10" then openMac tPdfFile else if the platform is "Win32" then get the shortFilePath of tPdfFile replace "/" with "\" in it if the systemVersion contains "Windows 4" then openWin4 it else if the systemVersion contains "NT" then openWin5 it end if end if end mouseUp on openMac pPdfDoc -- /usr/bin/open get shell("/usr/bin/open '" & pPdfDoc & "'" ) end openMac on openWin4 pPdfDoc -- cmd /c get shell("cmd /c" && pPdfDoc ) end openWin4 on openWin5 pPdfDoc -- start put shell("start" && pPdfDoc ) end openWin5 --gordy ___ 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
Displaying PDF - Help! Urgent!!
Hello folks - I'm doing a quick 'n' dirty menu front-end for a CD and need to be able to display a multi-page PDF document. On Mac I'll just open it with "Preview" - but I need to know what is equivalent on PC. (I am a Windows dunce...) I have to do this tonight!! Gulp! Chris ___ 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: Rev won't paste
Ah! So I'm not going mad. I've seen this weird behaviour and never got to the bottom of the mystery. But try Ctrl+SHIFT+V...?? Mystery. Chris - Original Message - From: "Leston Drake" <[EMAIL PROTECTED]> To: Sent: Friday, July 22, 2005 7:12 PM Subject: Rev won't paste Hi all, I've discovered something quirky with my Rev. I want to simply copy some text from a text editor and paste it into a field. However, the paste command doesn't work. (Windows) Tried both Ctrl+V or Edit | Paste from the menu. I've found that if copy my text from my text editor, then in Rev select some text in the field, the Edit menu now shows "Paste Text." Then it will paste the text properly. But it seems strange that it will not recognize Ctrl+V. BTW, it does recognize Ctrl+X (cut), Ctrl+C (copy), and Ctrl+Z (undo). Has anyone else noticed this? This is in version 2.2.1, not the latest one. --Leston ___ 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: Folder size
Eric - thanks very much! Yes, this is exactly what I need to get going. The reason I need the routine is to burn a folder to a cd. I now have that working on mac using applescript and shell commands - but before long I will have to have a go at windows (gulp!) so this code will save me hours! Thanks, Chris On 13 Jul 2005, at 09:44, Eric Chatonet wrote: Hello Chris, Here is a piece of code (from Frederic Rinaldi I think) which can get you started: Params: theFolder: path to the root folder you want to scan addFullPath : boolean to get absolute (true) or relative path (false) allInfos : boolean to get all information (true) or path only (false) item 2 & 3 in the returned list with allInfos=true are the file size (data fork with Mac OS) and the resource fork size (Mac OS only, 0 for others) function AllFiles theFolder,addFullPath,allInfos --returns full path of all enclosed files local startFolder set cursor to busy if last char of theFolder is not "/" then put "/" after theFolder if startFolder is empty then put theFolder into startFolder set the defaultFolder to theFolder if the result is not empty then beep answer error "Répertoire inexistant:" & return & return & theFolder titled "Erreur" exit to top end if put the detailed files into filesList filter filesList without ".*" filter filesList without "Icon%0D*" filter filesList without "*,MACSfdrp" -- remove folder aliases put the folders into foldersList filter foldersList without ".*" repeat for each line loopFolder in foldersList put AllFiles(thefolder & loopFolder & "/",addFullPath,allInfos) & return after resultList end repeat repeat with i=number of lines of filesList down to 1 -- set cursor to busy if addFullPath then put MyURLEncode(theFolder) before line i of filesList if allInfos = false then put item 1 of line i of filesList into line i of filesList end repeat get resultList & filesList sort lines of it return word 1 to -1 of it -- strip empty lines end AllFiles -- function MyURLEncode what put URLEncode(what) into what replace "%2F" with "/" in what return what end MyURLEncode Le 13 juil. 05 à 10:15, Chris Carroll-Davis a écrit : Iit's for both Mac & PC really - but mainly mac at the moment. Since posting, I've found that I can get the info I need with applescript - "Tell application "Finder" ... return physical size of folder "Folderpath" ... End tell", but of course that's no good for PC. I could look at your suggestion, but I need this to run on any machine - i.e. I can't rely on any other software being installed. :-( Looks like I might have to bite the bullet and do it with transcript eventually. Yuk. I know for a decent programmer it is an easy job, but I'm getting old and brain is slow! Thanks Chris Hello folks - Anyone know if there is an easy way in Rev of getting the size of a folder (together with all it's sub-folders). I know I can do a loop using "detailed files" and "detailed folders" but that seems a bit long-winded, and I'm sure I'd be re-inventing the wheel! Is there another way, or is there an existing function anywhere that I can pinch? Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ 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: Folder size
Xavier - Thanks for the tip. Iit's for both Mac & PC really - but mainly mac at the moment. Since posting, I've found that I can get the info I need with applescript - "Tell application "Finder" ... return physical size of folder "Folderpath" ... End tell", but of course that's no good for PC. I could look at your suggestion, but I need this to run on any machine - i.e. I can't rely on any other software being installed. :-( Looks like I might have to bite the bullet and do it with transcript eventually. Yuk. I know for a decent programmer it is an easy job, but I'm getting old and brain is slow! Thanks Chris On 13 Jul 2005, at 08:25, [EMAIL PROTECTED] wrote: Chris, Is this for Mac or PC? If it is for PC, there's a utility called "diruse.exe" in the Moft Resource kit that does this quite nicely... cheers Xavier On 12/07/2005 17:17:56 use-revolution-bounces wrote: Hello folks - Anyone know if there is an easy way in Rev of getting the size of a folder (together with all it's sub-folders). I know I can do a loop using "detailed files" and "detailed folders" but that seems a bit long-winded, and I'm sure I'd be re-inventing the wheel! Is there another way, or is there an existing function anywhere that I can pinch? TIA Chris ___ 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 - Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ 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
Folder size
Hello folks - Anyone know if there is an easy way in Rev of getting the size of a folder (together with all it's sub-folders). I know I can do a loop using "detailed files" and "detailed folders" but that seems a bit long-winded, and I'm sure I'd be re-inventing the wheel! Is there another way, or is there an existing function anywhere that I can pinch? TIA Chris ___ 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: RevCon: Keynote is up and running
Alex - BT reckon 7th November 05 for your exchange. Perhaps you could rope in a few friends to dig a 400 yard trench for new cable! I sympathise with you - I had real battle to get broadband too (I'm in stix in Suffolk). Chris On 18 Jun 2005, at 12:19, Alex Tweedly wrote: [EMAIL PROTECTED] wrote: And for those who find a dialup account too slow to download the conference videos, this is the excuse you have been waiting for to get broadband. Go on then, rub it in ... It's not an excuse I need - it's a telephone company that doesn't continue to behave like the old-style monopoly it was for so long. They *might* provide broadband in my exchange some time this year or next - but even when they do, they *think* I'm too far from the exchange - physically it's about 400 yards from my house, but they reckon the cabling is over 6 miles. Sigh. I'm not holding my breath for the availability of broadband. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.6/19 - Release Date: 16/06/2005 ___ 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: Video from RevCon
Presumably they'll be a *bit* longer ! ;-) Chris On 17 Jun 2005, at 17:07, Klaus Major wrote: Hi Jon, On Jun 17, 2005, at 8:57 AM, Jon wrote: How large is this file? I am connected over a modem... They will be huge. I estimate 200 MB in size for each keynote. -Mark Talluto but the first (intro) video is only 2 MB. Best 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: Drag reordering in list
Scott, Eric - both of these are fantastic! Just what I need. Thanks so much. Chris On 10 Jun 2005, at 16:17, Scott Rossi wrote: Recently, Chris Carroll-Davis wrote: I need to display a list of 10-50 items and allow the user to easily arrange the list so that the top 10 items are in the order they want. It seems to me that a sensible way to do this would be for them to drag and drop the lines in a list in the same sort of way that you can reorder a playlist in iTunes. Is there a straightforward way of doing this in Rev? Or (even better!) has anyone done something like this that they might want to share? If anyone has a suggestion for a better approach I would be very willing to listen! Try entering the following line in your message box: go url "http://www.tactilemedia.com/download/getinline.rev"; 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 http://lists.runrev.com/mailman/listinfo/use-revolution On 10 Jun 2005, at 12:07, Eric Chatonet wrote: Hi Chris, You could have a look at http://www.geocities.com/janschenkel/ Jan dug in this subject and offers great stacks :-) ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Drag reordering in list
Hello folks - Any suggestions on this... I need to display a list of 10-50 items and allow the user to easily arrange the list so that the top 10 items are in the order they want. It seems to me that a sensible way to do this would be for them to drag and drop the lines in a list in the same sort of way that you can reorder a playlist in iTunes. Is there a straightforward way of doing this in Rev? Or (even better!) has anyone done something like this that they might want to share? If anyone has a suggestion for a better approach I would be very willing to listen! Regards, Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: core image visual effects stack - does it work?
Work beautifully here. Er... you are on Tiger yes? What machine are you on? Widget effects don't work on my old G3 PB, so graphics card might be an issue if older machine... Chris On 8 Jun 2005, at 23:01, Chris Sheffield wrote: Has anyone been able to get the effects in this stack to work? I would really like to play with those a bit, but I'm not seeing any transition effects at all. The only thing that happens is that the source image shows and then the target image shows maybe a half second later. No special effect. :-( Anyone? Chris Sheffield ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File name of stack weirdness
Devin, Sarah - Thanks for clearing that up for me! You are both right - that was the problem. Now I know what is causing it and what to expect I can work around it easily (with help from Klaus too) Thanks again, Chris On 7 Jun 2005, at 19:18, Devin Asay wrote: In my experience this is normal OS X/Unix behavior. The "root" level of the system is defined as the "top" level of the boot volume, so in a terminal if you do 'cd /' you are taken to the top level of the boot drive. If my boot volume is 'Macintosh HD' that information is not included in the path name. However, if I want to access a file or folder on another volume I must preface the cd command with /Volumes/DriveName. The behavior is Rev is consistent with the unix file system model and is completely expected. HTH Devin On 8 Jun 2005, at 00:56, Sarah Reichelt wrote: If I do: "get the filename of this stack" on my G5(Tiger) it returns "/Volumes/Starfish Internal 250/Scripter/filename test/ filename test.app/Contents/MacOS/filename test" i.e. the full path. If I run it on G3 laptop(Panther) it returns "/filename test.app/ Contents/MacOS/filename test" (whereas to be consistent, it should have returned /Volumes/ Powerbook HD/filename test.app/Contents/MacOS/filename test") This is a big problem for me as I need to pass the path information to a text file to be read by another (SC) application. I would guess that on your laptop, you are using the boot drive, but on your G5, you are used another drive, not the boot drive. Rev always adds the "/Volumes/DriveName" prefix to anything other than the boot drive. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File name of stack weirdness
Good suggestion Klaus! Thanks for the tip. BTW, I've not checked this on Windows yet. Eventually I'll want this app to run on PC. I suppose I might also have to put in a check there too? Chris On 7 Jun 2005, at 13:03, Klaus Major wrote: Hi Chris, Klaus - Thanks for looking at this. The problem I have is not the end of the string (bundle path) but the beginning! On my G5 it correctly returns "/Volumes/Hard_Disk_Name/...", but on G3 it starts with the application root, i.e. it doesn't return the full path to the HD root. The app happily works without this full path, but the problem is, I need to pass the full path to another (SuperCard) app. oh, sorry, yes, i misunderstood your problem. But this can also be easily worked around, looks like this is a "Tiger" feature (putting "/Volumes/Bootvolume/" before everypath on the boot volume. ... put the filename of this stack into fn set the itemdel to "/" if item 2 of fn <> "Volumes" then put "/Volumes" & line 1 of the volumes & "/" before fn end if ... "the volumes" returns a list of all harddisks and the fiurst line will contain your "boot volume" Hope this helps. !?! Chris Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution 2.6 Tiger Unleashed
The cool translucent windows work on WIndows too, I believe... Chris On 7 Jun 2005, at 12:32, Alex Tweedly wrote: Jon wrote: I'm a little confused: is "The Tiger Release" useful for those of us on Windows? Yes - just the ability to see arrays in the debugger window should make it worthwhile. And (per Kevin's email) there are a number of bugfixes included. AFAIK, most of *Other features include:* The ability to display arrays in the Variable Watcher Enhanced files selection options - new fully consistent multi- platform syntax, select multiple files, or files with a creator type and extension Improved replace text - now optimized to perform regular expression matching on large data volumes Other fixes and minor enhancements to improve your development and deployment experience applies to all platforms. -- Alex. No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File name of stack weirdness
Klaus - Thanks for looking at this. The problem I have is not the end of the string (bundle path) but the beginning! On my G5 it correctly returns "/Volumes/Hard_Disk_Name/...", but on G3 it starts with the application root, i.e. it doesn't return the full path to the HD root. The app happily works without this full path, but the problem is, I need to pass the full path to another (SuperCard) app. !?! Chris On 7 Jun 2005, at 12:02, Mark Waddingham wrote: Must be a bug, i just tested and it looks like Rev does not differ between "the filename of this stack" and "the effective filename of this stack" in an OS X standalone :-/ Both return the engine name inside the application bundle in as standalone on OS X. Which is precisely what you would expect... The stack gets bound to the engine as it does on other platforms and so the filename of the stack is the filename of the engine. The 'effective filename' form allows you to get the filename of a substacks parent stack... Of course, I might have mis-understood your comments... Warmest Regards, Mark. P.S. Klaus, I don't think this is quite what Chris was talking about. -- Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
File name of stack weirdness
Hello all - don't want to distract anyone from the serious business of playing with translucent windows, (well done Runtime on 2.6) but could anyone shed any light on this???: If I do: "get the filename of this stack" on my G5(Tiger) it returns "/Volumes/Starfish Internal 250/Scripter/filename test/filename test.app/Contents/MacOS/filename test" i.e. the full path. If I run it on G3 laptop(Panther) it returns "/filename test.app/ Contents/MacOS/filename test" (whereas to be consistent, it should have returned /Volumes/Powerbook HD/filename test.app/Contents/MacOS/filename test") This is a big problem for me as I need to pass the path information to a text file to be read by another (SC) application. Can anyone offer any advice? Is it a bug? Is there a workaround? All the best, Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help - defaultFolder path
Ah yes, this is true. On OS X, the application root is it's position in the bundle. An OS X application is actually a sort of folder. If you select the app in the finder with the control key down you can "Show Package Contents" to see what I mean... C On 10 May 2005, at 09:51, Nicolas Cueto wrote: Kind of a newbee myself so this might be a case of the blind leading the blind but... Try working with the "effective filename" of the stack instead of the "defaultFolder". This resolved a stack filepath confusion problem for a (Win-only) stack of mine. Cheers, Nicolas Cueto ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help - defaultFolder path
You can use the function "the platform" to get the OS. the platform platform() the platform if the platform is "MacOS" then set the activatePalettes to true The platform function returns one of the following strings: MacOS any Mac OS, OS X, or Darwin system Linux Linux for Intel or PowerPC architecture Win32Windows (any version post-3.1) HTH, Chris On 10 May 2005, at 09:34, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Sorry - Newbee again I'm building standalones for both Windows & OSX of an app that overwrites a stack in the folder for the standalone. I'm developing on windows and everything works fine on the windows standalone. My issue is with the OSX standalone. My problem seems to be that when the OSX standalone is created, the defaultFolder path is set to the folder that contains the application bundle - NOT the folder containing the stacks. Therefore, when the app performs a 'save as' function, the original is not overwriten. How do I change the the defaultFolder path for OSX and leave Windows unchanged - is there a call to get the OS being used? Thanks Kevin Stallibrass ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RE disk image formerly Folder list order
This sounds perfect. I'll have a look! Thanks, Chris On 6 May 2005, at 19:11, MisterX wrote: CHECK OUT Dragon Burn for Mac (they also make NTI CD & DVD - Maker 7 for PC...-I never used it). From their site: "Supports virtually all popular image file formats: .bin, .cue, .cdr, .dmg, .iso, and .ncd.". As I remember, the .iso image I created by DB in Mac was viewable on a pc. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: QT Applescript. Bit OT (was Tiger problems...)
(Sorry folks, this is going off-topic, I think. But I'll post just in case someone has a suggestion!!) Could it be a licensing issue? Does QT7 require a new Pro license to script some features? Richard - I don't think that is it. They have definitely changed stuff. I don't have things to hand at moment, but here's one thing I can remember off the top of my head that causes us real problems... We are manipulating some large QT movies using Applescript/QTPlayer. e.g. taking an NTSC size movie with an alpha channel (very large because it requires the use of the "none" compressor) and adding a second movie behind it, then adding a sound track, cropping as necessary. Now with Panther/QT6.5 we could then save this file "with dependencies" to make a movie that was literally just a few k in size (i.e. very quick to save) This was easy to do, because the default save option in QTPlayer was this form. If we wanted to remove these dependencies we could save the movie with the AppleScript command "Save self contained". This takes a long time and produces very big files (>1Gb). This has all changed. The default option is now to save self contained, but there is no applescript option to "save with dependencies", so like it or not, we always end up with *massive* files that take ages to save! (if any kind soul does have any suggestions on this one, I'd be soo grateful. This is a bit of a killer for us.) I'm pretty sure they have also changed the way in which QTPlayer applescript stores internal references to open movies (but I might be wrong here, memory going in old age) Chris On 6 May 2005, at 16:31, Richard Gaskin wrote: Chris Carroll-Davis wrote: We have a bunch of Applescripts that we fire from from SC that are broken under Tiger. These are all to control and manipulate movies with QTPlayer. Apple actually seem to have changed the syntax for scripting with QTPlayer. Ughhh. I suppose this is a QT7 issue rather than Applescript per se, but still it goes to show that nothing is safe... Could it be a licensing issue? Does QT7 require a new Pro license to script some features? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Folder list order
Xavier - I did try "virtual cd rom control panel", but it didn't seem to want to mount any images I made from Toast on Mac (whichever format I chose ISO, UDF etc...) so I gave up with it. I'm afraid I am a bit of a Windows dunce. I make my CD's on Mac using Toast, so if you know of a specific PC utility that will mount these on XP I'd like to hear of it! Indeed, what I'd really like is to have a locked CD image mounted on my G5 that is available to PC on network that sees it as a CD. But I've not found a way to do that. Most of the time testing from a shared folder on my G5 is fine. This is the first time that I've come across a non-speed related issue that differs between CD and HD... Thanks for the advice, Chris On 6 May 2005, at 12:17, MisterX wrote: Chris, You should try next time to burn mountable "images" of cds or virtualCDs. Look it up, it's great. Built in Nero, VirtualCD, the was an alladyn tools and an even better shareware in my macos times - macImage or something. Others like ultraIso, winIso, etc, etc, etc do the same for different prices and features. Eventually a ramdisk if you can lock the write access can do the job even faster too. The sorting issue seems bizarre indeed! cheers Xav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Carroll-Davis Sent: Friday, May 06, 2005 12:40 To: How to use Revolution Subject: Folder list order Hello folks - just thought you might like to know about a weird issue I came across the other day. Not a bug in Rev, but weird behaviour on Windows that cost me hours (probably days) and about 20 CD-Rs... If you get a list of folders (using "the folders" ) on WIndows running from HD the list is alphabetical, NON case-sensitive, so ("aardvark" comes before "Zoo"). If you get the same list running from CD, the list IS case-sensitve (so "Zoo " comes before "aardvark"). Perhaps this is a known issue to seasoned Revvers, but it was new to me! This caused my prog to fail only when running from CD on Windows. Running from HD on Windows, or on Mac HD or CD was fine. The only way I could track problem down was to cut disc after disc. ARGHH. Anyway, moral of story is that it is probably prudent to sort the folder list as soon as you've got it so that you ensure consistent results. Haven't checked if this is the same with files - but I expect so... Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Folder list order
Hello folks - just thought you might like to know about a weird issue I came across the other day. Not a bug in Rev, but weird behaviour on Windows that cost me hours (probably days) and about 20 CD-Rs... If you get a list of folders (using "the folders" ) on WIndows running from HD the list is alphabetical, NON case-sensitive, so ("aardvark" comes before "Zoo"). If you get the same list running from CD, the list IS case-sensitve (so "Zoo " comes before "aardvark"). Perhaps this is a known issue to seasoned Revvers, but it was new to me! This caused my prog to fail only when running from CD on Windows. Running from HD on Windows, or on Mac HD or CD was fine. The only way I could track problem down was to cut disc after disc. ARGHH. Anyway, moral of story is that it is probably prudent to sort the folder list as soon as you've got it so that you ensure consistent results. Haven't checked if this is the same with files - but I expect so... Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Tiger problems...
We have a bunch of Applescripts that we fire from from SC that are broken under Tiger. These are all to control and manipulate movies with QTPlayer. Apple actually seem to have changed the syntax for scripting with QTPlayer. Ughhh. I suppose this is a QT7 issue rather than Applescript per se, but still it goes to show that nothing is safe... Chris On 5 May 2005, at 21:40, Chipp Walters wrote: Also, I've found some Applescript isn't working correctly either, and need to do further testing to figure out why. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Anyone using Tiger Yet?
*** embarrassed cough *** Thanks Pierre! Working fine now. I'd stupidly assumed that the upgrade would sort that sort of stuff out! OT question for techno gurus out there: when an installer says "Optimising Disk..." what is it actually doing? I'd assumed it was doing stuff like repairing permissions... Thanks again, Chris p.s. OT again, Photoshop CS2 tryout looks pretty good... On 3 May 2005, at 09:38, Pierre Sahores wrote: Le 3 mai 05, à 10:34, Chris Carroll-Davis a écrit : Hello all. Not seen any problems with Rev yet, but the driver for my wireless card is now broken and Photoshop won't open a dragged or double- clicked file. Did you test in checking and repairing the files permissions ? Other than that ok. Anyone else got any reports? Chris On 2 May 2005, at 06:34, Roger Guay wrote: Been using it for 2 days . . . no problems yet. And, I love it! On May 1, 2005, at 9:00 AM, use-revolution- [EMAIL PROTECTED] wrote: Message: 9 Date: Sun, 1 May 2005 08:24:50 -0500 From: Burrton Wodruff <[EMAIL PROTECTED]> Subject: Anyone using Tiger Yet? To: use-revolution@lists.runrev.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Folk, Anyone using Tiger with Rev yet? Any problems? Burt Woodruff RippleSoft ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours [EMAIL PROTECTED] [EMAIL PROTECTED] GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 <http://www.sahores-conseil.com/> WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivité" ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Anyone using Tiger Yet?
Hello all. Not seen any problems with Rev yet, but the driver for my wireless card is now broken and Photoshop won't open a dragged or double- clicked file. Other than that ok. Anyone else got any reports? Chris On 2 May 2005, at 06:34, Roger Guay wrote: Been using it for 2 days . . . no problems yet. And, I love it! On May 1, 2005, at 9:00 AM, [EMAIL PROTECTED] wrote: Message: 9 Date: Sun, 1 May 2005 08:24:50 -0500 From: Burrton Wodruff <[EMAIL PROTECTED]> Subject: Anyone using Tiger Yet? To: use-revolution@lists.runrev.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Folk, Anyone using Tiger with Rev yet? Any problems? Burt Woodruff RippleSoft ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Transparent Bitmap Images
Fred - I got caught out with this recently too. Not good news I'm afraid. Rev will only print images that have an alpha channel (transparent) in low resolution. (Presumably that is 72 dpi?) I'm not aware of any effective workaround for this, but perhaps more experienced Revolutionaries might? Sorry to be bearer of bad news :-( Chris On 22 Apr 2005, at 15:50, [EMAIL PROTECTED] wrote: I'm having problems printing overlapping transparent bitmap images in Revolution. I try it so many ways, but it seems that whatever I do, transparent images print poorly (they become fuzzy) and opaque images print nice and sharp. Oddly enough, sometimes images that are transparent on screen print sharp, but they also turn out to be opaque on the printout (i.e., they obliterate the images underneath.) I have tried taking a snapshot of the card and printing that; the image does print transparent, but the printout becomes fuzzy. These images need to be transparent because they often overlap one another. I am using png's. Does anyone (e.g. Chipp Walters, Scott Rossi) have any suggestions? Thanks a lot. Fred Moyer ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Record Sound
Ron - I have had some experience with recording sound. On the Mac it worked fine, but I came across problems on Windows that were apparently caused by QuickTime bugs on Windows. (Rev uses QT for sound recording) I was given some kind help to get recording working properly on Windows by using MCI commands to get around QT bug. (I work on Macs!) I could send you some sample scripts later in week, but I won't be at my desk for a day or so. (Also need to get permission from my "MCI source"...) I don't know about setting the sound input to iSight, but I gather there may be a problem with that at present. Just today, I read that one of the new features of Tiger is to be able to use the iSight for general purpose sound input... From Apple's web site today: http://www.apple.com/macosx/newfeatures/over200.html iSight Integration Enable iSight in the Sound Preference panel for regular audio input including speech recognition. Chris On 18 Apr 2005, at 16:02, Ronald Zellner wrote: Is anyone using the record sound function? I saw some activity on the listserve a while back pertaining to this but I don't seem to have the right parameters or something. Does anyone have a sample stack or script? Also, I'm still trying to find a way to set the input to the iSight microphone or a USB microphone on a Mac. Anyone know the recordInput property for this? I know it can use 'dflt' to use the one set in the system settings, but I'd like to be able to script it. Thanks, Ron ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN Getting Nine digit zip codes
29 seconds on my 2mb ADSL (UK) Chris On 13 Apr 2005, at 13:55, Jim Hurley wrote: This is not yet ready for prime time, but I would like to know how this works for those with broadband access to the Web. The program takes data from a DB and goes--one address at a time--to the US Post Office web site to get the extra 4 digit appendage to the zip code (necessary for bar code addresses.) What I would like to know is how fast this runs with broadband. To process 50 address takes me 109 seconds using 56K modem. Tolerable, since I only need to apply it once to my neighborhood DB of 400 addresses. Please, somebody, let me know how long this takes you with broadband. Thanks. To see the program, run this in the message box go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev"; (DO NOT CLICK THIS LINK) Jim ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: export jpeg frustration
Klaus - don't get depressed - I just used the first solution that came along! Thanks for your help. BOTH solutions work beautifully! I'll use yours next time, just to show how fair-minded I am...;-) C On 13 Apr 2005, at 12:30, Klaus Major wrote: Bonjour Eric, Hi Chris, I think that Klaus formulation is better ;-) merci beaucoup, mon ami, i was just about to fall into a dep depression :-D But using a function is a good choice: function GlobalObjRect pObj return globalLoc(the topLeft of pObj),globalLoc(the botRight of pObj) end GlobalObjRect put GlobalObjRect(the long ID of graphic "PFrame") into tRect -- ∆ export snapshot from rect tRect to file tFile as JPEG Le 13 avr. 05, à 13:16, Chris Carroll-Davis a écrit : Eric - Thanks so much! I'm pleased I wasn't doing something daft. Your function does the trick beautifully. Regards, Chris Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: export jpeg frustration
Eric - Thanks so much! I'm pleased I wasn't doing something daft. Your function does the trick beautifully. Regards, Chris On 13 Apr 2005, at 12:10, Eric Chatonet wrote: Hi Chris, The export snapshot from rect of window windowID to file... does not appear very reliable. So convert the rect of your object to global coordinates and use export snapshot from rect to file... instead :-) function GlobalObjRect pRect return item 1 of pRect + the left of this stack,item 2 of pRect + the top of this stack,item 3 of pRect + the left of this stack,item 4 of pRect + the top of this stack end GlobalObjRect Best regards, Le 13 avr. 05, à 13:01, Chris Carroll-Davis a écrit : Hello folks. Can anyone shed any light on this? I'm having problems with the export syntax. I am trying to export an area of a window... The snippet below works fine, happily creating a jpeg in the default folder, but using screen coords (which I don't want) put the ticks & "temp.jpg" into tFile put the rect of graphic "PFrame" into pRect put the id of this wd into WinId put prect && winId && defaultfolder && tFile export snapshot from rect pRect to file tFile as JPEG But if (as below) I add the window parameter to use window-relative coords, it doesn't work. Instead, I get the error: "export: no image selected, or image not open". It's as if it is suddenly ignoring the "snapshot" form of export. put the ticks & "temp.jpg" into tFile put the rect of graphic "PFrame" into pRect put the id of this wd into WinId put prect && winId && defaultfolder && tFile export snapshot from rect pRect of window WinId to file tFile as JPEG Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Web sitehttp://www.sosmartsoftware.com/ Email [EMAIL PROTECTED]/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
export jpeg frustration
Hello folks. Can anyone shed any light on this? I'm having problems with the export syntax. I am trying to export an area of a window... The snippet below works fine, happily creating a jpeg in the default folder, but using screen coords (which I don't want) put the ticks & "temp.jpg" into tFile put the rect of graphic "PFrame" into pRect put the id of this wd into WinId put prect && winId && defaultfolder && tFile export snapshot from rect pRect to file tFile as JPEG But if (as below) I add the window parameter to use window-relative coords, it doesn't work. Instead, I get the error: "export: no image selected, or image not open". It's as if it is suddenly ignoring the "snapshot" form of export. put the ticks & "temp.jpg" into tFile put the rect of graphic "PFrame" into pRect put the id of this wd into WinId put prect && winId && defaultfolder && tFile export snapshot from rect pRect of window WinId to file tFile as JPEG BTW, in my case, the message box returns: 240,480,960,960 1076 /Volumes/Starfish Internal 250/Scripter/lessons 66803362548temp.jpg so the variables are evaluating ok I think. Help!!! Tearing my hair out (what's left of it) with this one. Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: QT player question
Thanks Klaus! your solution works fine, but you were beaten off-list. >> use: the paused of player x doh! as simple as that I *hate* missing simple stuff! Thanks again, Chris On 4 Apr 2005, at 15:25, Klaus Major wrote: Hi Chris, Hello all - I expect this is an easy question, but I can't seem to see how to do it!How do I see if a player is playing? Watch very hard :-) The playrate property always returns 1 (I want to play movies at normal speed) The playrate determines the plaback speed of your movie and 0 means that a playing movie is currently paused ;-) I had thought it might return "0" if the movie was not playing. The movie() function only seems to work with video clips, not player objects. So I can't say "if the movie is done..." I need the equivalent of a "playing()" function that would return true or false. Since there is no direct way to dtermine what you want, use a little trick: function movie_is_playing put the currenttime of player xyz into ct wait 10 millisecs return (the currenttime fo player xyz < ct) ##will be true if the movie is inded playing, else will be false end movie_is_playing Here i just check 2 different "times" and see if they are identical or not... Hope that helps... A (virtual) Mars bar to the first person with the answer!!! Chris Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Edit standalone
FWI, I just tried here too and it didn't work for me either. Chris On 4 Apr 2005, at 15:17, Thomas McGrath III wrote: I just tried this again and the rev file in the bundle is now showing up as a pc file and changing it to a .rev does not work. I wonder if it was just the os9 ones that worked I don't know how to get it open... Tom On Apr 4, 2005, at 10:03 AM, Thomas McGrath III wrote: On the Mac you can select the .app build and left click select "show package contents" and go through contents/ Mac OS/ etc. till you see the .rev stack and open that. Tom On Apr 2, 2005, at 9:53 AM, Cornelia Brunner wrote: I am an educational researcher, not a programmer, making little educational applets and I make a lot of mistakes, but I just did a really stupid thing: I replaced a folder containing a standalone and the original .rev file with a new standalone folder. Now I need to edit the applet and I no longer have the .rev file. Is there any way to open a standalone in Revolution? What can I do to get back inside it other than starting all over? Help! Anyone? Thanks SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
QT player question
Hello all - I expect this is an easy question, but I can't seem to see how to do it!How do I see if a player is playing? The playrate property always returns 1 (I want to play movies at normal speed) I had thought it might return "0" if the movie was not playing. The movie() function only seems to work with video clips, not player objects. So I can't say "if the movie is done..." I need the equivalent of a "playing()" function that would return true or false. A (virtual) Mars bar to the first person with the answer!!! Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Speech in standalone - FIXED!
Phew! At last got it working. Something very very odd going on with file paths somewhere. It turned out to be part Revs fault - not copying revSpeech.bundle into externals folder in app bundle, and part my fault doing something odd with file path. Right, now for Windows... Thanks for your help on this! Chris On 1 Apr 2005, at 11:57, Chris Carroll-Davis wrote: Still doesn't work! Arghh. You were correct, the externals folder in the bundle was empty, but copying the revSpeech bundle there didn't solve it. Neither did altering "enableLibraries" path to point to it. I've just noticed this in Rev docs: >>> Important! When you install a new external by setting a stack's externals property, Revolution cannot use it until you either quit Revolution and then reopen the stack, or close the stack (after setting its destroyWindow property to true) and then reopen it. <<< I might be being really dense here, but how does this apply to standalone? If the standalone has only one stack, how can I close then reopen it? (Sorry, I'm new to this stuff!) Is there some kind of regime for installing/initializing externals that isn't obvious in the docs? Starting to get very frustrated with this! Chris p.s. I think I *am* on latest version of Rev. It says 2.5B1 in "About" box, but 2.6.2.77 with "Get info"... On 1 Apr 2005, at 09:18, Chris Carroll-Davis wrote: Sarah - thanks for this tip. I'll try this and let you know! Chris On 1 Apr 2005, at 04:58, Sarah Reichelt wrote: I need some advice on how to get speech working in a standalone app. I'm working on a (for me) big video script-writing utility that I want to feature a preview facility using text-to-speech. (OS X only) Now... speech works easily in development version running with Rev, but when I build a standalone, it fails. Here is a simple rev stack with one button and one field: www.chriscd.dsl.pipex.com/Speech_test.zip The development stack works fine. The OS X app doesn't work. I *did* select speech as an option in standalone maker, but no external resources seem to be copied over. I note that on the Windows side, "revspeech.dll" gets copied to destination. Should there not be some kind of OS X equivalent (presumably, "revspeech.bundle" ?) I tried manually copying this file to the application root, but still nothing. What am I doing wrong? Some versions of Rev had a problem copying OS X externals to the applications and then sometimes wouldn't even use them if you copied them manually. You need to open the OS X application bundle after it is built - right-click or control-click on the application and choose "Show Package Contents". Burrow down through the folders: Contents -> MacOS -> externals I would guess that the externals folder is empty - copy the revspeech.bundle manually to this folder and try it again. If this still doesn't work, alter your "enableLibraries" handler to point to the right place and see if that helps. Upgrading to the latest version of Rev will also solve this :-) Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Speech in standalone - help!
Still doesn't work! Arghh. You were correct, the externals folder in the bundle was empty, but copying the revSpeech bundle there didn't solve it. Neither did altering "enableLibraries" path to point to it. I've just noticed this in Rev docs: >>> Important! When you install a new external by setting a stack's externals property, Revolution cannot use it until you either quit Revolution and then reopen the stack, or close the stack (after setting its destroyWindow property to true) and then reopen it. <<< I might be being really dense here, but how does this apply to standalone? If the standalone has only one stack, how can I close then reopen it? (Sorry, I'm new to this stuff!) Is there some kind of regime for installing/initializing externals that isn't obvious in the docs? Starting to get very frustrated with this! Chris p.s. I think I *am* on latest version of Rev. It says 2.5B1 in "About" box, but 2.6.2.77 with "Get info"... On 1 Apr 2005, at 09:18, Chris Carroll-Davis wrote: Sarah - thanks for this tip. I'll try this and let you know! Chris On 1 Apr 2005, at 04:58, Sarah Reichelt wrote: I need some advice on how to get speech working in a standalone app. I'm working on a (for me) big video script-writing utility that I want to feature a preview facility using text-to-speech. (OS X only) Now... speech works easily in development version running with Rev, but when I build a standalone, it fails. Here is a simple rev stack with one button and one field: www.chriscd.dsl.pipex.com/Speech_test.zip The development stack works fine. The OS X app doesn't work. I *did* select speech as an option in standalone maker, but no external resources seem to be copied over. I note that on the Windows side, "revspeech.dll" gets copied to destination. Should there not be some kind of OS X equivalent (presumably, "revspeech.bundle" ?) I tried manually copying this file to the application root, but still nothing. What am I doing wrong? Some versions of Rev had a problem copying OS X externals to the applications and then sometimes wouldn't even use them if you copied them manually. You need to open the OS X application bundle after it is built - right-click or control-click on the application and choose "Show Package Contents". Burrow down through the folders: Contents -> MacOS -> externals I would guess that the externals folder is empty - copy the revspeech.bundle manually to this folder and try it again. If this still doesn't work, alter your "enableLibraries" handler to point to the right place and see if that helps. Upgrading to the latest version of Rev will also solve this :-) Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Speech in standalone - help!
Sarah - thanks for this tip. I'll try this and let you know! Chris On 1 Apr 2005, at 04:58, Sarah Reichelt wrote: I need some advice on how to get speech working in a standalone app. I'm working on a (for me) big video script-writing utility that I want to feature a preview facility using text-to-speech. (OS X only) Now... speech works easily in development version running with Rev, but when I build a standalone, it fails. Here is a simple rev stack with one button and one field: www.chriscd.dsl.pipex.com/Speech_test.zip The development stack works fine. The OS X app doesn't work. I *did* select speech as an option in standalone maker, but no external resources seem to be copied over. I note that on the Windows side, "revspeech.dll" gets copied to destination. Should there not be some kind of OS X equivalent (presumably, "revspeech.bundle" ?) I tried manually copying this file to the application root, but still nothing. What am I doing wrong? Some versions of Rev had a problem copying OS X externals to the applications and then sometimes wouldn't even use them if you copied them manually. You need to open the OS X application bundle after it is built - right-click or control-click on the application and choose "Show Package Contents". Burrow down through the folders: Contents -> MacOS -> externals I would guess that the externals folder is empty - copy the revspeech.bundle manually to this folder and try it again. If this still doesn't work, alter your "enableLibraries" handler to point to the right place and see if that helps. Upgrading to the latest version of Rev will also solve this :-) Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Speech in standalone - help!
I did. On windows side it created "externals/revspeech.dll", in application root, but for OS X, nothing. On 31 Mar 2005, at 17:10, Thomas McGrath III wrote: You must include the speech library in the standalone when building it. It is an option. Tom On Mar 31, 2005, at 10:53 AM, Chris Carroll-Davis wrote: Now... speech works easily in development version running with Rev, but when I build a standalone, it fails. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Speech in standalone - help!
Hello all - Has anyone got experience with using text-to-speech? I need some advice on how to get speech working in a standalone app. I'm working on a (for me) big video script-writing utility that I want to feature a preview facility using text-to-speech. (OS X only) Now... speech works easily in development version running with Rev, but when I build a standalone, it fails. Here is a simple rev stack with one button and one field: www.chriscd.dsl.pipex.com/Speech_test.zip The development stack works fine. The OS X app doesn't work. I *did* select speech as an option in standalone maker, but no external resources seem to be copied over. I note that on the Windows side, "revspeech.dll" gets copied to destination. Should there not be some kind of OS X equivalent (presumably, "revspeech.bundle" ?) I tried manually copying this file to the application root, but still nothing. What am I doing wrong? Strangely, on the actual large project that I'm working on, I can get the standalone to work (this bit of code from list seemed to do the trick...) on enableLibraries put the fileName of this stack into tFile set the itemDel to "/" delete last item of tFile set the externals of this stack to tFile & "/power_res/revspeech.bundle" end enableLibraries (I manually copied "revspeech.bundle" into my "power_res" folder.) BUT IT ONLY WORKS ONLY ON MY MACHINE!! Help!!! I really can't see what I'm supposed to do to sort this out. I need to get this working urgently. It would be great if someone could tell me how to get this simple test working, then I can apply that to the main project. Do you think this is something I'm doing wrong, or is a bug in Rev? Or is there some undocumented procedure I need to perform to get it functioning!? I included the Windows version in zip file too, as this also fails - but I don't need Windows (XP) version just yet. I'm hoping that whatever I need to do with OS X will also cure it for Windows! Appreciate any help you can give me! Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Empty image pattern IGNORE!!
Sorry - fixed... use "none" not "empty" Chris On 30 Mar 2005, at 12:14, Chris Carroll-Davis wrote: Hello folks. Real newbie question here... If I create an image it's empty. Fine, that's what I want. I can put a picture in it. Fine. But how do I get back to the clear image box again!!?? If I set the filename to empty I get a checkerboard pattern that I can only get rid of by setting another valid filename. I want to able to get back to a clear image box!! I must be missing something obvious... any suggestions? Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Empty image pattern
Hello folks. Real newbie question here... If I create an image it's empty. Fine, that's what I want. I can put a picture in it. Fine. But how do I get back to the clear image box again!!?? If I set the filename to empty I get a checkerboard pattern that I can only get rid of by setting another valid filename. I want to able to get back to a clear image box!! I must be missing something obvious... any suggestions? Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevCopyFile (and hello)
Joy! I can't believe it, but I've never noticed the shortcut reference before!! I wonder how many other obvious things I've been missing... On 17 Mar 2005, at 18:39, J. Landman Gay wrote: Cmd-Shift-C (on Windows: Control-Shift-C) For the stack script: Cmd-Shift-S (on Windows: Control-Shift-S) For more: Help menu -> Quick Reference Guides -> Shortcut reference ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevCopyFile (and hello)
Klaus - thanks for the tips If the files are not too big, read if they may fit into memory, you can: ... put url("binfile:MyHD/Myfolder/slickimage.psd") into url("binfile:MyHD/anotherfolder/copy of slickimage.psd") This would be perfect for me. I'd had a quick fiddle with this type of approach, but think I must have had syntax wrong, so gave up. I will have another go at it now I know it should work! Chris ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RevCopyFile (and hello)
Hello folks - Firstly, I'd better say "hello". I've been subscribed to this list for quite a long time but never really posted to it, but that's about to change! Over the last few months I've been getting into Rev after a lifetime with SC. So although I'm reasonably experienced at scripting with xTalk (though: experienced<>proficient!) I am quite a newbie when it comes to Rev. So be gentle with me. My first question: Is there an alternative way to copy a local file other than with RevCopyFile ? RevCopyFile seems to lock up my machine for about 30 seconds even when copying a very small file. Is there something I can do with URL/binfile commands? I can copy a file from the internet ok (using libURLDownloadToFile), but can this approach be extended to local files? I'd appreciate any words of wisdom! Chris p.s. Is there a keyboard shortcut for calling up the card script ? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution