RE: Mount Volume?

2006-08-01 Thread RBNUBE
I'm not sure if RB can do this alone. I remember asking a similar question a year ago or so and I don't think I received an answer. I think this can be done using AppleScript from within your RB application. You can probably also accomplish the same thing by launching an external VBS script or BA

RE: store a dictionary

2006-08-01 Thread Walter Purvis
It occurs to me that you might not be able to ctrl-click and save-as in an email, i.e., in Mail -- I don't know, I'm not on a Mac, but I can't right-click and save-as in Outlook -- so you might have to go to the web page http://www.tildesoft.com/Files/ and then ctrl-click save-as the file from ther

Re: store a dictionary

2006-08-01 Thread Lennox Jacob
Try Option-Click, no problem Lennox. Sven E Olsson <[EMAIL PROTECTED]> wrote: On 2006-08-01, at 7:05 PM, [EMAIL PROTECTED] wrote: > THanks Walter. However, when I try to download this, I get about 10 > pages of > text in Safari rather than a file. > > >> >> Try XMLDictionary: >> http://www.til

Re: store a dictionary

2006-08-01 Thread Sven E Olsson
On 2006-08-01, at 7:05 PM, [EMAIL PROTECTED] wrote: THanks Walter. However, when I try to download this, I get about 10 pages of text in Safari rather than a file. Try XMLDictionary: http://www.tildesoft.com/Files/XMLDictionary.rb Use Ctrl + Mouse down... and Save File to Desktop..

Re: help: saving ' (apostrophe) to a textfile

2006-08-01 Thread Lennox Jacob
Thanks Sven and tthanks Joe, Mathieu's suggestion works great for me, it is only one editfield that I will need to use it in. I saved the RB Text Encoding FAQ as a .pdf file and I will go through it. Thanks again, as always. Lennox. Sven E Olsson <[EMAIL PROTECTED]> wrote: On 2006-08-01, at 9:0

Re: help: saving ' (apostrophe) to a textfile

