what form of "split" turns a tab-delimited variable into an array with the first line as keys?

2010-04-09 Thread Josh Mellicker
Given a variable like this, where the first line is "headers": name [tab] color [tab] food Trevor [tab] green [tab] salad Sarah [tab] blue [tab] pizza Richard [tab] orange [tab] burgers David [tab] purple [tab] fruit What is the best way to turn this into an array, where the a

Re: doom and gloom in the iPhone world

2010-04-09 Thread Peter Alcibiades
There is always Android, you know. This is disturbing and distasteful, but it is in no way surprising. Is there Rev for Android in the works? Or does it run on Android already? -- View this message in context: http://n4.nabble.com/doom-and-gloom-in-the-iPhone-world-tp1788757p1815142.html Sent

Re: revMobile

2010-04-09 Thread René Micout
In the post : "Cross-platform software toolkits have never — ever — produced top-notch native apps for Apple platforms. Not for the classic Mac OS, not for Mac OS X". I think that about RunRev. For a Mac user it is the race to the bottom. Now, to build my applications, I do to build a large part

Re: revMobile

2010-04-09 Thread Peter Alcibiades
Gruber's piece is excellent. But even if this one gets resolved, you have to consider that if the company supplying the platform is in a position to set any conditions at all that it feels like setting on both applications that can run on it, and content that can be accessed from it, then as a su

Re: revMobile

2010-04-09 Thread Tariel Gogoberidze
On Thu, 08 Apr 2010 20:10:08 -0400, Colin Holgate wrote: > > The other tool maker communities are arguing similarly, that if it came down > to it the tool could export an XCode project (like Unity does), and you do > the final compile from that Objective-C code, > Unfortunately, the wording is

This is what it actually says

2010-04-09 Thread Peter Alcibiades
"Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermed

Re: This is what it actually says

2010-04-09 Thread Sarah Reichelt
On Fri, Apr 9, 2010 at 5:47 PM, Peter Alcibiades wrote: > > "Applications must be originally written in Objective-C, C, C++, or > JavaScript as executed by the iPhone OS WebKit engine, and only code written > in C, C++, and Objective-C may compile and directly link against the > Documented APIs (e

Re: revMobile

2010-04-09 Thread Richmond Mathewson
On 09/04/2010 10:23, Peter Alcibiades wrote: Gruber's piece is excellent. But even if this one gets resolved, you have to consider that if the company supplying the platform is in a position to set any conditions at all that it feels like setting on both applications that can run on it, and con

Re: This is what it actually says

2010-04-09 Thread Richmond Mathewson
On 09/04/2010 10:47, Peter Alcibiades wrote: "Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications t

Re: revMobile

2010-04-09 Thread Kevin Miller
Hi, Thank you for your comments and questions with regard to the new licensing provisions in Apple's iPhone agreement. We value all our customers greatly and we know how important it is to you all that revMobile is launched as an outstanding platform to deliver iPhone apps in full compliance with

Re: revMobile

2010-04-09 Thread Colin Holgate
On Apr 9, 2010, at 3:36 AM, Tariel Gogoberidze wrote: > So, how Apple would know how Xcode project was actually written? One theory us that they could embed some encrypted code, and although it might be hard to tell what tool was used for all other cases, they could easily tell which ones were

Re: Datagrid - Selecting a line after sorting ..

2010-04-09 Thread Trevor DeVore
On Apr 8, 2010, at 11:03 PM, JACK RARICK wrote: I have a datagrid with one hundred rows and six columns. The user clicks on a "cell" somewhere in the middle of the grid that immediately performs an action and resorts the grid. The row number is stored - but how do I get the original line "r

how to tell if an app is running

2010-04-09 Thread Peter Brigham MD
How do I tell if an app (eg, iTunes) is up and running vs not open? I'm assuming there's no native Rev function for this (or am I missing something?) and I'm not familiar enough with shell commands to figure it out. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig

Re: Datagrid - Selecting a line after sorting ..

2010-04-09 Thread jrarick
Perfect! Absolutely perfect! Thanks Trevor ... Again. Jack Rarick Braintree Athletic Systems --Original Message-- From: Trevor DeVore Sender: use-revolution-boun...@lists.runrev.com To: How to use Revolution ReplyTo: How to use Revolution Subject: Re: Datagrid - Selecting a line after s

Re: Datagrid: How get column data from other column behavior

2010-04-09 Thread Andre.Bisseret
Bonjour, Assuming I have a datagrid "cellar" with Appellation / Price Bourgogne / 43 Bordeaux / 38 Aubance / 25 I want to change the price of one wine 1 - the user has to select a line then put the dgHilitedLines of grp "Cellar" into tLine put the dgDataOfLine[tLine] of grp "Cellar" into theD

