Alex Tweedly | 1 Oct 01:20 2010
Picon

Re: uuencode/uudecode


Sorry about the delay - I started this interesting exercise, but got 
distracted .....

Here's a simple script that handles uuencoding a file. It's been 
moderately, but not thoroughly, tested.

> on mouseUp
>    answer file "Select a file"
>    if it is empty then exit mouseUp
>    put URL ("binfile:" & it) into tOriginal
>    -- put "Cat" into tOriginal
>    put uuencode(tOriginal, "000", "text") into tEncoded
>    put tEncoded after field "fLog"
>    put CR & the number of chars in tOriginal && the number of chars in 
> tEncoded after field "fLog"
> end mouseUp
>
> function uuencode pData, pPermission, pName
>    put 1 into tBase
>    put "begin" && pPermission && pName & CR into tOutput
>
>    put the number of chars in pData into tLen
>    put numToChar(0) & numToChar(0) & numToChar(0) after pData
>
>    put empty into tLine
>    repeat until tBase > tLen-2   -- i.e. all full words before the padding
>       put charToNum(byte tBase of pData) * 256 * 256 into t
>       add charToNum(byte tBase+1 of pData) * 256 to t
>       add charToNum(byte tBase+2 of pData) to t
(Continue reading)

Mark Schonewille | 1 Oct 01:27 2010

ANN: Installer Maker Plugin 1.4.1

Hi all,

This is an important announcement for all users of the Installer Maker Plugin. A user found a small but
important bug in the Installer Maker Plugin earlier today. The bug has been fixed and it is recommended to
download the latest version of the plugin.

You can download a new copy of the Installer Maker Plugin at http://qurl.tk/ce and more information can be
found at http://qurl.tk/i0 .

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Sivakatirswami | 1 Oct 02:11 2010

Re: INSERT into PostGreSQL triggers "RevdbError" but no error

  Aloha, Pierre:

Thank you!  there is nothing wrong with my SQL

If I use:
-------
put "INSERT INTO some-table (first_name, last_name, anonymous) VALUES 
('Batman', 'MosquitoEater', TRUE);" into tSQL
revExecuteSQL gConnectionID,tSQL
put the result into tResponse
-------

I get  '1'  which is success

ergo:  if my assumptions are correct, if you use revDataFromQuery for an 
insertion and
query the result you will get an error.

which makes sense... the latter is getting data out, the former is 
putting data in.
Problem solved, or rather, no problem at all except,
I was using the wrong rev dbase command for inserting data.

I guess I should probably study every single one of the revdb cmds in 
the library.

Om shanti
Sivakatirswami

On 9/30/10 12:17 PM, Pierre Sahores wrote:
(Continue reading)

Mark Swindell | 1 Oct 05:17 2010
Picon

Listing all the unique words in a piece of text (Resource Center broken?)

There's a sample script in the LiveCode Resource Center called "listing all the unique words in a piece of
text."  It's located under "Resource Center/Sample Scripts/Text/Listing all the ..." 

There's a button available to download the script.  Unfortunately it doesn't  appear to work and I can't peek
into the actual button containing the script.

I used both LiveCode and Rev Studio 4.0... same result.

If anyone has a minute to look and see if this is consistent with their setup, I'd appreciate it.  (Or if anyone
has the code, I'd appreciate getting it.)

Thanks,
Mark_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Mark Swindell | 1 Oct 05:42 2010
Picon

Re: Listing all the unique words in a piece of text (Resource Center broken?)

I stumbled upon the solution to my own problem quite by accident.  After clicking on "copy script" of another
item (with again no feedback whatsoever) I went back to my stack and attempted to paste a different script
into a field (not the button script as I had tried before), on the off chance it would paste.  

Buttons and fields appeared out of nowhere.  You're not copying the script, but an entire group and the
objects it holds, and you're not given any feedback.  I'm glad I have the script, but this implementation is
pretty funky.

Mark

On Sep 30, 2010, at 8:17 PM, Mark Swindell wrote:

> There's a sample script in the LiveCode Resource Center called "listing all the unique words in a piece of
text."  It's located under "Resource Center/Sample Scripts/Text/Listing all the ..." 
> 
> There's a button available to download the script.  Unfortunately it doesn't  appear to work and I can't
peek into the actual button containing the script.
> 
> I used both LiveCode and Rev Studio 4.0... same result.
> 
> If anyone has a minute to look and see if this is consistent with their setup, I'd appreciate it.  (Or if
anyone has the code, I'd appreciate getting it.)
> 
> Thanks,
> Mark
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
(Continue reading)

