RE: Location of stack
> From: Sarah Reichelt > > I'm guessing your stack has a menu. On Mac stacks, Rev does some funny > business to hide the menu buttons off the top of the stacks window and > create a real Mac menu. But this doesn't happen immediately. > > If you set the loc in a preOpenStack or startup handler, the menu bar > will not have been hidden yet and the stack will effectively be > taller. If you set the loc in an openStack handler, then the menu will > have been hidden and the height of the stack the same as it was when > you stored the loc, so it will work as expected. > > One workaround is to check if there is a menubar and, if so, check if > there is a difference in height between the stack and the card. If > they are the same, then the menu has not yet drawn and you need to > compensate for this manually. Thanks, Sarah. If I do it in openStack instead of preOpenStack, will it still position the window before it's first displayed? -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.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: News on revMobile and the iPhone
When elephants dance, eveyone else gets squashed... > So RunRev just seems to suffer as collateral damage in this stupid war > between these big players. ___ use-revolution mailing list use-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: Nice OSX tip: creating an image with a desktop snapshot without scripting
On Sat, May 15, 2010 at 5:12 AM, Colin Holgate wrote: > > On May 15, 2010, at 5:52 AM, Jim Sims wrote: > > > > > Command-SHIFT-4-Space Bar captures the window under the cursor. > > That can be described better as: Command-Shift-4 gives you the usual > caption selection to a file, and Control-Command-Shift-4 gives you the usual > capture to clipboard, but if instead of dragging the mouse to make a > selection, you press the space bar and then move the mouse over the various > open windows, you can click to capture the one that is highlighted. It also > grabs all of the window, not just the parts that are sticking out from under > other windows. > This trick is very versatile. Beside capturing entire windows as you've described, it will also capture the entire menu bar, any open menu, the dock, and any icon on the desktop, including the icon name. Very useful for documentation that requires showing parts of the Macintosh interface. -- Regards, Howard Bornstein --- www.designeq.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: searching for a put that opens message box
stephen- Saturday, May 15, 2010, 3:44:39 PM, you wrote: > makes sense. Should have run the code. Sorry to jump to conclusions. Well, as I pointed out, I didn't actually run it myself. But while I was writing it I noticed that deleting lines might be a problem, thought it through and figured that it *probably* wasn't. -- -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: searching for a put that opens message box
makes sense. Should have run the code. Sorry to jump to conclusions. On 15 May 2010 12:01, Mark Wieder wrote: > stephen- > > Saturday, May 15, 2010, 10:43:22 AM, you wrote: > > > collect the line numbers on the first pass, they ya gotta count backwards > if > > you delete lines, Mark. Repeat for each won't work unless the entire > script > > is rebuilt. > > It's not collecting line numbers, otherwise it would indeed run into > that problem. Just collecting actual text, and finding the lineoffset > in the loop. > > > Do we need a "backwards offset"?? > > I'd love it if the third optional parameter for the xOffset commands > could be negative, saying "start from the end" instead of from the > beginning. > > -- > -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 > -- - Stephen Barncard Back home in SF ___ use-revolution mailing list use-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: revigniter - Model-View-Controller in Rev terms?
Thanks Sarah, Ralf & Jeff, I've read through the MVC pages in the revIgniter docs again and it's making more sense. I can see that it'll be enormously powerful when understood. Watch this space. ;-) Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revigniter - Model-View-Controller in Rev terms?
It might be easier to think of a real-world example to use MVC in. Try not to analogize MVC with something in Rev or another environment that you may be used to, because what usually ends up happening is that one ends up sledgehammering a concept into a box that it doesn't quite fit into, damaging the perception of what that concept actually is. Try taking something a bit more concrete, that you understand very well, and create a mental picture of what the Model, View(s) and Controller(s) might be for it. For example: a checking account. The model is strictly data. It could be a file on your hard drive, a database entry on a remote server, or even your balance book. The controller becomes the method by which the data in the model is changed. For our checking account, presumably there will be functionality to withdraw and deposit funds, transfer to another account, etc. The controller is how the user does this. The controller could be HTTP commands, functions in a script, or even the teller at your local branch. The controller doesn't even have to be a user interface. For example (purely for show): http://chase.com/deposit?acct=2938302&amnt=12.43 The view - on the other hand - is nothing more than the fetching and representing of the data associated with the model. It could be a bar graph showing deposits vs. withdraws over a period of time, or just a field displaying the current balance. It could be an ATM machine, a mobile phone, a web page, or something else. And just like the controllers, there can be many views all functioning at once giving you many different views of the exact same data set. What's important here is that each of these components are independent of each other, and they don't even need to all be present [together] to have a functioning "application." In fact, most MVC architectures are set up in such a way that this paradigm is magnified. In our example, the model is on a remote server at a bank. There are many views, and many controllers. Which view you are using right now has absolutely no bearing on what controller you happen to be using and vice-versa. You could be standing at an ATM making a deposit and see the new balance instantly on your Blackberry. Hope this helps some, Jeff M. ___ use-revolution mailing list use-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: revigniter - Model-View-Controller in Rev terms?
OK, one could compare a stack with a web application. Then a view is what is presented to a user, something like the layout of one card (page) of your stack, consisting of all the visible components (images, forms, text, buttons etc.), containing a minimal amount of code, if at all. The controller in terms of Rev is your card script, which holds code solely related to this specific card (page) and serves as an intermediary between your libraries (models), the controls on your card (page) and any other resources (stack script etc.). The model is the logic, responsible for inserting, updating and retrieving data. This code, usable by all your cards (pages), resides in a highly specialized stack (model) used as a library. The goal of revIgniter's Model-View-Controller development pattern is to separate application logic from presentation, to keep your code as clean as possible ( you don't really want irev files containig a wild mixture of HTML, CSS, JavaScript and revTalk) and to apply reusable code (model) where appropriate. Though, the separation added by models is not mandatory, instead revIgniter enables you to work in a way that makes the most sense to you. Best Ralf On 15.05.2010, at 21:13, Ian Wood wrote: > I'm investigating Ralf's revIgniter framework (fantastic work, by the way), > and start running into my 'narrow' experience of programming... > > Model-View-Controller is a programming approach that is new to me. Separating > presentation & data (as in most CMS-driven websites) is another matter. > > A bit of help from Google & Wikipedia & I *think* I've got an idea how it > works, but would like some reassurance/pointers from the list in translating > concepts into what I know (Rev). > > > MVC in Rev terms would be (roughly): > > View is a Stack visible to the user (or audio etc.). Everything is presented > through this to the user. > > Controller takes input from the user (mouse-clicks, typing, keystrokes etc.) > and does the major processing? e.g. Rev handlers that handle the bulk of the > logic in an app? > > Model would then be equivalent to all the 'utility' handlers and libraries? > > > I'm aware that there may not be a one-to-one equivalency here, but is this > along the right lines? > > Thanks, > > Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revigniter - Model-View-Controller in Rev terms?
I haven't tried revIgniter yet, although I intend to. But my grasp of MVC comes from Objective-C and k assume it is much the same regardless of language. View: as out say, this is what the use sees - the interface. Model: this is the data structure and the data itself. Controller: the bit in between that reacts to user input or events and gets data from the model and presents it to the view, altering it if required. So the Controller is where the scripts go. Hopefully someone with a better grasp of these concepts than me, will be able to step in here if I have got it wrong. Cheers, Sarah On Sunday, May 16, 2010, Ian Wood wrote: > I'm investigating Ralf's revIgniter framework (fantastic work, by the way), > and start running into my 'narrow' experience of programming... > > Model-View-Controller is a programming approach that is new to me. Separating > presentation & data (as in most CMS-driven websites) is another matter. > > A bit of help from Google & Wikipedia & I *think* I've got an idea how it > works, but would like some reassurance/pointers from the list in translating > concepts into what I know (Rev). > > > MVC in Rev terms would be (roughly): > > View is a Stack visible to the user (or audio etc.). Everything is presented > through this to the user. > > Controller takes input from the user (mouse-clicks, typing, keystrokes etc.) > and does the major processing? e.g. Rev handlers that handle the bulk of the > logic in an app? > > Model would then be equivalent to all the 'utility' handlers and libraries? > > > I'm aware that there may not be a one-to-one equivalency here, but is this > along the right lines? > > Thanks, > > Ian > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Location of stack
I'm guessing your stack has a menu. On Mac stacks, Rev does some funny business to hide the menu buttons off the top of the stacks window and create a real Mac menu. But this doesn't happen immediately. If you set the loc in a preOpenStack or startup handler, the menu bar will not have been hidden yet and the stack will effectively be taller. If you set the loc in an openStack handler, then the menu will have been hidden and the height of the stack the same as it was when you stored the loc, so it will work as expected. One workaround is to check if there is a menubar and, if so, check if there is a difference in height between the stack and the card. If they are the same, then the menu has not yet drawn and you need to compensate for this manually. Cheers. Sarah On Sunday, May 16, 2010, Paul D. DeRocco wrote: > In my program, I write the location of my stack (among other things) to a > text file on exit, and then read it and set the location on startup. This > works correctly on Windows, but on the Mac, the window moves up by 12 pixels > every time. This happens both when I run the .rev file or when I run my > standalone. I use 'the location of stack "main"' to get and set the > location. I'm using Rev 3.5. Is this a known bug? > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pdero...@ix.netcom.com > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Another DataGrid Question
2010/5/15 : > Hi Everyone > > First of all thanks to Zryip for the answer to my last grid question. Now > that problem is solved, but I have another. You're welcome ;) > I have a dataGrid with 8 columns and 1000 rows. Knowing the data of a line > of column 2, I need to retrieve the data of column 1 of that line. I don't > want to change anything in the dataGrid while doing this. How is this best > accomplished? If it helps Column 1 is titled Securities and column 2 is titled > Symbol. Assuming that you know the number of the line, a possible way is to read the data of the line, then read the content of the column securities, like this: put the dgDataOfLine[tTheLine] of tMyDataGrid into tTheDataA put tTheDataA["securities"] into tTheValueOfColumn1 Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-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 there a way to upload files?
thanks, I'll give it a shot! On Sat, May 15, 2010 at 3:10 PM, Dave Cragg wrote: > > On 15 May 2010, at 21:07, Dave Cragg wrote: > >> The use is a little complicated. You set the httpHeaders to the first line >> of the returned data, and lines 2 to the end is the data to post. > > More complicated than I remember. It doesn't return the data. Instead, you > pass in a variable that gets filled in. But it's explained in the link. > > Dave___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Is there a way to upload files?
On 15 May 2010, at 21:07, Dave Cragg wrote: > The use is a little complicated. You set the httpHeaders to the first line of > the returned data, and lines 2 to the end is the data to post. More complicated than I remember. It doesn't return the data. Instead, you pass in a variable that gets filled in. But it's explained in the link. Dave___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Will revCGI be made available (not just revServer)?
My apology to the group for the snarky email response. When I read the response from Lyn to Richard's email I interpreted it as a response from RunRev on why they were no longer releasing revCGI updates. It appeared to me the reason that rev was not releasing updates was due to a concern about not being able to get the word about updates and such out to the community. I should have realized I was mis-reading the thread. My mistake. On May 14, 2010, at 6:12 PM, Michael Kann wrote: > -- Sent last post too soon! -- > > Kee Nethery wrote: > > I know that given the privacy concerns of our business, we cannot use the Rev > engine hosted on a machine that we do not control. > > Kee, > > Am I missing something obvious? If you control the machine then you can put > the Rev engine on it. Usually the problem is the other way around. People > want to use a commercial server but can't get the server people to let them > upload the engine. > > Mike ___ use-revolution mailing list use-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 there a way to upload files?
On 15 May 2010, at 18:56, Geoff Canyon Rev wrote: > I wasn't implying that this would happen behind the user's back. I'm > trying to interface to Jira. I can create a bug tracking ticket for > the user based on input they've provided, but I don't know how > attachments work. > > I can send info using post, but are you saying I would sent the file > contents themselves as a post argument? That's where I'm unclear. > > thanks, Geoff You can upload a file using post by using libUrlMultipartFormData. The use is a little complicated. You set the httpHeaders to the first line of the returned data, and lines 2 to the end is the data to post. There's an example in the Rev docs, but I think some of the text is messed up. (It shows html entities in some places where it shouldn't.) There's another example here: http://www.lacscentre.com/liburl/liburldoc.html#libUrlMultipartFormData Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Another DataGrid Question
Hi Everyone First of all thanks to Zryip for the answer to my last grid question. Now that problem is solved, but I have another. I have a dataGrid with 8 columns and 1000 rows. Knowing the data of a line of column 2, I need to retrieve the data of column 1 of that line. I don't want to change anything in the dataGrid while doing this. How is this best accomplished? If it helps Column 1 is titled Securities and column 2 is titled Symbol. Thanks in advance for your continued assistance. Joe in Orlando ___ use-revolution mailing list use-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: Thoughts on Kevin's announcement
On 15/05/2010 19:07, stephen barncard wrote: In North America, the words *Bung* and *Bang* have very different meanings. It's like seeing 'bloody' all over the place to a UK'er. It bugs me every time. I get bad visual images. Our "Bung" is your "Bloody", buddy. Just thought I'd remind you. You are not reminding me; you a teaching me, because I did not know that. Notwithstanding; Thank you for reminding me - I shall avoid that word in future . . . :) As a person who believes the 'UK' to be an illegal entity created after our legal monarch (James VII) was expelled from the British Isles; I jalouse at the term "UK'er". I am either a Scot, an Anglo-Scot, or at worst British. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
News on revMobile and the iPhone
Because of my vacation, I wasn't able to respond earlier to Kevin's sad news. Being an Apple fan, this change in Apple's license agreement is the first major disappointment in the company. It has obviously nothing to do with performance like they say. If that was the case, they should exclude JavaScript because it's a high level, interpreted language. And they should ban all Obj-C/C++ code written by less experienced programmers... Neither has it anything to do with being prepared for the future. I know RunRev as a very nimble company who adapts very fast to new trends, new OSes and new hardware. I don't know how RunRev does it, but apparently the architecture of their product(s) is so good they can adjust very quickly and they stay in the saddle when the industry makes crazy turns. So I cannot think of any sane reason why Apple changed their license agreement. It has probably to do with the Flash war against Adobe. But actually this would be an easy battle for Adobe to win. When ActionScript 3.0 came out, they reconstructed the language to be compatible with JavaScript, which they use as scripting language in other Creative Suite products. So all Adobe has to do is rename ActionScript to JavaScript... So RunRev just seems to suffer as collateral damage in this stupid war between these big players. Terry___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
revigniter - Model-View-Controller in Rev terms?
I'm investigating Ralf's revIgniter framework (fantastic work, by the way), and start running into my 'narrow' experience of programming... Model-View-Controller is a programming approach that is new to me. Separating presentation & data (as in most CMS-driven websites) is another matter. A bit of help from Google & Wikipedia & I *think* I've got an idea how it works, but would like some reassurance/pointers from the list in translating concepts into what I know (Rev). MVC in Rev terms would be (roughly): View is a Stack visible to the user (or audio etc.). Everything is presented through this to the user. Controller takes input from the user (mouse-clicks, typing, keystrokes etc.) and does the major processing? e.g. Rev handlers that handle the bulk of the logic in an app? Model would then be equivalent to all the 'utility' handlers and libraries? I'm aware that there may not be a one-to-one equivalency here, but is this along the right lines? Thanks, Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New revIgniter / irev TextMate bundles (v1.1b)
Stephen, you could do an update just by double clicking the bundles / theme, but this mixes up the bundle menu structure. So, it is best, though inconvenient, to replace the appropriate files in Library/Application Support/TextMate with the files of the downloaded revIgniterTMbundles folder. (Need to address this in the ReadMe file. Sorry, failed to do that.) Best Ralf On 15.05.2010, at 18:34, stephen barncard wrote: > Ralf, what is your recommended update method if one has already installed > RevIgniter? > ___ use-revolution mailing list use-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: player object and https URL
Martin Koob writes: > > I tried to set the filename of a player object to the url for a movie which > is on an ssl protected server > ie https://www.mysecuresite.com/movie/mymovie.mov > The movie does not load > One additional thing I noticed. If I set the filename of the player by script to an https url it will return "could not create movie reference" Any ideas why this happens? Martin ___ use-revolution mailing list use-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: searching for a put that opens message box
stephen- Saturday, May 15, 2010, 10:43:22 AM, you wrote: > collect the line numbers on the first pass, they ya gotta count backwards if > you delete lines, Mark. Repeat for each won't work unless the entire script > is rebuilt. It's not collecting line numbers, otherwise it would indeed run into that problem. Just collecting actual text, and finding the lineoffset in the loop. > Do we need a "backwards offset"?? I'd love it if the third optional parameter for the xOffset commands could be negative, saying "start from the end" instead of from the beginning. -- -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: Is there a way to upload files?
On Sat, May 15, 2010 at 1:53 PM, Mark Wieder wrote: > Geoff- > > !I just started looking into doing an interface to Jira yesterday! > > ...and btw, Atlassian has *great* licensing if you're interested in > professional-quality cross-platform (anywhere java runs) tools. They > have a special $10 10-user license for all their tools, and all the > proceeds go to fund literacy programs. > > http://www.atlassian.com > > -- > -Mark Wieder > mwie...@ahsoftware.net So far I've successfully created tickets in Jira, with several fields set. I need to figure out updating tickets as well. Then if I could attach files I'd be done. gc ___ use-revolution mailing list use-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: searching for a put that opens message box
william- Saturday, May 15, 2010, 11:34:49 AM, you wrote: > Except that you have to say > filter someVariable with "*put*" for it to work as there must be a space or > something before the word put If you're thinking in generic terms, you'd need to do some more work after that. Your example would also catch and delete send "sputter" to card "xyz" if tWord is in "get,put,send,dispatch" save this stack -- I put this in a comment. Checking for "put" as the first word in the line before deleting it would do the trick, I think. -- -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
Search Many Docs to Return Search Results
I feel like I'm about to reinvent the wheel here... and I believe I even posted this query once before but am having trouble finding the emails where some good souls responded previously Can anyone who has created any search-many-docs scripts post their library or scripts for returning search results? or point to a stack online that has contains scripts that will serve? We want to the user to enter a term... Rev will dig a number of html files. Not many, so, we will just read them from disk. The search "engine" will step through the documents and return a list of hits. We retrieve the entire line using lineoffset and move on to the next instance in the same doc. Then proceed to the next file. For display we want to show the user about 100 chars before and after the term found and then post this to a search results field, where she can see the results, hover over the small excerpt will pop up the whole line-paragraph, and a click will open the document (set the html text of a field to the doc) and take her to that place in the document. I have parts of the above here and there in various stacks, especially the last part I have some code that steps through a field and sets the highlight color of the search term and the user can quickly scan and see his term in color... and I think I can put it together, but... I'm guessing many of you already have various flavors of this scenario already built and much better coded than I could do. so, if anyone has any snippets for any part of the above scenario I can put them together with what I have. Thanks! Sivakatirswami ___ use-revolution mailing list use-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: searching for a put that opens message box
Inside the tRev plug environment, perhaps it would be easiest for your plug script to 'comment out' all the instances of found puts with a special comment that could be easily found like "-- * put it". Otherwise you'd need a dialog or something to do them individually unless it's a mass removal - (which I would never trust!!) On 15 May 2010 11:34, william humphrey wrote: > Thanks (I started to say Stephen but I see I should say) "everyone" -- I > found my orphan put using > > put yourScript into someVariable > filter someVariable with "put*" > filter someVariable without "*into*" > > Except that you have to say > > filter someVariable with "*put*" for it to work as there must be a space or > something before the word put > > 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 > -- - Stephen Barncard Back home in SF ___ use-revolution mailing list use-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 there a way to upload files?
Geoff- Saturday, May 15, 2010, 10:56:47 AM, you wrote: > I wasn't implying that this would happen behind the user's back. I'm > trying to interface to Jira. I can create a bug tracking ticket for > the user based on input they've provided, but I don't know how > attachments work. !I just started looking into doing an interface to Jira yesterday! ...and btw, Atlassian has *great* licensing if you're interested in professional-quality cross-platform (anywhere java runs) tools. They have a special $10 10-user license for all their tools, and all the proceeds go to fund literacy programs. http://www.atlassian.com -- -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: searching for a put that opens message box
Thanks (I started to say Stephen but I see I should say) "everyone" -- I found my orphan put using put yourScript into someVariable filter someVariable with "put*" filter someVariable without "*into*" Except that you have to say filter someVariable with "*put*" for it to work as there must be a space or something before the word put 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
Re: searching for a put that opens message box
I never said there was one. No, Jerry in his wisdom, has left* *it up to us to develop it as an exercise. So I'll probably do it if someone else doesn't. It's not *that*much of a brain teaser. On 15 May 2010 11:06, william humphrey wrote: > Just went to the tRev site. There are some plug-ins there (ones that put > lists of cards, scripts etc into an email message) but no "find orphan > puts" > plug-in > ___ > ___ use-revolution mailing list use-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: searching for a put that opens message box
Just went to the tRev site. There are some plug-ins there (ones that put lists of cards, scripts etc into an email message) but no "find orphan puts" plug-in ___ use-revolution mailing list use-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 there a way to upload files?
I wasn't implying that this would happen behind the user's back. I'm trying to interface to Jira. I can create a bug tracking ticket for the user based on input they've provided, but I don't know how attachments work. I can send info using post, but are you saying I would sent the file contents themselves as a post argument? That's where I'm unclear. thanks, gc On Sat, May 15, 2010 at 10:45 AM, Jim Ault wrote: > On May 15, 2010, at 8:08 AM, Geoff Canyon Rev wrote: > >> It's easy enough to look at a web form and convert it to a set of >> arguments to use in rev, like so: >> >> >> http://www.someserver.com/someAction.jspa?type=12&summary=this+is+a+test&user=geoff.canyon&password=test >> >> But what if the form includes file upload? Is there a way to take a local >> file and include it in a url to upload it to a web server? > > Technically it is a major security breach to have a file upload occur > without a use interaction, such as clicking a 'submit' button. > Otherwise a scoundrel could begin uploading from anywhere on the user's hard > drive in a steady sequence. > > Assuming you are doing the form correctly with user interaction, you would > use the POST command in Rev to send one or more variables and their values > to a URL. > > The basic idea is that you build header lines to control how the server > script will operate on your data, then append variable=value pairs to the > single variable. > > in the Rev script, when all the strings have been concatenated, the text is > sent to the URL of the server script. > The URL triggers a script that has been programmed to read and work with > those variables (usually with error checking). > > The file upload is usually stored in a temporary directory on the web server > with a random temporary name created by the web server, then renamed > according to the name sent by the POST command. > > Look in the dictionary for specific examples of code that builds the header > lines the appends the data pairs. > > The GET command does the same thing, except it has a limit of about 1000 > characters. > A server script that is well-written will check for GET variables and POST > variables to detect which format has been set. > > Both methods will create an array such as > >> >> http://www.someserver.com/someAction.jspa?type=12&summary=this+is+a+test&user=geoff.canyon&password=test > > ( using PHP syntax for the array ) > $_GET['type'] {which holds '12'} > $_GET['summary'] {which holds 'this+is+a+test'} > $_GET['user'] {which holds 'geoff.canyon'} > $_GET['password'] {which holds 'test'} > > sending the variables as a block to the URL > http://www.someserver.com/someAction.jspa > $_POST['type'] {which holds '12'} > $_POST['summary'] {which holds 'this+is+a+test'} > $_POST['user'] {which holds 'geoff.canyon'} > $_POST['password'] {which holds 'test'} > > Obviously, if you accidentally used the same variable name twice, there > would be data loss, just as with Rev associative arrays. > > Hope this helps you get the idea. > > > Jim Ault > Las Vegas > > > > ___ > use-revolution mailing list > use-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: searching for a put that opens message box
I really like the idea of there being a plug-in for tRev that "finds orphaned puts" On Sat, May 15, 2010 at 1:43 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > collect the line numbers on the first pass, they ya gotta count backwards > if > you delete lines, Mark. Repeat for each won't work unless the entire script > is rebuilt. > > Do we need a "backwards offset"?? > > On 15 May 2010 10:33, Mark Wieder wrote: > > > Scott- > > > > Saturday, May 15, 2010, 9:58:47 AM, you wrote: > > > > > The other thing to do is to make sure the line has no "into". > > > > ...as in (untested, but you get the idea) > > > > put yourScript into someVariable > > filter someVariable with "put*" > > filter someVariable without "*into*" > > > > repeat for each line tLine in someVariable > > put lineOffset(tLine, yourScript) into tPos > > if tPos is not 0 then > >delete line tPos of yourScript > > end if > > end repeat > > > > -- > > -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 > > > > > > -- > - > Stephen Barncard > Back home in SF > ___ > use-revolution mailing list > use-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.bluewatermaritime.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: searching for a put that opens message box
collect the line numbers on the first pass, they ya gotta count backwards if you delete lines, Mark. Repeat for each won't work unless the entire script is rebuilt. Do we need a "backwards offset"?? On 15 May 2010 10:33, Mark Wieder wrote: > Scott- > > Saturday, May 15, 2010, 9:58:47 AM, you wrote: > > > The other thing to do is to make sure the line has no "into". > > ...as in (untested, but you get the idea) > > put yourScript into someVariable > filter someVariable with "put*" > filter someVariable without "*into*" > > repeat for each line tLine in someVariable > put lineOffset(tLine, yourScript) into tPos > if tPos is not 0 then >delete line tPos of yourScript > end if > end repeat > > -- > -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 > -- - Stephen Barncard Back home in SF ___ use-revolution mailing list use-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: searching for a put that opens message box
Scott- Saturday, May 15, 2010, 9:58:47 AM, you wrote: > The other thing to do is to make sure the line has no "into". ...as in (untested, but you get the idea) put yourScript into someVariable filter someVariable with "put*" filter someVariable without "*into*" repeat for each line tLine in someVariable put lineOffset(tLine, yourScript) into tPos if tPos is not 0 then delete line tPos of yourScript end if end repeat -- -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: searching for a put that opens message box
Excellent ideas for tRev plugins. Best, Jerry Daniels Create iPad web apps with Rodeo: http://rodeoapps.com On May 15, 2010, at 11:52 AM, stephen barncard wrote: > Jerry had a function "Find Orphaned Puts" in GLX2 that would do this and > I've been pestering him to reveal it or make a tRev plugin to use this. It > worked well. > > Very useful for this old fashioned basic "debugging tool" . > > I'd make a variation - "Delete all orphaned puts" if it could be made > foolproof. > > On 15 May 2010 09:42, william humphrey wrote: > >> I'm not sure it has only two words. I will try your suggestion though. It >> could be "put variable1 && variable2" >> It sure teaches me to never do this again. Always explicitly call the >> message box. I wish RunRev would remove the feature... >> >> On Sat, May 15, 2010 at 12:28 PM, Scott Rossi >> wrote: >> >>> Try putting the script in variable, and then finding the lineOffset of >> the >>> line that contains "put" and has only 2 words. >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> On May 15, 2010, at 8:53 AM, william humphrey < >> b...@bluewatermaritime.com> >>> wrote: >>> Jerry I'm asking this question on the RunRev forum because I want to announce >>> here how much I love tRev. Anyway how do you search for a "put" that is like "put variable" and doesn't have an "into" so it opens the message box. I realize that >> I should have marked my code there or put message box because it is so >> hard >>> to find a "put" that doesn't have an "into" Thanks ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution >>> ___ >>> use-revolution mailing list >>> use-revolution@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> >> -- >> http://www.bluewatermaritime.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 >> > > > > -- > - > Stephen Barncard > Back home in SF > ___ > use-revolution mailing list > use-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: searching for a put that opens message box
William, We did at one time in our previous editors have a Find Orphaned Put's menu item. tRev is me spare with its extra features, so we created a simple plugin architecture for all the extras you'd ever want. Check out the posts in our site regarding plugs. You go to the site and search, or search the site right from tRev's Help menu. Best, Jerry Daniels Create iPad web apps with Rodeo: http://rodeoapps.com On May 15, 2010, at 10:53 AM, william humphrey wrote: > Jerry > > I'm asking this question on the RunRev forum because I want to announce here > how much I love tRev. Anyway how do you search for a "put" that is like > > "put variable" > > and doesn't have an "into" so it opens the message box. I realize that I > should have marked my code there or put message box because it is so hard to > find a "put" that doesn't have an "into" > > Thanks > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: searching for a put that opens message box
On May 15, 2010, at 9:58 AM, Scott Rossi wrote: The other thing to do is to make sure the line has no "into". or after, or before Chipp Walters at Altuit had a utility that did this about 5 years ago. You could use a RegEx Find in the stack to look at all the scripts. I don't have time to do the RegEx string that would locate all put ignore 'into' 'after' 'before' on the same line thus creating a short list of -- A running detection technique could be - if the message box is "string I keep seeing but cannot find" then breakpoint Moving this further up the processing order should be able to isolate it for you. On May 15, 2010, at 9:42 AM, william humphrey > wrote: I'm not sure it has only two words. I will try your suggestion though. It could be "put variable1 && variable2" It sure teaches me to never do this again. Always explicitly call the message box. I wish RunRev would remove the feature... Compatibility with Hypercard will mean this feature will likely remain for a long time. Jim Ault Las Vegas ___ use-revolution mailing list use-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: searching for a put that opens message box
The other thing to do is to make sure the line has no "into". Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 9:42 AM, william humphrey wrote: > I'm not sure it has only two words. I will try your suggestion though. It > could be "put variable1 && variable2" > It sure teaches me to never do this again. Always explicitly call the > message box. I wish RunRev would remove the feature... > > On Sat, May 15, 2010 at 12:28 PM, Scott Rossi wrote: > >> Try putting the script in variable, and then finding the lineOffset of the >> line that contains "put" and has only 2 words. >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> On May 15, 2010, at 8:53 AM, william humphrey >> wrote: >> >>> Jerry >>> >>> I'm asking this question on the RunRev forum because I want to announce >> here >>> how much I love tRev. Anyway how do you search for a "put" that is like >>> >>> "put variable" >>> >>> and doesn't have an "into" so it opens the message box. I realize that I >>> should have marked my code there or put message box because it is so hard >> to >>> find a "put" that doesn't have an "into" >>> >>> Thanks >>> ___ >>> use-revolution mailing list >>> use-revolution@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> ___ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.bluewatermaritime.com > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: searching for a put that opens message box
Jerry had a function "Find Orphaned Puts" in GLX2 that would do this and I've been pestering him to reveal it or make a tRev plugin to use this. It worked well. Very useful for this old fashioned basic "debugging tool" . I'd make a variation - "Delete all orphaned puts" if it could be made foolproof. On 15 May 2010 09:42, william humphrey wrote: > I'm not sure it has only two words. I will try your suggestion though. It > could be "put variable1 && variable2" > It sure teaches me to never do this again. Always explicitly call the > message box. I wish RunRev would remove the feature... > > On Sat, May 15, 2010 at 12:28 PM, Scott Rossi >wrote: > > > Try putting the script in variable, and then finding the lineOffset of > the > > line that contains "put" and has only 2 words. > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > > On May 15, 2010, at 8:53 AM, william humphrey < > b...@bluewatermaritime.com> > > wrote: > > > > > Jerry > > > > > > I'm asking this question on the RunRev forum because I want to announce > > here > > > how much I love tRev. Anyway how do you search for a "put" that is like > > > > > > "put variable" > > > > > > and doesn't have an "into" so it opens the message box. I realize that > I > > > should have marked my code there or put message box because it is so > hard > > to > > > find a "put" that doesn't have an "into" > > > > > > Thanks > > > ___ > > > use-revolution mailing list > > > use-revolution@lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > ___ > > use-revolution mailing list > > use-revolution@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.bluewatermaritime.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 > -- - Stephen Barncard Back home in SF ___ use-revolution mailing list use-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: searching for a put that opens message box
I'm not sure it has only two words. I will try your suggestion though. It could be "put variable1 && variable2" It sure teaches me to never do this again. Always explicitly call the message box. I wish RunRev would remove the feature... On Sat, May 15, 2010 at 12:28 PM, Scott Rossi wrote: > Try putting the script in variable, and then finding the lineOffset of the > line that contains "put" and has only 2 words. > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On May 15, 2010, at 8:53 AM, william humphrey > wrote: > > > Jerry > > > > I'm asking this question on the RunRev forum because I want to announce > here > > how much I love tRev. Anyway how do you search for a "put" that is like > > > > "put variable" > > > > and doesn't have an "into" so it opens the message box. I realize that I > > should have marked my code there or put message box because it is so hard > to > > find a "put" that doesn't have an "into" > > > > Thanks > > ___ > > use-revolution mailing list > > use-revolution@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.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: New revIgniter / irev TextMate bundles (v1.1b)
Ralf, what is your recommended update method if one has already installed RevIgniter? On 15 May 2010 06:50, Ralf Bitter wrote: > > Complemented the revIgniter / irev TextMate bundles > according to the latest revIgniter additions. > > Get the latest version of TextMate bundles > for revIgniter here: > > http://revigniter.com/accessory > > > Best > > Ralf > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- - Stephen Barncard Back home in SF ___ use-revolution mailing list use-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: searching for a put that opens message box
Try putting the script in variable, and then finding the lineOffset of the line that contains "put" and has only 2 words. Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 8:53 AM, william humphrey wrote: > Jerry > > I'm asking this question on the RunRev forum because I want to announce here > how much I love tRev. Anyway how do you search for a "put" that is like > > "put variable" > > and doesn't have an "into" so it opens the message box. I realize that I > should have marked my code there or put message box because it is so hard to > find a "put" that doesn't have an "into" > > Thanks > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Will revCGI be made available (not just revServer)?
But isn't it still 'shared' with other clients on the same machine? I was offered something like this by Dreamhost but I get such great service and speed with a regular account, why should I bother? To get at the kernal? On 15 May 2010 03:36, Bernard Devlin wrote: > Since the advent of services such as Slicehost or Linode, I'm > surprised anyone bothers with shared hosting. Linode costs $20 a > month, and you get to choose from a variety of different linux > distributions. In my experience, the performance and support are > amazing. > > Bernard > > On Fri, May 14, 2010 at 2:05 AM, Richard Gaskin > wrote: > > I don't believe it's an Apache module. I'm not exactly sure what it is, > but > > when I asked if it was a module per se I was told it was not. That's a > good > > thing, IMO, since it would be next to impossible to install it on a > shared > > host if it were. > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- - Stephen Barncard Back home in SF ___ use-revolution mailing list use-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: Thoughts on Kevin's announcement
In North America, the words *Bung* and *Bang* have very different meanings. It's like seeing 'bloody' all over the place to a UK'er. It bugs me every time. I get bad visual images. Our "Bung" is your "Bloody", buddy. Just thought I'd remind you. On 15 May 2010 02:38, Richmond Mathewson wrote: > >>> > I have been banging on about sound export for years: > > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Location of stack
In my program, I write the location of my stack (among other things) to a text file on exit, and then read it and set the location on startup. This works correctly on Windows, but on the Mac, the window moves up by 12 pixels every time. This happens both when I run the .rev file or when I run my standalone. I use 'the location of stack "main"' to get and set the location. I'm using Rev 3.5. Is this a known bug? -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.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
searching for a put that opens message box
Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a "put" that is like "put variable" and doesn't have an "into" so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a "put" that doesn't have an "into" 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: [Data Grid] get the header text color
Le 15 mai 10 à 15:14, zryip theSlug a écrit : André Bonjour André, Thanks for your confirmation 8-) Get the properties "text color" and "header text color" seems totally unsupported also in the rev's property palette (colors and patterns tab). Just try to set a color for the two color boxes, then go in another tab and go back to the colors and patterns tab. The two boxes should be empty again. Yes, the 2 boxes resume their empty state but the texts (header or list) in the data grid are keeping the chosen colors; bizarre :-o)) I wrote possible solutions for get a value: - For the text color: return the textColor of group "dgList" of tMyDataGrid - For the header text color: return the textColor of group "dgHeader" of tMyDataGrid Nice idea! I did not know these possibilities, mostly "dgList" which can't be found in the docs Using the message box I tried : set the dgProp["header text color"] of grp "datagrid" to "red" put the textColor of grp "dgheader" of grp "dataGrid" >> get "255,0,0" By the way, quite funny thing: the color of the characters we are perceiving "black" (header or list), actually is either empty or "black" (in an ordinary field also anyway!) Actually if I do: set the dgProp["text color"] of grp "datagrid" to "black" put the textColor of grp "dgList" of grp "dataGrid" I get "0,0,0" But, with an ordinary field, if I do : set the textColor of fld "tFld" to black put the textColor of fld "tFld" I get "black" So data grid confirms that "Black" is lack of color but ordinary field claims that black is a color ;-o))) André Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-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: Is there a way to upload files?
On May 15, 2010, at 8:08 AM, Geoff Canyon Rev wrote: It's easy enough to look at a web form and convert it to a set of arguments to use in rev, like so: http://www.someserver.com/someAction.jspa?type=12&summary=this+is+a+test&user=geoff.canyon&password=test But what if the form includes file upload? Is there a way to take a local file and include it in a url to upload it to a web server? Technically it is a major security breach to have a file upload occur without a use interaction, such as clicking a 'submit' button. Otherwise a scoundrel could begin uploading from anywhere on the user's hard drive in a steady sequence. Assuming you are doing the form correctly with user interaction, you would use the POST command in Rev to send one or more variables and their values to a URL. The basic idea is that you build header lines to control how the server script will operate on your data, then append variable=value pairs to the single variable. in the Rev script, when all the strings have been concatenated, the text is sent to the URL of the server script. The URL triggers a script that has been programmed to read and work with those variables (usually with error checking). The file upload is usually stored in a temporary directory on the web server with a random temporary name created by the web server, then renamed according to the name sent by the POST command. Look in the dictionary for specific examples of code that builds the header lines the appends the data pairs. The GET command does the same thing, except it has a limit of about 1000 characters. A server script that is well-written will check for GET variables and POST variables to detect which format has been set. Both methods will create an array such as http://www.someserver.com/someAction.jspa?type=12&summary=this+is+a+test&user=geoff.canyon&password=test ( using PHP syntax for the array ) $_GET['type'] {which holds '12'} $_GET['summary'] {which holds 'this+is+a+test'} $_GET['user'] {which holds 'geoff.canyon'} $_GET['password'] {which holds 'test'} sending the variables as a block to the URL http://www.someserver.com/someAction.jspa $_POST['type'] {which holds '12'} $_POST['summary'] {which holds 'this+is+a+test'} $_POST['user'] {which holds 'geoff.canyon'} $_POST['password'] {which holds 'test'} Obviously, if you accidentally used the same variable name twice, there would be data loss, just as with Rev associative arrays. Hope this helps you get the idea. Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Is there a way to upload files?
It's easy enough to look at a web form and convert it to a set of arguments to use in rev, like so: http://www.someserver.com/someAction.jspa?type=12&summary=this+is+a+test&user=geoff.canyon&password=test But what if the form includes file upload? Is there a way to take a local file and include it in a url to upload it to a web 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
player object and https URL
I tried to set the filename of a player object to the url for a movie which is on an ssl protected server ie https://www.mysecuresite.com/movie/mymovie.mov The movie does not load If I put open the same URL in a revbrowser window it works ie. put revBrowserOpen(the windowID of this stack, \ "https://www.mysecuresite.com/movie/mymovie.mov";) into tBrowserId If I set the filename of an image object to an image on an ssl protected server it works ie. https://www.mysecuresite.com/movie/myimage.png So it seems that the player object is having problems with the https url. Is there something else I need to do or is this a bug. I searched the Rev Quality Control Center and I can't find a mention of this as a bug. Martin Koob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
New revIgniter / irev TextMate bundles (v1.1b)
Complemented the revIgniter / irev TextMate bundles according to the latest revIgniter additions. Get the latest version of TextMate bundles for revIgniter here: http://revigniter.com/accessory Best Ralf ___ use-revolution mailing list use-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: [Data Grid] get the header text color
2010/5/15 Andre.Bisseret : > Le 14 mai 10 à 17:40, zryip theSlug a écrit : > >> Hi Trevor and All, >> >> >> I checked the doc: >> >> header text color >> The text color to apply to the header area of a table. Prefix property >> name with "effective" to get the color being used when this property >> is set to empty. >> >> However when I try to get the "header text color" or the "effective >> header text color" property, I obtain empty. >> >> I checked in the DataGrid Library code, and not found any entry for >> this property in the getProps handler. >> >> I'm wrong? > > Le 15 mai 10 à 01:05, zryip theSlug a écrit : > >> 2010/5/14 zryip theSlug : >> >> It seems same for the "Text color" property. > > > Bonjour theSlug, > > No help, just to confirm. > > My trials (using message box): > > put the dgProp["header text color"] of grp "dataGrid" >> empty > put the dgProp["effective header text color"] of grp "dataGrid" >> empty > > set the dgProp["header text color"] of grp "dataGrid" to "red" >> works: the > headers text is in red > > BUT, having the headers in red : > put the dgProp["header text color"] of grp "dataGrid" >> empty > put the dgProp["effective header text color"] of grp "dataGrid" >> empty > > idem with "text color" property. > > So seems that as the "header text color" and the "text color" properties > are concerned: > one can set them > but not put (or get) them. > > > Le 14 mai 10 à 19:48, zryip theSlug a écrit : > >> Hi again, >> >> It seems that there is no way to set the "(effective) dimmed hilite >> color" property of a Data Grid. >> I checked the setProp handler of the Data Grid library and found >> nothing to set this property. Plus the getProp of this property seems >> to return always the kDefaultDimmedHiliteColor constant. >> >> I'm wrong? > > > > With > put the dgProp["effective dimmed hilite color"] of grp "datagrid" > I get "212,212,212" > > when I try : > set the dgProp["dimmed hilite color"] of grp "datagrid" (or with prefix > "effective") > I get --invalid property 'effective dimmed hilite color'-- > or --invalid property dimmed hilite color' > > Best regards from Grenoble (sad grey weather for quite a too long time now!) > > André Bonjour André, Thanks for your confirmation 8-) Get the properties "text color" and "header text color" seems totally unsupported also in the rev's property palette (colors and patterns tab). Just try to set a color for the two color boxes, then go in another tab and go back to the colors and patterns tab. The two boxes should be empty again. I wrote possible solutions for get a value: - For the text color: return the textColor of group "dgList" of tMyDataGrid - For the header text color: return the textColor of group "dgHeader" of tMyDataGrid Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-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: Nice OSX tip: creating an image with a desktop snapshot without scripting
there is a nice way too, using "apercu" the preview thingy.. instead of capture. In the file menu you find these options (capture : selection/window) Il like to see the result right away in a preview window... and can then cut and paste... also you can make several copies and deal with them afterwards.. have a good day -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nice-OSX-tip-creating-an-image-with-a-desktop-snapshot-without-scripting-tp2217576p2217717.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: Tip 2: screen shot capture from iPhone
On May 15, 2010, at 7:21 AM, David Bovill wrote: > To take a screen shot, hold down the home button and then push the top > button. Hold the home button and then briefly press and release the top button. If you hold the home button and press the top button until you see a screen shot being taken, it won't happen. Instead it will hard reset the phone. ___ use-revolution mailing list use-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: Nice OSX tip: creating an image with a desktop snapshot without scripting
On May 15, 2010, at 5:52 AM, Jim Sims wrote: > > Command-SHIFT-4-Space Bar captures the window under the cursor. That can be described better as: Command-Shift-4 gives you the usual caption selection to a file, and Control-Command-Shift-4 gives you the usual capture to clipboard, but if instead of dragging the mouse to make a selection, you press the space bar and then move the mouse over the various open windows, you can click to capture the one that is highlighted. It also grabs all of the window, not just the parts that are sticking out from under other windows. With all of these screen grabs that are not immediate you can press the escape key to cancel the grabbing. ___ use-revolution mailing list use-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: Replace rgb1 with rbg2
Thanks for the scripts Wilhelm, it's exactly that I looking for :) Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Replace-rgb1-with-rbg2-tp2195410p2217683.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: [Data Grid] get the header text color
Le 14 mai 10 à 17:40, zryip theSlug a écrit : Hi Trevor and All, I checked the doc: header text color The text color to apply to the header area of a table. Prefix property name with "effective" to get the color being used when this property is set to empty. However when I try to get the "header text color" or the "effective header text color" property, I obtain empty. I checked in the DataGrid Library code, and not found any entry for this property in the getProps handler. I'm wrong? Le 15 mai 10 à 01:05, zryip theSlug a écrit : 2010/5/14 zryip theSlug : It seems same for the "Text color" property. Bonjour theSlug, No help, just to confirm. My trials (using message box): put the dgProp["header text color"] of grp "dataGrid" >> empty put the dgProp["effective header text color"] of grp "dataGrid" >> empty set the dgProp["header text color"] of grp "dataGrid" to "red" >> works: the headers text is in red BUT, having the headers in red : put the dgProp["header text color"] of grp "dataGrid" >> empty put the dgProp["effective header text color"] of grp "dataGrid" >> empty idem with "text color" property. So seems that as the "header text color" and the "text color" properties are concerned: one can set them but not put (or get) them. Le 14 mai 10 à 19:48, zryip theSlug a écrit : Hi again, It seems that there is no way to set the "(effective) dimmed hilite color" property of a Data Grid. I checked the setProp handler of the Data Grid library and found nothing to set this property. Plus the getProp of this property seems to return always the kDefaultDimmedHiliteColor constant. I'm wrong? With put the dgProp["effective dimmed hilite color"] of grp "datagrid" I get "212,212,212" when I try : set the dgProp["dimmed hilite color"] of grp "datagrid" (or with prefix "effective") I get --invalid property 'effective dimmed hilite color'-- or --invalid property dimmed hilite color' Best regards from Grenoble (sad grey weather for quite a too long time now!) André ___ use-revolution mailing list use-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: Will revCGI be made available (not just revServer)?
Thanks for the pointer Bernard - any idea how that would compare with DreamHosts private servers? I certainly like the fact that you have datacentres in different continents with Linode! On 15 May 2010 11:36, Bernard Devlin wrote: > Since the advent of services such as Slicehost or Linode, I'm > surprised anyone bothers with shared hosting. Linode costs $20 a > month, and you get to choose from a variety of different linux > distributions. In my experience, the performance and support are > amazing. > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Tip 2: screen shot capture from iPhone
To take a screen shot, hold down the home button and then push the top button. The screen will flash and the resulting image will be placed on your camera roll. ___ use-revolution mailing list use-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: Will revCGI be made available (not just revServer)?
Since the advent of services such as Slicehost or Linode, I'm surprised anyone bothers with shared hosting. Linode costs $20 a month, and you get to choose from a variety of different linux distributions. In my experience, the performance and support are amazing. Bernard On Fri, May 14, 2010 at 2:05 AM, Richard Gaskin wrote: > I don't believe it's an Apache module. I'm not exactly sure what it is, but > when I asked if it was a module per se I was told it was not. That's a good > thing, IMO, since it would be next to impossible to install it on a shared > host if it were. ___ use-revolution mailing list use-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: Nice OSX tip: creating an image with a desktop snapshot without scripting
Oops... Command-SHIFT-4-Space Bar captures the window under the cursor. sims ___ use-revolution mailing list use-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: Nice OSX tip: creating an image with a desktop snapshot without scripting
On May 15, 2010, at 10:37 AM, David Bovill wrote: > Perhaps the coolest, most-secret hidden capture shortcut is > Control-Command-Shift-3 (or 4), Control-Command-4-Space Bar captures the window under the cursor. sims ___ use-revolution mailing list use-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: Thoughts on Kevin's announcement
On 15/05/2010 12:32, René Micout wrote: I agree ! + music (Midi ?) functions Le 14 mai 2010 à 00:16, Robert Mann a écrit : I would prefer that a minimal audio/video library be made, like the datagrid enhancement of last year (simple fade in and out, cross fademix, minimal reverb, tone correction and normalization) and possibility to ouput a compressed quicktime format. It is important to be able to produce good quality audio/video by program too since runrev claims to be a media platform. I have been banging on about sound export for years: http://forums.runrev.com/phpBB2/viewtopic.php?f=6&t=5164 ___ use-revolution mailing list use-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: Thoughts on Kevin's announcement
I agree ! + music (Midi ?) functions Le 14 mai 2010 à 00:16, Robert Mann a écrit : > I would prefer that a minimal audio/video library be made, like the datagrid > enhancement of last year (simple fade in and out, cross fademix, minimal > reverb, tone correction and normalization) and possibility to ouput a > compressed quicktime format. It is important to be able to produce good > quality audio/video by program too since runrev claims to be a media > platform. ___ use-revolution mailing list use-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: Resize stack ...
Le 14 mai 10 à 12:25, Jean-Pierre Soto a écrit : Hello, is there a way for user to resize stack when the decoration of this stack is set to empty. Jean-Pierre Bonjour Jean-Pierre, On the site So Smart Software http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en you can download a tutorial: #017 How to manage resizing (from Éric Chatonet) In the tab menu of this tutorial choose "Tips and Tricks" and there you will find a "scripted Resizer" On this little stack the button in the bottom right corner is a customized one. HTH Best regards from Grenoble André ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Triage
From issue 92 of the newsletter: > What about Linux support? > We will be looking at improving support for Linux in various areas, > including bringing the web-plugin to Linux for the first time. -- What to do first: Size adjustments on IDE, stop editor crashing on cut and paste, fix font handling and printing, make multiple desktops work. -- What to do second: Rev Browser, the browser plugins. -- What to do when you can get to it: Anything that can be done in the shell, just supply recipes in the user guide. Speech. We live in hope! Peter ___ use-revolution mailing list use-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: Nice OSX tip: creating an image with a desktop snapshot without scripting
On 15/05/2010 11:37, David Bovill wrote: Perhaps the coolest, most-secret hidden capture shortcut is Control-Command-Shift-3 (or 4), which, instead of creating a file on your desktop, copies the capture into your Clipboard memory, so you can paste it where you want. 1. Press Control-Command-Shift-3 (or 4) from any application 2. Switch to Revolution and in the stack you want the image - just paste! It's all about that control key :) ___ This is the place to find out about all this: http://rixstep.com/2/20040510,00.shtml ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Nice OSX tip: creating an image with a desktop snapshot without scripting
Perhaps the coolest, most-secret hidden capture shortcut is Control-Command-Shift-3 (or 4), which, instead of creating a file on your desktop, copies the capture into your Clipboard memory, so you can paste it where you want. 1. Press Control-Command-Shift-3 (or 4) from any application 2. Switch to Revolution and in the stack you want the image - just paste! It's all about that control key :) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution