exporting images in RTF from runrev
Hello, rtf seems to be a dead end when you look to the new xml docx and openoffice formats, but of course will live longer than expectable. As posted some weeks ago under the title function binaryDecode within a function ... - the following script does basic image export in rtf: function image2rtf objektname export image objektname of group inhalt to bilddaten as JPEG -- for testing: export image 1 to bilddaten as JPEG get binaryDecode(H*,bilddaten,timage) put {\rtf{\pict\jpegblip\picwgoal874\pichgoal1121 cr into header put cr } cr } into footer put header timage footer into rtf put rtf into URL binfile:c:/rtftest.rtf -- this works fine return rtf -- this only works with small jpgs, do not know why end image2rtf Some users could not confirm my problems with bigger jpegs in return. P.S. I have very good results with exporting to HTML and opening in Word 2007. You must give the width and height of images in the html-Text for word to set the right rectangle - but thats the same in rtf. Regards, Franz Böhmisch Original Messageprocessed by David InfoCenter Subject: Re: Jan Schenkel's merge tutorials (24-Nov-2008 14:51) From:Phil Jimmieson [EMAIL PROTECTED] To: [EMAIL PROTECTED] On 21 Nov 2008, at 18:16, J. Landman Gay wrote: Peter Alcibiades wrote: Jan, many thanks - great tutorials, very illuminating. I have to agree, I was thunderstruck. Jan, a Word export would be perfect for my current project, but I need to know how to incorporate images into the rtf file. Do you know how, or do I have to do my own research? Would sure appreciate any tips you may have. I'd love to be able to export reports as Word-compatible RTF - complete with images. I've requested that feature in the quality centre: http://quality.runrev.com/qacenter/show_bug.cgi?id=4231 The ideal would be if Rev could save the images as RTF directly, alternatively, if the RTFText could at least contain a reference or comment to say that an image is present, that would be useful (then I'd have to roll my own image to RTF code). At the moment, there's no sign in the RTF at all that there are images in the field. -- Phil Jimmieson [EMAIL PROTECTED] (UK) 0151 795 4236 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ 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 To: use-revolution@lists.runrev.com___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: Jan Schenkel's merge tutorials + templates
Hello, I am very impressed by the merge articles. Thanks Jan. Never heard of merge at all - very helpful!. Because of not knowing that feature I used my own template methods learned in Perl and PHP. But perhaps in some cases these can perfectly cooperate with merge (therefore I add it here): put the rtftemplate of this card into rtfexport replace $message with mymessage in rtfexport replace $someothervariable with myvariable in rtfexport put the looptemplate of this card into looptemplate repeat ... put newline after looptemplate end repeat replace $myloop1 with looptemplate in rtfexport put rtfexport into URL ... Instead of manipulation the rtftext source of such documents I could design it with the [[x]] merge technique more comfortable AND FLEXIBLE. Thanks Regards, Franz ___ 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: building a installer with rev
Grüß Dich Tiemo, 1) Perhaps you should try a mixed approach with an installer doing the hard things and your application doing the additional needs you want: a small installer + your own routines for copiing from the DVD after start of your installed application. Make an installer for example with installgadget with just a few files necessary for installation, running, registry settings and uninstall. start.exe -start.rev Your own application could then do the rest when the installed version starts (the first time or whenever the user wants to copy the videos from DVD to the drive): * find the location of the DVD * Let the user define a folder where to store the videos (the installation folder might be not good for such an amount of videos on different drives/partitions) and store this location in a userproperty ;-) of the installed start.rev or in a file. * copy all files from the DVD to this folder * your start.rev should check during start whether a local media folder has been created or the videos of the DVD must be used. Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: Doing chromakey through Runrev
Hello, I once found two stacks with the names ImageTrans.rev and one with altMakeTrans.rev from altuit which both do what you want and have the necessary scripts within. Try altuit ... Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Messageprocessed by David InfoCenter Subject: Re: Doing chromakey through Runrev (17-Nov-2008 9:47) From:Jacques Hausser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Jonathan, I'm surprised that nobody answered till now. I did not try chromakeying myself, but I would suggest 1) to sample the color of blue background (perhaps at different places to get an amplitude of variation of the color - it is never absolutely constant) with the mouseColor function. Alternatively, put arbitrary limits at + - n pixels of each channel of the sampled color. 2) to identify pixels of the image of which the color is in these limits 3) to set the corresponding pixels of the alphadata or ot the maskdata of this image to 0. Then the image with be transparent except for what you want to keep 4) to replace the pixels of the imageData of your new background image by the non-transparent pixels of the first image -- or alternatively to put the partially transparent image over the background image, what allow to change the scale, for example, and then to use a snapshot to merge the two images (at screen definition) 6) to use the alphadata or the maskdata of the first image to identify the limits of the incrusted one, and to apply some blurring algorithm to the pixels around this limit. Without that, the limit will appear jaggered. The two images must of course have exactly the same dimensions in pixel rows and columns. Look at the dictionnary for imageData,MaskData and alphaData for details... and tell us about your experiences ! good luck Jacques Le 16 nov. 2008 à 21:59, Jonathan Lynch a écrit : Does anyone have any suggestions on how to do professional-quality photographic chromakeying (like blue screen or green screen) with RunRev? -- Do all things with love ___ 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 ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: [EMAIL PROTECTED] *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution@lists.runrev.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
video chat from revolution
Hello Revs, as you certanly know Google has added audio and video chat to Gmail. The new video-chat essentially offer most of the features of Skype, but you can access it from the browser. To have the video chat working you need to install a plug-in. I wonder if there is a way to have this video chat working in a Revolution application. I would be great! Any clue about it? Thanks a lot Paolo Mazza ___ 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
R: Re: video chat from revolution
Hi Mark, unfortunately If you sign in to Gmail using a browser that isn't fully supported, you'll automatically be directed to a basic HTML view of gMail without the chat application. I wonder if there is a workaround for this. More than this, I have no idea how can I install a plugin for the rev-browser application. Thanks Paolo ___ 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
2 revBrowser Instances on one card with target references from first to the second - possible?
Hello Q: I would like a card with 2 altBrowsers, which have names and the second is the target of the first Is this possible? compare: if I have a link in HTML with target=second the browser opens a second window. If I use this reference target=second in another window or in the first window the browser would use the already used window nr 2. Might this be possible in runrev using 2 browser instances? Any Ideas? a href=myinfo.html target=window2show myinfo in target window2/a opened in altBrowser window1 ... any possibility to give a second instance the name window2 as would do the browsers? Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Regards, Franz ___ 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
Q: timeout in http/ftp functions
Hello, in using put into URL or post xyz to URL zyx runrev works for a while if the URL does not exist or any problem occurs with the connection. Can I set a timeout like in Perl? ## use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent-new; $ua-timeout(30); ... Regards, Franz Böhmisch ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: Q: timeout in http/ftp functions
Hello Klaus, thank you. I will test this global variable - perhaps it is used in the put and post functions within runrev also. Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Q: timeout in http/ftp functions (23-Okt-2008 12:02) From:Klaus Major [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Franz, Hello, in using put into URL or post xyz to URL zyx runrev works for a while if the URL does not exist or any problem occurs with the connection. Can I set a timeout like in Perl? ## use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent-new; $ua-timeout(30); ... Maybe the SocketTimeoutInterval is what you are looking for? Regards, Franz Böhmisch 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: stack design with externals?
Hallo Tiemo, I hope I understood your question: I have the experience, that 1) the runrev standalone always expects the Externals in the subfolder of the defaultfolder, which is normaly the folder where the standalone is located and this location is expected by other stacks also which start from the same standalone (not relational to the location of any rev-stack), and 2) you can set the External location of any stack in the externals of stack xyz, if you use to change the defaultfolder during the program: 1) if you make a standalone teachit.exe with all the externals these are located in the subfolder /External: teachit.exe ssleay32.dll libeay32.dll External/revbrowser.dll External/rev... External/database_drivers/dbmysql.dll ... The standalone can go to other rev stacks even on webserver etc. but my experience is that the externals always will be found in the subdir /External. You can use in the standalone.exe go stack teachA.rev in window (the windowID of this stack) AND/OR go stack URL http://myserver/stack.rev in a new window if these stacks need externals and they are present in the subfolder of the stack where the standalone is located, it works. = Therefore I once have prepared a start.exe with all externals I have, which in the openstack script automatically loads an stack with the same name, but rev at the end. I rename this start.exe as project1.exe, put project1.rev in the same folder with the dlls and the External folder and it works. I only make a new standalone, if a new runrev version is published and I need it. In the normal case I just copy my start.exe as a loader to the actual project.rev. And they always find the revBrowser External ... therefore I guess this also the case with Valentina. 2) doku external Examples: set the externals of stack Apps to field Executables Use the externals property to use the externals in the specified files. Value: The externals of a stack reports a list of file paths, one per line. Comments: Each line of the externals specifies the name and location of a file containing external commands and external functions. If you specify a name but not a location, the file is assumed to be in the defaultFolder. Regards und freundliche Grüße, Franz Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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-4: persistent objects in runrev (howto)
Hello Richard, Thank you for your comments! You wrote: If you're copying objects, you may find it both more secure and more convenient to maintain to have as few handlers as possible in those objects, which merely call handlers in a central library or your app's mainstack to do the real work, I did this as you suggests, but since 2 weeks I do it in a more extremistic way: I (almost) do NOT HAVE ANY script in such objects I want to copy from stack to tempstack and back. I use the event hierarchy for solving this. In the stackscript (or cardscript if appropriate), which gets any event from such objects with empty scripts, I have sth like: on mouseDown if the short name of the owner of the target = content then -- there is only one group content grab me select the target -- etc. else ... end if This has the result that you can move around only the selected object within the group content, copy the group content from the stack to the tempstack and back - without disturbing the other objects in the card. And it allows easily changing the handlers in later versions using the same group content edited by previous versions. Since a) I embed the important (password protected and some not protected) stacks into the standalone and b) as Chipp pointed out the standalone binary cannot be decompiled as easy as in 2.2.1 and c) I can load my own encrypted stacks by decrypt stackbinary; go stack stackbinary and d) I even can use the passkey syntax for opening extern protected stacks from a .rev file by a routine in the standalone which knows the passkey for these external stacks I can live with the password mechanisms of runrev. Regards, Franz To: [EMAIL PROTECTED] use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: persistent objects in runrev (howto)
Hello Andre, Thanks Andre for your info: Nothing new under the sun (Qohelet) I had to learn this method of storing objects as binaries by trial and discussion, because I did not read it in newsletters or sth similar. But I am glad to have realized it - late but I did ;-) As a result of our discussion in further versions of runrev I would expect a runrev function to export only the selected objects into a file and restore it, like existing moduls in perl,python,java do. And perhaps this could be done with protection immediately. Or does this exist and I did not realize it? sth similar like export/save group content into URL binfile:content.1.aniweb using passkey mykey import/restore group content from URL binfile:content.1.aniweb using passkey mykey instead of create tempstack copy object xyz from stack contentdesigner to tempstack save tempstack as ... delete tempstack open tempstack copy object xyz from tempstack into currentstack delete tempstack (for not running into memory problems with many open tempstacks). Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: persistent objects in runrev (howto)
Hello Ken yes - you can copy objects (buttons, groups) INTO password protected stacks, but not copy objects FROM them. Coming from Toolbook I had to realize and accept that ... runrev password protection protects stacks against * copiing objects FROM it * editing passwords It does not protect the stack against * copying objects INTO it (including scripts in this objects) * deleting objects within it, * moving around * reading/writing custom properties of stacks or objects etc. This causes the behavior that you can copy an object (even a background coming in front of the event hierarchy) INTO a password protected stack - but you cannot copy a modified object back then without putting the passkey ... Because I have to copy the objects from my working stack to the tempStack first I have to use stacks without runrev password protection (to copy objects FROM) for my concept of persistent objects. With the concept of my own encrypted stacks I can load from the standalone (with an embedded stack which is password protected and includes the aniDecrypt function) we have talked about in chatrev I now am able to do what I want. This would be the concept: put URL christmas.aniweb into chistmas; go stack aniDecrypt(christmas); Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: persistent objects in runrev (howto) (13-Okt-2008 18:16) From:Ken Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] This allows me to use stacks and any copy object from stack to stack command without hesitating about the password protection of the stack. Solving some problems in one step. So you're saying that you can copy an object into a password protected stack this way? Just trying to clarify... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: persistent objects in runrev (howto) + Q: unprotected stacks in standalones
Hello Chipp, The experienced users seem to have had this solution (the old suckUp spitOut trick) since years I am so proud of since the weekend. Exactly thats it. Because I even could embed some unprotected stacks I would use in this way in standalones instead of putting it in a separated .rev file: A question to the experienced: The old 2.2.1 standalones have been #!/bin/sh encapsulated stack files and the old decompile script from the list could decompile the stacks from the standalones (the stacks stay password protected to be shure). The standalones now seem to be changed in format and technique (I checked this on 2.7 a year ago on linux and win) and the decompile script from the eldest does not work anymore. Q: Is it possible to decompile current standalones with such a short script? (Please not the answer: you can decompile any program ... ;-) I am no assembler. Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 on mouseUp answer file Standalone if it is cancel then exit to top put url (binfile:it) into tStack repeat forever -- there's more than one stackfile in there which isinteresting ;-) put offset(#!/bin/sh,char 10 to -1 of tStack) into tOff if tOff = 0 then exit repeat put char tOff+9 to -1 of tStack into tStack end repeat ask file Stack if it is cancel then exit to top set the fileType to RevoRSTK put tStack into url (binfile:it) answer conversion finished with OK end mouseUp Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: persistent objects in runrev (howto) (13-Okt-2008 19:48) From:Chipp Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Ken, The way I read it-- it's the old suckUp spitOut trick but encrypting the stack beforehand. The idea being it's not necessary to password protect the stack as anyone trying to read the file format won't be able to make sense of it. Therefore, after 'spitting out' you can use it just like any non-password protected stack. Perhaps I'm wrong, but that's what I get from the rather vague post. -Chipp ___ 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 To: use-revolution@lists.runrev.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
function binaryDecode within a function ...
Hello Again my question concerning binaryDecode. get binaryDecode(H*,bilddaten,t) is basically correct. The following function * exports a jpg of a group inhalt to a variable rtf (1), * then to a file for opening in word (2) and * returns the variable rtf(3). (1)+(2) work correctly for any jpg (big and small). (3) is a problem. The same function returns the SAME result as string in the following line of code. But here only jpgs with smaller sizes than 5 bytes return the content of t within the variable rtf. I do not understand anything. I can work with it - but I would like to understand the behavior. Regards, Franz Böhmisch function rtfkonvert objektname export image objektname of group inhalt to bilddaten as JPEG -- for testing: export image 1 to bilddaten as JPEG get binaryDecode(H*,bilddaten,t) put {\rtf{\pict\jpegblip\picwgoal874\pichgoal1121 cr into header put cr } cr } into footer put header t footer into rtf put rtf into URL binfile:c:/rtftest.rtf -- this works fine return rtf -- this only works with small jpgs end rtfkonvert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: decompress - result = 1/second try (ist noch das result von vorher!)
decompress beeinflusst the result nicht = in the result bleibt das ergebnis eines Commands von vorher stehen. Test: Ich gehe zu einem Stack, den es nicht gibt, result ist ein error: no such card. Der bleibt stehen, auch wenn eine erfolgreiche compress und decompress routine folgen. Gruß, Franz try;go stack URL http://anibebit.de;end try; put the result into altesresult; put compress(test) into gezipped; put decompress(gezipped) into extrahiert; put altesresult cr the result cr gezipped cr extrahiert no such card no such card #0;#0;#0;#0;#0;#0;+I-.#0; ~Ø#0;#0;#0; test Original Messageprocessed by David InfoCenter Subject: Re: decompress - result = 1/second try (14-Okt-2008 9:51) From:Klaus Major [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi all, any hints what this result from a decompress action may mean? ... ## Valid GZ compressed file! put url(binfile: win_gz) into w1 put decompress(w1) into w2 if the result empty then ## here I sometimes get 1 as the result, but the file has ## been correctly decompressed nevertheless ... Any hints are very welcome! 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 To: use-revolution@lists.runrev.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
upload of files from runrev using http passing a authorized proxy (solved,docu)
Hello colleagues, with the help of malte and others I could solve our task in a special network where I needed upload of files when no ftp is allowed but only http an authorization process of a proxyserver is necessary with any internet access You can find the solution at http://www.animabit.de/runrev/proxyinrunrev.html Thank you all for the help Regards, Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: alternatelanguages ... persistent objects from createObject
Hello Krey, the reason for my desire to reuse open win COM objects aims to use many other COM Objects and winword/excel is just an example anyone knows. Of course in winword you can save the file and open it in a second session. But I have some scenarios where it would be fine to having let the object opened and just interact with it. It is just an idea to think about during a coffee break ... Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: alternatelanguages ... persistent objects from createObject (09-Okt-2008 16:35) From:Ken Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] But: Could it be possible out of runrev (any idea) to have 2 alternatelanguagescripts runword1.vbs and writeagaininword2.vbs where the second just uses the word object opened by the first. = Can I use a COM-object again by any trick? The first script could perhaps give back an objectID in the result variable to runrev, but how could I reconnect the writeagaininword2.vbs to this existing object (if the first script did not close it)? Just curious - why would you need to do this instead of just creating a new object? The reason I ask is that you can successfully link to currently open instances of applications (I'm thinking MS Office primarily) to manipulate them from multiple independent scripts. That is, you can use VBS with createObject to launch an instance of Excel, say, and get a sheet started, and then later use another VBS with createObject to add data to the same worksheet in Excel. Of course it would be the best runrev could use COM directly ... how about a createObject command in 3.1 ;-) That would be nice! :-) What can I do with the XML alternatelanguage on windows? Sorry, haven't done anything with that... maybe someone else can chime in... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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 To: use-revolution@lists.runrev.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
alternatelanguages ... persistent objects from createObject
Hello, Using alternatelanguages allows these (like VBS, Javascript) to interact with windows COM objects (using the createObject Syntax f.e. for opening word or excel and write sth there, save it and close). As I asked some weeks ago - how could I reuse such an object later? One answer in the list (I do not find the posting in the moment, sorry for making no credits) was really good: I can use a global variable result in the alternatelanguage as an global variable bridge: f.e. from vbs to runrev. This indeed works. But: Could it be possible out of runrev (any idea) to have 2 alternatelanguagescripts runword1.vbs and writeagaininword2.vbs where the second just uses the word object opened by the first. = Can I use a COM-object again by any trick? The first script could perhaps give back an objectID in the result variable to runrev, but how could I reconnect the writeagaininword2.vbs to this existing object (if the first script did not close it)? Of course it would be the best runrev could use COM directly ... how about a createObject command in 3.1 ;-) Regards, Franz Böhmisch A second question: What can I do with the XML alternatelanguage on windows? After put the alternatelanguages on one pc I get XML VBScript VBScript.Encode JScript JScript.Encode PerlScript SignedJavaScript SignedVBScript ___ 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:Time for a break
Mark Wieder wrote: You know you've been doing too much coding when: ...you're in the middle of writing an email message and you press the tab key to format a paragraph... You probably will not believe this one but its true! When drawing in a graphics app I constantly keep two fingers over control+Z to cancel the last drawn or painted line to correct my mistakes. When I turned to real-world modelling in clay and my hand slipped, I actually reached for the non existant keys! Habits are hard to loose! Barry Barber ___ 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
menus and shortcuts
Hello Mark, I run most of my .rev apps from a precompiled universal runrev .exe with the same name = the info is in the stack object, not in the standalone. If you download http://animabit.de/runrev/test.exe and put it into /anirun.exe and put a stack in the same folder into /anirun.rev than it starts, and if you put all the dlls and Externals of a standalone with all features in the same folder there than all works. = The info of the Shortcuts is in the objects in the stack and just interpreted different in IDE versus standalone. The info seems to be stored only in the text of the menu button and if the standalone finds a shortcut notice there like (Paste/V but no handler for it then the event stops. Because a menu is normally a background on top of the event hierarchy that means blocking of this shortcut. put the text of button Bearbeiten (Cut/X (Copy/C (Paste/V (Clear - (Preferences Learned a lot of your comments Mark! Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Re-8: I cannot paste in any field in an app (consisting of up to 7 stacks) (01-Okt-2008 19:52) From:Mark Wieder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Franz- Wednesday, October 1, 2008, 9:52:51 AM, you wrote: Where in the group menu does runrev store this information about shortcuts? Now *that's* a good question. Since your original stack works in the IDE but not a standalone, I'd guess that the process of building the standalone binds the keyboard equivalents, but I don't have a clue as to when or where this happens. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: I cannot paste in any field in an app (consisting of up to 7 stacks)
Hi all, thanks for the advise list! I checked the suggestions - and I think I have found the point I have identified the problem but do not understand it (and the idea about the edit menu of malte has helped me finding): I have a navigation background in all the stacks (=above all in the event hierarchy). I have made a test stack consisting only of some fields and this background group. With the background in it I cannot paste in the fields, after deleting the background I can. I have deleted the script in the background = the problem is the same therefore not in the script (I had no paste routines there). It is only the group object (marked as background without any further special details) which causes this behaviour that I cannot paste (Strg-V) into the fields of the stack where this background is included. Does the event STRG-V = paste be stopped by a background generally? I have put the teststack into URL http://animabit.de/runrev/test.rev and a standalone loading this stack into http://animabit.de/runrev/test.exe If anyone wants to test this behaviour. Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: I cannot paste in any field in an app (consisting of up to 7 stacks) (30-Sep-2008 15:15) From:Malte Brill [EMAIL PROTECTED] To: [EMAIL PROTECTED] hi, may sound stupid. Have you tried adding a menubar that has an edit menu to the main stack? If not could you try and see if you can paste then? If so I might be close to a godzilla report. Cheers, Malte ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-4: I cannot paste in any field in an app (consisting of up to 7 stacks)
Hi Chipp: In the IDE or in a standalone? I only have the problem when running in the standalone! Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Re-2: I cannot paste in any field in an app (consisting of up to 7 stacks) (01-Okt-2008 9:32) From:Chipp Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] I'm on WinXP and I have no problem cutting and pasting text on your demo stack using Rev 3.0. ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-6: I cannot paste in any field in an app (consisting of up to 7 stacks)
Hello Chipp. Thanks you very much! the http://animabit.de/runrev/test.exe is a 2.9 standalone which loads the runrev stack with the same name in the same dir. If someone wants to download both files in a dir and test it. The Problem are the menuitems in the background group in a standalone. If I delete the menuitems and just put a button in the background group it works in the standalone. If anyone had the time to make a windows standalone out of the test.rev stack with 3.0 we could see whether the problem is still alive or solved. Thanks for your testing. Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Re-4: I cannot paste in any field in an app (consisting of up to 7 stacks) (01-Okt-2008 10:35) From:Chipp Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] I'm using the IDE. I cannot debug the standalone. ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-7: I cannot paste in any field in an app (reproducable bug, final report)
Hallo Malte, Chipp, Tiemo, Neal, Devin Thanks to all. The Problem is identified and reproducable as a bug even in 3.0 standalone (thanks Malte Brill). Will report the bug in the bugcenter. For me actually solvable by replacing all menuitems in the navigation group (= I do not use the menueditor anymore) by buttons and a script in the group on mouseup send menuPick the label of target end mouseup Finis. Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re-6: I cannot paste in any field in an app (consisting of up to 7 stacks) (01-Okt-2008 10:59) From:Malte Brill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Franz, also does not work with a 3.0 Standalone. Please report this to QCC. XP Pro, german. All the best, Malte ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-8: I cannot paste in any field in an app (consisting of up to 7 stacks)
Hello thanks for the good info, Mark! I have a menuPick handler in the script of the main stack to handle all menus. After opening the group in the menueditor I saw what you mean. Where in the group menu does runrev store this information about shortcuts? Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Re-6: I cannot paste in any field in an app (consisting of up to 7 stacks) (01-Okt-2008 18:06) From:Mark Wieder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Franz- Wednesday, October 1, 2008, 1:45:33 AM, you wrote: the http://animabit.de/runrev/test.exe is a 2.9 standalone which loads the runrev stack with the same name in the same dir. If someone wants to download both files in a dir and test it. The Problem are the menuitems in the background group in a standalone. If I delete the menuitems and just put a button in the background group it works in the standalone. Here's your problem: in your background menu group you have defined the control-V keyboard sequence, so you're trapping it from the keyboard in your Bearbeiten button but you haven't put in any code to process it. You can paste into the fields with control-shift-insert, so the paste mechanism is working fine in the standalone. You can change the keyboard equivalent for the paste operation in your menu, or you can put some paste code in the menu handler. on menuPick pChoice answer I got it end menuPick Now... here's where I think this is still a bug... if you disable the Bearbeiten button then you obviously can't select it with the mouse. But it *still traps the control-V keyboard sequence*. I think disabling the button should disable the keyboard traps as well. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution@lists.runrev.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
I cannot paste in any field in an app (consisting of up to 7 stacks)
Hello, I have an application with up to 7 stacks where I cannot paste in the fields. What did I do to set this feature - I do not find the clue. Any idea? Regards, Franz ___ 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-4: using an ActiveX (twiz32.ocx) from runrev by vbs
Hi Ken BTW, I'm assuming you're talking about Rev 3, right? If not, let me know as there's a couple of differences between VBS in Rev 2.x and Rev 3. Thank you all for help - I use 2.9 and did not know that there are differences in handling of vbs in the new runrev 3.0. I came to the following solution: instead of running vbs from runrev I use scan.hta (hyptertext application) with the code: !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN html head titleScannen/title BODY onLoad=scanner.CurrentSource='2';scanner.ShowUI ='False';scanner.Units='2';scanner.Resolution = '150';scanner.ImageLeft='0';scanner.ImageRight='4';scanner.ImageBottom='4';scanner.AcquireToFile('test.jpg'); object ID=scanner CLASSID=CLSID:A96AC4E0-6EBF-11D0-AA7C-00608CC9A71F /object /body /html this works from commandline (I use the shell(scan.hta) command from runrev). If I would put a Self.Close on the End of the Body onLoad, the scan would not start because the hta is closing before. A new problem occured: The mshta.exe process in any case does not close on the machine I am testing on (xp sp3). = I do need vbs from runrev for that. In the case the mshta.exe does not close (a problem in ms windows documented in the ms kb) I use the following vbs in field 1 and run it from runrev. This works and closes any process mshta.exe. on mouseUp put field 1 into auftrag; do auftrag as VBScript; put the result end mouseUp set wmi = GetObject(winmgmts:) wql = select * from win32_process set ergebnis = wmi.ExecQuery(wql) for each objekt in ergebnis liste = liste objekt.name Prozess-ID: objekt.processID vbCr next wql = select * from win32_process where name='mshta.exe' set ergebnis = wmi.ExecQuery(wql) for each mshta in ergebnis mshta.Terminate 0 next ___ 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
hta for using ocx in runrev
Hello Ken - Yes I use an old ocx - using ocx is as totally an old technique for old guys ;-) I can recommend HTA for solving many of these problems But I have learned by this check that I can use any component in windows in runrev by a) do xyz as vbscript with CreateObject (if the component is a COM Server) b) shell(xyz.hta) with a html-like application using any ocx + Comserver with createObject c) If anyone could offer me a solution for using .NET assemblies in runrev ... perhaps in 4.0 ;-) Regards Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
using an ActiveX (twiz32.ocx) from runrev by vbs
Hello, Is it possible and how can we use activeX with the alternateLanguage Function of runrev by the way of visual basic script vbs? I do know how to run Excel or Word from runrev in this way (using COM and createObject), but not how to use an ocx. Any idea or suggestions? I use an ocx (Olympus Twain Wizard) for administration of a scanner on windows (TWAIN). This works in Visual Basic 6.0 without any user interaction (in this case Scan if the Form opens:) Private Sub Form_Load() Form1.Twiz1.AutoFeeder = True Form1.Twiz1.ShowUI = False Form1.Twiz1.Resolution = 300 Form1.Twiz1.AcquireToFile (c:\test.jpg) End Sub Now I try to do this with vbs in runrev (but I do not know whether this is possible). I tried scanner = CreateObject(Twizlib.Twiz) scanner.AutoFeeder = True scanner.MaxImages = 3 scanner.ShowUI = False scanner.Resolution = 300 scanner.AcquireToFile(c:\test.jpg) But the ocx seems not to be accessible by createObject (The ActiveX object can not produce a new object). To be shure: But this error even occurs when the name of the class is wrong. The Typelib ID of this ocx is {A96AC4E1-6EBF-11D0-AA7C-00608CC9A71F} the most importent methods and settings are ShowUI = False AcquireToFile(c:\test.jpg) Regards Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: using an ActiveX (twiz32.ocx) from runrev by vbs
Hi Mark, of course you are right - I cannot Form like in vb6 and dont try this. I just tried scanner = CreateObject(Twizlib.Twiz) scanner.AutoFeeder = True scanner.MaxImages = 3 scanner.ShowUI = False scanner.Resolution = 300 scanner.AcquireToFile(c:\test.jpg) I will test your suggestion: SET scanner = createObject(TwizLib.Twiz) this might be a starting point. Thanks! Franz Original Message Subject: Re: using an ActiveX (twiz32.ocx) from runrev by vbs (25-Sep-2008 11:05) From:Mark Schonewille [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Franz, I don't think you can use sub routines in the do command. Each time when you call form_load, you'll probably have to rewrite the entire function verbose. Sometimes, I have to experiment a bit with the createObject function to make it work. For example, adding set' in front of the scanner variable might work: set scanner = createObject(TwizLib.Twiz) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum/ Benefit from our inexpensive hosting services. See http://economy-x-talk. com/server.html for more info. On 25 sep 2008, at 10:47, [EMAIL PROTECTED] wrote: Hello, Is it possible and how can we use activeX with the alternateLanguage Function of runrev by the way of visual basic script vbs? I do know how to run Excel or Word from runrev in this way (using COM and createObject), but not how to use an ocx. Any idea or suggestions? I use an ocx (Olympus Twain Wizard) for administration of a scanner on windows (TWAIN). This works in Visual Basic 6.0 without any user interaction (in this case Scan if the Form opens:) Private Sub Form_Load() Form1.Twiz1.AutoFeeder = True Form1.Twiz1.ShowUI = False Form1.Twiz1.Resolution = 300 Form1.Twiz1.AcquireToFile (c:\test.jpg) End Sub Now I try to do this with vbs in runrev (but I do not know whether this is possible). I tried scanner = CreateObject(Twizlib.Twiz) scanner.AutoFeeder = True scanner.MaxImages = 3 scanner.ShowUI = False scanner.Resolution = 300 scanner.AcquireToFile(c:\test.jpg) But the ocx seems not to be accessible by createObject (The ActiveX object can not produce a new object). To be shure: But this error even occurs when the name of the class is wrong. The Typelib ID of this ocx is {A96AC4E1-6EBF-11D0-AA7C-00608CC9A71F} the most importent methods and settings are ShowUI = False AcquireToFile(c:\test.jpg) Regards Mit freundlichen Grüßen Franz Böhmisch ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-3: using an ActiveX (twiz32.ocx) from runrev by vbs
Hello This HTML-Page starts immediately (after a security warning on xp sp3 but this I think can be avoided) !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN html head BODY onLoad=scanner.CurrentSource=2;scanner.ShowUI = 'False';scanner.AcquireToFile('c:\test.jpg') object ID=scanner CLASSID=CLSID:A96AC4E0-6EBF-11D0-AA7C-00608CC9A71F /object /body /html Question: How to translate this in vbs code which I can send to the wsh using do in runrev? Regards Franz ___ 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. Repeat structure
Context: I am trying to make a repeat structure that deals with an unknown number of images located along a given line. The line is the diagonal of a currently selected group. How can I define that line and does it have to be actually be drawn before referring to it? Thank you Colin, Eric, Joe and Ken for your considerations. Sorry I am always light years behind the speed with which you all reply but I usually wade through about 4 batches of UseRev posts every evening. Yes, I had instinctively typed bottomRight but then saw an example in the docs (2.8) that said rightBottom so I changed it (although I have never heard that used in English). Now, today, I can only find bottomRight in the Dictionary (2.9)! Luckily, my base image is a thin rectangle that runs diagonally along the line I was describing and the images to be dealt with are placed along it, so this excludes the transparent part of the rect. Unluckily, they are also placed over holes in the PNG image itself so Rev might not detect them. Thus the idea of describing a line. I was hoping to avoid checking every image that fell within the rect of the larger image but maybe that will not take up too much time - once I get the script working. Could I give a double definition in the repeat such as: images within the rect of myGroup and the name of which contains aName? As far as the Dictionary being confusing, look up the Example for Break in the Summary(2.8). First it says that this breaks out of the entire Switch and then out of the case. What's more the first word in lines 1 and 2 of the example script seem to be inverted! again, lots of thanks Barry Barber ___ 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
repeat structure
Hi gang, I am trying to make a repeat structure that deals with an unknown number of images located along a given line. The line is the diagonal of a currently selected group. How can I define that line and does it have to be actually be drawn before referring to it? My attempts so far include: - the rect of the selectedObject --the group put the points topLeft and rightBottom of it into tSightLine repeat for each image within tSightLine select it the rest of my rubbish -- Of course, the second line throws an error (unquoted literal) but I cannot find where to put the quotes it is asking for. For some reason the script Editor does not colour rightBottom red unless the words are separated but then the error is Expression: bad factor - so I am leaving it black. Any kind offers? Barry ___ 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: increased reaction time runrev 2.9 on an xp with sp 3
Hello Tiemo, I have this problem of an increased reaction time of the IDE 2.9.0 on mouseclicks on my XP machine where I have installed XP Service Pack 3. This was no problem before. Herzlichen Gruß, Franz Original Messageprocessed by David InfoCenter Subject: GLX2 and Rev 3.0 (19-Sep-2008 13:12) From:Tiemo Hollmann TB [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, I've just installed Rev 3.0 and noticed two things 1. The reaction time on menu mouseclicks (I reported before) in Rev IDE 3.0 on Win XP (with and without stacks open) is still a crawl. Anybody else (beside of Horst) having performance problems with the IDE? 2. When trying to open a script with activated GLX2, nothing happens. After deactivating GLX2 the scripts are opened in the new Rev editor. I didn't found any deinstall procedure fro GLX2. What is the appropriate way to do it. Just remove the GLX2 plugins from the plugins folder and that's it? Thanks Tiemo ___ 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 To: use-revolution@lists.runrev.com To: [EMAIL PROTECTED] use-revolution@lists.runrev.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
group with an editable textfield - select the group when clicking in the textfield
Hi Wie make a tool for churches for making their web pages without any knowledge of HTML, images etc. I use many groups on a card symbolizing the elements of the webpage f.e. a group with a textfield one with an image one with fields organized as table in rows etc. one with a calender symbol ... http://animabit.de/pfarrtemplate.de/anichurch001.jpg http://animabit.de/pfarrtemplate.de/anichurch002.jpg and the user can reorganize the objects by drag drop etc. My little problem: I have a script for selecting the group when clicking on any target contained in this group. It does work fine but not with editable textfields. When I click with the right mouse on the textfield, the mousedown handler works immediately - but the cursor is not in the textfield for typing. If I click with the left mouse the cursor is in the field but the mousedown handler does not work and the last selected group (for example the one with the image) stays selected. My script which does the work: on mousedown mouseButtonNumber if the name of the target contains hintergrund then -- do nothing else grab the owner of target -- for moving around the group select control (the owner of target) open stack objektbrowser as palette put the short name of the owner of the target into field 1 of stack objektbrowser put the typ of the owner of the target into field 2 of stack objektbrowser end if end mousedown I tried the following on openfield mousedown pass openfield end openfield but in this case I could click in the textfield, the mousedown handler worked and the group was selected ... but the focus of the cursor in the textfield has even been lost (as when clicking with the right mouse). If I do it manually in 2 steps it is possible = it should be possible by programming also. Click first with the right mouse (= mousedown works and the group is selected) second with the left mouse (the cursor is in the field but no mousedown handler is sent) then the group stays selected AND the cursor is in the textfield for further typing. How to do this? Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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
script not working when the stack is password protected, why?
Hello I have a stack for putting images together on a virtual board and make a new image from it. The following button script adds a image to the actual group kopfleiste which contains all images and texts etc. which then will be exported to a jpg file. This script does not work when the stack is password protected, but works when this is not the case. What line is the reason for this? on mouseUp put the number of images of group kopfleiste into bildanzahl copy image i1 of group vorlage of card 2 to group kopfleiste set the loc of it to the loc of group kopfleiste put (i the seconds) into bildname set the name of it to bildname put the layer of the group kopfleiste into kopfleistenlayer set the relayerGroupedControls to true set the layer of image bildname to (kopfleistenlayer + bildanzahl+1) set the relayerGroupedControls to false end mouseUp Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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: script not working when the stack is password protected, why?
Hi, the problem is in the line copy image i1 of group vorlage of card 2 to group kopfleiste It tries to cut an image of card 2 before copiing it to card 1. = can't cut object (stack is password protected) This is not allowed when the stack is password protected (in older versions I remember I could get image 1 of card 1 of this stack even when password protected - I am glad about this improvement - if I remember correctly). I try the following solution: on openCard if the environment development then set the passKey of this stack to xyz end if end openCard It seems to be secure ... in the standalone this allows the script to work, but not in the IDE. Does this be secure? My decompile stack, which I got from the net for decompiling a 2.2 runrev -standalone exe to a 2.2 runrev file and which worked till 2.7 does not work anymore. Any newer version of the decompile script on the market ;-) Greetings, Franz Original Messageprocessed by David InfoCenter Subject: script not working when the stack is password protected, why? (22-Aug-2008 10:46) From:[EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello I have a stack for putting images together on a virtual board and make a new image from it. The following button script adds a image to the actual group kopfleiste which contains all images and texts etc. which then will be exported to a jpg file. This script does not work when the stack is password protected, but works when this is not the case. What line is the reason for this? on mouseUp put the number of images of group kopfleiste into bildanzahl copy image i1 of group vorlage of card 2 to group kopfleiste set the loc of it to the loc of group kopfleiste put (i the seconds) into bildname set the name of it to bildname put the layer of the group kopfleiste into kopfleistenlayer set the relayerGroupedControls to true set the layer of image bildname to (kopfleistenlayer + bildanzahl+1) set the relayerGroupedControls to false end mouseUp Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: script not working when the stack is password protected, why?
Hello, just got the info on chatrev that this approach on openCard if the environment development then set the passKey of this stack to xyz end if end openCard is not secure for a rev file because someone could open the rev file, make another substack with a script (go stack protectedstack (now the password is passed); go stack mynewsubstack; put script of stack protectedstack ... voila) I could not even think so evil ;-) I try: on anyhandler set the passKey of this stack to xyz do and let the script cut and work from the stack... set the passKey of this stack to empty end anyhandler ... Greetings, Franz ___ 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: scanners and Rev
Hello we have made an App in revolution interacting with scanservers of Axis. But because these scanservers are expiring it is not the right point to start with. But there are similar techniques on the market. Then you just get the scan by http. Another application uses scanners which scan directly in a dir on the pc which is permanently checked by a runrev application which works with the scanned images (jpg and pdf). Regards, Franz Böhmisch Kalispera Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Messageprocessed by David InfoCenter Subject: scanners and Rev (19-Aug-2008 9:57) From:viktoras didziulis [EMAIL PROTECTED] To: [EMAIL PROTECTED] is there any way to communicate with scanners in Revolution ? I would need my app to be able to invoke a default scanner dialog window and then put the scanned image into an image object. Dictionary says nothing about scanners... Viktoras ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Removing CRLF from text
put URL proto://xyz.ini into myconfig replace + CRLF with empty in myconfig put myconfig ... Any line with a CRLF without a + before will stay. Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh To: [EMAIL PROTECTED] use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: Removing CRLF from text
crlf and cr are not the same! from the docu: Use the CRLF constant as an easier-to-read substitute for numToChar(13) numToChar(10). cr is numToChar(13) only. Runrev engages in text fields for optimization according to the used OS = you do in most cases not see the differences when using text fields. When using variables and binfiles the difference of crlf and cr can be important. In runrev you often have relicts of LineFeed LF (10) when using ftp from a win pc to a unix os. In this cases you have to replace crlf with cr (=remove numToCHar(10). Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Removing CRLF from text (07-Aug-2008 13:30) From:Randy Hengst [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Mark, I played with your question by pasting your text example into a field, demo, and by grabbing a text file using the URL pattern you shared. I thought that CR and LF are basically the same thing. So, when I used: replace +CR with in field demo it seemed to work. I used RevStudio 2.9 on MacOSX4.11. take care, randy --- On Aug 6, 2008, at 7:17 PM, mfstuart wrote: Hi, RunRev: 2.90 OS: WinXP I have a situation where a software application's ini file has the plus (+) char and CRLF at the end of a line, when the line passes 80 characters. The balance of the ini entry is placed on the next line. Each ini entry could be very long and possibly go to 3 lines. Why they did this I don't know, really. But what I need to do is remove the + and CRLF so that each ini entry is complete in itself, on one line. ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh I've used this script, and variations of it, to remove these characters: + CRLF. It removes the + char, but still leaves each ini entry split into multiple lines. I've also searched the archives for a solution, nothing is working. Any ideas? My script: on mouseUp --clear current fields on card --these fields are so that I can see the results from the script. put empty into fld Orig put empty into fld Changed --fetch the file put C:/temp/some.ini into tFilename put URL (file: tFilename) into tData put tData into fld Orig repeat for each line L in tData --grab the line put L into tLine --If the line contains +, then it will also contain CR and LF, --so only work on a line with +. if (tLine contains +) then --find + and delete it put offSet(+,tLine) into tPos delete char tPos to tPos in tLine --find CR and delete it put offSet(CR,tLine) into tPos delete char tPos to tPos in tLine --find LF and delete it put offSet(LF,tLine) into tPos delete char tPos to tPos in tLine --put the line into a container so that I can see the results put tLine cr after theLines else -- just put the line into a container put tLine cr after theLines end if end repeat put theLines into fld Changed end mouseUp Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18862004.html Sent from the Revolution - User mailing list archive at Nabble.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 To: use-revolution@lists.runrev.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
waiting time of shell()
Hello, I use put shell(perlupload) into result if result contains xyz then put true into itworked else ... end if with perlupload as a perl program which loads files through proxy http on slow connections to a cgi prog on the server ... and gets the http-HTML-respond page as result. This result is returned to runrev and I want to check the success. This works fine for 90 % of the files but in the case the files have the size of up to 5 MB the perl upload process needs more time than the shell command is patient to wait. The perl process in most cases continues until success, but the return of the shell is empty and therefore my runrev prog never could be sure whether the upload process had been successful or not. I cannot do the upload in runrev native, because it is a special VPN context, which I could not solve in runrev native but in perl. Q1: what is the prefigured waiting time of a shell command in runrev? Q2: can I change this waiting time (let shell the time to work longer for long processes, before it returns control to runrev and says empty as result) Thank you for any advice, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: waiting time of shell() + open process + proxy authentication in runrev
Mark S Mark Sch Thank you. I got this advice using open process almost simultaneousely from the both Marks. Mark Schonewille added I should implement in runrev the protocol with an authenticated proxy instead of using shell - I tried but only had success in perl. I wrote this perl script, put it into a custom prop and replaced the $variables with the runrev variables with the same name before running it with perl -e. use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent-new; $ua-proxy(['http', 'ftp'], 'http://$proxyusername:[EMAIL PROTECTED]:8080/'); $ua-timeout(30);$ua-agent(Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)); $ua-agent(Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)); my $req = POST 'http://$servername/admin/aniupload.cgi', Content_Type = 'multipart/form-data', Content = [ pdftitel = '$dateiname', verzeichnis='$verzeichnis', filename = ['$quelldatei'] ]; $req-authorization_basic('$username', '$passwort'); $req-header('Accept' = 'text/plain'); my $response = $ua-request($req); if ($response-is_success) { print $response-content; } else { die $response-status_line; } I had successfully implemented all in runrev but not the line $ua-proxy(['http', 'ftp'], 'http://$proxyusername:[EMAIL PROTECTED]:8080/'); http://mail.runrev.com/pipermail/use-revolution/2008-April/109930.html (Answers to http://mail.runrev.com/pipermail/use-revolution/2008-April/109876.html) did not work for me. Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Messageprocessed by David InfoCenter Subject: Re: waiting time of shell() (06-Aug-2008 11:12) From:Mark Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Perhaps you could try using , something like: open process perlupload for read repeat wait 500 millisecs with messages read from process perlupload until empty put it into tResponse if xyz is in it then put it into tResponse exit repeat end if end repeat close process perlupload put tResponse ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: how to for making a commercial library for runrev (barcode analysis)
Hello Tiemo, nice to meet you here fighting against your 1000 videos ... and your videos against you ;-) I hope you still are glad about your migration to runrev as I am in most cases. Hi Jan, thank you for your advices! For contacting runrev it would be to early for me I think (I guess the RevSelect program would cost sth and in this case I am a Scot in bavarian exile ;-). But your experiences with a library stack embedded with start using is in the direction which is helpful for me. I did not yet use animation engine of malte or your Quartam reports etc. in a working environment (therefore never had experience with the license system used in such commercial libs). Generally it would be helpful if there would exist a standard defined for runrev commercial libs. When someone often uses Perl and CPAN he enjoys the defined standard use MODUL::SUBSET and my $barcode = .. - new; $barcode-do etc. which allows embedding of moduls very easily and makes the design of moduls very clear. The library stack method is clear. Perhaps the licensing method could be set by a standard either ... Perhaps: start using stack PDF with user xyz and password abc and parameter=version=1.3;security level=high Regards Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 how to for making a commercial library for runrev (barcode analysis) Jan Schenkel janschenkel at yahoo.com Wed Jul 2 08:22:33 CDT 2008 Previous message: AW: how to for making a commercial library for runrev (barcode analysis) Next message: the Rev Kagi-KRM? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] --- runrev at animabit.de runrev at animabit.de wrote: Hello colleagues, I have made a program in runrev which gets the jpg data of 5 scanservers with scanned labels and analyses the 2 to 4 barcodes 39. After a testing phase with permanent improvement it now works 8 hours a day connecting to 3-5 scanservers stable. The project was part of quality assurance in an industrial environment. In another project (an older one) a runrev prog looks permanently to a directory where scanned images are stored by a scanner, and moves and analyses and comments on these images. The barcode analysis is completely programmed in transcript (500-700 msec per scan with 4 to 30 captures of subareas of the image - black/white conversions with different filters and barcode analysis). The quality of the jpgs is 150 dpi (normally 300 dpi is the starting point of doing barcode scans ...) where one small barcode line (one modul) is about one pixel - hard task, but there are millions of those jpgs a month and storage over years should not explode ... A test for 128 barcode (possible only with higher resolution starting about 200 dpi) had been successful, but was not finally needed for this project and must be improved for final application. Now I think about making a commercial barcode analysis library for runrev. Does there exist any standards how to make commercial libraries in runrev? How to spread a password protected library stack in the community? Regards, Mit freundlichen Grüßen Franz Böhmisch Hi Franz, As a provider of Revolution add-ons, I'd advise you to: - contact Heather Nagey heather at runrev.com for more information about the RevSelect program - join the RevInterop group http://groups.yahoo.com/group/revInterop/ to find out more about packaging and metadata Generally, I ship my libraries as a self-contained stack that people can 'start using' and then initialize with their license key before they can actually use the commands and functions. For instance, the PDF library has the API help built-in as a substack, as well as a separate substack with demo scripts. When you open the library stack, it has the copyright information and buttons to take you to the demo and documentation substacks. By the way, congratulations with your project: I can't help but thinking of how one could use this with Revolution to create a cross-platform alternative to the excellent Mac-only Delicious Library. Anyway, I hope this helped, Jan Schenkel. Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) Previous message: AW: how to for making a commercial library for runrev (barcode analysis) Next message: the Rev Kagi-KRM? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the use-revolution mailing list___ 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 Remote Desktop Support (in 2.9. really fine) + Question: Citrix
Hello, I am glad about the improvement of runrev 2.9 for Windows Remote Desktop Support. In previous versions the GUI (runrev IDE and standalone) had some errors (black areas) when used by remote access which is perfectly solvecd now in 2.9. When a runrev prog works in Germany, Czechia or Mexico and you sit somewhere between it is really important to log into the remote windows PC and can work with the runrev program (testing etc.). This even works in Windows Terminal Server (tested) which is very important for some companies. I did not test it, but because the Windows Terminal Server technique is somehow connected with Citrix I think that runrev would work in Citrix environments also (not tested). Question: Did anyone test a runrev 2.9 prog in a Citrix environment? Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
how to for making a commercial library for runrev (barcode analysis)
Hello colleagues, I have made a program in runrev which gets the jpg data of 5 scanservers with scanned labels and analyses the 2 to 4 barcodes 39. After a testing phase with permanent improvement it now works 8 hours a day connecting to 3-5 scanservers stable. The project was part of quality assurance in an industrial environment. In another project (an older one) a runrev prog looks permanently to a directory where scanned images are stored by a scanner, and moves and analyses and comments on these images. The barcode analysis is completely programmed in transcript (500-700 msec per scan with 4 to 30 captures of subareas of the image - black/white conversions with different filters and barcode analysis). The quality of the jpgs is 150 dpi (normally 300 dpi is the starting point of doing barcode scans ...) where one small barcode line (one modul) is about one pixel - hard task, but there are millions of those jpgs a month and storage over years should not explode ... A test for 128 barcode (possible only with higher resolution starting about 200 dpi) had been successful, but was not finally needed for this project and must be improved for final application. Now I think about making a commercial barcode analysis library for runrev. Does there exist any standards how to make commercial libraries in runrev? How to spread a password protected library stack in the community? Regards, Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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
MCISendString
I have a few customers who tell me the following function does not seem to be working under Windows XP when they are using a built-in mic. They are not able to record sound. Does this code need to be modified to specify the device to record from or does it always record from the mic specified as the default device in the Sound and Audio Devices Properties screen? Thanks. Richard Miller -- local isrecording = false local recordfname on wavStartRecording tfile if isrecording is true then wavStopRecording put tfile into recordfname if there is a file recordfname then delete file recordfname get MCISendString(open new type waveaudio alias myrecordsound) get MCISendString(set myrecordsound bitspersample 8) get MCISendString(set myrecordsound channels 1) get MCISendString(set myrecordsound samplespersec 8000) get MCISendString(set myrecordsound bytespersec 8000) get MCISendString(set myrecordsound time format ms) get MCISendString(record myrecordsound) put true into isrecording end wavStartRecording function wavIsRecording return MCISendString(status myrecordsound mode) is recording end wavIsRecording on wavStopRecording put false into isrecording get MCISendString(stop myrecordsound) get MCISendString(save myrecordsound recordfname) get MCISendString(close myrecordsound) end wavStopRecording function wavRecordLoudness if isrecording is false then return 0 return MCISendString(status myrecordsound level) end wavRecordLoudness mail2web - Check your email from the web at http://link.mail2web.com/mail2web ___ 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: httpproxy authentication agent simulation
Hello Mark Smith thank you very much for your tipp using HTTPHeaders for implementing another User-Agent! In the archives I found with the help of Mark Schonewille http://www.mail-archive.com/[EMAIL PROTECTED]/msg09789.html From: Dave Cragg [EMAIL PROTECTED] Subject: Re: HTTPProxy - authenticated proxy servers supported? Date: 2003-08-21 09:33:29 with information how to use proxy authentication. The solution in both cases uses HTTPHeaders. I try to set the HTTPHeaders to a multiline string User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) cr put proxyusername into tID put proxypassword into tPass put base64Encode(tID : tPass) into tString set the httpHeaders to Proxy-Authorization: tString other Headerinformation Perhaps I can avoid the shell(Perl-journey) and stay in runrev even in this case. Thank you. Nice day, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 httpproxy authentication agent simulation Mark Smith mark at maseurope.net Wed Apr 16 13:12:36 CDT 2008 Franz, you can spoof the user-agent using another httpHeader: set the httpHeaders to User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) -- or somesuch, this will override the default user-agent. I'm pretty sure you can do http authentication with a header too, using the WWW-Authenticate: header, but I'm not sure exactly what form it takes. Hope this helps, Mark On 16 Apr 2008, at 18:26, runrev at animabit.de wrote: Hello, 1. I need fileupload from runrev via http using a proxy. This works with on mouseUp answer file Which file ... Welche Datei soll auf den Server geladen werden? set httpproxy to http://proxy:8080; put it into dateiname set the itemdelimiter to / put the last item of dateiname into shortname put dateiname wird aufgeladen ... into field protokoll put libUrlMultipartFormData(tForm, pdftitel, shortname,submit,Datei auf Server hochladen!) into tData set the httpheaders to line 1 of tForm delete line 1 of tForm put libUrlMultipartFormAddPart(tForm, filename,file dateiname, multipart/form-data, binary) into tData put http://htaccessusername:[EMAIL PROTECTED]/upload.cgi into tURL post tForm to url tUrl set the htmltext of field protokoll to it end mouseUp 2. But the proxy (http) needs a) authentication and perhaps b) only allows Mozilla or IE compatible browsers for http access. Now I have written a workaround in Perl: use LWP::UserAgent; my $ua = LWP::UserAgent-new; ... $ua-proxy(['http', 'ftp'], 'http:// proxyusername:proxypassword at proxy:8080/'); $ua-agent(Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)); ... which allows http-upload through a proxy with authentication and agent simulation. 3. Question Is it possible to define httpproxy authentication agent simulation? Then I must not use Perl for a workaround ... ___ 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
httpproxy authentication agent simulation
Hello, 1. I need fileupload from runrev via http using a proxy. This works with on mouseUp answer file Which file ... Welche Datei soll auf den Server geladen werden? set httpproxy to http://proxy:8080; put it into dateiname set the itemdelimiter to / put the last item of dateiname into shortname put dateiname wird aufgeladen ... into field protokoll put libUrlMultipartFormData(tForm, pdftitel, shortname,submit,Datei auf Server hochladen!) into tData set the httpheaders to line 1 of tForm delete line 1 of tForm put libUrlMultipartFormAddPart(tForm, filename,file dateiname, multipart/form-data, binary) into tData put http://htaccessusername:[EMAIL PROTECTED]/upload.cgi into tURL post tForm to url tUrl set the htmltext of field protokoll to it end mouseUp 2. But the proxy (http) needs a) authentication and perhaps b) only allows Mozilla or IE compatible browsers for http access. Now I have written a workaround in Perl: use LWP::UserAgent; my $ua = LWP::UserAgent-new; ... $ua-proxy(['http', 'ftp'], 'http://proxyusername:[EMAIL PROTECTED]:8080/'); $ua-agent(Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)); ... which allows http-upload through a proxy with authentication and agent simulation. 3. Question Is it possible to define httpproxy authentication agent simulation? Then I must not use Perl for a workaround ... Regards, Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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: why does this not work and how do you do it?
Peter Acibiades wrote: on mouseUp ask think of a number I knew Revolution is was clever but is it also telepathic? ;.) Best regards Barry ___ 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
ANN A celebration puzzle for 2.9
Having just seen the announcement on the RunRev site of the official release of Revolution v2.9, I have uploaded to my User Space (BarryB) a little game built with Alex Tweedys amazing Image Jigsaw stack. Hope it will amuse someone.Sorry I couldnt make something entirely mine but Im still trying. Vive le Revolution! Barry Barber ___ 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: Learn Programming in 1 Day
hello, any plan to sell later that DVD and screen captures later? I'm 10.000 km away and didn't start to play with revolution, but your DVD will help me to decide. Thanks Jose The Day One Pass previously offered just to people who purchased the RevSelect bundle is now available to everyone. People who attend will begin with a blank slate and by the end of the day will produce a fully operational standalone application that works on Mac, Windows, and Linux. The courses build on each other and follow a progression: - Revolution fundamentals - Important scripting concepts - Manipulating text and data - Working with the file system - Orchestrating multimedia content - Exchanging data over the Internet - Lightning-fast database processing - Migrating from HyperCard - Building a standalone executable Not only that, but those who order before March 31 will receive a free copy of the conference DVD, which contains all the sessions from the conference, all the sample stacks, etc. (It does not include the non-disclosure day, though.) In other words, you'll get an intensive day of instruction presented by the best and brightest people in the community (people who have been helping out on this list for YEARS). As the mailer states, this is a great opportunity to achieve liftoff for programming. Because not only do you get the in-person training, but you also get a DVD you can take home and review what you learned on that day... PLUS ALL THE OTHER SESSIONS held during the conference. That's an incredible amount of content... a great value. Anyone who is interested in better comprehension of Revolution will benefit immensley. As stated by others, learning is not mastery -- if there is such a thing. Learning hopefully is a lifelong process. We don't promise that you will be able to single-handedly build an Office Suite at the end of the day. We do promise that you will acquire the experience you need to begin using Revolution effectively. I think the content of the mailer elaborates on this clearly. To the extent the subject line of the email is slightly provocative/controversial and got people to open it to learn more, I'm not apologetic. :) Having said that, I also think it's accurate and if what you're doing there is not learning I don't know what is! - Bill ___ 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
2.9 dp4 microsoft scripting (using word or excel)
Hello just tested the new do tvbscript as vbscript syntax in 2.9 beta dp4 for writing from runrev into word. It workes fine. local tVBScript put Dim Word return after tVBScript put Set Word = CreateObject( quote Word.Application quote ) return after tVBScript put Word.Visible=1 return after tVBScript put Word.Documents.Add() return after tVBScript put 'Word.Selection.Font.Bold= quote 1 quote return after tVBScript put Word.Selection.Font.Name= quote Arial quote return after tVBScript put Word.Selection.TypeText( quote Hello Word quote ) return after tVBScript put Word.Selection.InsertParagraph() return after tVBScript put Word.Selection.MoveDown() return after tVBScript put Word.Selection.InsertParagraph() return after tVBScript put Word.ActiveDocument.SaveAs( quote C:/newtest.doc quote ) return after tVBScript put tVBScript do tVBScript as vbscript - Does anyone know a trick to use the Word-Object after the vbscript has ended and runrev got the result of vbscript? Could runrev get the Word-ID as result of the createobject syntax and use it later again? I assume this wouldn't be possible, but it would be fine if this could have be done. The same can be used with excel if you transfer the attached perl program with the - style into point notation as I did above with word Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Perl: use Win32::OLE; # grab the numbers @numbers = qw(1 2 3 4 5); # create the automation object Win32::OLE::CreateObject(Excel.Application, $xl) || die CreateObject: $!; # show it and add a new workbook $xl-{Visible} = 1; $xl-Workbooks-Add(); # start at the top left $col = A; $row = 1; foreach $num (@numbers) { chomp($num); $cell = sprintf(%s%d, $col, $row++); # add it to Excel $xl-Range($cell)-{Value} = $num; } # OLE-Programmierung mit Perl use Win32::OLE; $app = Win32::OLE-new('Word.Application', 'Quit') || die Problem mit WinWord: $!; $app-{'Visible'}=1; $worksheet = $app-Documents-Add(); $app-Selection-Style-{wdStyleHeading3} = 1; $app-Selection-Font-{Bold} = 1; $app-Selection-Font-{Name} = Arial; $app-Selection-Font-{Size} = 24; $stil = $app-Selection-Font-{Name}; $app-Selection-TypeText(Hallo Jakob. Word schreibt von selbst ...); $app-Selection-InsertParagraph(); $app-Selection-MoveDown(); $app-Selection-TypeText(Schriftstil ist $stil); $app-Selection-InsertParagraph(); $app-Selection-MoveDown(); $app-Selection-InlineShapes-AddPicture(d:\\test.jpg); $app-Selection-InsertParagraph(); $app-Selection-MoveDown(); $app-Selection-Style-{wdStyleNormal} = 1; $app-Selection-Font-{Size} = 12; $app-Selection-TypeText(Viel Freude bei Winword...); $app-ActiveDocument-SaveAs(C:/animabit/newtest.doc); ___ 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: Anyone interested in learning more about Rev on Rockets?
Thu, 21 Feb 2008 05:01:27 -0600 Chipp Waters wrote: So, if you're interested, holler at me or Andre, or just respond here. Definitely! My hand's up! Thank you both for the offer. Your posts, Chipp, were a great incentive for us all get a grip on what Andre has, so generously, already delivered. Barry If there are enough folks, we'll create a few free ROR tutes. Just let us know! -Chipp Give them a cheer folks!!! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
using PerlTk from runrev - does this work on mac?
Hello, I have done a little stack which runs a perl script embedded as a custom property. This works for me on my win pcs and servers with perl installed and on the linux. Does this work on a modern mac (= do you have PerlTk normally on your macs?). If it would work on mac too it would allow to extend runrev on any machine with the power of perl everytime we need it ... you can go stack URL http://animabit.de/runrev/perl.rev; or test it on your own: [button] on mouseUp replace cr with empty in field perl put field perl into auftrag replace quote with (\ quote) in auftrag put perl -e quote auftrag quote into auftrag set the hideConsoleWindows to true --answer auftrag put shell(auftrag) into field ergebnis end mouseUp [text of field perl] use strict;use Tk;my $main = new MainWindow; $main-Label(-text = At the top (default) \x{5DB}\x{5DC}\x{5DE} \x{fe95}\x{fe95})-pack;$main-Label(-text = 'At the bottom')-pack(-side = 'bottom');$main-Label(-text = 'The middle remains')-pack;my $top1 = $main-Toplevel;$top1-Label(-text = 'Left')-pack(-side = 'left');$top1-Label(-text = 'Right')-pack(-side = 'right');$top1-Label(-text = '?Bottom?')-pack(-side = 'bottom');my $top2 = $main-Toplevel;my $frame = $top2-Frame;$frame-pack; $frame-Label(-text = 'Left2')-pack(-side = 'left'); $frame-Label(-text = 'Right2')-pack(-side = 'right'); $top2-Label(-text = 'Bottom2')-pack(-side = 'bottom');MainLoop; thank you, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 To: use-revolution@lists.runrev.com Cc: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
runrev2web (learning from the toolbook experience)
Hello all, some experiences from the toolbook scene to the posting of Andre Garcia and others concerning runrev2web: I came from toolbook (xtalk for windows only) to runrev where this happened some years ago. Toolbook long ago splitted in two directions: traditional ui development in openscript (xtalk dialect) and web development, with a template approach (you can define a book=stack as native or as DHTML and use predefined template books = stacks for webcourses) which can be converted automatically. For a DHTML book you can use elements out of a catalogue (I understood Andre in this direction) which work both in toolbook native (called Actions Editor AE with a subset of javascript within toolbook) AND converted in HTML (after a phase using java which was stopped) mostly for educational courses and instruction. The consequences were in my opinion the splitting of the toolbook community in web authors using toolbook as template engine for making educational courses which look almost the same native and on the web, and the traditional users like me who made measurement programs and multimedia with toolbook. And the development of the application toolbook became slower and slower, only the DHTML approach was pushed und just this year after some years of lament a 32bit version has been published! From this historical experiences I would say: In my opinion metacard/runrev has included all mechanisms for making a template approach to bring object functionality even to the web when writing converters and generators. There is a metacard-stack on the web which converts the ui into an xml-dump and restores from the xml building a new stack. In this direction I would see the best solution. One can program php or perl (server side) or javascript (client side) for some extended objects and put it into custom properties in the runrev stack or better in a runrev library stack which during the conversion to web would replace the runrev transcript. There even is the possibility to write generators who build the objects of a stack for different contexts (native,web,x3d as I did in my last project) and I would prefer if the community would define standards to use in library stacks for interoperability instead of forcing runrev to go into a direction I saw in the toolbook scene some years ago and do not want to suffer again. My approach would look like this: function newobject(button,Open,web) function newobject objecttype,name,context if context = native then if objecttype = button create button name -- or better: clone button button1 of card protoobjects -- with all functionality built in you need for this button set the topleft of button name to ... end if -- better of course condition ... ... return objectid -- for addressing of the created object in runrev end if if context = web then if objecttype = button put the buttonwebtemplate of this stack into template replace $buttonname with name in template put template after the HTMLcode of this stack put the buttonphpfunctionalitytemplate of this stack into exportfile ... end if -- better of course condition ... ... return objectid -- for usage and addressing in css end if if context = x3d then if objecttype = button put the buttonx3dtemplate of this stack into template replace $buttonname with name in template replace DEF $objectid with DEF name ... in template replace $3dposition with x y z in template ... put template after the x3dcode of this stack end if -- better of course condition ... ... return objectid -- for usage in javascript for x3d end if end and if someone likes to fake the modern point-notation just do: get newobject (stack.card.button,Franz,native) get newobject (document.form1.button,Send,web) get newobject (x3d.backgroundgroup.inline,christmastree,x3d) Regards Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 To: use-revolution@lists.runrev.com Cc: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Runrev using Perl
Hi, Last week I needed some functions runrev doesn't supply but Perl does. I am working on win and have ActivePerl or Sieperl installed on the PCs. Therefore I wrote a script, which dynamically runs a perl script from runrev. Create a field perl, put the perl prog in it, remove all comments = text in a line after # (or write the script for doing this). Create a field feedback. Make a button with the script: on mouseUp put field perl into perlprog replace cr with empty in perlprog put perl -e quote perlprog quote into cmdstring set the hideconsolewindows to true put shell(cmdstring) into field feedback end mouseUp I tested it with some normal scripts (the result of the script will be expressed in field feedback). This allows using Perl modules as extensions of runrev. You can of course run any perl script from runrev in a file (the normal way) with shell(perl fileloc) Second I tested (on win) some GUI-Skripts in Perl using PerlTk: use Tk; my $meinFenster = MainWindow-new; $meinFenster-Label( -text=Servus )-pack; $meinFenster-Button(-text = Schluss, -command = [$meinFenster = 'destroy'] )-pack; MainLoop; On Win and Linux this creates a small GUI window. On Mac there normally is no PerlTk implementation - you have to install it on your own if you need. Tk allows to offer an interface for configuration of parameters of the perl script during runtime. I will put this info on my (still rudimentary) runrev web pages at http://animabit.de/runrev Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 To: use-revolution@lists.runrev.com Cc: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: On Board Sound -- Midi in Custom Props (Barry Barber)
Biurnke (yes, I know its phonetic spelling - I hope - but Ive never seen it without question marks on my mail) Apart from the fun, maybe someone should explain to you that Royalties usually have to be paid everytime you use somebody elses music. Royalty-free collections are sold so as to give a lot of stuff you can use as many times as you like without further payments. Im English born and bred but its fooled me several times too. All the best Barry PS Sorry if this comes up twice, the first one seems to have bounced. -- Leggi GRATIS le tue mail con il telefonino i-mode di Wind http://i-mode.wind.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: MP3 Patents, was id3libv1.0.0 (Barry Barber)
For the experts in the field who took part in this thread may I refer this article which might, if you havnt already seen it, be pertinent to your work: http://www.fsf.org/news/playogg.html All the best Barry -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada ___ 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:Vista, Speech Wreckognition, and perl (Mark Wieder)
Mark Weider wrote Mon, 12 Mar 2007 19:21:36 -0800 :- !!!- Warning - I laughed for ten minutes solid... http://www.youtube.com/watch?v=KyLqUf4cdwc [EMAIL PROTECTED] Great! It reminds me of a report many years ago in MacFormat Magazine. It went something ike this; The MS team had worked for months on the development of a new Handwriting Recognition software. Satisfied with their efforts they proudly presented it to Mr W.Gates who immediately tried it, by writing a phrase, and got no results! The developers had forgotten that their boss is left handed!! ADDENDUM My belated apologies for not thanking those who offered comments to my post on transparent images but I wanted to research further on this theme and we 'hobbyists' are not so assiduous as many of you on this list ;) Thank you all for being 'out there'. Cheers Barry -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://infostrada.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-2: iGame3D Rev External
Hi, Mark I got igame3d to work on win but where can I find the Ants game? I had a great time playing the Ants game. Nice demo for the technology. -Mark ___ Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: Umlaut - set the unicodetext of field 1 to numtochar(68) numtochar(1)
Hello to the multilingual crowd hoping for runrev becoming 100 % unicode compliant. Yesterday I downloaded the new java netbeans IDE of sun and enjoyed it to be 100% unicode - the same VB.Net Express Edition I hope to enjoy this in runrev too in the near future. We can not type the letter you wish directly in a runrev field, but we can use a wrapper (I hope this might help in the case you need it): set the unicodetext of field 1 to numtochar(68) numtochar(1) This puts the unicode letter into the field. use the following script to replace ´n to n with akut put the unicodetext of field 1 into zeile -- for getting the values: --put chartonum(char 1 of the unicodetext of field 1) --put chartonum(char 1 of the unicodetext of field 1) -- these are the two byte of letter 1 of the field 1 replace (numtochar(180) numtochar(0) numtochar(110) numtochar(0)) with numtochar(68) numtochar(1) in zeile set the unicodetext of field 1 to zeile This puts n into field 1 (just tested) 1. runrev seems not to be able to display letters and unicode diacritics (=2byte letter and 2 byte combining diacritical letter) together but can handle combined letters (2bytes) in the unicode standard with unicode fonts. I opened charmap.exe on win, searched for n (U-0144: Kleiner lateinischer Buchstabe N mit Akut) and copied it. Now it is important: If I copy this direct into runrev it fails. But if I copy it in notepad and from notepad into a field in runrev it is correct. I do not know why. The same is the case if I copy arabic, syriac etc. text from a webpage: After copiing it into notepad I can copy anything into a runrev field but not directly. Why? 2. You can create any letter in the unicode standard if you know the low byte and the high byte it exists of: n with akut for example is in the unicodestandard u-0144 hex open your calc.exe in extended view, set to hex and put 44, change to decimal view and you will find 68, do the same with 01 which of course will be 01. 44 hex = 68 dezimal 01 hex = 01 dezimal this means: set the unicodetext of field 1 to numtochar(68) numtochar(1) creates this letter. Hebrew Aleph is u-05d0 05 hex = 05 dec c0 hex = 208 dec set the unicodetext of field 1 to numtochar(208) numtochar(5) numtochar(209) numtochar(5) creates aleph and beth (but wrongly displays beth aleph according to the hebrew rtl direction). Good luck Regards, Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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: live streaming 3d
Hello, does anyone have the time for a short test (please not all at the same time !!! ;-) http://animabit.de/multimedia/video_live.html time: now from 18.30 to 19.00 video streaming of 3d rooms partially created with programs in runrev Any suggestion to mailto:[EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Umlaut
Hello The ability to display combined unicode characters depends on the text engine used by the software. Revolution's text engine is much oder than the invention of combining diaresis. There is a slight possibility that I am wrong, but I don't think that Revolution is able to display combining diaresis in text fields. Mark you are wrong I think. copy this to a runrev field: np nnñ For finding the chars and their unicode number please run on win the progs charmap.exe in extended view. Search the letter n with ~ or with trema as you like and try the different fonts you have. U+00F1 (latin n with tilde or some of the others) can be used in Arial,Verdana,Times NR etc. on win, I do not know the way to do the same on mac. Regards, Franz ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: Umlaut
Hi Mark, you are right - I am wrong. In a runrev textfield it is not possible to combine the characters you were talking about as you can in notepad on win too. I did it in notepad and pasted it (and even this did only work in half the cases). Perhaps it would the best for runrev they would rework the textfield unicode functions and starting also removing the righttoleft bugs in the textfields for arabic,syriac and hebrew. Copy the syriac phrase in a runrev textfield = (if the syriac text is sent by the mailinglist ...) Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Umlaut (28-Feb-2007 16:19) From:Mark Schonewille [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Hi Franz, 00f1 is a single character. We were trying to figure out whether Revolution is able to combine a character with the combining diaresis cc88. In other words, we want to display two different characters in one position, which e.g. Apple's TextEdit is able to do, but Revolution isn't. Best, Mark -- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Site for sore eyes
Look at this and make your comments! The Register - Hypercard on Steroids by Phil Manchester http://www.regdeveloper.co.uk/2007/02/27/revolution_runtime/ Cheers Barry -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada28eb07 ___ 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:Groovy Graphic Demos
Having already viewed or downloaded all these graphical marvels, can any one tell me why I cannot import a simple transparent b/w outline image, in png or gif format, to a stack (Media Studio)and then floodfill a color or flip-it without it deteriating into something that looks like it has been dragged through a hedge backwards? The stack I am trying to develop only has to do these two operations; something I find any kid's art application can do nicely. My 5yo grandson would be very grateful if someone can solve this for me! Cheers Barry -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada28eb07 ___ 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
Amazing Grace
Checking my email today after recently signing up for some of the Yahoo! Rev users mailing lists I found 131 spams although that mail server has been free from spam for years due to my careful deployment. Being on Yahoo in this case I had no choice but to divulge it. I am not blaming those Lists (or Richmond) for this - I expected it and luckily they all go directly into the bin. However, a solitary one got passed that system and nearly had me fooled for a few seconds. It was from a supposedly named REV SISTER GRACE, yes you've guessed, a Nigerian nun who, calmly blessing me, asked for my bank and personal identity info to trasfer my latest inheritance! I just can't decide if it was a coincidence or not but it certainly avoided Yahoo!s filters. All the best and watch out for this saintly soul, Barry -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada17feb07 ___ 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: Rotate Graphic Image Smoothly?
==On February 5, 2007 3:41:12 PM EST Bill Marriott wrote: ==If your ultimate objective is to have a smoothly rotating graphic on the ==web, than Rev is probably not the best tool for this. The ==smoothest-appearing option would be something in Flash format. An animated ==GIF can also work well if the dimensions are small. ==I would recommend Xara Xtreme Pro (free trial version at xara.com) as a ==means to do either. You can do very simple Flash movies as well as GIF ==animations very easily, working with both vectors and bitmaps. ==Bill Bill, Thank you for your suggestions. I have a Mac, and own Flash too. Xara is Windows only, but I'm sure others will find it useful. I have just never worked with Flash before. I guess I finally have a reason to work with it. Too many tools, so little time! Thanks! Rick mail2web - Check your email from the web at http://link.mail2web.com/mail2web ___ 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: Trapping for the Return Key on keypad of a Windows machine
I suggest you can use: rawkeydown or rawkeyup on rawKeyDown theKeyNumber if theKeyNumber is 65308 then increaseScroll -- mouse wheel down pass rawKeyDown -- if the key should have further effects. For blocking the key comment this line. else if theKeyNumber is 65309 then decreaseScroll -- mouse wheel up else pass rawKeyDown -- don't forget this for all other keys! end rawKeyDown every -- if you pass rawkeydown the signal of the pushed key is send further in the hierarchy. If you do not pass the key has no further effect and is blocked. Every key on the keypad has its own rawkey For checking the option keys (shift, alt, control) use optionkey, shiftkey etc. (see docu) The rawkey is the same if the user has made the choice of a different language (english or german or ...) = the rawkey of ä-key on a german keyboard is the same when used an english keyboard layout but the keydown key is dependent on the language and the pressed optionkeys (shift ...). Test also: on returnKey -- go to the next card when the user presses return -- do end returnKey Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Messageprocessed by David InfoCenter Subject: Trapping for the Return Key on keypad of a Windows machine (03-Feb-2007 19:40) From:Charles Szasz [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Does anyone have a suggestion on how to trap the Return key on the keypad of a Windows machine running Windows 2000 and XP? In my application, the last text entry when it is completed is supposed to enable a button for calculation. It works using the standard Return key on the keyboard but is does not work using the Return key on the keypad when the number lock is set. Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution@lists.runrev.com___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rotate Graphic Image Smoothly?
==Recently, Scott Rossi wrote: ==If you're going to continually rotate an image, the way to do this is to set ==the angle of the image, which keeps the image's data intact. Note that the ==results are poor with regard to any transparency in the image (such as =antialiasing of the edges and internal transparency). ... ==Regards, ==Scott Rossi Scott, Thanks for the quick reply. The image is not transparent so that is not the issue. I want a smooth rotation not a choppy one that I seem to be getting. Yes I was using the set angle of the image, but as I said it seems choppy to me. Is there a better way or am I stuck? Rick mail2web LIVE Free email based on Microsoft® Exchange technology - http://link.mail2web.com/LIVE ___ 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
Rotate Graphic Image Smoothly?
Dear Rev Graphics Gurus, Is there a way to SMOOTHLY rotate a graphical image around it's center point in Rev? If so, then how could I make this image do this on the web? Do I need to create it as an animated .gif file, or is there a better way? Thanks in advance for any pointers! Rick Harrison mail2web.com What can On Demand Business Solutions do for you? http://link.mail2web.com/Business/SharePoint ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: write to and read from a hardware address directly, possible?
Hi Stephen, There are some hardware tasks (f.e. drivers for special PCI cards to manage relais or OPTOIN cards) which need to communicate through one byte in a hardware address. And the status has to be read fast ... As in Perl it should be possible, but not recommended ... But it seems not to be possible, because nobody could tell me a solution in runrev. Thanks, Franz Original Messageprocessed by David InfoCenter Subject: Re: write to and read from a hardware address directly, possible? (19-Jan-2007 17:24) From:Stephen Barncard [EMAIL PROTECTED] To: use-revolution@lists.runrev.com You are looking for a PEEK or POKE type command in Rev. ummm... I don't think it's advisable to do that directly anymore, certainly on macs. Most resources on modern hardware are managed. Hello, Is it possible to write to a hardware address directly from runrev? Did not find any command for this task in the docu. 0xA000 FF 8 bit to the address A000. Can I set or get the value with native commands in runrev? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: help with a multi process http server.
Hi Andre, I hope I understood you correctly: did you try the old base href= tag? If you use in the header of the first html file: head base href=http://server2.com:; !-- ... ... -- /head all will be loaded from the server2 at port . A declaration like img src=/src/logo.gif will become like img src=http://server2.com:/src/logo.gif;. If you put in ANY html page delivered from your servers head base href=http://schedulerserver.com; !-- ... ... -- /head all requests will be loaded from schedulerserver.com at port 80 even if the parent page was delivered from another server. Even in the old days of HTML one could send a base href tag in the head of the html-file and all the following relational links have been calculated in the browsers according to this base. I think this works in all browsers on the market. If you have a php or shtml generated index file on the main server which sends a first html page with such a base href tag, the browsers will connect to the declared server for downloading and so on - you do not need to parse any pages, the relational base mechanism makes the rest. Even the favicon can be declared explicitely: compare http://www.selfhtml.org/ http://de.selfhtml.org/navigation/suche/index.htm?Suchanfrage=base+href there might be english versions also and any stuff comes from the second server ... http://de.selfhtml.org/html/kopfdaten/beziehungen.htm#quellen favicon in line 4 of the header: head !-- ... andere Angaben im Dateikopf ... -- link rel=stylesheet type=text/css href=../../src/selfhtml.css link rel=shortcut icon type=image/x-icon href=/src/favicon.ico link rel=author title=Impressum href=../../editorial/impressum.htm link rel=contents title=Inhaltsverzeichnis href=../../navigation/inhalt.htm link rel=index title=Stichwortverzeichnis href=../../navigation/stichwort.htm link rel=search title=Suche href=../../navigation/suche/index.htm link rel=help title=Hilfe href=../../editorial/index.htm link rel=copyright title=Urheberrecht href=../../editorial/copyright.htm link rel=top title=SELFHTML href=../../index.htm link rel=up title=HTML-Kopfdaten href=index.htm link rel=next title=Durchsuchbarkeit mit Server-Kommunikation href=durchsuchbarkeit.htm link rel=prev title=Adressbasis und Zielfensterbasis href=basis.htm link rel=first title=Titel einer HTML-Datei href=titel.htm link rel=last title=Durchsuchbarkeit mit Server-Kommunikation href=durchsuchbarkeit.htm /head Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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
write to and read from a hardware address directly, possible?
Hello, Is it possible to write to a hardware address directly from runrev? Did not find any command for this task in the docu. 0xA000 FF 8 bit to the address A000. Can I set or get the value with native commands in runrev? Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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: SFTP
Hello, I once had to make a solution in ssh putting generated data from one server to another using ssh (about 2002). We used a win server and had to connect to a linux server. This solution works with any win client and a server with openssh or another ssh solution able to use ppk files and was last tested about 2 years ago. Perhaps the security standards concerning ssh have changed ... We used the putty programs http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PSFTP (an SFTP client you can use by the commandline (shell) with batchfiles steps: 0. create a security key using PuTTYgen (an RSA and DSA key generation utility) and put it on the sftp-server for authentication. Make one connection with psftp to this server by hand and approve the first time the feeddback question concerning the connection Do you know the server xyz.target.com and approve Than this ssh-connection can be further used in batchprocesses also. 1. write a batchfile out of runrev 2. write a commandfile out of runrev with the commands in f.e. c:\batchparameter.txt (f.e. cd client cd year2007 put fileA.txt get filefromServerA put xyzA.pdf like you would do with any oldfashioned commandline ftp-client). 3. run this batchfile using the shell command (blocking) or the launch command or shell(start batchfile) (nonblocking). shell(psftp -batch -bc -b c:\batchparameter.txt -P 1234 -i c:\admin\ssh\dsa.ppk [EMAIL PROTECTED]) Somewhat tricky but when properly set up working very stable. And you can use the commandline (shell) from any program which needs to connect to the server by ssh using port 1234. Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Message Subject: SFTP (18-Jan-2007 5:05) From:Bridger Maxwell [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Hey, I am trying to get a server set up on a School District's network, but they won't let me open an FTP port to the internet unless it is an SFTP connection. As far as I can tell, Revolution is not able to open Secure FTP connections out of the box, but are there any workarounds that anyone knows about? Any tips would be greatly appreciated. TTFN Bridger Maxwell CMSEC ___ 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 To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: lost everything, macbook and its HD broken.
Andre, Ouch!!! As a Macintosh Repair guy, what you're telling me isn't sounding good. Don't mess with your drive anymore as you could cause yet even more damage to the platters. You really don't want to be messing with drive platters yourself. Send it into a professional with a Clean Room like Drive Saver's. They also have very professional disk tools etc. http://www.drivesavers.com/ It can be pricey, but then so is all of that time that you have invested in all of the software that you have developed. Which is irreplaceable. If you send your unit into Apple, Inc. they probably will not try at all to recover your data, but you will get a replacement MacBook since it is probably still under warranty. Good Luck! Rick Harrison mail2web - Check your email from the web at http://mail2web.com/ . ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X.
Yer a crazy GNUt!!! [EMAIL PROTECTED] wrote: Now that there is a 'smaller' version of OS X , I wonder if the releases will be named something like: Tabby, Calico, and Persian. :-) Or, with the new company name change, the new releases could be different varieties of apple. I'm looking forward to Granny Smith (aka 11.0.0). Roger Eller [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
runrev export to pdf
Hi, I once downloaded the metacard stack vector2pdf_v02b.mc of Alejandro Tejada http://lists.runrev.com/pipermail/use-revolution/2004-August/041884.html with the function vector2pdf. The pdf result did not fully load in my recent tests. The link http://www.geocities.com/capellan2000/vector2pdf_v02b.zip does not work anymore. My question: Did Alejandro or anyone else continue working in pdf export from metacard or runrev? Any pdf lib abailable? Regards Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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: Unicode text for buttons, etc
Hello Carly J. Born, 1) you can use unicode in runrev. Please search the docu for unicode* and read the info about uniDecode,uniEncode,useunicode,UTF8,UTF16 etc. 2) on win I can use any language if I select the language on the system bar for fonts and languages or use the charmap (just execute cmd and charmap) with the extended view unicode groups and copy it directly in the textfield, which must be set to a unicode font! (Arial, Times New Roman, Tahoma, and I think Verdana for the most languages) 3) the rtl-properties of runrev are broken: the direction of words is always from left to right. If you have installed rtl-support on the windows system(support for oriental languages in the system properties) than runrev shows the direction of the letters within the word correct (this problem is for all programs on win machines except the iebrowser, firefox etc. and winword which use their own rtl-modules) = unicode in languages which go from left to right are no problem in runrev, the others you have to convert/reverse/fake ... regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Message Subject: Unicode text for buttons, etc (20-Dez-2006 16:11) From:Carly J. Born [EMAIL PROTECTED] To: use-revolution@lists.runrev.com I'm new to using RunRev and so forgive me if this has been covered in a previous thread. I'm looking for a method of delivering what will potentially become a digital foreign language textbook, for which I need full Unicode support. I'm playing with the trial version and am having a hard time getting Unicode to 'stick' in simple button labels. Sometimes the characters stick (after retyping a few times) and sometimes I just can get them to stay and get jumbled up. My questions are: - is there a way to set the default font of the entire stack during development? (the setting I found also doesn't seem to stick) - is Unicode reliably usable within the authoring environment? (I've seen a few references to calling unicode text files, is that the only way?) - Do you have any recommendations for working with unicode foreign languages in RunRev? To: use-revolution@lists.runrev.com [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Touchscreen Hardware
Hi Dave, we used Touchscreen Hardware with toolbook and vb. Any Touchscreen driver I know maps the touch of the user on the screen to the mouse signal of the OS = the touch is like the click of the mouse (mousedown mouseup xpos and ypos) and your runrev program gets the signal like any mousesignal - this is my experience. In most cases you can use the touchscreen and the mouse simulaneous (but of course the last used gets the control). You just have to be careful about the accuracy of the users in clicking ( a tolerance of 30 pixel min in x and y direction should be handled through your program or the objects to touch on the screen (buttons ...) should be bigger than normal. Avoid to hyperlink small chunks of text as link in fields - very hard to use on touchscreens. Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ___ 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: Importing Cyrillic Text + UTF8 and the XML-library
Hi Richmond, fine that your import works! Another question concerning UTF8: I use runrev 2.2.1 and got the experience that the runrev XML-library of runrev was not able to handle UTF8 encoded XML files with foreign texts in hebrew and greek. Did anyone check this in newer versions? Regards, Franz Original Message Subject: Importing Cyrillic Text (10-Dez-2006 13:47) From:Richmond Mathewson [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Well, I owe apologies to both Devin Asay and Franz Böhmisch as their methods work very well. ;-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: Importing Cyrillic Text
Hi Save any language text in UTF8: put uniDecode(unicodetext of field bibeltext,UTF8) into URL file:C:/test.txt Load any language text from a file encoded in UTF8 to a runrev field: set the unicodetext of field bibeltext to uniEncode(URL file:C:/test.txt,UTF8) Save any language text from a field to a html-page for viewing in a browser works even with hebrew and arabic texts runrev cannot display correct but encodes internally correctly. put htmltext of field bibeltext into URL file:C:/test.html This should function in most cases Regards, Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537___ 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: USB/Serial issue
Hello, Working on windows. The function put driverNames is not usable on windows. = Where to get the driverName usable in runrev with the directive open driver xyz? Perhaps there is a solution for runrev on windows with the open driver syntax, but where can I get the driver name from? Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Messageprocessed by David InfoCenter Subject: USB/Serial issue (19-Nov-2006 3:15) From:J. Landman Gay [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Jean-Jacques Wagner can't seem to post to some of the lists he subscribes to, so has asked me to post this for him. He can read your answers, he just can't generate posts right now. I've told him Rev doesn't natively support USB access but it isn't clear to me what he is using as an interface, so maybe someone has comments about the post below. Hi I use to write/read string through the USB Port using a FTDI device. It seems to me that the serial port write/read commands does not work as it should. a) write to USB open driver name for binary update write var to driver name (read from driver name until empty) close driver name ... ___ 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: External Writing on win - external.h
Hello, just checked the two Articles of Mark Waddingham concerning externals http://www.runrev.com/newsletter/november/issue13/newsletter5.php http://www.runrev.com/newsletter/november/issue14/newsletter3.php Just checked the external SDK and found the include library external.h ... In VisualBasic 6.0 and VisualBasic.Net you can create dlls. Is it possible to simulate the integrated wrapper functions of the external.h XClipsFunctionCall XClipsEval(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); XClipsAssertString in a visual basic application to design a dll for usage in runrev on windows? What conventions must the dll use for this task? Any further suggestions? Regards, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 /* The layer between Revolution and CLIPS (external.h, external.c) is Copyright 2003 Alex Rice. All Rights reserved. No warranty of fitness or correctness or stability. Use at your own risk. Please be aware CLIPS and Revolution each have their respective licenses as well. */ /* #defines and prototypes for MetaCard/Runtime Revolution template external */ #include clips.h /* * DOToRev * converts a CLIPS data object into a revolution string object */ extern void RevMessageBox(char *msg1, char *msg2); /* * I/O Routers Glue. Does this obviate the need for the rest of these functions and handlers? */ extern int RevRouterFind(char *logicalName); extern int RevRouterPrint(char *logicalName, char *str); extern int RevRouterExit(int unused); extern void XClipsPrintRouter(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern int RevRouterStdinGetc(char *logicalName); extern int RevRouterStdinUngetc(int ch, char *logicalName); /* * Transcript Handlers */ extern void XClipsInit(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsClear(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsBuild(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsLoad(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsLoadFacts(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsAssertString(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsLoadFactsFromString(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsReset(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsFacts(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsSaveFacts(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsGetFactList(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsRun(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsEval(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); /* * Transcript Functions */ extern void XClipsFunctionCall(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsEval(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsAssertString(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); /* * I/O */ extern void XCabort(); extern Xternal Xtable[]; extern char Xname[]; ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: USB in REV
Thank you very much - but this only works on Mac. I use Windows (and the most companies in the measurement business do therefore the hardware manufacturers mostly offer dlls and visual basic tools ...) Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: USB in REV (01-Dez-2006 19:11) From:Stephen Barncard [EMAIL PROTECTED] To: use-revolution@lists.runrev.com These guys were, at one time, 'Rev Partners' or something. http://www.bkohg.com/service/software_e.html They specialize in USB hardware interfaces. ___ 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: Stupid Programming Challenge(Barry Barber)
Thanks Jan and Scott for your patience. It was not wasted time as I am actually trying to put together a stack with lots of scrolling groups full of small images. The idea of custom graphic scollers appeals to me a lot, I shall try to get to grips with this.:) OT.Is there a way on this list to use entities in names with accented characters as I seem to see a lot of question marks e.g., S?lid, Andr? etc.?(the last ones for real) Thanks again Barry -- Scopri subito RAS FullCasa: vinci 500 di buoni Mediaworld a settimana ed un viaggio Expedia! http://click.libero.it/ras29nov06 ___ 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: Stupid Programming Challenge (Barry Barber)
Hello again, Seeing as all the experts are now agreed on the script for a proportional thumb on a scrollbar, may I ask a stupid beginners question? Why did Scott Rossi use a separate scrollbar and routine? I thought the method was to click the 'Vertical scrollbar' box in the Basic properties of the Group master. When I did this I got a proportional scrollbar which scrolled to end of the list without scriptng anything - of which I am not yet capable, anyway!.;-( Of course there will be some technical reason which I will not understand but would love to know. On Nov 27, 2006, at 9:54 PM, Scott Rossi wrote: OK, I've beaten my head against the wall long enough on this, so I'm throwing it out there for anyone who wants to try their hand at a simple (?) challenge: Modify the initScrollbar routine in the following stack such that 1) the scrollbar displays proportionally to content displayed in the associated group, and 2) the scrollbar consistently scrolls the group to the end of its content. The stack contains a button to randomly populate a scrolling group, and the initScrollbar routine is stored in the button. go url http://www.tactilemedia.com/download/sbfix.rev; --- Thanks to all for the valuable info I pick up here everyday. Must limit reading this list though and try creating something. Barry -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada29nov06 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: USB/Serial issue (FTDI EasySync)
Hello, I am writing a program in runrev communicating with an acoustic analyser via RS232 (functions properly) and now work in communicating to a USB relais for regulating the dc in the object we make the measurement on. After reading this message and the docu I am not sure: Can I use USB universal serial bus in runrev or not? The SDKs (dlls, C,C++ and Visual Basic) normally offered with the hardware I cannot use in runrev native. Should I write a Visual Basic wrapper to communicate using the shell? Any ideas and suggestions? Regards, Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Message Subject: Re: USB/Serial issue (20-Nov-2006 6:16) From:Sarah Reichelt [EMAIL PROTECTED] To: use-revolution@lists.runrev.com On 11/19/06, J. Landman Gay [EMAIL PROTECTED] wrote: Jean-Jacques Wagner can't seem to post to some of the lists he subscribes to, so has asked me to post this for him. He can read your answers, he just can't generate posts right now. I've told him Rev doesn't natively support USB access but it isn't clear to me what he is using as an interface, so maybe someone has comments about the post below. Hi I use to write/read string through the USB Port using a FTDI device. It seems to me that the serial port write/read commands does not work as it should. a) write to USB open driver name for binary update write var to driver name (read from driver name until empty) close driver name To trigger physically the write data, (so that the chars are electrically sent through the port) I have to follow the write command with a read statement, which is definitely a wrong praxis. Why? Should the var end with a special char to trigger electrically the send command? b) read from USB open driver name for binary update read from driver name until empty close driver name When the string sent to the USB device from the external device is less than 32 chars, then read is returning the whole string. If the string contents more than 32 chars, the first 32 chars are swallowed by revolution and does not appear on the read result. However in some obscure circumstances, which relates to the timing between the time the string is send from the external device and the time the request is send from revolution to read, the hole string is passed to the read result. Does anyone have an idea about this strange but very annoying behavior. OSX ahall have a clean serial port management. I use Mac OSX and 2.7.3. Using a Mac with OS9, HC and the commconnect serial XCMD, the transmission of data to the usb device works perfectly. I use the Rev serial commands with an FTDI EasySync adapter all the time and it works very well. Do you have the latest drivers from FTDI? (They now have universal binaries for Intel as well as PPC Macs). What sort of device are you communicating with? Are the serial parameters set up correctly for this device? My uses don't echo back what is sent, but send a result in response to a command, but I have never seen any problems sending without a receive. If you like to send me an example of your scripts off-list, I'd be happy to have a look and see if I can work out what is going wrong. Cheers, Sarah ___ 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 To: use-revolution@lists.runrev.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
Rw: Careful (Barry Barber)
Just to scrape the barrel Watch out REV! Some bigot may take exception to get the globalloc if they read it too fast! Though I've never seen them glow. Cheers, Barry -- Funghetto o scherzetto? Gioca e vinci con Best Western! In palio oltre 50 weekend da sogno per due persone in tutta Italia http://click.libero.it/bestwestern31ott ___ 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: is this weird or is t me?
After following the discussion in the subject line on masking and disabling buttons,I tried a few scenarios to see what all the hassle was about. The result was a little stack for trying out the possibilities discussed (I think) and I have uploaded it to My Space. (Don't know how to link you to it from here - user name BarryB) Although I am sure it will be of no interest to those who took part in the discussion,I thought it might be to any other beginners in Revolution who maybe as thick as me. If any! ;-) Oh! if someone can tell me how to reset the scrollbar on a text field to the top when leaving the card, I should be very grateful and will update it. Barry Barber -- Ancora dubbi? Scegli Barclaycard, la carta di Credito leader in Europa: 0 Canone, 0 Commissioni, 100% Sicura! http://click.libero.it/barclaycard ___ 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: Who's Kevin?
Thanks Klausss (sorry Klaus, I just couldn't resist it!) for the input. I was surprised to see it was the CEO! I was almost sure it would be a kid who had been fired and threw a spanner in the works before leaving the office. Anyway I saw Mr. Miller had a post on another Theme, just after ours on the same date, maybe he's still trying to work out what happened himself. Havn't been able to repeat the incident and as Runtime are gracefully giving me the new update free (Just in time - I bought my Media 2.7.2. in August about three days before 2.7.3 was released),I can probably forget about it. Oh! I should have said it was the 'CANC' KEY not a button. Bye everybody Barry - Barry Barber wrote: While using my Media IDE I deleted a text field with the 'Canc' button on Windows XP but also got a message box which contained [EMAIL PROTECTED]!! No close button or OK etc..It just stayed there unremovable, it froze the Rev tool bar completely and would not let Rev shut down in any way.I had to log out and reboot to get things back to normal. Who is Kevin and why should I want to email him anyway?(no suggestions to last bit, please!) -- Klaus Major wrote: Hi Barry, well, I really don't know what is going on there, but that surely is Mr. Kevin Miller, CEO of Runtime Revolution Ltd. Just drop him a line, maybe he can shed some light on this ;-) Best Klaus Major ___ 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: translating a color name to RGB triplet
Vijay, Just type COLORPICKER into the Google Search window on your web browser and take your PICK. Barry Barber ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: The passing of Pluto
While we all seem to be Ot abut place names , heres my bit. Yes London has practically always been called that. It was Londinos when the Romans arrived, they changed it to Lundinium and so on through the ages. But my favourite is a townlet near here in Northen Italy which the Romans knew by the lovely name of Argentia which makes you think of something silver. In the 16th century it was changed to Gorgonzola! As Shakespeare once wrote (I think) A 'cheese' by any other name would smell as sweet Oh! the adds at the bottom of my posts are not mine, that comes from using a free email provider and I didn't know until I saw it here. Barry ___ 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:Hiding the cursor on Windows
On 23 august 2006 Jacqueline Landman Gay wrote:- I am running Windows XP under Parallels on a Mac Intel machine. The command set cursor to none does not work. (I did get it to work on one occasion, but I couldn't repeat it.) I don't know if the problem is with Revolution or with Parallels. Could someone with a real XP machine please tell me if this code works? Make a button with this script and then move the mouse over the button: on mouseEnter lock cursor set cursor to none end mouseEnter on mouseLeave unlock cursor end mouseLeave If it works for you, then I can stop trying to figure it out. Thanks. - Works OK on an XP.HE box. Revolution Media 2.7.2 Also in Edit tool mode which makes it difficult to resize the button! Yours, Barry ___ Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio gratuito. http://click.libero.it/mutuionline ___ 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- My Dream App.
Yesterday Chipp Walters wrote: Mark, Good link. Interesting idea. Double negative withstanding, I'm not sure if they're not the latest Peter Minuit, trading a few Apple trinkets for the next 'Killer App'. http://www.straightdope.com/classics/a3_156.html That said, the winner does get 15%, which is fine. But my guess is the real value is in all the apps voted on which _DON'T_ win. I wonder ifit's even possible to protect that sort of intellectual property? Chipp - Any proud owner of a Revolution licence with a bright idea will be trying to develop it alone, not farming it out to a group of developers at the cost of 85% of eventual sales profit. I thought the same as Chipp, (who preceded me), its the eliminated projects that are going to be the organizer's pay off! This is known in Italy as Putting out mirrors for nightingales --- a hunter's decoy trick for shooting down attracted birds. Good try though. From what I've read, if you don't know how to write your application just tell the good people here what you want to do and they will write it for you! (^_^) The best to all. Barry Barber ___ 30 euro di sconto sull'abbonamento annuale, solo fino al 31/8! Cogli subito la grande offerta SKY http://click.libero.it/sky ___ 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
Killer ap commits suicide!
I am still building my first stack in Revolution Media 2.7.2. on XP. I have a problem (understatement!): on trying to insert a Rev icon into a card, I inadvertantly changed the SHAPE of the Stack! Now it can only be seen through a keyhole in the form of an R about half an inch high and I can't for the life of me change it back to the original fullscreen view. The Inspector shows that all cards, objects etc., are still present. Of course, I could restart from an earlier backup but this happened in a working session where I had made a lot of progress. I enjoy reading the answers to others on this list but maybe I should spend some of that time to Read The Manual! Obvious last line :- Will some kind person please explain the solution to my problem? Thanks in advance, Barry Barber ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: how the internet works : the official explanation
The pigeon - airplane metaphore was certainly well contrived by Andre but care should be taken in copying it literally (n.b. Peter and Dan). Pigeons CANNOT make round trips or even deliver outgoing messages! If you want one to carry a message you must first take the bird to the starting point (probably by plane), attach the message and then send it home (hence the name 'homing pigeon'). That is: only the owner of the pigeon can receive a message carried by it and if they try to send OUT a message the bird will just fly in circles with it around their own house! Internet-wise this would be like taking a blank message by hand, or snailmail, to a friend and waiting for them fill it in and send it back by email! As for the Senators discorse I can only add the Italian Parliament Member's declaration that internet should be taught in schools, whatever that means, anyway most teachers would probably have to learn from the students! Every Government should carry a Health Warning OK, I'm rambling again. Thanks for all the kind answers to my first 'ramblings' Barry ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: how the internet works : the official explanation
Sorry Andre , Having initially noticed your caveat about super intelligence, I decided not to write about the pigeons but the next day I'd forgotten that and I wrote it. Anyway I think people who do not understand pigeon behaviour and might take your ideas too seriously should be glad of your explanation. Your answer just shows that you are much funnier than I realized! Hope we don't get a tutorial from Dan explaining how to programme pigeons! Barry Barber ___ 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