Re: what form of "split" turns a tab-delimited variable into an array with the first line as keys?

2010-04-09 Thread Michael Kann
Using asterisks instead of tabs, put name*color*food Trevor*green*salad Sarah*blue*pizza into fld 1 -- Use this script: -- on mouseUp set the itemDelimiter to "*" put fld 1 into v put line 1 of v into headers_line delete line 1 of v

Re: [OT] Mac Batch Converter

2010-04-09 Thread Bob Sneidar
It may. I will give that a try. But I don't think anything but iTunes can even play M4P encoded songs. Bob On Apr 8, 2010, at 5:32 PM, Mark Swindell wrote: > Would this help? In Quicktime Player, open the AV Controls (Window/Show A/V > Contols). There you can change both playback speed and p

Re: what form of "split" turns a tab-delimited variable into an array with the first line as keys?

2010-04-09 Thread Bob Sneidar
Just had a few rounds with split and combine, and they are not what you think they are. Split takes the first value in a delimited line and that becomes the key. The rest of the items become the elements. The commands are fairly useless for much of anything. Bob On Apr 9, 2010, at 12:07 AM,

Datagrid locking field

2010-04-09 Thread jrarick
I am very appreciative of all the things that dg can do. But what I need is a way to PREVENT the user from editing a fld. I need to be able to disable the mousedouble messages. Is this possible? I am using the guide and the tutorials ... But obviously not well enough! Thanks - as always and in

on mouseEnter

2010-04-09 Thread Andrew Kluthe
Currently, I have a stack that attaches to whatever window is open and provide help information for my application. In each object that I wanted help information for is a on mouseEnter handler that changes the text of the help information stack. I was thinking a better way to do this might be to

Re: what form of "split" turns a tab-delimited variable into an array with the first line as keys?

2010-04-09 Thread Björnke von Gierke
That the split and combines are useless is completely wrong. I use them all the time and it's a huge timesaver for manipulating x,y matrices. Of course, for the given Task, they do not work for what you want directly. You'll need to change the orientation first, for example thusly: on mouseUp

Re: Datagrid: How get column data from other column behavior

2010-04-09 Thread Trevor DeVore
On Apr 9, 2010, at 10:46 AM, Andre.Bisseret wrote: Assuming I have a datagrid "cellar" with Appellation / Price Bourgogne / 43 Bordeaux / 38 Aubance / 25 I want to change the price of one wine 1 - the user has to select a line then put the dgHilitedLines of grp "Cellar" into tLine put the dg

Re: Datagrid locking field

2010-04-09 Thread Trevor DeVore
On Apr 9, 2010, at 11:20 AM, jrar...@hpsk12.net wrote: I am very appreciative of all the things that dg can do. But what I need is a way to PREVENT the user from editing a fld. I need to be able to disable the mousedouble messages. Is this possible? I am using the guide and the tutorials ..

Re: [OT] Mac Batch Converter

2010-04-09 Thread Richmond Mathewson
On 09/04/2010 18:03, Bob Sneidar wrote: It may. I will give that a try. But I don't think anything but iTunes can even play M4P encoded songs. Bob Have a look at this: http://www.noteburner.com/itunes-music-mp3-player.html ___ use-revolution mail

Re: [OT] Mac Batch Converter

2010-04-09 Thread Ian Wood
In theory anything that's calling QT directly (such as iTunes and QuickTime Player) can play a protected MP4 file. Out of curiosity, how old is the file? The iTunes Store dropped the DRM from music files some time ago, or so i seem to remember. Ian On 9 Apr 2010, at 16:03, Bob Sneidar wrot

Re: [OT] Mac Batch Converter

2010-04-09 Thread Mark Swindell
I tested it with an mp4 before sending the post. It worked fine here, and allowed me to save the altered file, though not as an mp4, but rather a QT Movie. Mark On Apr 9, 2010, at 8:03 AM, Bob Sneidar wrote: > It may. I will give that a try. But I don't think anything but iTunes can > even p

Becoming the man who CAN?

2010-04-09 Thread Richmond Mathewson
Well, we try, we really do . . . :) Although some of us, who are not men, may be a bit miffed by being offered the chance. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Becoming the man who CAN?

2010-04-09 Thread Richmond Mathewson
"Supercharge your learning with a free Conference in a Box" . . . Dear me; must be the Bulgarian Postal Services to blame this time. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and man

Re: Becoming the man who CAN?

2010-04-09 Thread Neal Campbell
Reminds me of the joke Johnny Depp used in one of Robert Rodriquez's movies "Do you want to be a Mexican or a Mexican't?" Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER On Fri, Apr 9, 2010 at 1:00 PM, Richmond Mathewson < richmondmathew...@gmail.co

Implementing the Mac "Quick Look" type of window

2010-04-09 Thread Peter Haworth
Not sure the correct term for this but I'm looking for a way to to implement windows that look like the "Quick Look" windows on a Mac. They "explode" out from the document icon popup menu that you select the Quick Look function from. They have a semi-transparent border around the document

Re: Implementing the Mac "Quick Look" type of window

2010-04-09 Thread Devin Asay
On Apr 9, 2010, at 11:07 AM, Peter Haworth wrote: > Not sure the correct term for this but I'm looking for a way to to > implement windows that look like the "Quick Look" windows on a Mac. > They "explode" out from the document icon popup menu that you select > the Quick Look function from

Re: This is what it actually says

2010-04-09 Thread Richmond Mathewson
On 09/04/2010 10:47, Peter Alcibiades wrote: "Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications

Re: how to tell if an app is running

2010-04-09 Thread zryip theSlug
2010/4/9 Peter Brigham MD : > How do I tell if an app (eg, iTunes) is up and running vs not open? I'm > assuming there's no native Rev function for this (or am I missing > something?) and I'm not familiar enough with shell commands to figure it > out. > > -- Peter > Hi Peter, I invite you to read

Re: what form of "split" turns a tab-delimited variable into an array with the first line as keys?

2010-04-09 Thread Jim Ault
On Apr 9, 2010, at 8:13 AM, Bob Sneidar wrote: Just had a few rounds with split and combine, and they are not what you think they are. Split takes the first value in a delimited line and that becomes the key. The rest of the items become the elements. The commands are fairly useless for muc

Re: on mouseEnter

2010-04-09 Thread zryip theSlug
2010/4/9 Andrew Kluthe : > > Currently, I have a stack that attaches to whatever window is open and > provide help information for my application. > > In each object that I wanted help information for is a on mouseEnter handler > that changes the text of the help information stack. > > I was thinki

Re: Datagrid: How get column data from other column behavior

2010-04-09 Thread Andre.Bisseret
Thanks a lot Trevor for you advices Am learning more and more about data grid (and arrays); very exciting indeed ;-))) André Le 9 avr. 10 à 17:58, Trevor DeVore a écrit : On Apr 9, 2010, at 10:46 AM, Andre.Bisseret wrote: Assuming I have a datagrid "cellar" with Appellation / Price Bour

Re: how to tell if an app is running

2010-04-09 Thread Peter Brigham MD
I thought there had been something recent on this. Thanks. I should have put in in my library when I first saw it, but I didn't. Now I have. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Apr 9, 2010, at 1:42 PM, zryip theSlug wrote: 2010/4/9 Peter Brigham M

Re: on mouseEnter

2010-04-09 Thread Andrew Kluthe
Well said Zryip! Thank you. :) This will make it much easier to be more comprehenisve. -- View this message in context: http://n4.nabble.com/on-mouseEnter-tp1819477p1819781.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ us

Re: [OT] Mac Batch Converter

2010-04-09 Thread Bob Sneidar
Ho hey! They have a Mac version! I may have to love this. Bob On Apr 9, 2010, at 9:06 AM, Richmond Mathewson wrote: > On 09/04/2010 18:03, Bob Sneidar wrote: >> It may. I will give that a try. But I don't think anything but iTunes can >> even play M4P encoded songs. >> >> Bob >> >> > Have a

Re: revMobile

2010-04-09 Thread François Chaplais
I have read Gruber's post and (sadly?) it makes sense. Lowest common denominators are things that have almost killed Apple in the past. Just think of the three letter extension for files; the mess that has resulted in the file/creator binding. I have also received a post from Kevin Miller, as I

putting an icon in the mac system menubar?

2010-04-09 Thread Peter Brigham MD
Is there any way of putting an icon for an app into the Mac system menubar -- up near the spaces, airport, & battery icons, etc. ? My wish is for a clickable icon available at all times in all spaces. Can this be done? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmb

Re: revMobile

2010-04-09 Thread Richard Gaskin
François Chaplais wrote: > I have read Gruber's post and (sadly?) it makes sense. Lowest > common denominators are things that have almost killed Apple > in the past. Just think of the three letter extension for > files; the mess that has resulted in the file/creator binding. > I have also receiv

Re: what form of "split" turns a tab-delimited variable into an array with the first line as keys?

2010-04-09 Thread Josh Mellicker
Thanks for everyone's help. Though Bjoernke's solution looks clever, I could not get it to work. I ended up with this ugly thing: function turnIntoArray p put line 1 of p into tHeaders set the itemDelimiter to tab repeat with x = 2 to the number of lines in p repeat with y = 1 to

Re: what form of "split" turns a tab-delimited variable into an array with the first line as keys?

