Re: An really useful property for vector graphics

2011-11-13 Thread Richmond
On 11/13/2011 01:59 AM, Alejandro Tejada wrote: Hi All, How many of you have downloaded and test the stack Eps Import v05B http://www.megaupload.com/?d=TL5QP5WD Please, download this compressed folder to show you a really useful property for vector graphics. Open the stack eps_import_v05B

Re: iOS forcing interface rotation

2011-11-13 Thread Björnke von Gierke
I'm not developing in iOS, but this intrigued me. It seems you can't force a reorientation (feature request?), but you can force a lock, by using the iphoneSetAllowedOrientations with a single entry, if the user then rotates the device, the new restrictions will be adhered after that point.

Re: mouse within oval filled area

2011-11-13 Thread BNig
a simplifyed version of the hack to get at the boundaries of a oval with startangle and arcangle set. Again to get the area of a oval graphic with a startangle and an arcangle set and opaque = true you could use the new 5.0 intersect(object,object,pixels) syntax. You would have to cheat though

Re: mouse within oval filled area

2011-11-13 Thread Mike Bonner
This is probably a silly idea, but.. if you have AE 5 with its collision detection, maybe you can drag a hidden pixel around at the mouseloc and set your ovals up to detect collisions. At which point a message is sent with all the ___ use-livecode

Re: mouse within oval filled area

2011-11-13 Thread Mike Bonner
oops. accidental send on that last one. Clumsy day for me! As I was saying, if you use AE5 and drag around a pixel at the mouseloc the collision detection stuff in AE5 should make this a piece of cake. On Sun, Nov 13, 2011 at 6:51 AM, Mike Bonner bonnm...@gmail.com wrote: This is probably a

Re: mouse within oval filled area

2011-11-13 Thread James Hurley
Jacque, BOL! (Burst out laughing) This may be more recognizable, the equation for the ellipse in rectangular coordinates: x^2 + y^2 - - = 1 a^2 b^2 Just replace x by r*cos(theta) and y by r*sin(theta) and solve for r. Voila. Well maybe not. Foreign languages are not

Re: mouse within oval filled area

2011-11-13 Thread James Hurley
By the way, to see how different the startAngle is from the polar angle, make a very wide oval with a very small height. Set the startangle to 45 degrees and the arcangle to say 250. The start angle appears to be about 10 degrees. ___ use-livecode

lc shell and command line

2011-11-13 Thread Mike Bonner
Hey all, have a question re: parsing command lines. I'm working on an lcshell script (as in a script that mimics a shell like bash) and .. well the simple stuff is simple as you might guess. Its easy enough to set a prompt based on current directory, loop and read stdin for command lines, have

Re: mouse within oval filled area

2011-11-13 Thread Mike Bonner
Just tried doing the detection using AE5 and it works like a champ. With the collisionListernerDemo, a couple really simple changes gets the job done. in the card script I added the following: command startMove if tMoving is empty then put false into tMoving --put false into tMoving

Re: mouse within oval filled area

2011-11-13 Thread Mike Bonner
Oh, forgot to mention. The really cool thing about the collision listener is if you have overlapping graphics, it will list all of them as collisions. AE5 is just too cool. On Sun, Nov 13, 2011 at 8:43 AM, Mike Bonner bonnm...@gmail.com wrote: Just tried doing the detection using AE5 and it

Re: An really useful property for vector graphics

2011-11-13 Thread Alejandro Tejada
Hi Richmond, Richmond Mathewson-2 wrote: Thanks Alejandro; my weekend will be NICER now, with your stack! You are welcome! :-D I am glad that this is useful in some way, but it's good to remember that we should be using Ian MacPhail's creation: SVGL

Android Terminal Emulator

2011-11-13 Thread Mark Wieder
All- Giving a shoutout to a former coworker, I want to recommend the Best Android Tool Ever. https://market.android.com/details?id=jackpal.androidtermhl=en -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list

Problem with reading Preferences file

2011-11-13 Thread Charles Szasz
I am able to set up Preferences for my app. But the following script in the preOpenStack will NOT retrieve the data Preferences. Here is my script: IF the platform is MacOS then if there is a file (specialFolderPath(26) / mileage_prefs) then put url (binfile:

Re: Problem with reading Preferences file

2011-11-13 Thread Klaus on-rev
Hi Charles, Am 13.11.2011 um 19:14 schrieb Charles Szasz: I am able to set up Preferences for my app. But the following script in the preOpenStack will NOT retrieve the data Preferences. Here is my script: IF the platform is MacOS then if there is a file (specialFolderPath(26) /

DataGrid Speed

2011-11-13 Thread Michael Doub
Does anyone understand the basic internal workings of DataGrid enough to help me understand what is going on. I am trying to use the least amount of memory and maximize performance on IOS. I have a field of 4000 lines with 6 items in each line that have been pre-sorted. Is it better for me

Re: DataGrid Speed

2011-11-13 Thread Michael Doub
What is going on under the covers with persistent data? Can I climate a copy of the data if this is turned off? Sorry I was not clear.I understand that if persistent data is use the dgData is stored in a custom property. What about dgText? Is it recreated for the next session?

Re: Android Terminal Emulator

2011-11-13 Thread J. Landman Gay
On 11/13/11 12:10 PM, Mark Wieder wrote: All- Giving a shoutout to a former coworker, I want to recommend the Best Android Tool Ever. https://market.android.com/details?id=jackpal.androidtermhl=en Thanks for the heads-up. This is lovely and even better, free. -- Jacqueline Landman Gay

Re: Problem with reading Preferences file

2011-11-13 Thread Charles Szasz
Klaus, I left out this bit code: (put arrayDecode(tPrefs)into tPrefs) So, my code looks like this: IF the platform is MacOS then if there is a file (specialFolderPath(26) / mileage_prefs) then put url (binfile: specialFolderPath(preferences) / mileage_prefs) into tPref

Re: Problem with reading Preferences file

2011-11-13 Thread Mark Schonewille
Hi Charles, This doesn't solve the problem on Windows, but try specialfolderpath(preferences) instead of specialfolderpath(26) In Mac OS X. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter:

Re: Problem with reading Preferences file

2011-11-13 Thread Klaus on-rev
Hi Charles, Am 13.11.2011 um 19:57 schrieb Charles Szasz: Klaus, I left out this bit code: (put arrayDecode(tPrefs)into tPrefs) AHA! :-D So, my code looks like this: IF the platform is MacOS then if there is a file (specialFolderPath(26) / mileage_prefs) then OK, there is no

Re: Problem with reading Preferences file

2011-11-13 Thread Charles Szasz
Mark and Klaus, Yes, you are right. put url (binfile: specialFolderPath(preferences) / mileage_prefs) does work! I will try the following Windows code again and see if it will work. The last time it did not work. IF the platform is win32 then if there is a file

Re: mouse within oval filled area

2011-11-13 Thread J. Landman Gay
On 11/13/11 8:47 AM, James Hurley wrote: Jacque, BOL! (Burst out laughing) This may be more recognizable, the equation for the ellipse in rectangular coordinates: x^2 + y^2 - - = 1 a^2 b^2 Just replace x by r*cos(theta) and y by r*sin(theta) and solve for r. Voila.

Re: DataGrid Speed

2011-11-13 Thread zryip theSlug
On Sun, Nov 13, 2011 at 7:44 PM, Michael Doub m...@doub.com wrote: What is going on under the covers with persistent data?   Can I climate a copy of the data if this is turned off? Sorry I was not clear.    I understand that if persistent data is use the dgData is stored in a custom

Re: An really useful property for vector graphics

2011-11-13 Thread Richmond
On 11/13/2011 01:59 AM, Alejandro Tejada wrote: Hi All, How many of you have downloaded and test the stack Eps Import v05B http://www.megaupload.com/?d=TL5QP5WD Please, download this compressed folder to show you a really useful property for vector graphics. Open the stack eps_import_v05B

Re: mouse within oval filled area: A solution using geometry

2011-11-13 Thread FlexibleLearning
For those who do not have LC5 or AE (ideas already suggested), here is a solution to detect whether a point is within the filled area of an oval graphic using polar geometry. It is offered as a starting point for a more compact solution. on mouseUp --| Syntax: isWithinSegment(long ID,point)

Re: Nice Leonardo da Vinci Bezier, just a click away

2011-11-13 Thread AcidJazz
Thanks Devin. I've been off the grid for a bit, or would have thanked you sooner. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nice-Leonardo-da-Vinci-Bezier-just-a-click-away-tp3984964p4037719.html Sent from the Revolution - User mailing list archive at

Re: An really useful property for vector graphics

2011-11-13 Thread Alejandro Tejada
Hi Richmmond, Richmond Mathewson-2 wrote: Well: 4.5 SalineOS (Debian 6) GNOME (gdm3) imported Gradients.ai as a solid graphic where individual circular shapes filled with radial gradients cannot be grabbed. [snip] Unable to import several of my own things exported from Xara Xtreme.

OT: Live Support Chat script/solution?

2011-11-13 Thread Matthias Rebbe
Hi, does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. I had something already, but the chat app for me was a windows

Re: OT: Live Support Chat script/solution?

2011-11-13 Thread stephen barncard
what kind of chat? text, audio or video? On 13 November 2011 17:03, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi, does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a

Re: An really useful property for vector graphics

2011-11-13 Thread Roger Guay
Al, when i go to your URL, I find no active links to your stack . . . just MegaUpload stuff being advertised there. What am I doing wrong? Thanks, Roger On Nov 13, 2011, at 9:44 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 11 Date: Sat, 12 Nov 2011 15:59:45 -0800 (PST) From:

Re: An really useful property for vector graphics

2011-11-13 Thread Roger Eller
On Sun, Nov 13, 2011 at 10:22 PM, Roger Guay wrote: Al, when i go to your URL, I find no active links to your stack . . . just MegaUpload stuff being advertised there. What am I doing wrong? Thanks, Roger Look UNDER the large orange Premium Download button, and you will see a count-down