2006-08-01 Thread Lennox Jacob
Thanks Mathieu, Worked great. Not all that difficult as I thought. Lennox. Mathieu Langlois <[EMAIL PROTECTED]> wrote: You have just experienced encoding hell. Try something like text = text.convertencoding(encodings.macroman) before outputting to the file (assuming you're working on a mac, on w

Re: help: saving ' (apostrophe) to a textfile

2006-08-01 Thread Sven E Olsson
On 2006-08-01, at 9:07 PM, Lennox Jacob wrote: Hello, If Editfield1 has an apostrophe like O'Sullivan's and tos.EditField1.text is used to copy Editfield1's data to an external file, this is what I get O’Sullivan’s How do I get around that? Thanks. Lennox. Here is

Re: help: saving ' (apostrophe) to a textfile

2006-08-01 Thread joe
On Aug 01, 2006, at 20:09 UTC, Mathieu Langlois wrote: > You have just experienced encoding hell. Try something like text = > text.convertencoding(encodings.macroman) before outputting to the file > (assuming you're working on a mac, on windows replace macroman by > windowslatin1). > > The reaso

Re: help: saving ' (apostrophe) to a textfile

2006-08-01 Thread Mathieu Langlois
You have just experienced encoding hell. Try something like text = text.convertencoding(encodings.macroman) before outputting to the file (assuming you're working on a mac, on windows replace macroman by windowslatin1). The reason is because RB defaults to UTF8 so you need to explicitly convert

Re: Help: Moving from one editfield to next automatically

2006-08-01 Thread Lennox Jacob
Never mind, I got it EditField2.setFocus Thanks. Lennox. Lennox Jacob <[EMAIL PROTECTED]> wrote: Hello, I have an editfield that I have limited its text to 1 (LimitText 1), so what I want is that after one character has been entered the cursor moves to the next EditField automatically, I have al

Help: Moving from one editfield to next automatically

2006-08-01 Thread Lennox Jacob
Hello, I have an editfield that I have limited its text to 1 (LimitText 1), so what I want is that after one character has been entered the cursor moves to the next EditField automatically, I have already configured the next editfield's Control Order. Thanks. Lennox. --

Mount Volume?

2006-08-01 Thread Dixon, Tom
I am using a SelectFolderDialog to return a FolderItem for preference settings in an application that will move files from a source folder to a destination folder. I would like this application to auto-mount any network volumes on application startup based on the saved FolderItem in the Preferences

help: saving ' (apostrophe) to a textfile

2006-08-01 Thread Lennox Jacob
Hello, If Editfield1 has an apostrophe like O'Sullivan's and tos.EditField1.text is used to copy Editfield1's data to an external file, this is what I get O’Sullivan’s How do I get around that? Thanks. Lennox. - Do you Yahoo!? Next-gen email?

Re: store a dictionary

2006-08-01 Thread Charles Yeomans
Just save the page to disk, and set its extension to .rb. Then you should be able to open it in REALbasic. Charles Yeomans On Aug 1, 2006, at 1:12 PM, Walter Purvis wrote: That's a problem with your Safari then, and I don't have any advice for that. -Original Message- THanks W

RE: store a dictionary

2006-08-01 Thread Walter Purvis
That's a problem with your Safari then, and I don't have any advice for that. > -Original Message- > THanks Walter. However, when I try to download this, I get > about 10 pages of text in Safari rather than a file. > > > > Try XMLDictionary: > > http://www.tildesoft.com/Files/XMLD

RE: store a dictionary

2006-08-01 Thread GAmoore
THanks Walter. However, when I try to download this, I get about 10 pages of text in Safari rather than a file. > > Try XMLDictionary: > http://www.tildesoft.com/Files/XMLDictionary.rb > ___ Unsubscribe or switch delivery mode:

RE: Sorting ListBox Columns

2006-08-01 Thread Carlos M
One of the great features RB provides is the In-Memory databases (SQLite) and you can use it for this kind of situation. Create an In-Memory database to store the result recorset and then perform the selects and sorts from this database. You can also create indexes for the columns that are sortabl

Re: Sorting ListBox Columns

2006-08-01 Thread CV
On Aug 1, 2006, at 7:55 AM, Chuck Pelto wrote: This information should help me in doing that. Thanks. I have a working demo. I'd be happy to email it to you if that would be helpful. Jack ___ Unsubscribe or switch delivery mode:

Re: Sorting ListBox Columns

2006-08-01 Thread Chuck Pelto
On Aug 1, 2006, at 8:22 AM, Charles Yeomans wrote: Perhaps you should LOOK HERE -- . That looks interesting. Thanks Regards, Chuck ___ Unsubscribe or switch delivery mode:

Re: Sorting ListBox Columns

2006-08-01 Thread Chuck Pelto
On Aug 1, 2006, at 8:17 AM, CV wrote: Create a new class, say SortData, and give it two properties: ColumnSorted as integer, SortDirection as string. Add a method called Constructor with parameters: Column as integer, Direction as integer. Ah yes. I still have to master that business of

Re: Sorting ListBox Columns

2006-08-01 Thread Chuck Pelto
Hi John, On Aug 1, 2006, at 5:53 AM, John Kubie wrote: I don't know if this fits, but perhaps an alternative is not to sort in the listbox, but to sort using "sortwith". Each column would be a one-dimensional array. When the header is pressed, the press would be captured and that dimension

Re: Sorting ListBox Columns

2006-08-01 Thread CV
On Aug 1, 2006, at 3:02 AM, Chuck Pelto wrote: On Jul 31, 2006, at 7:34 PM, CV wrote: I'd suggest loading your array from the Action event handler of a Timer(mode 1) enabled from HeaderPressed. You can experiment with the Period, but regardless, the Timer is designed to wait until othe

Re: Sorting ListBox Columns

2006-08-01 Thread Charles Yeomans
On Aug 1, 2006, at 6:02 AM, Chuck Pelto wrote: On Jul 31, 2006, at 7:34 PM, CV wrote: I'd suggest loading your array from the Action event handler of a Timer(mode 1) enabled from HeaderPressed. You can experiment with the Period, but regardless, the Timer is designed to wait until other

Re: Sorting ListBox Columns

2006-08-01 Thread John Kubie
I don't know if this fits, but perhaps an alternative is not to sort in the listbox, but to sort using "sortwith". Each column would be a one-dimensional array. When the header is pressed, the press would be captured and that dimension would become the 'sort' column of the sort and all othe

Re: Sorting ListBox Columns

2006-08-01 Thread Chuck Pelto
On Jul 31, 2006, at 7:34 PM, CV wrote: I'd suggest loading your array from the Action event handler of a Timer(mode 1) enabled from HeaderPressed. You can experiment with the Period, but regardless, the Timer is designed to wait until other processes are completed, so it should readily cap