2010-04-09 Thread Björnke von Gierke
Oi my solution works fine, it must b your computer that's amiss :P No seriously, i tested it here and it did what I thought you wanted? On 10 Apr 2010, at 00:06, Josh Mellicker wrote: > Thanks for everyone's help. > > Though Bjoernke's solution looks clever, I could not get it to work. > > I

Re: [OT] Mac Batch Converter

2010-04-09 Thread Bob Sneidar
This works like a charm. I originally thought it only produced MP3,s but it also produces AAC files. It has a Mac and a Windows version. Very nice. It makes a virtual CD burner, then tricks iTunes into burning to it, but it simply outputs the files where you tell it to. Bob On Apr 9, 2010, a

Re: revMobile

2010-04-09 Thread Peter Alcibiades
Excellent article in the link. Hits the nail on the head. Its a very high stakes game, this one, if you are Apple. Where is Rev for Android, by the way? Or does Rev for Linux run on it, out of the box? I haven't tried Android, is it just another Linux distribution from a development point of

Re: revMobile

2010-04-09 Thread Björnke von Gierke
I think the new eula was crafted overzealously out of an accident, somewhere deep in the dungeon of infinite loop, where they cage the lawyers. If I'm right, then the problematic rule will be fixed sooner or later. my 2 Rappen -- official ChatRev page: http://bjoernke.com?target=chatrev Cha

Re: revMobile

2010-04-09 Thread Richard Gaskin
Peter Alcibiades wrote: > Where is Rev for Android, by the way? Or does Rev for Linux run on > it, out of the box? While I've not read any public statements from RunRev that they will be supporting Android, Gartner expects them to overtake iPhone OS by 2012 so I'd be surprised if RunRev wasn't

Re: revMobile

2010-04-09 Thread Scott Rossi
Recently, Richard Gaskin wrote: >> I haven't tried Android, is it just another Linux distribution >> from a development point of view? > > I haven't played with it myself, but the v2.1 specs are impressive and > Apple's licensing is encouraging me to consider getting a device that > runs it. ;)

Re: What does the 4.0 iPhone SDK mean for revMobile?

2010-04-09 Thread Jerry Daniels
Found this post interesting: The primary reason for the change, say sources familiar with Apple's plans, is to support sophisticated new multitasking APIs in iPhone 4.0. The system will now be evaluating apps as they run in order to implement smart multitasking. It can't do this if apps are run

Re: on mouseEnter

2010-04-09 Thread DunbarX
I wrote a helper stack that traps mouseEnter and then does stuff. The optionKey has to be down in my version, but it works pretty seamlessly. The stack is called "wizard" and was just updated at revOnLine. Look at the stack script, which is made a backscript when the stack is opened. It might g

Authenicated URLs for Amazon S3 in on-rev

2010-04-09 Thread Martin Koob
Is it possible to generate authenticated URLs for Amazon S3 on on-rev? I have tried out Mark Smiths libS3 and libAWS in a stack and have had success with that but I was wondering whether I could do the same thing in on-rev. Basically I just want to generate a time limited url for files stored on

Authenicated URLs for Amazon S3 in on-rev

2010-04-09 Thread Martin Koob
Is it possible to generate authenticated URLs for Amazon S3 on on-rev? I have tried out Mark Smiths libS3 and libAWS in a stack and have had success with that but I was wondering whether I could do the same thing in on-rev. Basically I just want to generate a time limited url for files stored on

Re: What does the 4.0 iPhone SDK mean for revMobile?

2010-04-09 Thread Peter Alcibiades
I came upon this in the Ars thread on the subject, where there is generally more heat than light on this issue, but didn't really understand concretely what exactly it is saying. If that were what the objective was, why would Apple not simply set standards for the way the compiled app must work

Re: What does the 4.0 iPhone SDK mean for revMobile?

2010-04-09 Thread Colin Holgate
There are a number of flaws in the arguments in that message. Currently all old apps, proper XCode ones or non-XCode ones, don't behave correctly with the multitasking. Some apps don't pause when you're fast app switching, and even the ones that do pause do a start from scratch when you return t

Re: What does the 4.0 iPhone SDK mean for revMobile?

2010-04-09 Thread René Micout
Le 10 avr. 2010 à 05:57, Colin Holgate a écrit : > > It is quite possible that anything that is XCode based might start to behave > properly if just recompiled under the SDK4, and that would indeed show an > advantage of having used XCode. But what Apple could do is insist that all > apps hono

Re: Implementing the Mac "Quick Look" type of window

2010-04-09 Thread René Micout
Thank you Devin ! Very useful ! René Le 9 avr. 2010 à 19:15, Devin Asay a écrit : > > On Apr 9, 2010, at 11:07 AM, Peter Haworth wrote: > >> Not sure the correct term for this but I'm looking for a way to to >> implement windows that look like the "Quick Look" windows on a Mac. >> They "exp