Re: Apple vs Android in the Enterprise

2011-09-16 Thread Josh Mellicker
On Sep 15, 2011, at 7:14 PM, Chipp Walters  wrote:

> Thankfully, our
> customers prefer Android to iOS by a significant margin-- but the LC Android
> build capabilities are still lagging behind. This is the reason we've chosen
> to develop for iOS first.

Could you develop this project with HTML5/JavaScript in a "wrapper" for Android 
and iOS deployment?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS initial orientation

2011-09-14 Thread Josh Mellicker

"MetalStorm" is another.

On Sep 14, 2011, at 5:55 AM, Ian Wood  wrote:

> Highborn HD
> Cogs HD lite
> 
> They're pretty rare though.
> 
> Ian
> 
> On 14 Sep 2011, at 12:59, Colin Holgate wrote:
> 
>> Can you give an example?
>> 
>> On Sep 14, 2011, at 4:51 AM, Ian Wood wrote:
>> 
>>> I've purchased a few iPad apps which don't, they're all games.
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: How do I reference an image in a group in a Data Grid form from outside the grid?

2011-09-09 Thread Josh Mellicker

On Sep 9, 2011, at 4:41 PM, zryip theSlug wrote:
> 
> dgDataControlOfIndex is a datagrid property.
> 
> Try:
> hide btn "blueCircle" of the dgDataControlOfIndex[2] of grp "myDataGrid"
> 


Thanks for your help, problem solved!

The problem wasn't actually that I forgot the group (i did in the email but not 
my code), the problem was that I was deleting a group from a Data Grid in a 
script contained in a button in the group being deleted, which is a Thing Not 
To Do To Avoid Needless Suffering!

Changed it to "dispatch" and all is well!

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


Re: How do I reference an image in a group in a Data Grid form from outside the grid?

2011-09-09 Thread Josh Mellicker

On Sep 9, 2011, at 2:36 PM, zryip theSlug wrote:

> On Fri, Sep 9, 2011 at 11:03 PM, Josh Mellicker  wrote:
>> Just wondering what best practices are when wanting to reference an image 
>> (or button or other non-text field control) in a Data Grid form.
>> 
>> 
>> img "blueCircle" of grp x of grp "DataGrid"
>> 
>> works, but x does not seem to correlate with either the index or line number.
>> 
>> 
>> So, does anyone know:
>> 
>> 1. what x is?
>> 
>> 2. how to get x (the group number of the group containing the image) when 
>> the image is clicked on?
>> 
>> 3. Any other way to easily reference a control in a Data Grid form?
>> 
>> Thanks in advance!
> 
> Hi Josh,
> 
> Have a look to the dgDataControlOfIndex property in the datagrid API:
> http://lessons.runrev.com/s/lessons/m/datagrid/l/7344-Data-Grid-API
> 
> 
> Best regards,
> -- 
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc



Thanks for the reply Zryip!

I can't get dgDataControlOfIndex to work, anyone know of any code examples?


hide btn "blueCircle" of dgDataControlOfIndex[2]

and

hide btn "blueCircle" of grp dgDataControlOfIndex[2]

both result in errors, so I'm going to hack a solution based on the long id of 
the graphic with cached controls on. Thanks for trying though!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


How do I reference an image in a group in a Data Grid form from outside the grid?

2011-09-09 Thread Josh Mellicker
Just wondering what best practices are when wanting to reference an image (or 
button or other non-text field control) in a Data Grid form.


img "blueCircle" of grp x of grp "DataGrid"

works, but x does not seem to correlate with either the index or line number.


So, does anyone know:

1. what x is?

2. how to get x (the group number of the group containing the image) when the 
image is clicked on?

3. Any other way to easily reference a control in a Data Grid form?

Thanks in advance!



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


Re: SFTP externals

2011-08-29 Thread Josh Mellicker
It would be great if it were able to resume upload or download in the case that 
the file had only partially been transferred previously. If you are using cURL, 
I believe this is the "-T" switch.

-T is a godsend when transferring larger files over intermittent connections, 
since the file does not need to start over at the beginning whenever there's a 
glitch in the matrix... just picks up where it left off.


On Aug 28, 2011, at 7:55 PM, Chipp Walters  wrote:

> Hey guys. Chris has been working on some cool sftp externals for LC and
> currently they are working on Mac and PC with iOS and Linux support next.
> 
> They do the following:
> 
> Open
> Close
> isConnected
> GetDir
> MkDir
> GetRemoteFile (has async progress messages)
> PutLocalFile ( has async progress messages)
> DeleteRemoteFile
> 
> Anything else you can think of that you use in an sftp external?
> Also, send me an email offlist if you NEED to beta test. Thanks.
> 
> -- 
> Chipp Walters
> CEO, Shafer Walters Group, Inc.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-12 Thread Josh Mellicker
We've switched to using cURL for uploading and downloading. Let me know if 
you'd like some code samples.

On Aug 12, 2011, at 10:13 PM, "J. Landman Gay"  wrote:

> On 8/12/11 1:17 PM, Warren Samples wrote:
> 
>> You can still use FTP:
>> 
>> "While FTP is still available and configurable from the command line,
>> it's no longer supported as an easy to turn on option in System
>> Preferences" --
>> from
> 
> Having just spend some time implementing FTP uploading in my AirLaunch stack, 
> it sounds like it won't work on Lion. I'm waiting to update my OS, but does 
> anyone know what changes I'd need to make in order to upload to a server on a 
> Lion installation?
> 
> Uploading works okay on Snow Leopard right now. I suppose I'll need to branch 
> the code depending on the OS?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Lion problem report and fix

2011-07-21 Thread Josh Mellicker

On Jul 21, 2011, at 5:50 PM, Shao Sean wrote:

>> On the topic of "where do we put stuff (needed support files) in OS X", I 
>> remember Ken Ray had a great article on this… we decided on 
>> /Library/Application Support/, it has been working great until yesterday :-)
> 
> Best to just use the user's application support folder.. If I remember 
> correctly, Apple will deny your Mac App from the store if you try to write to 
> the system application support folder..
> 
>> We are now changing on OS X so that support files will be downloaded and 
>> housed inside the Mac application package in the Applications directory.)
> 
> Always a bad idea, and this will cause your app to get denied from the app 
> store for sure..
> 
> While it is true that the majority of users are running as an admin account 
> on their own single-user machine and you can get around the limitations 
> imposed by Apple by running sudo commands, think about a 
> corporate/educational/shared environment where your attempt to run sudo will 
> fail, the elevated privs through AppleScript will fail (and even Rev's new 
> elevated privs feature will fail).. By coding according to the rules laid out 
> you can save yourself headaches in the future..


Hmmm…. I stand corrected. Now, we are getting an error message when trying to 
execute the sudo command.

"sudo: no tty present and no askpass program specified"

So, we are going to take Shao's sagely advice and try ~/Library/Application 
support.


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


Re: Lion problem report and fix

2011-07-21 Thread Josh Mellicker

On Jul 21, 2011, at 4:08 PM, Richard Gaskin wrote:

> Josh Mellicker wrote:
> 
>> On Jul 21, 2011, at 3:14 PM, Mark Schonewille wrote:
>> 
>>> Hi Josh,
>>> 
>>> That's seems normal, since /Library isn't a user folder. Are you sure this 
>>> is Lion-specific?
>> 
>> Yes, at least with all the copies of Lion we've encountered so far.
> 
> Is it any different in Snow Leopard?


Yes:

In Snow Leopard and previous:

1. the Livecode command "create folder" WORKS in /Library/Application Support/
(note this is not in the user folder)

2. files CAN be downloaded to folders within that folder

(As Richard noted, this is when the current logged in user is the admin user, 
which for us is 99.9% of the time)



In Lion:

1. the Livecode command "create folder" does NOT work in /Library/Application 
Support/
(but executing a shell command sudo mkdir does work)

2. files can NOT be downloaded to folders within that folder
(but after a shell command changing permissions to 777, this fixes it)


---

On the topic of "where do we put stuff (needed support files) in OS X", I 
remember Ken Ray had a great article on this… we decided on 
/Library/Application Support/, it has been working great until yesterday :-)

We are now changing on OS X so that support files will be downloaded and housed 
inside the Mac application package in the Applications directory.)



[OT] By the way, many people write web apps in Javascript, HTML5, PHP, etc., 
and have nightmares about browser incompatibilities, while we are very happy to 
write desktop apps in Livecode that are far faster to develop and offer a much 
better user experience. (In a sane world 95% of developers would work in 
Livecode and only the crazy few would deal with writing web apps.)

However, there's always the client objection of "we don't want to make the user 
install an app". (Whereas the same clients feel it's fine to require the user 
to install Silverlight, Adobe AIR, a new version of the Flash plugin, a Java 
app, or some other plugin to use their web app)