Phil Davis | 1 Oct 07:18 2010
Picon

Re: Listing all the unique words in a piece of text (Resource Center broken?)

  Hi Mark,

It's not hard!

repeat for each word tWord in tYourtext
    add 1 to aWordCounts[tWord]
end repeat
put the keys of aWordCounts into tList
sort lines of tList
put tList

... but you probably figured this out by now.

Phil

On 9/30/10 8:17 PM, Mark Swindell wrote:
> There's a sample script in the LiveCode Resource Center called "listing all the unique words in a piece of
text."  It's located under "Resource Center/Sample Scripts/Text/Listing all the ..."
>
> There's a button available to download the script.  Unfortunately it doesn't  appear to work and I can't
peek into the actual button containing the script.
>
> I used both LiveCode and Rev Studio 4.0... same result.
>
> If anyone has a minute to look and see if this is consistent with their setup, I'd appreciate it.  (Or if
anyone has the code, I'd appreciate getting it.)
>
> Thanks,
> Mark_______________________________________________
> use-revolution mailing list
(Continue reading)

Joe Lewis Wilkins | 1 Oct 08:38 2010
Picon
Picon

WINDOWS VERSION MENU PROBLEM - architect

Hi everyone,

The Window's version of my app displays the following Menu:


The File and Go Menus are the ones with black backgrounds. The Mac Version is fine. I've checked the
backColors and hilite properties that "might" be the cause of this idiosyncrasy to no avail. Any ideas.
The Windows version is run in XP under Fusion. Also, something that might be "related" to this: The text
selections in editable text fields are comparably dark. There's probably a place to set this color, but
I've yet to find it. I'm not too "up" on the use of Windows.

TIA, 

Joe Wilkins

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Joe Lewis Wilkins | 1 Oct 08:42 2010
Picon
Picon

Re: WINDOWS VERSION MENU PROBLEM - architect

I see that the List won't allow me to show even a very small screen shot. So, to describe the problem in words:
The menu consists of four menus - File Edit Go Help. The menus all work, but you can't read the File or Go menus
easily. It's as if the background is set to some very dark color.
TIA,
Joe

On Sep 30, 2010, at 11:38 PM, Joe Lewis Wilkins wrote:

> Hi everyone,
> 
> The Window's version of my app displays the following Menu:
> 
> 
> The File and Go Menus are the ones with black backgrounds. The Mac Version is fine. I've checked the
backColors and hilite properties that "might" be the cause of this idiosyncrasy to no avail. Any ideas.
The Windows version is run in XP under Fusion. Also, something that might be "related" to this: The text
selections in editable text fields are comparably dark. There's probably a place to set this color, but
I've yet to find it. I'm not too "up" on the use of Windows.
> 
> TIA, 
> 
> Joe Wilkins
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
(Continue reading)

David Glasgow | 1 Oct 09:29 2010
Picon

Re: data from USB joystick


On 28 Sep 2010, at 6:00 pm, -=>JB<=- wrote:
> 
> 
> 
> On Mac I use USB Overdrive.
> 
> http://www.usboverdrive.com/USBOverdrive/News.html
> 
> -=>JB<=-

Thanks for the suggestion.

I downloaded this shareware, and it does the trick on Mac.  You can set it up so a joystick generates rawkey
messages.  This won't be  a solution for delivering a final product, but at least I will be able to do some
development work.

The only fly in the ointment is that even when disabled, USBOverdrive blocks scrolling on my Magic Mouse.  It
is bad enough that I travel England stroking other people's mice and shouting "D,Oh!" but now I do it on my
own mouse.

Best Wishes,

David Glasgow
Carlton Glasgow Partnership

i-psych.co.uk

_______________________________________________
use-revolution mailing list
(Continue reading)

Medard | 1 Oct 09:32 2010

"Live Code" owned by Microsoft (and others) ? [Was: Re: GOOSE BUMPS]

René Micout <rene.micout@...> wrote:

> 8th in France !

1st here* -- but it is a trademark of codelab ;->
and their start page is definitevely hideous [pity for my eyes!]

the third is:
http://www.abstractmachine.net/thesis/diagrams.php?name=livecode

the 7th:
http://www.commentcamarche.net/forum/affich-5568363-windows-live-code-d-
erreure-a-l-aide

the 9th: at last,
http://www.runrev.com/home/product-family/

> it seems that "Live Code" is a Windows thing!?

* with the metasearch engine "Ixquick"
"Ixquick Protects Your Privacy"
http://eu.ixquick.com/eng/
known as "StartPage" in the USA
http://www.startpage.com/

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
(Continue reading)


Gmane