Re: Setting the cursor

2012-01-02 Thread René Micout
Hello Jim, See in dictionary : xHot and yHot properties Bon souvenir de Paris René Le 2 janv. 2012 à 08:23, James Hurley a écrit : How do I set the loc of the cursor? By script, of course. Jim ___ use-livecode mailing list

Re: Installer Maker 33% OFF

2012-01-02 Thread Matthias Rebbe
Mark, just for your information: The code has expired. At least that´s what Plimus is saying. Regards, Matthias Am 02.01.2012 um 11:41 schrieb Mark Schonewille: Hi everyone, First of all, a happy new year to everyone reading this list. I wish you all a productive year with very few

OFF TOPIC virtualize windows on mac

2012-01-02 Thread jva...@1234web.net
Hello, starting with an old Macbook would like to know your expert opinion about what is the best virtualization solution to run Windows on Mac, from a developer point of view. Thanks and Happy New Year -- Jose ___ use-livecode mailing list

Re: OFF TOPIC virtualize windows on mac

2012-01-02 Thread Roger Eller
On Mon, Jan 2, 2012 at 8:45 AM, jva...@1234web.net wrote: Hello, starting with an old Macbook would like to know your expert opinion about what is the best virtualization solution to run Windows on Mac, from a developer point of view. Thanks and Happy New Year -- Jose If the Mac is

Re: [OT] 2012

2012-01-02 Thread Ken Ray
On Jan 2, 2012, at 1:56 AM, René Micout wrote: Hello camarades, All my best wishes for this new year. Tous mes meilleurs vœux pour cette nouvelle année 2012. Same to you, René! Here's hoping that 2012 is a lot better than 2011 was! (Mayan predictions not withstanding…) ;-) Ken Ray Sons of

Re: Setting the cursor

2012-01-02 Thread Ken Ray
On Jan 2, 2012, at 1:23 AM, James Hurley wrote: How do I set the loc of the cursor? By script, of course. set the screenMouseLoc to location :D Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/

Re: OFF TOPIC virtualize windows on mac

2012-01-02 Thread Ken Ray
If not, VMware Fusion is very good, and also Parallels Desktop for Mac. Just FYI, I've read a ton of comparisons on these two, and own both, and over the last year or two, Parallels has always come out ahead of VMWare in the published reviews. I can back that up with personal experience,

Visible text calculation

2012-01-02 Thread FlexibleLearning
Has anyone figured out how to convert pageHeights into the equivalent character offsets of a field with variable lineHeights (e.g. char 1 to 174, char 175 to 315, char 316 to 420)? Put another way, using pageHeights to print a scrolling field, list the first and last chars of each printed page.

iOS Browser Print

2012-01-02 Thread Dan Friedman
Happy New Year! Question... is it possible to print a iOS Browser Control? For example, you have a web page loaded up in a browser control in your iPad project. Can I add a Print button so the user can print the web page? Thanks! -Dan ___

Scripting a text to binary digits converter

2012-01-02 Thread Bryan McCormick
I have seen a number of sites that use a text to binary digits converter for simple encryption. Such that this is my text would be written as 01110100011011101001011100110010011010010111001100100110110100010010011101000110010101110100 What is the simplest way of

Re: Printing from iOS

2012-01-02 Thread Dan Friedman
Yes, I have... It's a little bit of a pain, but it's working quite well! You have to use the rrehardcopy external. It's provided in the LiveCodeSDK-R10 package (http://www.runrev.com/developers/documentation/externals-sdk/). Include it in your iOS standalone and it will popup the standard

Re: Scripting a text to binary digits converter

2012-01-02 Thread -=JB=-
The scripts below will convert between ASCII and Binary Use a repeat on each char to convert the whole sentence. Put the whole thing in a button to test how it works and then rewrite the code without using ask and answer. -=JB=-

Re: Listen for messages in FrontScripts

2012-01-02 Thread Todd Geist
On Sun, Jan 1, 2012 at 8:38 PM, Mark Wieder mwie...@ahsoftware.net wrote: Todd- Sunday, January 1, 2012, 4:40:47 PM, you wrote: Why would you want to do this? The only time I issue a dispatch without a target is in a behavior script, and in that case the message is delivered to the parent

Re: Scripting a text to binary digits converter

2012-01-02 Thread -=JB=-
That looks like a better way to go because it will also pad the binary with the proper amount of zeros. -=JB=- On Jan 2, 2012, at 11:14 AM, gpb01 wrote: Bryan McCormick wrote I have seen a number of sites that use a text to binary digits converter for simple encryption. Such that this

Scripting a text to binary digits converter

2012-01-02 Thread Bryan McCormick
JB, Guglielmo This appears to work for my purposes and is pretty speedy. See anything that might break? --- function convertTextToBinary varText repeat with n = 1 to the number of chars of varText put chartonum(char n of varText) into theNum

Re: Scripting a text to binary digits converter

2012-01-02 Thread -=JB=-
When I did a quick read of binaryEncode() I was thinking it said you could enter the number of chars you want to convert which would eliminate the need for a repeat structure but I did not try it and could be wrong. -=JB=- On Jan 2, 2012, at 12:23 PM, Bryan McCormick wrote: JB, Guglielmo

Re: Setting the cursor

2012-01-02 Thread Jim Hurley
Thanks Ken, I see that the dictionary warns against taking control of the mouse, The discussion concludes with this admonishment: You must use this power only for good. I feel evil. I just wanted to simulate the clicking of a button in my help script. I will need to consult my spiritual

Scripting a text to binary digits converter