So, Ken Ray wrote us some ultra-cool installers that make installing our app 
faster and easier than any of the browser plugin, effectively making a Livecode 
app just as easy for the user, if not easier than many web applications. If you 
want an awesome installation experience, Ken is your guy!

So, think "Beyond the Browser" (R. Gaskin quote), the web is dead, we are now 
in the Age of the App!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Lion problem report and fix

2011-07-21 Thread Josh Mellicker

On Jul 21, 2011, at 4:31 PM, J. Landman Gay wrote:

> On 7/21/11 5:17 PM, Marty Knapp wrote:
>> Interestingly, the user's Library folder, and thus the Application
>> Support folder is invisible on my Lion install. I can write to it OK,
>> though (only tested as admin).
> 
> I was just reading about this. Apparently you can hold down the Option key 
> while choosing the Go menu in the Finder, and a Library item appears.


This works on my machine


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


Re: Lion problem report and fix

2011-07-21 Thread Josh Mellicker

On Jul 21, 2011, at 3:14 PM, Mark Schonewille wrote:

> Hi Josh,
> 
> That's seems normal, since /Library isn't a user folder. Are you sure this is 
> Lion-specific?

Yes, at least with all the copies of Lion we've encountered so far.




On Jul 21, 2011, at 3:14 PM, Mark Schonewille wrote:

> Have you tried ~/Library/Application Support?


We used to use that folder, but switched because we encountered some cases of 
multiple users on the same computer (and we wanted to make things work for all 
users).
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Lion problem report and fix

2011-07-21 Thread Josh Mellicker
Just wanted to let everyone know, Lion permissions default to not allowing 
Livecode to create folders in "/Library/Application Support/" with the "create 
folder" command.

Here's how we got around it:

First, this

   put "mkdir" && quote & "/Library/Application 
Support/theNewFolderWeNeed2create" & quote into tCmd
   get shell (tCmd)
   put it

returns "Permission denied".


But this:

   put "sudo mkdir -p" && quote & "/Library/Application 
Support/theNewFolderWeNeed2create" & quote into tCmd
   get shell (tCmd)
   
creates the folder, and oddly, does not prompt for the password, at least in 
the IDE (haven't tried with a standalone yet).

Then, this:

   put "sudo chmod -Rfv 777" && quote & "/Library/Application 
Support/theNewFolderWeNeed2create" & quote into tCmd
   get shell (tCmd)

makes it so that folders and items can be freely created in the new folder by 
Livecode on Lion. So everything is back to normal a la the Leopards.


Hope this helps someone out.


And, if anyone has a better way, please post!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


anyone using Franklin 3D?

2011-05-20 Thread Josh Mellicker
Hello all, and Ruslan and Lynn in particular,

Just wondering if anyone is using Franklin 3D with Livecode? How is it working? 
Has anyone deployed an app to the public using it?

Thanks in advance for any info!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Want to Try Franklin 3D - 3D Engine for Revolution?

2011-05-18 Thread Josh Mellicker
Hello all, and Ruslan and Lynn in particular,

Is anyone using Franklin 3D with Livecode? How is it working? Has anyone 
deployed an app to the public using it?

Thanks for any info!


On Sep 16, 2009, at 5:21 PM, Lynn Fredricks wrote:

> Hello all,
> 
> Anyone interested in a solid 3D game engine for Revolution? :-)

> 
> What is Franklin 3D?
> ---
> Franklin 3D ports the stable, muscular Irrlicht engine so that its
> accessible within Runtime Revolution. You will be able to make OpenGL or
> DirectX powered games.
> 
> Where to Learn More
> ---
> The website is just coming together, here: http://franklin3d.com/. It will
> be more polished over the next few days.
> 
> Where Can I Buy it?
> ---
> You can pre-order it from the franklin3d.com online store. Anyone who
> pre-orders gets a license right away, plus 12 months of updates (or more,
> "founders" we may fudge on and give more update time). All our initial sales
> go towards paying developers to polish up and complete the Mac OS X version.
> All pre-orders folks get access to the private beta list too.
> 
> I can answer some questions on the list - feel free.
> 
> Best regards,
> 
> Lynn Fredricks
> Mirye Software Publishing
> http://www.mirye.com
> 
> Mirye Community NING
> http://miryesoftware.ning.com 
> 
> ___
> use-revolution mailing list
> use-revolut...@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: LiveCode SQL APIs

2011-02-14 Thread Josh Mellicker
If you have multiple users for your db, you will not want persistent 
connections because there's a limit to how many simultaneous connections you 
can have to a MySQL db.

On Feb 14, 2011, at 3:08 PM, Paul Dupuis  wrote:

> Björnke,
> 
> In other languages, in days gone by, it was good practice to keep the 
> connection open if an application expected to issue multiple queries (such as 
> a user driven reporting application) becuase there was overhead in setting up 
> a connection and creating and opening a connection, executing a query, and 
> closing a connection for each query could impact performance.
> 
> With the speed of today's servers, databases, clients, networks, and 
> LiveCode, I am not sure connection maintenance for performance has any 
> noticeable impact.
> 
> I am also interested because, even though I have tried to thoroughly trap for 
> connection timeout error and execute code to reconnect, i still get 
> "connection has gone away" errors every now and then. Instead of revising all 
> my error raping code again, I am considering code for maintaining a 
> persistent connection.
> 
> On 2/14/2011 5:44 PM, Björnke von Gierke wrote:
>> I'm not a experienced sql - lc connection maker either, but i ask myself why 
>> to keep a connection alive? So I take the freedom to append my own question 
>> to yours:
>> 
>> Some people like to keep alive their DB connections. But isn't it usually a 
>> more robust approach to close the connection as soon as the query is handled?
>> 
>> I've found it useful to handle mass-writes slightly differently, but there 
>> is normally so much happening, that the DB connection doesn't really idle at 
>> all.
>> 
>> On 14 Feb 2011, at 23:38, Paul Dupuis wrote:
>> 
>>> I can think a few way to construct a "keep-alive" process to ensure that a 
>>> connection to a MySQL database via the LiveCode database drivers doesn't 
>>> time out. However, it occurs to me that folks who spend more time writing 
>>> LiveCode MySQL applications than I may have come up with a "best" way to 
>>> keep the connection from timing out, so I thought I would ask the list. An 
>>> idle loop would do it, but using idle is not a "best" approach.
>>> 
>>> Any "best" approaches out there that someone cares to share?
>>> 
>>> Thanks!
>>> 
>>> -- 
>>> Paul Dupuis
>>> Cofounder
>>> Researchware, Inc.
>>> http://www.researchware.com/
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
> 
> 
> -- 
> Paul Dupuis
> Cofounder
> Researchware, Inc.
> http://www.researchware.com/
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Re: Using shell to call Livecode

2011-01-10 Thread Josh Mellicker
What external program?

On Jan 10, 2011, at 11:09 AM, David Bovill  wrote:

> I want to configure an external program to use LiveCode as a web browser
> rather than a default browser - in the config options it allows you to
> specify a command line that will open a browser of you choice with the given
> url:
> 
>> A shell command used to launch your preferred web browser when given a URL 
>> as an argument.
>> Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix.
>> 
>> Similar things go for using Livecode as a built in editor for various
> things. I don't want to use AppleScript as i want a cross-platform solution?
> Any suggestions as to what i could try?
> 
> On 10 January 2011 18:36, Mark Schonewille > wrote:
> 
>> David,
>> 
>> You can do really nice tricks with the shell and Revolution 3.5 and
>> earlier. I'm not sure about 4 and later.
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Pasting Cells From a Spreadsheet

2010-12-08 Thread Josh Mellicker
If you paste into the Content pane of the inspector for a table field or Data 
Grid, and what you're pasting is tab delimited, that should work?

Cheers,

Josh

Sent from my iPad

On Dec 8, 2010, at 1:44 PM, Gregory Lypny  wrote:

> Hello everyone,
> 
> Is there a trick to pasting a range of cells from a spreadsheet, such as 
> Numbers, into a text field in LiveCode so that the result looks pretty much 
> the same, that is, lines of tab-delimited items?
> 
> Regards,
> 
> Gregory
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: PDF ?

2010-12-06 Thread Josh Mellicker
While this is not what you're looking for, perhaps it is an alternate solution?

http://www.bloggingpro.com/archives/2010/11/26/wp-pdf-stamper-plugin-brand-your-ebooks-with-license-details/

Cheers,

Josh

Sent from my iPad

On Dec 5, 2010, at 10:34 PM, Anthony Howe  wrote:

> Thanks Jan,
> 
> Great to hear the detail around this one. The feature you mention that you're 
> working on is actually all that we would require and sounds ideal!
> 
> We simply want to 'stamp' an existing document with a customers unique ID and 
> details. The area of the document to be stamped will be blank space on each 
> pageat a defined location (footer or header area, for example) and 
> requires no interaction with the existing content.
> 
> From there, just a re-export of the PDF would be required.
> 
> What do you think?
> 
> 
> 
> On 06/12/2010, at 5:24 PM, Jan Schenkel  wrote:
> 
>> --- On Sun, 12/5/10, Anthony Howe  wrote:
>>> My question was also not really
>>> around whether PDF export is possible, but rather if it was
>>> possible to open an existing PDF file (which was created in
>>> LC, or not) and add new data (like a personalized footer or
>>> header from LC app data for example), then, reexport it...as
>>> a PDF, ready for distribution.
>>> 
>>> The answer to this one so far seems to be no.but I'm
>>> hoping for an angle:)
>>> 
>>> Hope that clarifies things, and perhaps I should have
>>> started a separate thread on this question, as I accept it
>>> does stray somewhat from the original post. 
>>> 
>>> *gulp*
>>> 
>>> Cheers,
>>> A.
>>> 
>> 
>> While I have written a library to create new PDF files from scratch, by 
>> script, I'm not sure where to begin taking apart an existing PDF file and 
>> modifying its content.
>> The structure of a PDF file is completely unlike Word DOC or RTF files. Word 
>> processing files are structured around a flow of paragraphs, sentences and 
>> words. PDF files are a set of low-level instructions (draw a line here, draw 
>> this bit of text there, now switch to font 'Times', set the drawing color to 
>> 'red', etc.) and there is no rigid flow structure.
>> More precisely, PDF has no concept of paragraphs - you're at the mercy of 
>> the producing application printing each bit of text in the 'right' order to 
>> ease extraction. In fact, PDF doesn't even have text styling concepts other 
>> than 'font'. You want an underline? Draw it yourself. 
>> In fact, it's so complicated that the selection of text in Adobe Reader or 
>> Apple Preview is based on OCR (optical character recognition) algorithms: we 
>> know there's a bit of text here, and that other bit of text has the same 
>> baseline, so that could actually be a single line of text in the user's mind 
>> - let's select both!
>> So if you're looking to read an existing file, and modify the content - such 
>> as replacing placeholder text and expecting the whole flow of the text to 
>> update along with it - you have your work cut out for you.
>> One feature I have been working on, is the ability to open an existing PDF 
>> file, and use pages from it as a background on top of which you draw 
>> additional elements. In that scenario I'm not even really tweaking the 
>> content, and this is presenting its own gotchas...
>> 
>> Jan Schenkel.
>> =
>> Quartam Reports & PDF Library for LiveCode
>> www.quartam.com
>> 
>> =
>> "As we grow older, we grow both wiser and more foolish at the same time."  
>> (La Rochefoucauld)
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: focus question

2010-12-05 Thread Josh Mellicker
Are you using "select after fld X"?

On Dec 5, 2010, at 1:08 PM, Mark Smith wrote:

> 
> I'm still using 4.5.0 dp-3. In the dictionary under focus it says "If the
> object is an unlocked field, the insertion point is placed after the text in
> the field."  My experience is it is placed at the beginning of the field. I
> checked the online bug list, and the bug fixes for 4.5.1 and saw no mention
> of it. Do others have the same problem? Is there a way to actually place the
> cursor at the end of a field?
> 
> Thanks
> 
> -- Mark
> -- 
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3073660.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Data Grids Stop Working

2010-11-23 Thread Josh Mellicker
Could this have something to do with the template stack being changed or 
deleted?

On Nov 23, 2010, at 9:04 PM, Paul Looney  wrote:

> Many times, on many stacks, data grids have simply stopped working - without 
> any warning or error.
> The line of code they fail to execute is this, or similar:
> 
>   set the dgText of grp "Data Grid" to vTheList
> 
> The code may have worked for months before is fails.
> The only solution I've found is to delete the existing grids and replace them 
> with new ones. Doing so, without any code changes, fixes the problem.
> I don't have a recipe. But, so far, the problem has only come up while 
> working in the IDE.
> It has appeared on different computers (all Mac), with different OSes (OS X 
> 10.4.11 through OS X 10.6.4) and assorted versions of Rev/Livecode (4.0 
> through 4.5.1).
> Advice/suggestions appreciated.
> Paul Looney
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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