rev2.6
I m just rebulding my work satation after a major crash.One victim was the 2.6.1-6 which I need and still using along side ver 2.7.2in testing stacks converted /develped. Is there any way to obtain an installer for this version? Any help is much appriciated Muaadh Salih SOAS University of London ___ use-revolution mailing list use-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: Re: selection case
This sound silly question but how to get to raversalOn property in the IDE, in the Inspector ? perhaps you need to set the C not in a script. At 8:20 PM + 8/7/05, Muaadh Salih wrote: Ken I have just applied the following on mouseUp set the traversalOn of field tp to true do select the clickChunk put the selectedText into myWord select empty put myWord after field btm put uniEncode(space,UTF8) after fld btm End MouseUp Again it gives back to front choice . i.e you click at the first word to get the last one .. What runrev said is shows a structural problem for non-Roman script fonts (languages)in Rev.! The white flag is up ang high !! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- All the best Muaadh Salih SOAS Department of Near Middle Eastern Studies Tel . +44 (0)2078984354 ___ use-revolution mailing list use-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: selection case
Hi John many thanks but it does not work ?!( i.e. I does not emulate the real selection ( as in Hypercard): When you click the the first Arabic or Hebrew it select the last in the line ) On 8 Aug 2005, at 15:52, Muaadh salih wrote: Try the Preferences menu item, General pane - select the second button down, and the Inspector will now show the property name. Much more useful when scripting! This sound silly question but how to get to raversalOn property in the IDE, in the Inspector ? Best wishes John [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 -- All the best Muaadh Salih SOAS Department of Near Middle Eastern Studies Tel . +44 (0)2078984354 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
selection case
Many thanks to Ken with his solution. Again it does not work as long as you click on a locked stack. The reason is as explained below by RunRev (who are extremely helpful): --- However, one workaround would be to have each word be an individual textrun and reversing the order of words so that the order is correct. word1 word2 word3 word4 - internal (4 text runs) word4 word3 word2 word1 - displayed (4 text runs) You can do this by separating each word by an english space for example. The idea is to break up the Arabic text run. You can then get a function to reverse the order of these words when placed in a field. This shoud then solve the clicktext issue. We have plans to improve unicode support in Revolution but unfortunately that would not happen until after your deadline. ___ A second possible one is ( what i think is more practical and less complicated)to script for an opening the field,doubleclick, getting the selection and locking the field again. on mouseup set the locktext of the target to false click at the clickloc click at the clickloc get the selection set the locktext of target to true put it into myword put my word after field wordbank put uniencode(space,UTF8) after field wordbank Any help in scripting for the proposed function or debugging the second solution ? ___ use-revolution mailing list use-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: Re: selection case
Hi Ken It is the locktext in the field . I am going to look at traversalOn proprty. I will be more than grateful if you send me a stack to show how this works. Many thanks for you help -Original Message- From: Ken Ray [EMAIL PROTECTED] To: Use Revolution List use-revolution@lists.runrev.com Date: Sun, 07 Aug 2005 13:44:37 -0500 Subject: Re: selection case On 8/7/05 8:35 AM, Muaadh Salih [EMAIL PROTECTED] wrote: Many thanks to Ken with his solution. Again it does not work as long as you click on a locked stack. What do you mean by a locked stack? Do you mean password-protected? Or did you mean locked *field*? If so, you can set the traversalOn to true and the lockText to false and it will work. You *don't* need to unlock the field. If you would like me to send you a stack that shows how this works, let me know... but I think the problem is that normally when you set the lockText of the field to TRUE, Rev automatically sets the traversalOn to FALSE. You have to manually set the traversalOn to TRUE for this to work. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [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
Re: Re: selection case
Ken I have just applied the following on mouseUp set the traversalOn of field tp to true do select the clickChunk put the selectedText into myWord select empty put myWord after field btm put uniEncode(space,UTF8) after fld btm End MouseUp Again it gives back to front choice . i.e you click at the first word to get the last one .. What runrev said is shows a structural problem for non-Roman script fonts (languages)in Rev.! The white flag is up ang high !! -Original Messag e- From: Ken Ray [EMAIL PROTECTED] To: Use Revolution List use-revolution@lists.runrev.com Date: Sun, 07 Aug 2005 13:44:37 -0500 Subject: Re: selection case On 8/7/05 8:35 AM, Muaadh Salih [EMAIL PROTECTED] wrote: Many thanks to Ken with his solution. Again it does not work as long as you click on a locked stack. What do you mean by a locked stack? Do you mean password-protected? Or did you mean locked *field*? If so, you can set the traversalOn to true and the lockText to false and it will work. You *don't* need to unlock the field. If you would like me to send you a stack that shows how this works, let me know... but I think the problem is that normally when you set the lockText of the field to TRUE, Rev automatically sets the traversalOn to FALSE. You have to manually set the traversalOn to TRUE for this to work. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [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
(no subject)
Our problem is as follows: We have two Unicode fields set for Arabic or Hebrew (that is from right to left system) .we put ,let's say four words into feild 1 (manually) then locked both fields. we scripted field 1 with something like on mouseUp put the clicktext into myword put myword after field 2 put Uniencode(space,UTF8) after field 2 end mouseUP When we clicked the first word of field 1 we got the last word that has been placed into field 2, Clicked at the 2nd to have the penultimate word... It appears that when Rev shows text as right to left text it still thinks,sees from left to right. This has been reported to Rev.people and agreed that an improved Unicode function might be appearing in the next update. Alas we are still in the current one! We had the same problem in HyperCard before but that was solved by emulating a mouseclick into an unlocked field and hence the follwing logic: set the unlocktext to false click at the mouseloc click at the mouseloc get the selection lock the fields do the resrt We wrote our langauge learning stacks ( Jumbled sentences, clze test...) using the above logic. We should get the same in rev if we send a doubleclick message to unlocked field ( in thes case Rev. sees selection exactly as itis). This does not work as far as we can see. Any help?!! Ken: I will send you the stack as soon as get to my office. many thanks -- Can you elaborate? There must be a better way to accomplish what you're doing than to try and emulate a user's double-clicking... can you provide some more information on what you're trying to do? Thanks, Ken Ray ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
selection case
Our problem is as follows: We have two Unicode fields set for Arabic or Hebrew (that is from right to left system) .we put ,let's say four words into feild 1 (manually) then locked both fields. we scripted field 1 with something like on mouseUp put the clicktext into myword put myword after field 2 put Uniencode(space,UTF8) after field 2 end mouseUP When we clicked the first word of field 1 we got the last word that has been placed into field 2, Clicked at the 2nd to have the penultimate word... It appears that when Rev shows text as right to left text it still thinks,sees from left to right. This has been reported to Rev.people and agreed that an improved Unicode function might be appearing in the next update. Alas we are still in the current one! We had the same problem in HyperCard before but that was solved by emulating a mouseclick into an unlocked field and hence the follwing logic: set the unlocktext to false click at the mouseloc click at the mouseloc get the selection lock the fields do the resrt We wrote our langauge learning stacks ( Jumbled sentences, clze test...) using the above logic. We should get the same in rev if we send a doubleclick message to unlocked field ( in thes case Rev. sees selection exactly as itis). This does not work as far as we can see. Any help?!! Ken: I will send you the stack as soon as get to my office. many thanks -- Can you elaborate? There must be a better way to accomplish what you're doing than to try and emulate a user's double-clicking... can you provide some more information on what you're trying to do? Thanks, Ken Ray ___ use-revolution mailing list use-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 solution to selection problems
Now I have a solution from runrev (who are extremely helpful): --- However, one workaround would be to have each word be an individual textrun and reversing the order of words so that the order is correct. word1 word2 word3 word4 - internal (4 text runs) word4 word3 word2 word1 - displayed (4 text runs) You can do this by separating each word by an english space for example. The idea is to break up the Arabic text run. You can then get a function to reverse the order of these words when placed in a field. This shoud then solve the clicktext issue. We have plans to improve unicode support in Revolution but unfortunately that would not happen until after your deadline. ___ A second possible one is to script for aan opening the field,doubleclick, getting the selection and locking the field again. on mouseup set the locktext of the target to false click at the clickloc click at the clickloc get the selection set the locktext of target to true put it into myword put my word after field wordbank put uniencode(space,UTF8) after field wordbank Any help in scripting for the proposed function or debugging the second solution ? Many thanks Muaadh ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
selection is not selected
I have the following code which emulate double clicking into an unlocked field and thus selection the chunk under the clicked mouse: set the locktext of me to false click at the mouseloc click at the mouseloc --- the above should emulate the mouse click and select whatever under it. but it does nor work even in plain English text . Could you look at this I think this should not difficult to debug?? get the selection set the locktext of me to true do smething with it The idea of unlocking a field , selecting text and locking it is to avoid problems caused by the is the way the Revolution engine is storing the internal string representation and how this is displayed by the OS. Whatever it is,the above scripting for twice clicking should (but does does not ) emulate double clicking into open field . any reason why ? BTW We are ( at the University of London) looking to contract a skilled programmer ( naturally in Rev. H.C.) to help us to convert our HyperCrad stacks (Arabic, Hebrew and the rest of the Unicode stuff) to rev. If anybody living in ore near London with something to show for her/his skills and interested in further details , please contact me or leave a message on my voice mail below. Many thanks -- All the best Muaadh Salih SOAS Department of Near Middle Eastern Studies Tel . +44 (0)2078984354 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
funtions on windows
My apology for the typos of yesterday message . Still upon further investigation we found that the following function: - function plural count, textw if count 1 then put s after textw if count = 0 then put no into count return count textw end plural --- works perfectly on Rev 2.6 on Mac G4 with OSX 10.3.9. However it does not work on Rev. 2.6 on Windows XP ( when called : Plural ( 3, Book) it returns ( 3 s) only again is this a bug on the XP version ?! any idea ? Muaadh Salih [EMAIL PROTECTED] -- All the best Muaadh Salih SOAS Department of Near Middle Eastern Studies Tel . +44 (0)2078984354 ___ use-revolution mailing list use-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 local
In the course notes notes of BRIGHAM YOUNG UNIVERSITY they refer to a Script-local variable in Revolution Transcript language. This is a very welcome advance so that we are not stuck between a variable that is shared by every handler in the stack ( global) or a one that that is specific to one and only one handler. A script -local ( as I expect it ) is shared by the script elements ( button, field ...) I could not find any reference to it in the dictionary or any other documentation . Are they correct in this ?! Any help in this matter ?!! many thanks -- All the best Muaadh Salih SOAS Department of Near Middle Eastern Studies Tel . +44 (0)2078984354 ___ use-revolution mailing list use-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 not functioning ?!
Many thanks for the generous help from the list. We intend to migrate from hypercard to Rev. and port All our Language learning material to rev. However I found the following simple funtion returns an unexpected result in Rev.. Funtion plural count,textw if count 1 then put s after textw if count =0 then put no into count return count tetxw calling the funtion ,say, answer plural (4, car) returns 4s ( i.e. textw is empty) in revolution while it works perfectly in HC ie, (4, cars) did I miss anything ? p.s I am using ver 2.6 on Xp much appriciated your help --- Muaash Salih University of London SOAS email [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
linecolor
How can one write a line script to set line color? We can set the linesize to a number but it seems we don't have such a property for line color any help ? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Trail version to small to read
I downloaded a limlted period (windows xp)version to try. Tha main menu is too small and I fail to alter it. I use to have and still have an old full version for the mac which is in a resonable size and felxible to tailor . While all other programms run in a readable size this version refuse to so. How can I set the menubar to fit the screen (non microscopically11)? please help ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Hebrew Arabic texts
I have, partially, solved the Unicode text, We are now working on Chunk and bits There is an urgent problem : Text Insertion. Both Languages have R to L text alignment which is fine but the text insertion make the line back to front examples: Real Arabic-Hebrew should read : Word4 Word3 word 2 Word1 But in revolution it is : Word1 word2 word3 word 4 We tried every thing ( including system text Align) but it does not work Any way to deal with this problem ? Help ! -- All the best --- M. Salih N.M.E. Dept. SOAS University of London Thornhaugh Street London WCIH OXG Tel. (UK) 020 7898 4354 Direct 020 7898 4320 Dept. eMail: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Unicode compliant ?
IS Revolution version 2 a fully Unicode Compliant? Our problem is that we are intending to migrate to R as our main programming language for our CALL (Computer assisted language learning) for teaching Arabic, Hebrew and Persian. It seems that we can programm for any text manipulations at all . Example a card with field 1 ,field 2 ans button 1 to set textfont of field 1 to a specific Hebrew font does through programming not have any effect so we have to set it manually. So field1 was manually set to Arabic, or Hebrew fonts and r-l direction as was field 2. we entered manually a Semitic text in field 1. The button script is On mouseUP Get field 1 put it into field 2 end mouse up the result is not only that field 2 is filled with garbage but filed 1 original text is turned in garbage as well any solution? Is there any thing like set text font of message box to abc ? in revolution? We are a member of 14 European Universities thinking of leaving HyperCard but Revolution is still proving difficult. -- All the best --- M. Salih N.M.E. Dept. SOAS University of London Thornhaugh Street London WCIH OXG Tel. (UK) 020 7898 4354 Direct 020 7898 4320 Dept. eMail: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re Menu Builder
Thanks for all colleagues who helped but it is not yet working. I noticed that only after saving the stack that this error is produced i.e. message is called prior to saving. Suspecting that I might be still under the free trail I put a button with 15 line of scripts ( like : put number return after a field) this worked fine . I am still baffled -- All the best --- M. Salih N.M.E. Dept. SOAS University of London Thornhaugh Street London WCIH OXG Tel. (UK) 020 7898 4354 Direct 020 7898 4320 Dept. eMail: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
menu builder
Title: menu builder On going through the Tutorials and on practicing menu building it seems that either I have not seeen somthing imprtamt or there might be a bug. Problem : Script of help menu: on menuPick pWhich switch pWhich case Help Answer This is a test break case About Answer I have written this break end switch end menuPick -- does not seem to work; clicking on ether submenu produce nothing. I have checked that every thing is for Revolution 2.01 .education any idea help -- All the best --- M. Salih N.M.E. Dept. SOAS University of London Thornhaugh Street London WCIH OXG Tel. (UK) 020 7898 4354 Direct 020 7898 4320 Dept. eMail: [EMAIL PROTECTED]