2012-01-02 Thread Bryan McCormick
JB, Well it gives some peculiar results because I clearly don't know much about the encoding process in terms of passing the right params. I rewrote this to be more general. Give it a try if you like and let me know. It will handle carriage returns and such properly. Seems speedy enough

Re: Scripting a text to binary digits converter

2012-01-02 Thread gpb01
Bryan McCormick wrote JB, Guglielmo This appears to work for my purposes and is pretty speedy. See anything that might break? --- function convertTextToBinary varText repeat with n = 1 to the number of chars of varText put

Re: Scripting a text to binary digits converter

2012-01-02 Thread Guglielmo Braguglia
You can or specify the number of character you want, or the * symbol which means ALL ;) Guglielmo On 02.01.2012 21:36, -=JB=- wrote: When I did a quick read of binaryEncode() I was thinking it said you could enter the number of chars you want to convert which would eliminate the need for a

Re: Scripting a text to binary digits converter

2012-01-02 Thread Jim Ault
On Jan 2, 2012, at 3:54 PM, Bryan McCormick wrote: put baseConvert(theNum,10,2) into tBaseConverted if length(tBaseConverted) 8 then repeat until length(tBaseConverted)= 8 put 0 before tBaseConverted end repeat end if Alternative technique is to...

Re: Setting the cursor

2012-01-02 Thread J. Landman Gay
On 1/2/12 2:37 PM, Jim Hurley wrote: Thanks Ken, I see that the dictionary warns against taking control of the mouse, The discussion concludes with this admonishment: You must use this power only for good. I feel evil. I just wanted to simulate the clicking of a button in my help script. I

Scripting a text to binary digits converter

2012-01-02 Thread Bryan McCormick
JB, Jim, Guglielmo Okay, this is the final version of the script which does seem considerably faster than where I started. Thanks to all. Hope this was a useful walk-through. Any other suggestions on ways to improve? - function

Re: OFF TOPIC virtualize windows on mac

2012-01-02 Thread Pierre Sahores
Virtualbox works always as expected in about apps or web apps testing tasks. Le 2 janv. 2012 à 14:45, jva...@1234web.net a écrit : Hello, starting with an old Macbook would like to know your expert opinion about what is the best virtualization solution to run Windows on Mac, from a

Re: Scripting a text to binary digits converter

2012-01-02 Thread Jim Ault
On Jan 2, 2012, at 4:25 PM, Bryan McCormick wrote: Jim, Thanks so much. I wonder how much faster that is? And Guglielmo, I appreciate you taking a crack at this. I don't get how to do the encode using your approach at all since I am not familiar with the params for the BinaryEncode

Re: Scripting a text to binary digits converter

2012-01-02 Thread Phil Davis
I tried using the numberFormat to pad zeroes. It worked but was about 20% slower (if I did my math correctly). I got roughly a 6% speed improvement using 'repeat for each char tChar' instead of repeat with n = 1... My test sample was 1000 chars. function convertTextToBinary varText

PDFs Not Downloading Properly From FTP Server

2012-01-02 Thread Gregory Lypny
Hello everyone, I use LiveCode to upload PDFs to a remote Mac using put url (binfile: longFileName) into url (ftp://; aFTPAddress newFileName) but when I download those same PDFs by using put url (ftp://; aFTPAddress newFileName) into url(file:// aLocalAddress

Ways to get the IDs of two already scripted buttons?

2012-01-02 Thread Kresten Bjerg
Thanks for replies John: if a mouseenter can do the job, I guess that would be OK, -does this suggestion imply, that Altclick cannot be used ? Craig: Unfortunately modifying button scripts is out of the question I am afraid, that I need a step by step, line by line, guidance in this I paste my

Re: PDFs Not Downloading Properly From FTP Server

2012-01-02 Thread Roger Eller
On Mon, Jan 2, 2012 at 5:42 PM, Gregory Lypny wrote: Hello everyone, I use LiveCode to upload PDFs to a remote Mac using put url (binfile: longFileName) into url (ftp://; aFTPAddress newFileName) but when I download those same PDFs by using put url (ftp://; aFTPAddress

Re: Ways to get the IDs of two already scripted buttons?

2012-01-02 Thread Mike Bonner
I put this into the card. It doesn't account for LOTS of things (such as multiple copies of the line if you just keep alt-clicking buttons) but does demonstrate a way to draw lines between 2 consecutively chosen buttons. If there are scripts in the button, they must pass mouseUp to work. If

Re: Scripting a text to binary digits converter

2012-01-02 Thread Kurt Kaufman
More fun with LC's binaryEncode functions (see the card script): http://www.kkef.org/MIDIBuilder031212.rev It must be pretty quick to accept from user input an ascii representation of a musical note, convert it to binary from which a MIDI file is constructed and played, then add the input to

Re: Ways to get the IDs of two already scripted buttons?

2012-01-02 Thread dunbarx
Why is modifying button scripts out of the question? You have good instincts, but need work learning the language. (wait until the object is selected) This can work out. Keep posting. You will be amazed how much help will come. Craig Newman -Original Message- From: Kresten Bjerg

Re: Another Gotcha

2012-01-02 Thread Pete
Why not do this in a mouseDown handler for the menu? On Thu, Dec 29, 2011 at 5:18 PM, Bob Sneidar b...@twft.com wrote: S'not. ;-) It's the handler that builds contextual menus. By trapping it and doing your own thing you can make your own contextual menus, or add to existing ones. I have this

Re: Take a picture iPhone camera

2012-01-02 Thread Gerry Orkin
Paolo It's in the release notes for iOS. Look for Photo album and camera support and Saving photos to the users album. Gerry On 03/01/2012, at 1:47 PM, Paolo Mazza wrote: Hi All, New year, new question! How to Take a picture (and save the image in the pictures folder) using the