Re: [ANN] ChartMaker 2
Hi, Sorry, should have been clearer. There is no download link from the Chartmaker2 hyperlink. cheers Alistair On 8 June 2010 15:34, Yves COPPE [via Runtime Revolution] ml-node+2246882-1442938463-32...@n4.nabble.com wrote: Le 8 juin 10 à 03:21, planix a écrit : Hi, Looks interesting but there is no download link. Hi, here is the link : http://www.FlexibleLearning.com/xtalk.htm Greetings. Yves COPPE [hidden email] ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/ANN-ChartMaker-2-tp2244113p2246882.html To unsubscribe from Re: [ANN] ChartMaker 2, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-ChartMaker-2-tp2244113p2246918.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
Re: A problem with clearing fields on marked cards
On Tue, Jun 8, 2010 at 12:05 AM, dunb...@aol.com wrote: But you can distinguish these fields easily. Why not set a custom property in all your fields called isLabel? Set that property of all the label fields to true, and all other fields to false. There may not be a need to set a custom property, for instance their are several inbuilt properties that are false for text fields and true for label fields; sharedText and lockText for instance. traversalOn goes the other way. So why create another property when you could test for those. Of course you could still set up fields as label fields but aren't actually labels to a field, maybe a copy right banner at the bottom of a stack, so the above wouldn't be foolproof but may suffice in your circumstance. If not, there are other ways to skin this cat. I've gotten into the habit of prefixing the name of all true label fields with 'lbl', this has other benefits as well; when you access the property inspector all the label fields are grouped together - great if you have 100 fields + accompanying label fields. Finally, and best of all, your text entry fields should all be 'layered' consecutively (Size Position pane of the Property Inspector), this makes traversal work better. I do the same with label fields. Then to do any group entry, validation or clearing it's simply a mater of: --because you've layered the fields consecutively --faster because you are not testing if it's a label field repeat with x = 1 to 88 -- text entry field put empty into field x --more stuff here if necessary end repeat repeat with x = 100 to 187 -- label fields set the textColor of field x to red --more stuff here if necessary end repeat Of course if you do the layering correctly, and you want to work with field/label pairs, knowing the offset where one ends and the other starts makes it easy to do this: repeat with x = 1 to 88 -- text entry field put empty into field x --paired label is offset by 99 set the textColor of field (x + 99) to red end repeat Using fixed numbers isn't going to work if you have a different number of fields on each card, so that's where custom properties are so useful; easy to have cEditableFields = 88 repeat with tCardNo = 1 to the number of marked cards put the cEditableFields of marked card tCardNo into y repeat with x = 1 to y put empty into field x of marked card tCardNo --more stuff here if necessary end repeat end repeat HTH ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
On Tue, Jun 8, 2010 at 1:48 PM, Sarah Reichelt sarah.reich...@gmail.comwrote: We always had cookies which could store small snippets of data locally. Now with HTML5, we also have session storage variables (temporary), local storage variables (permanent) and even SQLite databases. Are you suggesting then, that if I use HTML5 (rodeo) to dynamically create several pages of content - whilst online, and those pages were to say contain a form that interacted with SQLite, that whilst offline I might be able to dynamically interact with SQLite, ie make entries into a field that searches the SQLite db and have results dynamically presented to me - although the base page template wouldn't change? I currently have a postgreSQL db I can access from On-Rev, which is great as long as I can connect. Once I loose connection, I can no longer do searches. It would be great to be able to push the db data into SQLite on the iPhone, be able to continually query it no matter where I am, then purge the data when finished. Does that sound doable with HTML5 + On-Rev + SQLite + iPhone? Thanks for your thoughts. ___ use-revolution mailing list use-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: [ANN] ChartMaker 2
Either visit the site at http://www.FlexibleLearning.com/xtalk or download direct from http://www.FlexibleLearning.com/xtalk/chartmaker/ChartMaker2.zip /H Alisair wrote: Hi, Sorry, should have been clearer. There is no download link from the Chartmaker2 hyperlink. cheers Alistair ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
We always had cookies which could store small snippets of data locally. Now with HTML5, we also have session storage variables (temporary), local storage variables (permanent) and even SQLite databases. Are you suggesting then, that if I use HTML5 (rodeo) to dynamically create several pages of content - whilst online, and those pages were to say contain a form that interacted with SQLite, that whilst offline I might be able to dynamically interact with SQLite, ie make entries into a field that searches the SQLite db and have results dynamically presented to me - although the base page template wouldn't change? I currently have a postgreSQL db I can access from On-Rev, which is great as long as I can connect. Once I loose connection, I can no longer do searches. It would be great to be able to push the db data into SQLite on the iPhone, be able to continually query it no matter where I am, then purge the data when finished. Does that sound doable with HTML5 + On-Rev + SQLite + iPhone? Yes it does. The SQLite database is stored on your device and should be accessible any time. You may need to do something with caches manifests so the page will operate without a connection, but it is certainly doable. 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
Re: Saving Data in Standalones
On 8 Jun 2010, at 02:41, Bob Sneidar wrote: Hi Mark. By Loading Into Memory, do you mean the Start Using command? Bob I can't speak for Mark, but in the mentioned case it's sufficient to go to your stack, and depending on your needs, you can do it invisible: go invisible stack valid/path/test.rev -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev; ___ use-revolution mailing list use-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: combo box messages
On Jun 7, 2010, at 3:50 PM, BNig wrote: Devin Asay wrote: On Jun 5, 2010, at 5:07 PM, David C. wrote: (actually, I think it was Craig Newman) A problem was posted to the forums. SomeOne wanted to type text into a field, and have that text dynamically located among the lines of another scrolling list field such that closer and closer matches are found as the text entry gets longer. I have a stack that does this on revOnline. Look for a stack called Type with Filter. Devin That is a very nice stack. Thank you for pointing it out. But actually the original poster on the forum wanted to write text in a textfield and he wanted to use some shorthand or macro functionality. Whenever he typed two periods and a letter a list was supposed to pop up and let him insert the text into the current text at the current position. He was a doctor and wanted to save some of the repetitive work on putting medications and how to use it into the letter also avoiding typos I guess. I liked the idea and gave it a try: the revlet: http://berndniggemann.on-rev.com/revlets/typeandshortcutinfield/ the stack http://berndniggemann.on-rev.com/revletsdownload/typeInFieldAndInsertShortCut.rev.zip regards Bernd Ah, medication names! What I do is use a custom prop that is an array of abbreviations -- eg, srt = sertraline, mrt = mirtazapine, etc. -- that can be consulted as needed. My arrangement is that the user enters a 3- or 4-letter abbreviation and then hits the enter key and the medication name is substituted. I have a practice management stack that does this and lots more. Write me off list if you need the details on this point, or to compare notes on other features -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-revolution mailing list use-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: Hiliting Words in a Field
Thanks, Jan, John, and Michael, Good stuff. I hadn't realized that BackgroundColor was a property of text. Regards, Gregory ___ use-revolution mailing list use-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: A problem with clearing fields on marked cards
The properties mentioned are not intrinsic to label fields, they are just defaults at creation, and may be common to other fields. Certainly sharedText and lockText could be. All the other suggestions are valid as far as they go, naming, numbering, layering, etc., but these may not be convenient, or constant, and may be tedious to manage down the road. In other words, they may not go very far. Naming them with a unique beginning string is pretty robust, I guess; I've done that. But I still think that creating a custom property is the cleanest way. It isn't so onerous, after all. Craig Newman ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
OOO :-) If you ever do an example on your website please let us know. Thanks On Tue, Jun 8, 2010 at 3:18 PM, Sarah Reichelt sarah.reich...@gmail.comwrote: We always had cookies which could store small snippets of data locally. Now with HTML5, we also have session storage variables (temporary), local storage variables (permanent) and even SQLite databases. Are you suggesting then, that if I use HTML5 (rodeo) to dynamically create several pages of content - whilst online, and those pages were to say contain a form that interacted with SQLite, that whilst offline I might be able to dynamically interact with SQLite, ie make entries into a field that searches the SQLite db and have results dynamically presented to me - although the base page template wouldn't change? I currently have a postgreSQL db I can access from On-Rev, which is great as long as I can connect. Once I loose connection, I can no longer do searches. It would be great to be able to push the db data into SQLite on the iPhone, be able to continually query it no matter where I am, then purge the data when finished. Does that sound doable with HTML5 + On-Rev + SQLite + iPhone? Yes it does. The SQLite database is stored on your device and should be accessible any time. You may need to do something with caches manifests so the page will operate without a connection, but it is certainly doable. 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 ___ use-revolution mailing list use-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: Call for Participants: Rev Coding Sprint 2010
Noting his lack of response I'm assuming he's already started on his course of madication... Cheers, Luis. On 08/06/2010 06:34, Kay C Lan wrote: On Tue, Jun 8, 2010 at 5:57 AM, Luisl...@anachreon.co.uk wrote: I think you could take the lack of responses as a vote of curiosity towards your one man show... :P Yes, with the new iPhone 4 he could video with the back camera what he's doing, and then switch to the front camera and video himself bossing himself to do 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 ___ use-revolution mailing list use-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: Flash is buggy - Where have I heard that before?
There are alternatives to Flash that are more prone to security issues. Javascript and HTML5 for example. Watch the video here: http://answers.oreilly.com/topic/1483-doug-crockford-discusses-javascript-ht ml5-security-issues/ especially from 1:35 onwards. You'll see that some people are worried about the security problems of using Javascript. I happen to like Javascript but, wow, you are so right. A lot of the trojans out of the wild today take advantage of how insecure browsers are to deliver payloads right through your browser. Sometimes your antivirus software will catch it, othertimes not. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-revolution mailing list use-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: Hiliting Words in a Field
On Jun 7, 2010, at 5:10 PM, Jan Schenkel wrote: --- On Mon, 6/7/10, Gregory Lypny gregory.ly...@videotron.ca wrote: Hello everyone, I have a data field with many lines and I'd like to script a handler that hilites every appearance of a particular word in yellow? Regards, Gregory It depends a bit on your definition of the term 'word' in this context. The straightforward solution is to do a replace in the htmlText of the field, wrapping it with a font tag - but this simply hilites every occurence of the search string, rather than the whole word: ## put the htmlText of field Data into tHtmlText replace foo \ with font bgcolor= quote yellow quote foo/font \ in tHtmlText set the htmlText of field Data to tHtmlText ## If you're looking to hilite only complete words, your best option is the wordOffset function and a loop: ## put the text of field 1 into tText set the wholeMatches to true put wordOffset(tWordToFind, tText) into tWordOffset put 0 into tPrevOffset repeat until tWordOffset = 0 add tWordOffset to tPrevOffset set the backgroundColor of word tPrevOffset of field 1 to yellow put wordOffset(tWordToFind, tText, tPrevOffset) into tWordOffset end repeat ## If you leave the 'wholeMatches' local property at its default value of 'false' the above script hilites the entire word, if part of it matches tWordToFind. HTH, Jan Schenkel Try something like this: on mouseUp put fld text into tText put the into targetString put smartWordOffsets(targetString,tText) into wList repeat for each line w in wList set the backcolor of char (item 1 of w) to \ (item 2 of w) of fld text to yellow -- or whatever formatting you want to do end repeat end mouseUp function smartWordOffsets targetString,tText -- returns a return-delimited list of chunk data -- for matches of targetString in tText: -- each line = startChar,endChar put length(targetString) into strLength put .,?!$':;()# quote into puncList repeat for each char c in puncList replace c with space in tText end repeat -- the above handles the punctuation problem put offsets(targetString,tText) into offsList put empty into wList repeat for each item j in offsList put the number of words of char 1 to j of tText \ into wdNbr put word wdNbr of tText into testWd if testWd targetString then next repeat -- whole matches only put j comma j+strLength-1 cr after wList end repeat delete char -1 of wList return wList end smartWordOffsets function offsets str,cntr -- returns a comma-delimited list -- of all the offsets of str in cntr put into mosList put 0 into startPoint repeat put offset(str,cntr,startPoint) into os if os = 0 then exit repeat add os to startPoint put startPoint , after mosList end repeat if char -1 of mosList = , then delete last char of mosList if mosList = then return 0 return mosList end offsets Despite several repeat loops, this is extremely fast. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-revolution mailing list use-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: Saving Data in Standalones
Björnke- Tuesday, June 8, 2010, 1:02:27 AM, you wrote: I can't speak for Mark, but in the mentioned case it's sufficient to go to your stack, and depending on your needs, you can do it invisible: go invisible stack valid/path/test.rev ...you can go ahead and speak for me... g That's correct. If you say start using then the script of the substack will also be placed as a library for other stacks to use. So depending on your situation you may want go stack and you may want to use start using. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
HTML5 local storage seems to present some security issues. At least raise some serious ethical questions about how to use it and what for. I think basically users will eventually get .. (censored) unless one build a specific control interface to give that power back to users. http://dev.w3.org/html5/webstorage/ For Rodéo apps, if each user shares a space on a common shared server, than all the local datas of user X are accessible to all different rodeo apps, So far I understood. Not reassuring! Though, it's not clear to me if the key is the domain name or the actual server : if I open a site with domainNameY.com and the site is actually hosted on host.com, what will be the local storage named? What I understood is : host.com will be the primary key for all local storage. And using sub folders will not allow to restrict the scope. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WWDC-Keynote-HTML5-wide-open-for-On-Rev-revServer-tp2246637p2247681.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
Re: WWDC Keynote: HTML5 wide open for On-Rev revServer
Not so. No. Each developer has own space. If developer INVITES someone in...as a teammate, then they share. Vampire rules. Need an invite to join another developer. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves On Jun 8, 2010, at 11:19 AM, Robert Mann wrote: For Rodéo apps, if each user shares a space on a common shared server, than all the local datas of user X are accessible to all different rodeo apps, So far I understood. Not reassuring! ___ use-revolution mailing list use-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: Saving Data in Standalones
Mark Wieder wrote: Björnke- Tuesday, June 8, 2010, 1:02:27 AM, you wrote: I can't speak for Mark, but in the mentioned case it's sufficient to go to your stack, and depending on your needs, you can do it invisible: go invisible stack valid/path/test.rev ...you can go ahead and speak for me... g That's correct. If you say start using then the script of the substack will also be placed as a library for other stacks to use. So depending on your situation you may want go stack and you may want to use start using. In fact, any access to a stack loads it into RAM, even just grabbing a custom property. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: WWDC Keynote: HTML5 wide open for On-Rev revServer
Actually, I believe the following (from the provided link) is what is being referred to: 7.2 Cross-directory attacks Different authors sharing one host name, for example users hosting content on geocities.com, all share one local storage object. There is no feature to restrict the access by pathname. Authors on shared hosts are therefore recommended to avoid using these features, as it would be trivial for other authors to read the data and overwrite it. Even if a path-restriction feature was made available, the usual DOM scripting security model would make it trivial to bypass this protection and access the data from any path. On Tue, Jun 8, 2010 at 10:36 AM, Jerry Daniels jerry.dani...@me.com wrote: Not so. No. Each developer has own space. If developer INVITES someone in...as a teammate, then they share. Vampire rules. Need an invite to join another developer. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves On Jun 8, 2010, at 11:19 AM, Robert Mann wrote: For Rodéo apps, if each user shares a space on a common shared server, than all the local datas of user X are accessible to all different rodeo apps, So far I understood. Not reassuring! ___ use-revolution mailing list use-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
Resizable grid of thumbnails
One of my many faults is a lack of intense math skills. So when I hit the math *wall* I ask for help or samples... In this case, I'm looking for a sample stack that can show 20+ thumbnails and be resizable. As the stack is scaled up (wider) the top row of thumbnails increases thus reducing the overall number of rows which displays the thumbnails. Ironically, in HTML I only have to assign the style float: left; to each thumbnail to achieve this. Is there something similar or does it require gobs of math to calculate the loc of all thumbnails? If so, anyone have a good sample? Thanks! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: WWDC Keynote: HTML5 wide open for On-Rev revServer
Sorry if this has been discussed and I missed it, but it looks like Firefox 4 (or 3.7, or earlier) hopes to deliver HTML5 and multitouch, as well as the local data storage. Do we know if On-Rev is on track to host multitouch browser interfaces? If so, I would suddenly have a compelling reason to get facile with On-Rev and HTML5. I would guess that the iOS version of Safari will eventually support multitouch? This video purports to show a Firefox browser window supporting multitouch painting: http://www.labnol.org/internet/firefox-logo-drawn-using-firefox/10579/ Walton Sumner ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stacks with transparent background
Before I dive in with masks, multiple stacks and the like - any advice on how to achieve a stack with opaque controls and a transparent background. It seems that due to the nature of the inheritance using the blendlevel to make the stack window transparent means that all of its controls will be at least as transparent - so you cant have an opaque control and a transparent card background / window. Maybe there is a nice trick here with inks? The only thing I can think of is scripting something to create a mask or use multiple stacks. ___ use-revolution mailing list use-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 until the MouseClick to stop 'flashing' button?
Hi there, I have a flashing button 1 with this script: --- *on* mouseenter *set* cursor to hand *lock* cursor *end* mouseenter *on* mouseleave *unlock* cursor *set* cursor to arrow *end* mouseleave *on* mouseUp *set* the backgroundcolor of grc dummy to pink *repeat* *hide* me *wait* 25 ticks *show* me *wait* 25 ticks *end* *repeat* *end* mouseUp --- The idea is that while button 1 is flashing I want to click at button 2 so button 1 stops flashing and executes its own script: --- *on* mouseenter *set* cursor to hand *lock* cursor *end* mouseenter *on* mouseleave *unlock* cursor *set* cursor to arrow *end* mouseleave *on* mouseUp *set* the backgroundcolor of me to the backgroundcolor of grc dummy *end* mouseUp --- I try adding 'repeat until the MouseClick' in button 1 but that only stops the flashing (what I want) but doesn't execute the script in button 2. To run the script on button 2 I have to click on button 2 again. So I have to click twice and that is not what I want :-(. Is this possible? Anyone has any other idea's on how to do this? Greetings, William ___ use-revolution mailing list use-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 until the MouseClick to stop 'flashing' button?
William- What's with the asterisks and the double spacing? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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 until the MouseClick to stop 'flashing' button?
Hi Mark, That's just my way to make clear what I am doing. I do't use them in the script. Greetings, William 2010/6/8 Mark Wieder mwie...@ahsoftware.net William- What's with the asterisks and the double spacing? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: Repeat until the MouseClick to stop 'flashing' button?
William- Tuesday, June 8, 2010, 12:28:14 PM, you wrote: That's just my way to make clear what I am doing. It's too hard for me to read. I'll pass on this one. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
Yes indeed, Mike, i understand jerry's answer as far as server side accounts are concerned. I was just pointing out that in the context of html5 local storage, if and when a web app uses that storage, then there are issues of security. I'm working on an eDemocracy site app. i'll try hard to make it as secure as possible in order not to allow anybody to gather information about what somebody else think. What troubles me is at the same time to see a big move towards mobile advertisement AND the launching of HTML5 local storage which unlike cookies (which have caused trouble in the minds!) can have persistent datas, and much more datas. So I beleive it could be a good thing to be very clear on this data policy with users, for a change! Actually I do have a question on this HTML5 specifs : how can the user monitor datas? Has he got the right to go and inspect? or is it context dependant, e.i only a javascript program imbedded in a page of the said domain could get to the datas? If anybody has a clue, thanks! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WWDC-Keynote-HTML5-wide-open-for-On-Rev-revServer-tp2246637p2247953.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
Re: Repeat until the MouseClick to stop 'flashing' button?
@ Mark: easier to read now? Hi there, I have a flashing button 1 with this script: on mouseUp set the backgroundcolor of grc dummy to pink repeat hide me wait 25 ticks show me wait 25 ticks end repeat end mouseUp The idea is that while button 1 is flashing I want to click at button 2 so button 1 stops flashing and executes its own script: on mouseUp set the backgroundcolor of me to the backgroundcolor of grc dummy end mouseUp I try adding 'repeat until the MouseClick' in button 1 but that only stops the flashing (what I want) but doesn't execute the script in button 2. To run the script on button 2 I have to click on button 2 again. So I have to click twice and that is not what I want :-(. Is this possible? Anyone has any other idea's on how to do this? Greetings, William 2010/6/8 Mark Wieder mwie...@ahsoftware.net William- Tuesday, June 8, 2010, 12:28:14 PM, you wrote: That's just my way to make clear what I am doing. It's too hard for me to read. I'll pass on this one. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: Repeat until the MouseClick to stop 'flashing' button?
William- Tuesday, June 8, 2010, 1:14:16 PM, you wrote: @ Mark: easier to read now? Hi there, I have a flashing button 1 with this script: on mouseUp set the backgroundcolor of grc dummy to pink repeat hide me wait 25 ticks show me wait 25 ticks end repeat end mouseUp The idea is that while button 1 is flashing I want to click at button 2 so button 1 stops flashing and executes its own script: on mouseUp set the backgroundcolor of me to the backgroundcolor of grc dummy end mouseUp I try adding 'repeat until the MouseClick' in button 1 but that only stops the flashing (what I want) but doesn't execute the script in button 2. To run the script on button 2 I have to click on button 2 again. So I have to click twice and that is not what I want :-(. Is this possible? Anyone has any other idea's on how to do this? Yep - that's much better. Lots of ways to do this. Here's one: button1: on mouseUp set the IsFlashing of me to true send flashme to me in 25 ticks end mouseUp on flashme if the IsFlashing of button 1 then if the visible of me then hide me else show me end if send flashme to me in 25 ticks end if end flashme button 2: on mouseUp set the IsFlashing of button 1 to false end mouseUp -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
Robert, These are excellent issues and questions. We have a very robust discussion area for thoughts and comments from everyone. We also have monthly online (GoToMeeting) summits for pre-release registrants where we review all relevant technological issues...from syntax and language to architecture and scope. We want a healthy exchange of ideas while we build. It's our goal to have the highest performance, most secure solutions money can buy. We really want our hosting to be A-1. We have chosen a premium provider and review performance and configurations frequently. I have a good background in server-side architecture, security and performance. When I do run into my own ignorance, I know what to ask and whom to ask. Also, Sarah and MJ are very knowledgeable, and they ARE both mothers. They are endowed with great reserves of common sense and good judgement. HOWEVER... We are now in a gray area as far as discussion here on the How to Use Revolution list goes. I'm between a rock and a hard place. I don't want to appear unresponsive to your and other questions, but I also don't want to wear out my welcome here. I try to give quick answers and then redirect to our discussion group. So follow our discussion area and participate. It's free. Or better yet, actually get involved. Buy into the project and help guide it as we go one step at a time. We are going to listen most closely to the people we are committing to us and our project early-on. There aren't many opportunities to grow a new dev environment for a new class of device. This is a huge technical opportunity for everyone involved. Especially for Sarah, MJ and me. We want to share it with others, and we want it to be financially rewarding for the first 250 people involved (253 counting the three of us). Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves On Jun 8, 2010, at 3:09 PM, Robert Mann wrote: Yes indeed, Mike, i understand jerry's answer as far as server side accounts are concerned. I was just pointing out that in the context of html5 local storage, if and when a web app uses that storage, then there are issues of security. I'm working on an eDemocracy site app. i'll try hard to make it as secure as possible in order not to allow anybody to gather information about what somebody else think. What troubles me is at the same time to see a big move towards mobile advertisement AND the launching of HTML5 local storage which unlike cookies (which have caused trouble in the minds!) can have persistent datas, and much more datas. So I beleive it could be a good thing to be very clear on this data policy with users, for a change! Actually I do have a question on this HTML5 specifs : how can the user monitor datas? Has he got the right to go and inspect? or is it context dependant, e.i only a javascript program imbedded in a page of the said domain could get to the datas? If anybody has a clue, thanks! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: WWDC Keynote: HTML5 wide open for On-Rev revServer
Jerry- Tuesday, June 8, 2010, 1:34:52 PM, you wrote: people involved (253 counting the three of us). Dude- You need three more people to make it an even number. Although 253 is the product of two primes, which is also kind of cool. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: Flash is buggy - Where have I heard that before?
Lynn Fredricks wrote: I happen to like Javascript but, wow, you are so right. A lot of the trojans out of the wild today take advantage of how insecure browsers are to deliver payloads right through your browser. Sometimes your antivirus software will catch it, othertimes not. Reminds me of one of my favorite Raneys posts, on buffer overruns: http://www.mail-archive.com/metac...@lists.runrev.com/msg02659.html And this one: http://www.mail-archive.com/metac...@lists.runrev.com/msg02350.html Excerpts: ...you should keep in mind that the average cobbled-together MetaCard server is going to be safer, at least WRT to buffer-overrun security problems (the easiest to exploit and most dangerous kind), than virtually any current open-source server program. This is obviously the case when compared with the FTP, HTTP, and BIND servers that are running on the majority of Internet hosts out there, all of which have multiple security holes like this, one of the buffer-overrun bugs in BIND (the DNS server) being the single most commonly exploited security hole in any server software. ... I certainly wouldn't rule out building or using MetaCard server software, even for protocols for which well-known (if buggy) open source software is widely available. While I don't see any big advantage to writing an FTP server in MetaCard, an HTTP server that executes CGI scripts is a different matter entirely and an area where a MetaCard server could be safer and feature-competitive with any of the alternatives. ... ...the ubiquity of buffer-overrun bugs in open source software rises to the level of criminal negligence. There is just no excuse for this kind of sloppy programming, yet not a week goes by that yet another example of this kind of thing isn't found in one of the commonly used open-source packages. I wouldn't blindly trust Microsoft software either, but at least the majority of the security holes in their products were put there deliberately to improve the usability of the products rather than as the result of poor security hygiene on the part of the developer. My advice is to not be afraid of this stuff. Sure, you have to be careful, but you can hardly do any worse a job than those hacks who are writing the software that runs the Internet ;-) :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
I am from Austin and studied the sub-genius manifesto with care. I believe in slack. 256 it is. Best, Jerry Daniels Join the Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves On Jun 8, 2010, at 3:42 PM, Mark Wieder mwie...@ahsoftware.net wrote: Jerry- Tuesday, June 8, 2010, 1:34:52 PM, you wrote: people involved (253 counting the three of us). Dude- You need three more people to make it an even number. Although 253 is the product of two primes, which is also kind of cool. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: WWDC Keynote: HTML5 wide open for On-Rev revServer
Walt, You're mixing things. On-Rev which is just a service provider for RevServer does not deal with the presentatation (HTML, CSS, JS) part of web applications, this is left to the programmer. RevServer is a server side engine not unlike php. It doesn't do the presentation layer but the back end layer behind that. As far as I know, Safari Mobile already supports multitouch. Developers seldon make use of it though. I think that Safari sends touch events for the different fingers. Andre On Tue, Jun 8, 2010 at 3:14 PM, Sumner, Walt wsum...@dom.wustl.edu wrote: Sorry if this has been discussed and I missed it, but it looks like Firefox 4 (or 3.7, or earlier) hopes to deliver HTML5 and multitouch, as well as the local data storage. Do we know if On-Rev is on track to host multitouch browser interfaces? If so, I would suddenly have a compelling reason to get facile with On-Rev and HTML5. I would guess that the iOS version of Safari will eventually support multitouch? This video purports to show a Firefox browser window supporting multitouch painting: http://www.labnol.org/internet/firefox-logo-drawn-using-firefox/10579/ Walton Sumner ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-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: Stacks with transparent background
Recently, David Bovill wrote: Before I dive in with masks, multiple stacks and the like - any advice on how to achieve a stack with opaque controls and a transparent background. It seems that due to the nature of the inheritance using the blendlevel to make the stack window transparent means that all of its controls will be at least as transparent - so you cant have an opaque control and a transparent card background / window. Maybe there is a nice trick here with inks? The only thing I can think of is scripting something to create a mask or use multiple stacks. The short answer is, you must create a custom bitmap to mask the window, and each control must have its own opaque region in the mask to make them non-translucent. Setting the blendLevel of the stack will not work, nor will the use of any ink effects. The long answer is in this thread (a couple of demo stacks are referenced): http://runtime-revolution.278305.n4.nabble.com/Vector-window-shapes-and-the -great-mystery-of-ink-effects-td340450.html#a340453 Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-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: RTF documents as templates
Hi Jan, And this can work if the word have images? I can't... :( Salut, Josep M. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2248067.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
Sizing Columns to Fit
Hello everyone, When I import tab-delimited data files, I'd like to be able to set the tab stops in a field so that each column displays its entire contents the way a spreadsheet does when you size-to-fit. It's easy to loop through the lines of the file to find the maximum number of characters in each column, but I'm not sure how to convert that to tab stops in pixels. Any tips? Gregory ___ use-revolution mailing list use-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: Sizing Columns to Fit
On 9/06/10 7:31 AM, Gregory Lypny gregory.ly...@videotron.ca wrote: Hello everyone, When I import tab-delimited data files, I'd like to be able to set the tab stops in a field so that each column displays its entire contents the way a spreadsheet does when you size-to-fit. It's easy to loop through the lines of the file to find the maximum number of characters in each column, but I'm not sure how to convert that to tab stops in pixels. Any tips? Check out the dictionary entry for formattedWidth. If you're using a fixed width font then all you need to do is find the maximum length of each column and get the formatted width of the first word of that length. If not then do the same and then add a few pixels just to be safe. Terry... Gregory ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne ___ use-revolution mailing list use-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: Sizing Columns to Fit
Gregory, you might want to have a look at http://revonline2.runrev.com/stack/428/OldTableFieldDragDividers in the script of the field is a handler: adjustToWidthOfContent that does what you want. Additionally you can adjust the width of the columns by manually dragging the divider lines. regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sizing-Columns-to-Fit-tp2248069p2248104.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
Re: WWDC Keynote: HTML5 wide open for On-Rev revServer
Walt, The iOS version of Safari already supports multitouch and has for a while now. Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgr...@comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 On Jun 8, 2010, at 2:14 PM, Sumner, Walt wrote: Sorry if this has been discussed and I missed it, but it looks like Firefox 4 (or 3.7, or earlier) hopes to deliver HTML5 and multitouch, as well as the local data storage. Do we know if On-Rev is on track to host multitouch browser interfaces? If so, I would suddenly have a compelling reason to get facile with On-Rev and HTML5. I would guess that the iOS version of Safari will eventually support multitouch? This video purports to show a Firefox browser window supporting multitouch painting: http://www.labnol.org/internet/firefox-logo-drawn-using-firefox/10579/ Walton Sumner ___ use-revolution mailing list use-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: Sizing Columns to Fit
You can use Dynamic Table Field. It is located in the old Rev Online stacks section under the user sundown. The code is in the field. -=JB=- On Jun 8, 2010, at 2:31 PM, Gregory Lypny wrote: Hello everyone, When I import tab-delimited data files, I'd like to be able to set the tab stops in a field so that each column displays its entire contents the way a spreadsheet does when you size-to-fit. It's easy to loop through the lines of the file to find the maximum number of characters in each column, but I'm not sure how to convert that to tab stops in pixels. Any tips? Gregory ___ use-revolution mailing list use-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: RTF documents as templates
Hi again, Some questions for the experts... How can open or print a RTF file without Word? TextEdit loss the images and format of tables... How can open and print from Applescript without view the flashing RTF file? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2248114.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
Detect background application...
Is there a way to have a stack know if it's not *focused*? Can this also be done if the stack is not the foreground application? ___ use-revolution mailing list use-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: Detect background application...
Recently, Simon Lord wrote: Is there a way to have a stack know if it's not *focused*? Can this also be done if the stack is not the foreground application? Might want to take a look at suspend/resume, suspendStack/resumeStack. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-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: Detect background application...
On Wed, Jun 9, 2010 at 10:53 AM, Simon Lord sl...@karbonized.com wrote: Is there a way to have a stack know if it's not *focused*? Can this also be done if the stack is not the foreground application? On a Mac, you can do this using AppleScript. Here are my handlers for this: function isAppAtFront pAppName if isAppRunning(pAppName) = false then return false put tell application quote System Events quote cr \ get the frontmost of application process quote pAppName quote cr \ end tell into tScript do tScript as AppleScript return the result end isAppAtFront function isAppRunning pAppName put tell application quote System Events quote cr into tScript put return (exists application process quote pAppname quote ) cr after tScript put end tell after tScript do tScript as AppleScript return the result end isAppRunning -- Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ use-revolution mailing list use-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: Detect background application...
Simon Lord sl...@karbonized.com wrote: Is there a way to have a stack know if it's not *focused*? Can this also be done if the stack is not the foreground application? If your stacks use standard windows, you can check whether the stack you're interested in is the topstack or not. (It won't work with palettes and modals.) That should still work even if the app itself is in the background. I'm assuming you're running a script in Rev that needs the info. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Detect background application...
Thanks guys! Got it doing what I need now. On Tue, Jun 8, 2010 at 11:44 PM, Simon Lord sl...@marelina.com wrote: Thanks guys! Got it doing what I need now. On Tue, Jun 8, 2010 at 11:11 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Simon Lord sl...@karbonized.com wrote: Is there a way to have a stack know if it's not *focused*? Can this also be done if the stack is not the foreground application? If your stacks use standard windows, you can check whether the stack you're interested in is the topstack or not. (It won't work with palettes and modals.) That should still work even if the app itself is in the background. I'm assuming you're running a script in Rev that needs the info. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
iTunes style titlebar
Is it possible to *assign* a style that mimics the thickness of the iTunes.app? The CODA application has the same thickness (~120px high). I couldn't do it so I figured I'd just trap the mouse position and drag the window when the user clicks on the space just below the titlebar (in order to simulate a thicker titlebar). It works great, but the bugger drags the whole app right off the top of the screen. Mac OS apps don't allow the titlebar to be dragged under the OS menu and now I have a few options: 1) Does RunRev support a thinker title bar that we can mount icons onto etc. (like CODA, iTunes...) 2) Properly detect the top of the stack and exit script before user drags stack under OS X system menu bar (tried, doesn't work) I'd be happy with any solution where the *feel* of OS X integrity is upheld. ___ use-revolution mailing list use-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: iTunes style titlebar
Simon- Tuesday, June 8, 2010, 8:57:25 PM, you wrote: 2) Properly detect the top of the stack and exit script before user drags stack under OS X system menu bar (tried, doesn't work) Can you constrain the mouseloc to the working screenrect? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: iTunes style titlebar
Sounds like a job for either a custom window shape or, if you're happy with a window with square top corners, a window with the decorations set to empty and a faked titlebar. Here's a script I use for dragging a custom window around by its 'titlebar' that constrains the upper and lower limits of the drag (watch out for line wraps) local pDown, pXOffset, pYOffset, pT, pB on mouseEnter put false into pDown end mouseEnter on mouseDown put true into pDown put the mouseH into pXOffset put the mouseV into pYOffset put the screenRect into tRect if platform() = MacOS then put 20 into pT put item 4 of tRect - 28 into pB else put 0 into pT put item 4 of tRect - 63 into pB end if end mouseDown on mouseUp put false into pDown end mouseUp on mouseRelease put false into pDown end mouseRelease on mouseMove x,y if pDown then put x-pXOffset into tX put y-pYOffset into tY put globalLoc((tX,tY)) into tTL set the topleft of this stack to (item 1 of tTL,min(max(pT,item 2 of tTL),pB)) end if end mouseMove HTH, Terry... On 9/06/10 1:57 PM, Simon Lord sl...@karbonized.com wrote: Is it possible to *assign* a style that mimics the thickness of the iTunes.app? The CODA application has the same thickness (~120px high). I couldn't do it so I figured I'd just trap the mouse position and drag the window when the user clicks on the space just below the titlebar (in order to simulate a thicker titlebar). It works great, but the bugger drags the whole app right off the top of the screen. Mac OS apps don't allow the titlebar to be dragged under the OS menu and now I have a few options: 1) Does RunRev support a thinker title bar that we can mount icons onto etc. (like CODA, iTunes...) 2) Properly detect the top of the stack and exit script before user drags stack under OS X system menu bar (tried, doesn't work) I'd be happy with any solution where the *feel* of OS X integrity is upheld. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne ___ use-revolution mailing list use-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: iTunes style titlebar
Hmmm, I'll have to try this out in tomorrow nights' sprint. It sounds promising. :) And if it doesn't, I'll try Terry's code which is very similar to mine (possibly missing a line or two which is causing me the grief). Thanks for the tips, always appreciated. On Wed, Jun 9, 2010 at 12:01 AM, Mark Wieder mwie...@ahsoftware.net wrote: Simon- Tuesday, June 8, 2010, 8:57:25 PM, you wrote: 2) Properly detect the top of the stack and exit script before user drags stack under OS X system menu bar (tried, doesn't work) Can you constrain the mouseloc to the working screenrect? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-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: A problem with clearing fields on marked cards
Craig, Agreed, which is why I pointed out that some methods were not foolproof. My main aim was to point out that there were alternative ways to skin the cat. Depending on your needs one will probably be better than another. I guess clean is in the eye of the beholder. And as for onerous, I've generally discovered that taking the easy option at the beginning ALWAYS comes and bites me down the road; typically in speed. Personally, going to the trouble of layering all input fields together at the beginning so I can do: repeat with x = 1 to 100 put empty into field x end repeat appears cleaner to me than: repeat with x = 1 to the number of fields if the cIsLabel of field x = false then put empty into field x end if end repeat Also, logical it must take longer to execute as there will be at least twice as many iterations of the repeat cycle, but lets not use logic, lets check the numbers:-) The below results are from a card with 100 normal fields (to be cleared, cIsLabel = false, lockText = false), + 10 normal fields whose lockText is true (not to be cleared, cIsLabel = true, lockText = true) and 100 label fields (not to be cleared, cIsLabel = true, lockText = true). The result are for 1000 repeats of clearing the 100 normal fields only: Layer: Min = 1ms, Max = 2ms, Avg = 1ms for 100 iterations. cLabel: Min = 5ms, Max = 6ms, Avg = 5ms for 210 iterations. lockText: Min = 2ms, Max = 4ms, Avg = 3ms for 210 iterations. Content: Min = 3ms, Max = 4ms, Avg = 3ms for 210 iterations. Note the results are significantly slower if you don't 'lock screen'! Most of this Richard has told us before; Fastest - layer the objects so you can use repeat with the exact number of objects. Fast - if you must step through every object, if possible use an inbuilt property to perform the validity test. Slow - custom properties are slower than in built properties. Slowest - We all know accessing the content of a field is slow, but I'm surprised at how quick it can be, but I also discovered the results can be hugely effected by the size of the content and the type of test performed to determine if it needs to be cleared or not - I used what appeared to be the fasted, not much content and a simple = test. HTH On Tue, Jun 8, 2010 at 9:38 PM, dunb...@aol.com wrote: The properties mentioned are not intrinsic to label fields, they are just defaults at creation, and may be common to other fields. Certainly sharedText and lockText could be. All the other suggestions are valid as far as they go, naming, numbering, layering, etc., but these may not be convenient, or constant, and may be tedious to manage down the road. In other words, they may not go very far. Naming them with a unique beginning string is pretty robust, I guess; I've done that. But I still think that creating a custom property is the cleanest way. It isn't so onerous, after all. Craig Newman ___ use-revolution mailing list use-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: iTunes style titlebar
On Wed, Jun 9, 2010 at 12:23 PM, Simon Lord sl...@karbonized.com wrote: Hmmm, I'll have to try this out in tomorrow nights' sprint. Does this mean you are in training for Andres' July coding sprint? Now I do feel inadequate ;-))) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution