Re: planning my next two LiveCode TV presentations...

2011-09-30 Thread Ueliweb
I think both are really interesting.

I would be interested a bit more in Flash because so much (internet)
content today is produced with it.

An the other side my goal is focus to educational developing (for this
Director was made) and also I used Director earlier for a big Project,
for this I am very interested to hear from Director.

I am looking forward to see both in LiveCode TV
Thanks



2011/9/30 Colin Holgate :
> A few weeks ago I showed Unity, and Mike balanced out the meeting by showing 
> 3D modeling tools, and the use of Franklin 3D. The next two tools I'll show 
> are Director and Flash, and I wanted to know if anyone here had a preference 
> which I showed first.
>
> Director will have some interest to you because it has a very 'Talk like 
> language, and you should come away thinking that you might actually get 
> somewhere quickly with it! Flash is of interest because of the ubiquity of 
> the plugin, as well as its ability to make things for a wide range of mobile 
> devices.
>
> On the down side, programming in Flash is quite different to LiveCode, or 
> Director come to that, so you may come away feeling relieved that you use 
> LiveCode!
>
> Anyway, if any of you would like to say which you'd like me to go over first, 
> I'll go along with that.
>
> Also, to balance out those two meetings it would be nice to have a LiveCode 
> related presentation that goes over some of the features I'll show, and how 
> they might be achieved in LiveCode. For the Flash meeting it would be nice to 
> have someone show off the Animation Toolkit. For Director I'm not sure what 
> would be best, given that we covered Franklin already. Maybe someone else 
> here knows Director too, and can help me think of what aspect to try and 
> replicate in 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: Reading PDF documents

2011-09-30 Thread Jerry Jensen
And "shelling out" was something you did at the store involving pictures of 
dead presidents.
--Jerry

On Sep 30, 2011, at 4:57 PM, Bob Sneidar wrote:

> Let's remember, we aged, that there was a time that the synonym for "shell" 
> was "your operating system". 
> 
> Bob
> 
> 
> On Sep 30, 2011, at 3:19 PM, stephen barncard wrote:
> 
>> not my fear - I happily use shell all of the time!!
>> 
>> but it's true - no  "are you sure?' dialogs.. ha
>> 
>> 
>> On 30 September 2011 14:33, Mark Schonewille <
>> m.schonewi...@economy-x-talk.com> wrote:
>> 
>>> I understand, Stephen. You fear great powers :-)
>>> 
>>> --
>>> Best regards,
>>> 
>>> Mark Schonewille
>>> 
>>> Economy-x-Talk Consulting and Software Engineering
>>> Homepage: http://economy-x-talk.com
>>> Twitter: http://twitter.com/xtalkprogrammer
>>> KvK: 50277553
>>> 
>>> See what you get with only a small contribution. All our LiveCode downloads
>>> are listed at http://qery.us/zr
>>> 
>>> On 30 sep 2011, at 23:14, stephen barncard wrote:
>>> 
 FEAR OF SHELL()
>>> 
>>> 
>>> ___
>>> 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
>>> 
>> 
>> 
>> 
>> -- 
>> 
>> 
>> 
>> Stephen Barncard
>> San Francisco Ca. USA
>> 
>> more about sqb  
>> ___
>> 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: Reading PDF documents

2011-09-30 Thread Bob Sneidar
Let's remember, we aged, that there was a time that the synonym for "shell" was 
"your operating system". 

Bob


On Sep 30, 2011, at 3:19 PM, stephen barncard wrote:

> not my fear - I happily use shell all of the time!!
> 
> but it's true - no  "are you sure?' dialogs.. ha
> 
> 
> On 30 September 2011 14:33, Mark Schonewille <
> m.schonewi...@economy-x-talk.com> wrote:
> 
>> I understand, Stephen. You fear great powers :-)
>> 
>> --
>> Best regards,
>> 
>> Mark Schonewille
>> 
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>> KvK: 50277553
>> 
>> See what you get with only a small contribution. All our LiveCode downloads
>> are listed at http://qery.us/zr
>> 
>> On 30 sep 2011, at 23:14, stephen barncard wrote:
>> 
>>> FEAR OF SHELL()
>> 
>> 
>> ___
>> 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
>> 
> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  
> ___
> 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: Scrollbar/slider attributes

2011-09-30 Thread Peter M. Brigham, MD
Perhaps you could have a radiobutton that is labeled "no opinion" and make it 
hilited by default on opencard, then on mousedown in the slider, uncheck the 
button? Then if the user changes his/her mind and wants to vote "no opinion" 
s/he could check the button again and the slider could revert to 0 (you would 
ignore these values anyway).

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Sep 30, 2011, at 6:43 PM, Joe Lewis Wilkins wrote:

> Hi Ron, Richmond:
> 
> Since we receive adequate scrolling feedback when a field has the scroll of 
> its associated scrollbars manipulated, could you, perhaps, connect a field to 
> your slider in some manner and set that field's scrolling to meaningful 
> values? I'm not sure how that might work and how visibility of the field 
> could be used or possibly have it's "width" property set to "0", essentially 
> making it invisible.
> 
> Just thinking out of the box, since I really don't understand your needs very 
> well!
> 
> Joe Wilkins
> Architect
> 
> On Sep 30, 2011, at 3:28 PM, Ronald Zellner wrote:
> 
>>> Message: 6
>>> Date: Fri, 30 Sep 2011 20:41:47 +0300
>>> From: Richmond Mathewson 
>>> To: How to use LiveCode 
>>> Subject: Re: Scrollbar/slider attributes
>>> Message-ID: <4e85ff5b.5070...@gmail.com>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> 
>>> Better go for a mouseDown rather than a mouseUp, as the punter (whoops, 
>>> "end-user")
>>> might slide their pointer off the control when they change their mind.
>>> 
>>> I just mocked up a stack containing a slider and a fld "fTOUCH" and put 
>>> this into
>>> the script of the slider:
>>> 
>>> on mouseDown
>>>  "put "Touched Me!" into fld "fTOUCH"
>>> end mouseDown
>>> 
>>> rocket-science it ain't . . .  :)
>> 
>> Yes, I know how to record the mouse downs, etc, in variables or fields, but 
>> I was hoping to be able to make a visible change in the slider to alert the 
>> user to those that had been responded to and those that had not.
>> 
>> In the past I have had checkmarks appear next to the slider to indicate that 
>> it was used, but I was wondering if something could be incorporated into the 
>> slider itself (e.g. color)
> 
> 
> ___
> 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: Scrollbar/slider attributes

2011-09-30 Thread Joe Lewis Wilkins
Hi Ron, Richmond:

Since we receive adequate scrolling feedback when a field has the scroll of its 
associated scrollbars manipulated, could you, perhaps, connect a field to your 
slider in some manner and set that field's scrolling to meaningful values? I'm 
not sure how that might work and how visibility of the field could be used or 
possibly have it's "width" property set to "0", essentially making it invisible.

Just thinking out of the box, since I really don't understand your needs very 
well!

Joe Wilkins
Architect

On Sep 30, 2011, at 3:28 PM, Ronald Zellner wrote:

>> Message: 6
>> Date: Fri, 30 Sep 2011 20:41:47 +0300
>> From: Richmond Mathewson 
>> To: How to use LiveCode 
>> Subject: Re: Scrollbar/slider attributes
>> Message-ID: <4e85ff5b.5070...@gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> 
>> Better go for a mouseDown rather than a mouseUp, as the punter (whoops, 
>> "end-user")
>> might slide their pointer off the control when they change their mind.
>> 
>> I just mocked up a stack containing a slider and a fld "fTOUCH" and put 
>> this into
>> the script of the slider:
>> 
>> on mouseDown
>>   "put "Touched Me!" into fld "fTOUCH"
>> end mouseDown
>> 
>> rocket-science it ain't . . .  :)
> 
> Yes, I know how to record the mouse downs, etc, in variables or fields, but I 
> was hoping to be able to make a visible change in the slider to alert the 
> user to those that had been responded to and those that had not.
> 
> In the past I have had checkmarks appear next to the slider to indicate that 
> it was used, but I was wondering if something could be incorporated into the 
> slider itself (e.g. color)


___
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: Scrollbar/slider attributes

2011-09-30 Thread Ronald Zellner
> Message: 6
> Date: Fri, 30 Sep 2011 20:41:47 +0300
> From: Richmond Mathewson 
> To: How to use LiveCode 
> Subject: Re: Scrollbar/slider attributes
> Message-ID: <4e85ff5b.5070...@gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Better go for a mouseDown rather than a mouseUp, as the punter (whoops, 
> "end-user")
> might slide their pointer off the control when they change their mind.
> 
> I just mocked up a stack containing a slider and a fld "fTOUCH" and put 
> this into
> the script of the slider:
> 
> on mouseDown
>"put "Touched Me!" into fld "fTOUCH"
> end mouseDown
> 
> rocket-science it ain't . . .  :)

Yes, I know how to record the mouse downs, etc, in variables or fields, but I 
was hoping to be able to make a visible change in the slider to alert the user 
to those that had been responded to and those that had not.

In the past I have had checkmarks appear next to the slider to indicate that it 
was used, but I was wondering if something could be incorporated into the 
slider itself (e.g. color)
___
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: Reading PDF documents

2011-09-30 Thread stephen barncard
not my fear - I happily use shell all of the time!!

but it's true - no  "are you sure?' dialogs.. ha


On 30 September 2011 14:33, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:

> I understand, Stephen. You fear great powers :-)
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> See what you get with only a small contribution. All our LiveCode downloads
> are listed at http://qery.us/zr
>
> On 30 sep 2011, at 23:14, stephen barncard wrote:
>
> > FEAR OF SHELL()
>
>
> ___
> 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
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: Reading PDF documents

2011-09-30 Thread J. Landman Gay

On 9/30/11 4:45 PM, Peter M. Brigham, MD wrote:

I've always been afraid of going to shell...


Just keep any handbaskets away from the computer and you'll be fine.


--
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


Re: Reading PDF documents

2011-09-30 Thread Peter M. Brigham, MD
On Sep 30, 2011, at 5:50 PM, Mark Schonewille wrote:

> Hi Peter,
> 
> Do you actually realise that there was a time when shell was all we had? It 
> is in no way different from the DOS or Unix command prompt from so long ago.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> See what you get with only a small contribution. All our LiveCode downloads 
> are listed at http://qery.us/zr
> 
> On 30 sep 2011, at 23:45, Peter M. Brigham, MD wrote:
> 
>> I've always been afraid of going to shell...

I should have put a ":-)" after my remark

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


___
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: Reading PDF documents

2011-09-30 Thread Mark Schonewille
Hi Peter,

Do you actually realise that there was a time when shell was all we had? It is 
in no way different from the DOS or Unix command prompt from so long ago.

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 30 sep 2011, at 23:45, Peter M. Brigham, MD wrote:

> I've always been afraid of going to shell...
> 


___
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: Reading PDF documents

2011-09-30 Thread Peter M. Brigham, MD
I've always been afraid of going to shell...

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Sep 30, 2011, at 5:14 PM, stephen barncard wrote:

> FEAR OF SHELL()
> 
> On 30 September 2011 13:39, Mark Schonewille <
> m.schonewi...@economy-x-talk.com> wrote:
> 
>> Richmond,
>> 
>> SuperCard and LiveCode and all other Mac-compatible platforms can display
>> PDF files in QuickTime players. It might also be possible to use a browser
>> control.
>> 
>> HyperStudio lets you drop PDF files onto the window and the first page of
>> the PDF will be displayed as a picture.
>> 
>> As I wrote earlier, ImagaMagick is the perfect solution for this problem. I
>> wonder why everybody ignored that post of mine.
>> 
>> --
>> Best regards,
>> 
>> Mark Schonewille
>> 
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>> KvK: 50277553
>> 
>> See what you get with only a small contribution. All our LiveCode downloads
>> are listed at http://qery.us/zr
>> 
>> On 30 sep 2011, at 22:23, Richmond Mathewson wrote:
>> 
>>> I wonder if Supercard can read PDFs?
>> 
>> 
>> ___
>> 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
>> 
> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  
> ___
> 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: Reading PDF documents

2011-09-30 Thread Jonathan Lynch
Shell is easy to use.

Moreover, you can do the following.

1) Find an application that does what you want to pdfs, but does not require
a full installation. Many applications can run as an executable file without
having to have notations made in the windows registry.

2) Store that application within the stack. You do this with something like
this: set the pdfapp of this stack to url "binfile:C/your file
path/pdfapp.exe" -- this is just a one-time event. Once it is loaded up into
a custom prop, it will be there when you save the stack.

3) When the stack runs, have it check to see if the desired application is
in the desired folder - probably the same folder as your stack.

4) If it is not there, you do the reverse of step 2: put the pdfapp of this
stack into url "binfile:C/stack folder path/pdfapp.exe"

by doing this, you do not have to have your user do any kind of install. The
stack makes sure the application is where it needs to be, and can be
accessed when needed.

My apologies if I am stating the obvious here.

J

On Fri, Sep 30, 2011 at 5:28 PM, Bob Sneidar  wrote:

> I guess I am shellophobic then. I am also Sheilaphobic but that is a
> personal matter. :-)
>
> Bob
>
>
> On Sep 30, 2011, at 2:14 PM, stephen barncard wrote:
>
> > FEAR OF SHELL()
> >
> > On 30 September 2011 13:39, Mark Schonewille <
> > m.schonewi...@economy-x-talk.com> wrote:
> >
> >> Richmond,
> >>
> >> SuperCard and LiveCode and all other Mac-compatible platforms can
> display
> >> PDF files in QuickTime players. It might also be possible to use a
> browser
> >> control.
> >>
> >> HyperStudio lets you drop PDF files onto the window and the first page
> of
> >> the PDF will be displayed as a picture.
> >>
> >> As I wrote earlier, ImagaMagick is the perfect solution for this
> problem. I
> >> wonder why everybody ignored that post of mine.
> >>
> >> --
> >> Best regards,
> >>
> >> Mark Schonewille
> >>
> >> Economy-x-Talk Consulting and Software Engineering
> >> Homepage: http://economy-x-talk.com
> >> Twitter: http://twitter.com/xtalkprogrammer
> >> KvK: 50277553
> >>
> >> See what you get with only a small contribution. All our LiveCode
> downloads
> >> are listed at http://qery.us/zr
> >>
> >> On 30 sep 2011, at 22:23, Richmond Mathewson wrote:
> >>
> >>> I wonder if Supercard can read PDFs?
> >>
> >>
> >> ___
> >> 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
> >>
> >
> >
> >
> > --
> >
> >
> >
> > Stephen Barncard
> > San Francisco Ca. USA
> >
> > more about sqb  
> > ___
> > 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
>



-- 
Do all things with love
___
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: Reading PDF documents

2011-09-30 Thread Mark Schonewille
I understand, Stephen. You fear great powers :-)

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 30 sep 2011, at 23:14, stephen barncard wrote:

> FEAR OF SHELL()


___
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: Reading PDF documents

2011-09-30 Thread Bob Sneidar
I guess I am shellophobic then. I am also Sheilaphobic but that is a personal 
matter. :-)

Bob


On Sep 30, 2011, at 2:14 PM, stephen barncard wrote:

> FEAR OF SHELL()
> 
> On 30 September 2011 13:39, Mark Schonewille <
> m.schonewi...@economy-x-talk.com> wrote:
> 
>> Richmond,
>> 
>> SuperCard and LiveCode and all other Mac-compatible platforms can display
>> PDF files in QuickTime players. It might also be possible to use a browser
>> control.
>> 
>> HyperStudio lets you drop PDF files onto the window and the first page of
>> the PDF will be displayed as a picture.
>> 
>> As I wrote earlier, ImagaMagick is the perfect solution for this problem. I
>> wonder why everybody ignored that post of mine.
>> 
>> --
>> Best regards,
>> 
>> Mark Schonewille
>> 
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>> KvK: 50277553
>> 
>> See what you get with only a small contribution. All our LiveCode downloads
>> are listed at http://qery.us/zr
>> 
>> On 30 sep 2011, at 22:23, Richmond Mathewson wrote:
>> 
>>> I wonder if Supercard can read PDFs?
>> 
>> 
>> ___
>> 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
>> 
> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  
> ___
> 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: mobile apps - getting started

2011-09-30 Thread Chris Sheffield
Jacque,

Super helpful! Thank you for taking the time to respond. I'm looking forward to 
this project but right now it seems a little daunting. I'm glad to know that 
most code "just works".

Thanks again,
Chris


On Sep 30, 2011, at 2:22 PM, J. Landman Gay wrote:

> On 9/30/11 1:25 PM, Chris Sheffield wrote:
>> 
>> What I'd be most interested
>> in hearing is what's the best way to do a cross platform mobile app?
>> Two separate stacks for the interfaces, with common code libraries to
>> perform the main functionality?
> 
> That's one way. I didn't choose it though, I use a preOpenCard handler in 
> each card to adjust the layout. An advantage is that you don't need libraries 
> necessarily, you can use the same code and the normal message hierarchy.
> 
> Another reason is that no matter what, there will be a user with a resolution 
> you haven't planned for. That means you need a layout script anyway, even if 
> you do use separate stacks, so for me it was easier to just put it all in one 
> stack. You'd also need a layout handler just to accomodate device rotation 
> (if you are going to support that) so you may as well just bite the bullet 
> and do the resizeStack thing from the beginning.
> 
> When writing resizeStack (layout) handlers, you'll almost always want to use 
> ratios to calculate positions and sizes. That way objects will always fit. If 
> you hard-code pixel locations, something will be wrong on somebody's Android 
> device, because they come in an infinite number of resolutions. Right now iOS 
> is pretty consistent, but if you're writing for both platforms then you may 
> as well do ratio calcs from the start, which will work everywhere.
> 
>> Most controls will be skinned using custom
>> images. Do the other features in MobGUI make it worth the price?
> 
> I'm not sure. My app also uses a custom skin so I didn't go the MobGUI route. 
> Actually, even though I've read through the docs, I'm not quite sure what 
> advantages MobGUI would provide if you aren't using native controls.
> 
>> I may need to make use of a data grid at some point. Is the LC data
>> grid compatible with mobile apps? Am I going to run into any problems
>> with performance?
> 
> I'm not using one in my project but I know they are supported. There are 
> examples on the forum and, I think, in the RR lessons on how to get them to 
> scroll and operate smoothly. Probably someone else can answer this part beter 
> than me.
> 
>> Are there any other "gotchas"? Things I should be aware of up front
>> before I get too far into this and wish I had done something
>> differently? Is anyone else developing a cross-platform mobile app?
>> What kinds of successes/failures have you experienced?
> 
> Like you, I'm developing for tablets only and I've found very few cases where 
> I need to branch the code based on platform. If you are okay with basic sound 
> playback, you can use the generic "play" command everywhere; if you want more 
> control on iOS then you can branch on that platform and use the more advanced 
> sound controls that allow you to queue sounds and/or prepare them ahead of 
> time to avoid lag. My sounds are short, basic sound effects. I started out 
> branching but have recently changed to just the "play" command since I don't 
> need queueing and it makes the code base consistent.
> 
> Scrolling is beautiful on iOS, rotten on Android. There is no native scroller 
> on Android so you'll need to branch the code for that, and write a script to 
> fake it on Android. I've tried four different scripts, none are smooth. If 
> you don't have too many things to scroll, you can make life easier by only 
> putting nonscrolling objects/groups on a card. That's not always possible. I 
> was able to do it in one app, but not in another. Scrolling a list on my 
> low-tech cheapo Android tablet is very jerky. Higher-powered Android devices 
> would probably do better. If you aren't going to do an Android build for a 
> while, maybe LiveCode will catch up by the time you're ready and this won't 
> be an issue any more.
> 
> If you are going to show anything in a browser control, you'll need to branch 
> for that. iOS has an embedded one, Android needs to launch the system 
> browser. In practice they both end up working fairly similarly because 
> Android has a universal "back" button that returns you to the app wherever 
> you left off. Alternately you could call out to the system browser on iOS, 
> but if you do that your app will quit and lose its place. It was easier for 
> me to embed the browser on iOS than to keep track of the app state and 
> restore it on next launch.
> 
> Oh right, the hardware Back button. Android has one, iOS does not. I show a 
> Back button on the card for iOS, and don't show it on Android where users are 
> accustomed to using the hardware Back button. You'd be okay showing a back 
> button on both platforms, but for Android you wouldn't want the icon to look 
> like an iOS one.
> 
> If the s

Re: On-rev and irev file problem?

2011-09-30 Thread John Patten
Found it!  

I left a "&" inside my quotes here:  ¬

> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)"




Thanks!

John Patten
SUSD







On Sep 30, 2011, at 12:09 PM, John Patten wrote:

> I checked the data that is being posted via the stack it looks correctly 
> formatted.
> 
> I then checked to see what the data would look like when it went through the 
> first part of the irev code on the server, the:  put $_POST["mymessage"] into 
> mymessage
> 
> When I ask the iRev/lc file to return mymessage it spits out:  
> file"/home//public_html/norms/enternormdata.lc@quot;
> 
> Would that be what is expected? (As opposed to the URL formatted text 
> submitted by the actual stack.)
> 
> Thank you!
> 
> John  Patten
> SUSD
> 
> On Sep 30, 2011, at 11:43 AM, John Patten wrote:
> 
>> Hi Stephen...
>> 
>> I tried it both ways. Originally it was .rev, but then with all the changes 
>> I thought that may have been good for only existing code on the server so I 
>> switched it to .lc
>> 
>> It didn't help though :-(  
>> 
>> 
>> In terms of the MySQl account and IP and cross-domain restrictions, that 
>> would be relevant if I'm using the MySQl on the on-rev server too?
>> 
>> Thank you!
>> 
>> John Patten
>> SUSD
>> 
>> On Sep 30, 2011, at 11:22 AM, stephen barncard wrote:
>> 
>>> Also check your MySQL account for any IP or cross-domain restrictions.
>>> 
>>> On 30 September 2011 11:20, stephen barncard <
>>> stephenrevoluti...@barncard.com> wrote:
>>> 
 how did you name the file?  with a .lc or .rev   suffix?
 
 
 On 30 September 2011 11:12, John Patten  wrote:
 
> Hi All..
> 
> I duplicated a script that is working to send data to on-rev mysql
> database in another project. The new project keeps throwing up a server
> connection error.
> 
> I've tried to boil it down to the most basic components to trouble shoot,
> but I still get errors. I 'have looked for typos over and over but don't 
> see
> anything.  Here is what I have in its most basic form:
> 
>  
> put $_POST["mymessage"] into mymessage
> set itemDel to tab
> 
> put item 1 of mymessage into tTargetPerson
> put item 2 of mymessage into tTargetNorm
> put itemDel into tCurrentItemDel
> set the itemDel to "|"
> put item 1 of tTargetNorm into tNorm_heading
> put item 2 of tTargetNorm into tNorm_topic
> set the itemDel to tab
> put item 3 of mymessage into tEventDescription
> 
> put "localhost" into tDatabaseAddress
> put "xx_norms" into tDatabaseName
> put "xx_normuser" into tDatabaseuser
> put "xxx" into tDatabasePassword
> 
> put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " " &
> tDatabasePassword into tResult
> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName,
> tDatabaseuser, tDatabasePassword) into tResult
> --if tResult is not a number then
> --put "Error: could not connect to database " & tResult
> --else
> --put "target_person, norm_heading, norm_topic, description" into tFields
> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)"
> into tSQL
> answer tResult
> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading",
> "tNorm_topic", "tEventDescription"
> ?>
> 
> I'm at the point now I'm just trying to see what the connection contents
> is in tResult, and it still throws up the server error???
> 
> Any advice?
> 
> Thank you!
> 
> John Patten
> SUSD
> 
> ___
> 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
> 
 
 
 
 --
 
 
 
 Stephen Barncard
 San Francisco Ca. USA
 
 more about sqb  
 
 
>>> 
>>> 
>>> -- 
>>> 
>>> 
>>> 
>>> Stephen Barncard
>>> San Francisco Ca. USA
>>> 
>>> more about sqb  
>>> ___
>>> 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 subscr

Re: Reading PDF documents

2011-09-30 Thread stephen barncard
FEAR OF SHELL()

On 30 September 2011 13:39, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:

> Richmond,
>
> SuperCard and LiveCode and all other Mac-compatible platforms can display
> PDF files in QuickTime players. It might also be possible to use a browser
> control.
>
> HyperStudio lets you drop PDF files onto the window and the first page of
> the PDF will be displayed as a picture.
>
> As I wrote earlier, ImagaMagick is the perfect solution for this problem. I
> wonder why everybody ignored that post of mine.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> See what you get with only a small contribution. All our LiveCode downloads
> are listed at http://qery.us/zr
>
> On 30 sep 2011, at 22:23, Richmond Mathewson wrote:
>
> > I wonder if Supercard can read PDFs?
>
>
> ___
> 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
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: Reading PDF documents

2011-09-30 Thread Richmond Mathewson

On 09/30/2011 11:39 PM, Mark Schonewille wrote:

Richmond,

SuperCard and LiveCode and all other Mac-compatible platforms can display PDF 
files in QuickTime players. It might also be possible to use a browser control.

HyperStudio lets you drop PDF files onto the window and the first page of the 
PDF will be displayed as a picture.

As I wrote earlier, ImagaMagick is the perfect solution for this problem. I 
wonder why everybody ignored that post of mine.


Probably because a lot of people feel "all funny" about command-line apps.



--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 30 sep 2011, at 22:23, Richmond Mathewson wrote:


I wonder if Supercard can read PDFs?


___
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: Reading PDF documents

2011-09-30 Thread Mark Schonewille
Richmond,

SuperCard and LiveCode and all other Mac-compatible platforms can display PDF 
files in QuickTime players. It might also be possible to use a browser control. 

HyperStudio lets you drop PDF files onto the window and the first page of the 
PDF will be displayed as a picture.

As I wrote earlier, ImagaMagick is the perfect solution for this problem. I 
wonder why everybody ignored that post of mine.

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 30 sep 2011, at 22:23, Richmond Mathewson wrote:

> I wonder if Supercard can read PDFs?


___
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


Reading PDF documents

2011-09-30 Thread Richmond Mathewson

I wonder if Supercard can read PDFs?

___
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: mobile apps - getting started

2011-09-30 Thread J. Landman Gay

On 9/30/11 1:25 PM, Chris Sheffield wrote:


What I'd be most interested
in hearing is what's the best way to do a cross platform mobile app?
Two separate stacks for the interfaces, with common code libraries to
perform the main functionality?


That's one way. I didn't choose it though, I use a preOpenCard handler 
in each card to adjust the layout. An advantage is that you don't need 
libraries necessarily, you can use the same code and the normal message 
hierarchy.


Another reason is that no matter what, there will be a user with a 
resolution you haven't planned for. That means you need a layout script 
anyway, even if you do use separate stacks, so for me it was easier to 
just put it all in one stack. You'd also need a layout handler just to 
accomodate device rotation (if you are going to support that) so you may 
as well just bite the bullet and do the resizeStack thing from the 
beginning.


When writing resizeStack (layout) handlers, you'll almost always want to 
use ratios to calculate positions and sizes. That way objects will 
always fit. If you hard-code pixel locations, something will be wrong on 
somebody's Android device, because they come in an infinite number of 
resolutions. Right now iOS is pretty consistent, but if you're writing 
for both platforms then you may as well do ratio calcs from the start, 
which will work everywhere.



Most controls will be skinned using custom
images. Do the other features in MobGUI make it worth the price?


I'm not sure. My app also uses a custom skin so I didn't go the MobGUI 
route. Actually, even though I've read through the docs, I'm not quite 
sure what advantages MobGUI would provide if you aren't using native 
controls.



I may need to make use of a data grid at some point. Is the LC data
grid compatible with mobile apps? Am I going to run into any problems
with performance?


I'm not using one in my project but I know they are supported. There are 
examples on the forum and, I think, in the RR lessons on how to get them 
to scroll and operate smoothly. Probably someone else can answer this 
part beter than me.



Are there any other "gotchas"? Things I should be aware of up front
before I get too far into this and wish I had done something
differently? Is anyone else developing a cross-platform mobile app?
What kinds of successes/failures have you experienced?


Like you, I'm developing for tablets only and I've found very few cases 
where I need to branch the code based on platform. If you are okay with 
basic sound playback, you can use the generic "play" command everywhere; 
if you want more control on iOS then you can branch on that platform and 
use the more advanced sound controls that allow you to queue sounds 
and/or prepare them ahead of time to avoid lag. My sounds are short, 
basic sound effects. I started out branching but have recently changed 
to just the "play" command since I don't need queueing and it makes the 
code base consistent.


Scrolling is beautiful on iOS, rotten on Android. There is no native 
scroller on Android so you'll need to branch the code for that, and 
write a script to fake it on Android. I've tried four different scripts, 
none are smooth. If you don't have too many things to scroll, you can 
make life easier by only putting nonscrolling objects/groups on a card. 
That's not always possible. I was able to do it in one app, but not in 
another. Scrolling a list on my low-tech cheapo Android tablet is very 
jerky. Higher-powered Android devices would probably do better. If you 
aren't going to do an Android build for a while, maybe LiveCode will 
catch up by the time you're ready and this won't be an issue any more.


If you are going to show anything in a browser control, you'll need to 
branch for that. iOS has an embedded one, Android needs to launch the 
system browser. In practice they both end up working fairly similarly 
because Android has a universal "back" button that returns you to the 
app wherever you left off. Alternately you could call out to the system 
browser on iOS, but if you do that your app will quit and lose its 
place. It was easier for me to embed the browser on iOS than to keep 
track of the app state and restore it on next launch.


Oh right, the hardware Back button. Android has one, iOS does not. I 
show a Back button on the card for iOS, and don't show it on Android 
where users are accustomed to using the hardware Back button. You'd be 
okay showing a back button on both platforms, but for Android you 
wouldn't want the icon to look like an iOS one.


If the stack is completely skinned this won't apply, but I do have one 
field that shows a list of options that I try to make look semi-native. 
I branch the code on preOpenCard, and make the field backcolor, hilite 
color, and font appropriate for the OS. I also have one option that 
needs a "more"/"continue" button, and I swap out the icon for that based 
on the OS.


That's all I can think of off the top of my head. Most of

Re: On-rev and irev file problem?

2011-09-30 Thread John Patten
I checked the data that is being posted via the stack it looks correctly 
formatted.

I then checked to see what the data would look like when it went through the 
first part of the irev code on the server, the:  put $_POST["mymessage"] into 
mymessage

When I ask the iRev/lc file to return mymessage it spits out:  
file"/home//public_html/norms/enternormdata.lc@quot;

Would that be what is expected? (As opposed to the URL formatted text submitted 
by the actual stack.)

Thank you!

John  Patten
SUSD

On Sep 30, 2011, at 11:43 AM, John Patten wrote:

> Hi Stephen...
> 
> I tried it both ways. Originally it was .rev, but then with all the changes I 
> thought that may have been good for only existing code on the server so I 
> switched it to .lc
> 
> It didn't help though :-(  
> 
> 
> In terms of the MySQl account and IP and cross-domain restrictions, that 
> would be relevant if I'm using the MySQl on the on-rev server too?
> 
> Thank you!
> 
> John Patten
> SUSD
> 
> On Sep 30, 2011, at 11:22 AM, stephen barncard wrote:
> 
>> Also check your MySQL account for any IP or cross-domain restrictions.
>> 
>> On 30 September 2011 11:20, stephen barncard <
>> stephenrevoluti...@barncard.com> wrote:
>> 
>>> how did you name the file?  with a .lc or .rev   suffix?
>>> 
>>> 
>>> On 30 September 2011 11:12, John Patten  wrote:
>>> 
 Hi All..
 
 I duplicated a script that is working to send data to on-rev mysql
 database in another project. The new project keeps throwing up a server
 connection error.
 
 I've tried to boil it down to the most basic components to trouble shoot,
 but I still get errors. I 'have looked for typos over and over but don't 
 see
 anything.  Here is what I have in its most basic form:
 
 >>> 
 put $_POST["mymessage"] into mymessage
 set itemDel to tab
 
 put item 1 of mymessage into tTargetPerson
 put item 2 of mymessage into tTargetNorm
 put itemDel into tCurrentItemDel
 set the itemDel to "|"
 put item 1 of tTargetNorm into tNorm_heading
 put item 2 of tTargetNorm into tNorm_topic
 set the itemDel to tab
 put item 3 of mymessage into tEventDescription
 
 put "localhost" into tDatabaseAddress
 put "xx_norms" into tDatabaseName
 put "xx_normuser" into tDatabaseuser
 put "xxx" into tDatabasePassword
 
 put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " " &
 tDatabasePassword into tResult
 --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName,
 tDatabaseuser, tDatabasePassword) into tResult
 --if tResult is not a number then
 --put "Error: could not connect to database " & tResult
 --else
 --put "target_person, norm_heading, norm_topic, description" into tFields
 --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)"
 into tSQL
 answer tResult
 --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading",
 "tNorm_topic", "tEventDescription"
 ?>
 
 I'm at the point now I'm just trying to see what the connection contents
 is in tResult, and it still throws up the server error???
 
 Any advice?
 
 Thank you!
 
 John Patten
 SUSD
 
 ___
 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
 
>>> 
>>> 
>>> 
>>> --
>>> 
>>> 
>>> 
>>> Stephen Barncard
>>> San Francisco Ca. USA
>>> 
>>> more about sqb  
>>> 
>>> 
>> 
>> 
>> -- 
>> 
>> 
>> 
>> Stephen Barncard
>> San Francisco Ca. USA
>> 
>> more about sqb  
>> ___
>> 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: On-rev and irev file problem?

2011-09-30 Thread stephen barncard
Well to be truthful I haven't set up MySQL on on-rev recently, but at
dreamhost (I am running my own copy of Livecode server) I have to use a
special subdomain for the SQL 'server' address - NOT  localhost.   I think
one can use 'localhost' at on-rev, but some other restrictions might be in
the way.

A test:   does your desktop version work with the on-rev SQL as a remote
client ?  you can add IPs or entire domains in the cPanel : Databases :
Remote SQL

(you can use a * for all domains, easier but not recommended)


Also MySQL allows for IP restrictions so make sure that is ok.

On 30 September 2011 11:43, John Patten  wrote:

> Hi Stephen...
>
>  I tried it both ways. Originally it was .rev, but then with all the
> changes I thought that may have been good for only existing code on the
> server so I switched it to .lc
>
> It didn't help though :-(
>
>
> In terms of the MySQl account and IP and cross-domain restrictions, that
> would be relevant if I'm using the MySQl on the on-rev server too?
>
> Thank you!
>
> John Patten
> SUSD
>
> On Sep 30, 2011, at 11:22 AM, stephen barncard wrote:
>
> > Also check your MySQL account for any IP or cross-domain restrictions.
> >
> > On 30 September 2011 11:20, stephen barncard <
> > stephenrevoluti...@barncard.com> wrote:
> >
> >> how did you name the file?  with a .lc or .rev   suffix?
> >>
> >>
> >> On 30 September 2011 11:12, John Patten  wrote:
> >>
> >>> Hi All..
> >>>
> >>> I duplicated a script that is working to send data to on-rev mysql
> >>> database in another project. The new project keeps throwing up a server
> >>> connection error.
> >>>
> >>> I've tried to boil it down to the most basic components to trouble
> shoot,
> >>> but I still get errors. I 'have looked for typos over and over but
> don't see
> >>> anything.  Here is what I have in its most basic form:
> >>>
> >>>  >>>
> >>> put $_POST["mymessage"] into mymessage
> >>> set itemDel to tab
> >>>
> >>> put item 1 of mymessage into tTargetPerson
> >>> put item 2 of mymessage into tTargetNorm
> >>> put itemDel into tCurrentItemDel
> >>> set the itemDel to "|"
> >>> put item 1 of tTargetNorm into tNorm_heading
> >>> put item 2 of tTargetNorm into tNorm_topic
> >>> set the itemDel to tab
> >>> put item 3 of mymessage into tEventDescription
> >>>
> >>> put "localhost" into tDatabaseAddress
> >>> put "xx_norms" into tDatabaseName
> >>> put "xx_normuser" into tDatabaseuser
> >>> put "xxx" into tDatabasePassword
> >>>
> >>> put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " "
> &
> >>> tDatabasePassword into tResult
> >>> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName,
> >>> tDatabaseuser, tDatabasePassword) into tResult
> >>> --if tResult is not a number then
> >>> --put "Error: could not connect to database " & tResult
> >>> --else
> >>> --put "target_person, norm_heading, norm_topic, description" into
> tFields
> >>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3,
> :4)"
> >>> into tSQL
> >>> answer tResult
> >>> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading",
> >>> "tNorm_topic", "tEventDescription"
> >>> ?>
> >>>
> >>> I'm at the point now I'm just trying to see what the connection
> contents
> >>> is in tResult, and it still throws up the server error???
> >>>
> >>> Any advice?
> >>>
> >>> Thank you!
> >>>
> >>> John Patten
> >>> SUSD
> >>>
> >>> ___
> >>> 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
> >>>
> >>
> >>
> >>
> >> --
> >>
> >>
> >>
> >> Stephen Barncard
> >> San Francisco Ca. USA
> >>
> >> more about sqb  
> >>
> >>
> >
> >
> > --
> >
> >
> >
> > Stephen Barncard
> > San Francisco Ca. USA
> >
> > more about sqb  
> > ___
> > 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
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: On-rev and irev file problem?

2011-09-30 Thread John Patten
Hi Stephen...

 I tried it both ways. Originally it was .rev, but then with all the changes I 
thought that may have been good for only existing code on the server so I 
switched it to .lc

It didn't help though :-(  


In terms of the MySQl account and IP and cross-domain restrictions, that would 
be relevant if I'm using the MySQl on the on-rev server too?

Thank you!

John Patten
SUSD

On Sep 30, 2011, at 11:22 AM, stephen barncard wrote:

> Also check your MySQL account for any IP or cross-domain restrictions.
> 
> On 30 September 2011 11:20, stephen barncard <
> stephenrevoluti...@barncard.com> wrote:
> 
>> how did you name the file?  with a .lc or .rev   suffix?
>> 
>> 
>> On 30 September 2011 11:12, John Patten  wrote:
>> 
>>> Hi All..
>>> 
>>> I duplicated a script that is working to send data to on-rev mysql
>>> database in another project. The new project keeps throwing up a server
>>> connection error.
>>> 
>>> I've tried to boil it down to the most basic components to trouble shoot,
>>> but I still get errors. I 'have looked for typos over and over but don't see
>>> anything.  Here is what I have in its most basic form:
>>> 
>>> >> 
>>> put $_POST["mymessage"] into mymessage
>>> set itemDel to tab
>>> 
>>> put item 1 of mymessage into tTargetPerson
>>> put item 2 of mymessage into tTargetNorm
>>> put itemDel into tCurrentItemDel
>>> set the itemDel to "|"
>>> put item 1 of tTargetNorm into tNorm_heading
>>> put item 2 of tTargetNorm into tNorm_topic
>>> set the itemDel to tab
>>> put item 3 of mymessage into tEventDescription
>>> 
>>> put "localhost" into tDatabaseAddress
>>> put "xx_norms" into tDatabaseName
>>> put "xx_normuser" into tDatabaseuser
>>> put "xxx" into tDatabasePassword
>>> 
>>> put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " " &
>>> tDatabasePassword into tResult
>>> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName,
>>> tDatabaseuser, tDatabasePassword) into tResult
>>> --if tResult is not a number then
>>> --put "Error: could not connect to database " & tResult
>>> --else
>>> --put "target_person, norm_heading, norm_topic, description" into tFields
>>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)"
>>> into tSQL
>>> answer tResult
>>> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading",
>>> "tNorm_topic", "tEventDescription"
>>> ?>
>>> 
>>> I'm at the point now I'm just trying to see what the connection contents
>>> is in tResult, and it still throws up the server error???
>>> 
>>> Any advice?
>>> 
>>> Thank you!
>>> 
>>> John Patten
>>> SUSD
>>> 
>>> ___
>>> 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
>>> 
>> 
>> 
>> 
>> --
>> 
>> 
>> 
>> Stephen Barncard
>> San Francisco Ca. USA
>> 
>> more about sqb  
>> 
>> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  
> ___
> 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


mobile apps - getting started

2011-09-30 Thread Chris Sheffield

Hi all,

I'm finally getting started on a new mobile app for my company. It's taken a 
lot of time and a lot of convincing of the powers that be, but we're finally 
going to take the plunge.

I was wondering if anyone has some "getting started" tips and/or tricks. This 
app will be developed for tablets only, because of the type of media content. 
It will be developed first for the iPad, and we'll follow up with an Android 
version. What I'd be most interested in hearing is what's the best way to do a 
cross platform mobile app? Two separate stacks for the interfaces, with common 
code libraries to perform the main functionality?

I know there has been some discussion lately on different resolutions and how 
best to handle graphics, images, etc. Should I make use of something like 
MobGUI? I downloaded the trial version and am very impressed, but this app will 
probably not be using a lot of native-looking controls. Most controls will be 
skinned using custom images. Do the other features in MobGUI make it worth the 
price?

I may need to make use of a data grid at some point. Is the LC data grid 
compatible with mobile apps? Am I going to run into any problems with 
performance?

Are there any other "gotchas"? Things I should be aware of up front before I 
get too far into this and wish I had done something differently? Is anyone else 
developing a cross-platform mobile app? What kinds of successes/failures have 
you experienced?

Any suggestions would be most welcome.

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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


Re: On-rev and irev file problem?

2011-09-30 Thread Bob Sneidar
Whoops! Sorry did not see the iRev and on-rev part. Try writing the contents of 
the variables out to a log file. 

Bob


On Sep 30, 2011, at 11:12 AM, John Patten wrote:

> Hi All..
> 
> I duplicated a script that is working to send data to on-rev mysql database 
> in another project. The new project keeps throwing up a server connection 
> error.
> 
> I've tried to boil it down to the most basic components to trouble shoot, but 
> I still get errors. I 'have looked for typos over and over but don't see 
> anything.  Here is what I have in its most basic form:
> 
>  
> put $_POST["mymessage"] into mymessage
> set itemDel to tab
> 
> put item 1 of mymessage into tTargetPerson
> put item 2 of mymessage into tTargetNorm
> put itemDel into tCurrentItemDel
> set the itemDel to "|"
> put item 1 of tTargetNorm into tNorm_heading
> put item 2 of tTargetNorm into tNorm_topic
> set the itemDel to tab
> put item 3 of mymessage into tEventDescription
> 
> put "localhost" into tDatabaseAddress
> put "xx_norms" into tDatabaseName
> put "xx_normuser" into tDatabaseuser
> put "xxx" into tDatabasePassword
> 
> put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " " & 
> tDatabasePassword into tResult
> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, 
> tDatabaseuser, tDatabasePassword) into tResult
> --if tResult is not a number then
> --put "Error: could not connect to database " & tResult
> --else
> --put "target_person, norm_heading, norm_topic, description" into tFields
> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" 
> into tSQL
> answer tResult
> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", 
> "tNorm_topic", "tEventDescription"
> ?>
> 
> I'm at the point now I'm just trying to see what the connection contents is 
> in tResult, and it still throws up the server error???
> 
> Any advice?
> 
> Thank you!
> 
> John Patten
> SUSD
> 
> ___
> 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: On-rev and irev file problem?

2011-09-30 Thread Bob Sneidar
Yes, wrap it all in a try/catch construct and then step through it to see which 
line fails and why. 

try
  -- some code here
catch theError -- theError will contain detailed info on the error
  answer theError as sheet
  breakpoint -- so you can look at your variables here to see what they contain
end try

On Sep 30, 2011, at 11:12 AM, John Patten wrote:

> Hi All..
> 
> I duplicated a script that is working to send data to on-rev mysql database 
> in another project. The new project keeps throwing up a server connection 
> error.
> 
> I've tried to boil it down to the most basic components to trouble shoot, but 
> I still get errors. I 'have looked for typos over and over but don't see 
> anything.  Here is what I have in its most basic form:
> 
>  
> put $_POST["mymessage"] into mymessage
> set itemDel to tab
> 
> put item 1 of mymessage into tTargetPerson
> put item 2 of mymessage into tTargetNorm
> put itemDel into tCurrentItemDel
> set the itemDel to "|"
> put item 1 of tTargetNorm into tNorm_heading
> put item 2 of tTargetNorm into tNorm_topic
> set the itemDel to tab
> put item 3 of mymessage into tEventDescription
> 
> put "localhost" into tDatabaseAddress
> put "xx_norms" into tDatabaseName
> put "xx_normuser" into tDatabaseuser
> put "xxx" into tDatabasePassword
> 
> put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " " & 
> tDatabasePassword into tResult
> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, 
> tDatabaseuser, tDatabasePassword) into tResult
> --if tResult is not a number then
> --put "Error: could not connect to database " & tResult
> --else
> --put "target_person, norm_heading, norm_topic, description" into tFields
> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" 
> into tSQL
> answer tResult
> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", 
> "tNorm_topic", "tEventDescription"
> ?>
> 
> I'm at the point now I'm just trying to see what the connection contents is 
> in tResult, and it still throws up the server error???
> 
> Any advice?
> 
> Thank you!
> 
> John Patten
> SUSD
> 
> ___
> 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: On-rev and irev file problem?

2011-09-30 Thread stephen barncard
Also check your MySQL account for any IP or cross-domain restrictions.

On 30 September 2011 11:20, stephen barncard <
stephenrevoluti...@barncard.com> wrote:

> how did you name the file?  with a .lc or .rev   suffix?
>
>
> On 30 September 2011 11:12, John Patten  wrote:
>
>> Hi All..
>>
>> I duplicated a script that is working to send data to on-rev mysql
>> database in another project. The new project keeps throwing up a server
>> connection error.
>>
>> I've tried to boil it down to the most basic components to trouble shoot,
>> but I still get errors. I 'have looked for typos over and over but don't see
>> anything.  Here is what I have in its most basic form:
>>
>> >
>> put $_POST["mymessage"] into mymessage
>> set itemDel to tab
>>
>> put item 1 of mymessage into tTargetPerson
>> put item 2 of mymessage into tTargetNorm
>> put itemDel into tCurrentItemDel
>> set the itemDel to "|"
>> put item 1 of tTargetNorm into tNorm_heading
>> put item 2 of tTargetNorm into tNorm_topic
>> set the itemDel to tab
>> put item 3 of mymessage into tEventDescription
>>
>> put "localhost" into tDatabaseAddress
>> put "xx_norms" into tDatabaseName
>> put "xx_normuser" into tDatabaseuser
>> put "xxx" into tDatabasePassword
>>
>> put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " " &
>> tDatabasePassword into tResult
>> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName,
>> tDatabaseuser, tDatabasePassword) into tResult
>> --if tResult is not a number then
>> --put "Error: could not connect to database " & tResult
>> --else
>> --put "target_person, norm_heading, norm_topic, description" into tFields
>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)"
>> into tSQL
>> answer tResult
>> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading",
>> "tNorm_topic", "tEventDescription"
>> ?>
>>
>> I'm at the point now I'm just trying to see what the connection contents
>> is in tResult, and it still throws up the server error???
>>
>> Any advice?
>>
>> Thank you!
>>
>> John Patten
>> SUSD
>>
>> ___
>> 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
>>
>
>
>
> --
>
>
>
> Stephen Barncard
> San Francisco Ca. USA
>
> more about sqb  
>
>


-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
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: On-rev and irev file problem?

2011-09-30 Thread stephen barncard
how did you name the file?  with a .lc or .rev   suffix?

On 30 September 2011 11:12, John Patten  wrote:

> Hi All..
>
> I duplicated a script that is working to send data to on-rev mysql database
> in another project. The new project keeps throwing up a server connection
> error.
>
> I've tried to boil it down to the most basic components to trouble shoot,
> but I still get errors. I 'have looked for typos over and over but don't see
> anything.  Here is what I have in its most basic form:
>
> 
> put $_POST["mymessage"] into mymessage
> set itemDel to tab
>
> put item 1 of mymessage into tTargetPerson
> put item 2 of mymessage into tTargetNorm
> put itemDel into tCurrentItemDel
> set the itemDel to "|"
> put item 1 of tTargetNorm into tNorm_heading
> put item 2 of tTargetNorm into tNorm_topic
> set the itemDel to tab
> put item 3 of mymessage into tEventDescription
>
> put "localhost" into tDatabaseAddress
> put "xx_norms" into tDatabaseName
> put "xx_normuser" into tDatabaseuser
> put "xxx" into tDatabasePassword
>
> put tDatabaseAddress & " " &  tDatabaseName & " " & tDatabaseuser & " " &
> tDatabasePassword into tResult
> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName,
> tDatabaseuser, tDatabasePassword) into tResult
> --if tResult is not a number then
> --put "Error: could not connect to database " & tResult
> --else
> --put "target_person, norm_heading, norm_topic, description" into tFields
> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)"
> into tSQL
> answer tResult
> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading",
> "tNorm_topic", "tEventDescription"
> ?>
>
> I'm at the point now I'm just trying to see what the connection contents is
> in tResult, and it still throws up the server error???
>
> Any advice?
>
> Thank you!
>
> John Patten
> SUSD
>
> ___
> 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
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: Reading PDF - a cry for help

2011-09-30 Thread Roger Eller
On Fri, Sep 30, 2011 at 11:02 AM, Graham Samuel wrote:

> Thanks to all who replied. As the one who started this thread, I'd like to
> say that I pretty much despair of finding a solution. The current position
> seems to me admirably summarised by Paul Dupuis (see below). Suggestions
> that I use a command-line utility seem to me to come down to using
> ImageMagick since I have not found any other solution that has the right
> functionality and licensing terms
>
> Graham
>
>
I posted this little GhostScript function to go from PDF to JPEG in January
of 2011 in a similar thread.  It is command-line based, but the overhead is
less than that of Image Magic, I think.

http://www.mail-archive.com/use-livecode@lists.runrev.com/msg03282.html

~Roger
___
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


On-rev and irev file problem?

2011-09-30 Thread John Patten
Hi All..

I duplicated a script that is working to send data to on-rev mysql database in 
another project. The new project keeps throwing up a server connection error.

I've tried to boil it down to the most basic components to trouble shoot, but I 
still get errors. I 'have looked for typos over and over but don't see 
anything.  Here is what I have in its most basic form:



I'm at the point now I'm just trying to see what the connection contents is in 
tResult, and it still throws up the server error???

Any advice?

Thank you!

John Patten
SUSD

___
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: Reading PDF - a cry for help

2011-09-30 Thread Bernard Devlin
I have a couple of suggestions (although I am not sure either will
work as smoothly as Graham wants, but my still be worth  a try).

1. display the pdf in a browser control, snapshot the window, present
the snapshot to the user to crop to just the image.
2. assuming that there is a linux solution (I've used pdf2txt or some
such on Linux to extract the text out of 1000 page pdf files), create
your own webservice that will accept a PDF file and a page number, and
it returns an image of the page to be cropped by the user.  I have
created such a web service before which took files in various "office"
formats and returned the data from the files (using OpenOffice running
headless on the linux server to extract the text).  Whilst such a
service might seem like a lot of work to setup, it is going to be
easier than writing an external or (I would imagine) parsing
PostScript (although I do have the PostScript manuals and
specification lying around here somewhere in PDF format).  You can get
your own VPS at Linode for approx $20 a month.

Bernard

___
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: [OT] Usability; deadly warning.

2011-09-30 Thread Richmond Mathewson

On 09/30/2011 09:04 PM, Colin Holgate wrote:

You mean, Dodo, as in an extinct OS?

On Sep 30, 2011, at 1:36 PM, Richmond Mathewson wrote:


DouDou [muffled mirth; surely the
French should have realised how 'that' name would go down in the Anglophone 
world].

___
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


Well, I mean Dodo as an evolutionary dead-end. And DooDoo as in a 
child's word for excrement.


___
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: [OT] Usability; deadly warning.

2011-09-30 Thread Colin Holgate
You mean, Dodo, as in an extinct OS?

On Sep 30, 2011, at 1:36 PM, Richmond Mathewson wrote:

> DouDou [muffled mirth; surely the
> French should have realised how 'that' name would go down in the Anglophone 
> world].

___
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: libJSON

2011-09-30 Thread Bernard Devlin
I am so sad about this.  Over the last 3 or 4 years, this list has
lost some truly great people.  Mark Smith was one of them.  When I saw
the post to his wikipedia entry, I just thought "that's got to be the
wrong Mark".  I had no idea he was a musician as well as a programmer.
 I've probably made more use of libraries contributed by Mark than by
those of anyone else.

RIP Eric Chatonet
RIP Bill Marriott
RIP Mark Smith

It makes me really appreciate having gone last week to spend time with
a relative who is 90 next year.  When people as young as the above
three have left us so soon, we have to appreciate those we have around
us still.

Bernard

On Thu, Sep 29, 2011 at 5:02 PM, stephen barncard
 wrote:
> Neither one of us talked about our music business experiences at all, he
> didn't wear it on his sleeve.  I really liked the guy, even though we'd
> never met face to face. He was a giving and valuable member of this list and
> he is missed.   I guess his on-rev site will be around 'forever' as I think
> he got in on the Pioneer plan.

___
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: Scrollbar/slider attributes

2011-09-30 Thread Richmond Mathewson











On 09/30/2011 08:18 PM, Ronald Zellner wrote:

 I am using scrollbars (sliders) to obtain ratings on a series of topics.
 Obviously, I need to have the default position of the slider at zero or at 
some mid point.  Is there an alternative to that?

 Also, a problem with sliders is you can't tell when people are simply 
satisfied with the default position for an item and when they forgot to answer 
that item.

 Anyone know of a visible attribute change that would indicate that the person 
at least touched the slider? (e.g.  on mouseUp)


"I touched it" Latrine in "Robin Hood, Men in Tights"



 I know I can check for untouched sliders by using a variable and then prompt 
them to rate those  items or change a graphic, etc. , but was wondering if 
there is a visual attribute that can be changed.


Better go for a mouseDown rather than a mouseUp, as the punter (whoops,
"end-user")
might slide their pointer off the control when they change their mind.

I just mocked up a stack containing a slider and a fld "fTOUCH" and put
this into
the script of the slider:

on mouseDown
   "put "Touched Me!" into fld "fTOUCH"
end mouseDown

rocket-science it ain't . . .  :)



of course, if you want to find out nuanced levels of interest you could do this:

on mouseOver
  put "Vaguely Interested" into fld "fTOUCH"
end mouseOver

on mouseDown
  put "Slightly More Interested" into fld "fTOUCH"
end mouseDown

on mouseUp
  put "Definite Interest" into fld "fTOUCH"
end mouseUp

--Remind me not to get too porno--

on scrollBarDrag
  put "Stroking My Thighs" into fld "fTOUCH"
end scrollBarDrag


 >

 Anyone played with this before?


Played with what? Now I'm beginning to get worried.

 >

 Thanks,
 Ron
 ___
 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: OT Help re Mac SideBar

2011-09-30 Thread Phil Davis

Hi Joe,

No one has suggested this, so... nothing like starting at the beginning. 
Assuming I understand the problem correctly, does this work?

- In the Finder's "Finder" menu, select "Preferences"
- Click the "Sidebar" icon at the top of the resulting window
- Uncheck the items you want to remove from the sidebar

My system is 10.6.8.

Hope this does it -
Phil Davis


On 9/22/11 2:23 PM, Joe Lewis Wilkins wrote:

Hi everyone,

A long time ago, I managed to make an item in the sidebar so that it has no 
alias to which it points. It just sits there taking up space. Is there anyway 
that I can remove it. I've tried everything I know that might work.

Thanks,

Joe Wilkins


___
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



--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net


___
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: [OT] Warp Drive, Here We Come

2011-09-30 Thread Richmond Mathewson

On 09/30/2011 08:37 PM, J. Landman Gay wrote:

On 9/22/11 8:59 PM, J. Landman Gay wrote:
Impossible. I'm in a cabin in the woods where I have to drive to get 
Internet access. Which is why I'm answering old posts by mistake, 
btw. And no way there's enough power to run my time warp stack.


On the other hand I'll be back tomorrow so maybe I did it then.


Wow, this thing really does work. I wrote that note more than a week 
ago and it just showed up on the list.




Dicky PRAM battery . . .  :)

___
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: Scrollbar/slider attributes

2011-09-30 Thread Richmond Mathewson

On 09/30/2011 08:18 PM, Ronald Zellner wrote:

I am using scrollbars (sliders) to obtain ratings on a series of topics.
Obviously, I need to have the default position of the slider at zero or at some 
mid point.  Is there an alternative to that?

Also, a problem with sliders is you can't tell when people are simply satisfied 
with the default position for an item and when they forgot to answer that item.

Anyone know of a visible attribute change that would indicate that the person 
at least touched the slider? (e.g.  on mouseUp)


"I touched it" Latrine in "Robin Hood, Men in Tights"



I know I can check for untouched sliders by using a variable and then prompt 
them to rate those  items or change a graphic, etc. , but was wondering if 
there is a visual attribute that can be changed.


Better go for a mouseDown rather than a mouseUp, as the punter (whoops, 
"end-user")

might slide their pointer off the control when they change their mind.

I just mocked up a stack containing a slider and a fld "fTOUCH" and put 
this into

the script of the slider:

on mouseDown
   "put "Touched Me!" into fld "fTOUCH"
end mouseDown

rocket-science it ain't . . .  :)


Anyone played with this before?

Thanks,
Ron
___
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: [OT] Warp Drive, Here We Come

2011-09-30 Thread J. Landman Gay

On 9/22/11 8:59 PM, J. Landman Gay wrote:

Impossible. I'm in a cabin in the woods where I have to drive to get Internet 
access. Which is why I'm answering old posts by mistake, btw. And no way 
there's enough power to run my time warp stack.

On the other hand I'll be back tomorrow so maybe I did it then.


Wow, this thing really does work. I wrote that note more than a week ago 
and it just showed up on the list.


--
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


[OT] Usability; deadly warning.

2011-09-30 Thread Richmond Mathewson

http://www.doudoulinux.org/web/english/index.html

cripes . . .

does it never occur to all those people who produce "kiddy friendly 
operating systems" from time to time that it might not be a bad idea to 
sit some kids down in front of a computer


I got 90% negative feedback today from a "I'll give you pretzels and 
Fanta" group of
my kids who I dragged into the school for a "go" with DouDou [muffled 
mirth; surely the
French should have realised how 'that' name would go down in the 
Anglophone world].


Oh, well, naive Richmond goes back to his Pentium 3s and 4s running 
Ubuntu 5.10 and

his, own, hacked desktop . . .

___
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


Scrollbar/slider attributes

2011-09-30 Thread Ronald Zellner
I am using scrollbars (sliders) to obtain ratings on a series of topics.  
Obviously, I need to have the default position of the slider at zero or at some 
mid point.  Is there an alternative to that?

Also, a problem with sliders is you can't tell when people are simply satisfied 
with the default position for an item and when they forgot to answer that item.

Anyone know of a visible attribute change that would indicate that the person 
at least touched the slider? (e.g.  on mouseUp)

I know I can check for untouched sliders by using a variable and then prompt 
them to rate those  items or change a graphic, etc. , but was wondering if 
there is a visual attribute that can be changed.

Anyone played with this before?

Thanks,
Ron
___
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: Datagrid Error

2011-09-30 Thread Marty Knapp

Hey Trevor,
It did occur every time, though I only tested on one Mac. I ended up 
rebuilding the stack which eliminated this problem, but a couple of 
times I've gotten another error when opening the datagrid stack (the 
error was not consistent):


Line No:
Hint: 238'
354,6192,0,_StoreColWidth
354,6192,0,group id 1004 of card id 1002 of stack stack>

354,6181,0,dgColumnWidth
354,6181,0,group id 1004 of card id 1002 of stack stack>

354,35,0,preOpenStack
354,35,0,card id 1002 of stack 
354,35,0,preOpenStack
354,35,0,card id 1002 of stack 
354,464,0,ShowRegister
354,464,0,stack 
354,13,0,menuPick
354,13,0,button id 1020 of group id 1019 of card id 1002 of stack to my main stack>


On closeStack I do save the column widths to a custom property (of a 
writeable stack) and then on preOpenStack I set the column widths with 
these values. Could this be interfering with something?


In the case that this happened the datagrid stack did open OK and then 
after closing it and reopening in the same session, there was no error 
(this was in the standalone).


Marty

On Tue, Sep 27, 2011 at 9:06 PM, Marty Knapp  wrote:


I have an application with a Datagrid that's been working fine but I'm now
getting an error in the standalone (but it seems to work fine in the IDE):


Marty,

I know of at least one other instance where someone is experiencing a
similar error. The problem only occurs on one computer though. Does this
error occur every time in your case?




___
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


planning my next two LiveCode TV presentations...

2011-09-30 Thread Colin Holgate
A few weeks ago I showed Unity, and Mike balanced out the meeting by showing 3D 
modeling tools, and the use of Franklin 3D. The next two tools I'll show are 
Director and Flash, and I wanted to know if anyone here had a preference which 
I showed first.

Director will have some interest to you because it has a very 'Talk like 
language, and you should come away thinking that you might actually get 
somewhere quickly with it! Flash is of interest because of the ubiquity of the 
plugin, as well as its ability to make things for a wide range of mobile 
devices.

On the down side, programming in Flash is quite different to LiveCode, or 
Director come to that, so you may come away feeling relieved that you use 
LiveCode!

Anyway, if any of you would like to say which you'd like me to go over first, 
I'll go along with that.

Also, to balance out those two meetings it would be nice to have a LiveCode 
related presentation that goes over some of the features I'll show, and how 
they might be achieved in LiveCode. For the Flash meeting it would be nice to 
have someone show off the Animation Toolkit. For Director I'm not sure what 
would be best, given that we covered Franklin already. Maybe someone else here 
knows Director too, and can help me think of what aspect to try and replicate 
in 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: Reading PDF - a cry for help

2011-09-30 Thread Björnke von Gierke

On 30 Sep 2011, at 17:02, Graham Samuel wrote:

> As a last remark, I'd be interested to know of the details of ANY 
> implementation of adding functionality of any kind to LiveCode via a 
> third-party application and 'shell'. I have never seen this in action and I 
> can't remember it being demonstrated by anyone on this list - but maybe I 
> just wasn't paying attention.

Mark made a presentation about extending livecode:
http://livecode.tv/2011/06/live-livecode-code-event-26-wrapup/

"Mark Schonewille will introduce you to extending LiveCode when LiveCode can’t 
do it alone. He will explore the possibilities of “shell”, “open process”, “do 
as” and “launch program”."

-- 
Watch live presentations every Saturday:
http://livecode.tv

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/


___
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: [OT] Urban OS

2011-09-30 Thread Richmond Mathewson

On 09/30/2011 07:23 PM, stephen barncard wrote:

THis is absurd for them to expect this to take off.


Well, I ALWAYS read the BBC website, but ALMOST NEVER TRUST what they 
write . . .  :)


And, certainly, the whole thing seems to be a load of people being paid 
to sit

around in committee rooms and puff hot-air . . .



What about security - not trivial
Is this proprietary? - if so, bound to fail
what processor is this based on?
Who coordinates development and support?
How is it paid for?

an OS of any kind is a big deal.  I am very skeptical.

On 30 September 2011 07:12, Richmond Mathewson
wrote:


http://www.bbc.co.uk/news/**technology-15109403

http://cataspanglish.com/2010/**07/26/urban-os-a-city-**operating-system/

--**--**
--**---

http://urbanlabs.net/index.**php/UrbanLabs_OS_%28English%29

How good is your (err ?) Catalan ?  http://urbanlabs.net/index.**
php/UrbanLabs_OS

--**--**
---

Now it could be "fun", could it not () to have
Livecode apps in "there" somewhere.

__**_
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: [OT] Urban OS

2011-09-30 Thread stephen barncard
THis is absurd for them to expect this to take off.

What about security - not trivial
Is this proprietary? - if so, bound to fail
what processor is this based on?
Who coordinates development and support?
How is it paid for?

an OS of any kind is a big deal.  I am very skeptical.

On 30 September 2011 07:12, Richmond Mathewson
wrote:

> http://www.bbc.co.uk/news/**technology-15109403
>
> http://cataspanglish.com/2010/**07/26/urban-os-a-city-**operating-system/
>
> --**--**
> --**---
>
> http://urbanlabs.net/index.**php/UrbanLabs_OS_%28English%29
>
> How good is your (err ?) Catalan ?  http://urbanlabs.net/index.**
> php/UrbanLabs_OS 
>
> --**--**
> ---
>
> Now it could be "fun", could it not () to have
> Livecode apps in "there" somewhere.
>
> __**_
> 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
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: [OT] Warp Drive, Here We Come

2011-09-30 Thread Bob Sneidar
Rght. As though the Aliens don't show up every wednesday night for a round 
of backgammon! I guess THEY might have enough power!

Bob


On Sep 22, 2011, at 6:59 PM, J. Landman Gay wrote:

> Impossible. I'm in a cabin in the woods where I have to drive to get Internet 
> access. Which is why I'm answering old posts by mistake, btw. And no way 
> there's enough power to run my time warp stack. 
> 
> On the other hand I'll be back tomorrow so maybe I did it then. 
> 
> Mark Wieder  wrote:
> 
>> Scott-
>> 
>> Thursday, September 22, 2011, 3:36:50 PM, you wrote:
>> 
>>> "Puzzling results from Cern, home of the LHC, have confounded physicists -
>>> because it appears subatomic particles have exceeded the speed of light."
>> 
>> I sense the hand of Jacque in this...
>> 
>> -- 
>> -Mark Wieder
>> mwie...@ahsoftware.net
>> 
>> 
>> ___
>> 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: Reading PDF - a cry for help

2011-09-30 Thread Mark Wieder
Paul-

Thursday, September 29, 2011, 10:55:35 AM, you wrote:

> As some folks may remember, I have posted to this list a number of time
> on the need for being able to open and read PDF content (text and 
> images) in LiveCode. We at Researchware have, I think, thoroughly 
> explored this topic. It all boils down to the fact you need 3rd party
> technology that can read the PDF format and render it and/or extract the
> text from it.

IIRC you were looking not just to extract the content but to keep the
page formatting, and that requires not just extracting the binary
content (easy enough to do) but extracting all the page layout
commands and executing them in your own interpreter. That's a bit more
of a task.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: Reading PDF - a cry for help

2011-09-30 Thread Mark Wieder
Ken-

Thursday, September 29, 2011, 8:24:51 AM, you wrote:

> Are you looking at just extracting the images? Or other relevant
> parts of the PDF? The reason I ask is that it looks like binary data
> is always contained between two lines: "stream" and "endstream", so
> extracting just the streaming data should be pretty quick to do;

The content in the stream is normally just zipped content and can be
extracted in the usual way.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: PRINTING PROBLEM

2011-09-30 Thread Nonsanity
I used to walk the aisles at a local Target every day at work as a break, so
I would find all the great deals and clearances. I got several all-in-one
inkjet printers at the $30 price point that way. So I was doing just what
you suggest.

HOWEVER, new printers don't usually come with fully-loaded ink cartridges.
They look the same but they don't give nearly the same print life, and the
weigh less. So while the cost of a whole new printer with ink is cheaper
than name-brand replacement cartridges, you aren't getting the same printing
capacity.

And those printers seem specifically designed to clog up if you put
off-brand ink in them. Or if you don't use it often. Or if you look at it
funny...

I tossed the capability to print color and just got a $100 laser printer.

 ~ Chris Innanen


On Fri, Sep 30, 2011 at 3:48 AM, Walt Brown wrote:

> I see an ad for an HP color inkjet all in one printer for $90 - with my
> current cartridges running around half that for a full replacement set,
> just
> keeping extra printers on hand might be more efficient (sigh) if not
> ecologically sound...
>
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Richmond
> Mathewson
> Sent: Wednesday, September 28, 2011 3:21 AM
> To: How to 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: Reading PDF - a cry for help

2011-09-30 Thread Graham Samuel

Thanks to all who replied. As the one who started this thread, I'd like to say 
that I pretty much despair of finding a solution. The current position seems to 
me admirably summarised by Paul Dupuis (see below). Suggestions that I use a 
command-line utility seem to me to come down to using ImageMagick since I have 
not found any other solution that has the right functionality and licensing 
terms - but when I looked into it, although I freely admit I know almost 
nothing about the internal workings of Windows, it seemed to me that IM is a 
resources hog that would not be amenable to a simple installation process 
hidden from the user; and that operating it so as to provide a LiveCode window 
containing the relevant representation would not be straightforward and would 
certainly mean clunky intermediate files. So it would be very very different 
from an 'import paint' situation. Bear in mind that I am not interested in the 
text in a PDF, just the image content (just a bitmap really), so things like IM 
are overkill for me anyway. But this 'modest' requirement hasn't got me any 
nearer a solution.

What really annoys me is that if I were writing my app in Visual Basic, I 
suspect there would be library components available with the right licensing 
terms, but the promise of a simple 'glue' or 'wrapper' capability to tie 
LiveCode to third-party externals whose APIs were not written with LiveCode in 
mind has not been fulfilled, even though it has been proposed in some versions 
of the LC documentation.

Before I completely give up I will go round the ImageMagick route once more, 
since I suppose I may have misunderstood its resource requirements, and it does 
have the advantage of being able to read TIFFs, which is another problem I have 
(also not likely to be on LiveCode's radar despite QA requests).

As a last remark, I'd be interested to know of the details of ANY 
implementation of adding functionality of any kind to LiveCode via a 
third-party application and 'shell'. I have never seen this in action and I 
can't remember it being demonstrated by anyone on this list - but maybe I just 
wasn't paying attention.

Graham


On 9/29/2011 10:01 AM, Graham Samuel wrote:
Short of RunRev itself extending input formats to include PDF (not impossible, 
but not likely in the short term), the solution would seem to be to licence a 
third-party library component and integrate it into my app by the use of 
bridging ('glue') code. I got pretty near with this one, having identified a 
component with suitable licensing terms and functionality (Sorax DLL). RunRev 
suggested that I could do the gluing with the aid of a 'C' programmer. It turns 
out after a lot of research by Thierry Douez, who has been helping me, that 
what I need is a person familiar with Visual Studio to accomplish this - but I 
despair of finding such a person who would also be familiar with the externals 
interface of the LiveCode engine. Maybe I will find such a person, but the 
trail does seem to have gone cold.

Has anyone any suggestion as to how I might proceed? My app works so nicely 
with JPG and PNG files, and I have (a little) belief that I could make it work 
with TIFF files, but without PDF input I am dead in the water.

As some folks may remember, I have posted to this list a number of time 
on the need for being able to open and read PDF content (text and 
images) in LiveCode. We at Researchware have, I think, thoroughly 
explored this topic. It all boils down to the fact you need 3rd party 
technology that can read the PDF format and render it and/or extract the 
text from it.

For pages as images or unstylized text, the cheap and dirty way is to 
use a 3rd party command-line utility to make your conversions. From a 
script perspective, you perform an answer file command, get the PDF 
file, and then use shell to batch convert it and then read the resulting 
text file or image file(s) back in. There is NO other free way to do 
this. Yes, this is ugly and probably not for the novice scripter and you 
code pretty much has to be platform specific, but again, it is the ONLY 
free way to do this. You are also not every displaying a real PDF - you 
are either displaying images of pages OR the unformatted, unstyled text.

You can also do a limited form of displaying a PDF in a window (you 
can't get or copy any selections/content in it though and can only 
navigate under script control by page) through InterApplication 
communication (IAC)

To open a PDF in LiveCode where you can actually control navigation 
through script control and get or set the user selections required two 
things: (a) a PDF library with APIs supporting these actions and (b) 
creating a set of LiveCode externals that in turn use the PDF APIs to 
provide these functions. The main problem with this approach is that all 
(or all we could find) of the open source or free PDF libraries are 
woefully immature and lack major functionality. Only commercial PDF 
technology has

Re: Reading PDF - a cry for help

2011-09-30 Thread Richmond Mathewson

On 09/30/2011 04:21 PM, Admin wrote:



I like that. pdf works everywhere (except that dark corner of
windows) - oh, you mean the 98% of all computer users dark corner? Oops,
forgot about them.

Mike


As our house is completely non-Windows [mixed Mac, Ubuntu-Linux, 
Mint-Linux],
and my wife has to print out her handouts at the University of Plovdiv 
[100% Windows];
as most of her stuff contains  an Anglo-Saxon-cum-Middle-English font 
made by me, she is
ALWAYS very careful to pump out her finished work as PDF files, stick 
them on the flash drive, and wander up the road to the Uni' . . .


. . . Safe in the knowledge that PDF is the ONLY format that works 
cross-platform [i.e. Mac + Windows + Linux] every single time.


So remarks about "dark corners" don't really make much sense. Certainly, 
the installs of
Windows XP at the University of Plovdiv have no problem at all printing 
out whatever we can

throw at them from our "alien" operating systems.

I do know that Adobe's PDF reader does not always "sit prettily" with 
Windows, and I tend to install Foxit for my friends:


http://www.foxitsoftware.com/Secure_PDF_Reader/

I don't like Windows, but the fact is that hereabouts (at least) 99% of 
the place uses Windows,
and, on the whole, seem to manage remarkably well. The fact that I don't 
like Windows has not stopped me installing it and tweaking it for people 
who would prefer it to other operating systems; the only thing they have 
had to put up with is a 20 minute anti-Windows rant from me first . . .  
:) Actually fairly cheap as the going rate for a windows install round 
here (I mean the act of installing, not the licence) is currently 
running at about 50 Euros).


My main grump about Windows boils down to 3 things:

1. I can run Pentium 2,3 & 4 machines much faster and more efficiently 
on types of Linux

than on Windows 98 and XP.

2. Kids who turn up with written work on Flash drives from there home 
systems are not going to virus my machines and ruin my weekend by having 
to reinstall everything for the 95th time.


3. I'd rather spend my money on things I see as more directly relevant 
to my work, such as
specialist learner keyboards, educational DVDs and so forth, than a 
plain bread-and-butter OS to underpin the work.


I used to be anti-PDF because it is not Open Source; but then, Hey, nor 
is Livecode. And
Open Source (sorry, Shri Shri Richard Stallman) is NOT a virtue in and 
of itself; and, having
gone to a talk by R. Stallman, I got turned off his shrill, one-sided, 
rather bigotted rantings.


And, however much I like Open Source, I cannot see a viable alternative 
to PDF right now.


___
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


[OT] Urban OS

2011-09-30 Thread Richmond Mathewson

http://www.bbc.co.uk/news/technology-15109403

http://cataspanglish.com/2010/07/26/urban-os-a-city-operating-system/

-

http://urbanlabs.net/index.php/UrbanLabs_OS_%28English%29

How good is your (err ?) Catalan ?  
http://urbanlabs.net/index.php/UrbanLabs_OS


---

Now it could be "fun", could it not () to have
Livecode apps in "there" somewhere.

___
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: Reading PDF - a cry for help

2011-09-30 Thread Admin
  

I like that. pdf works everywhere (except that dark corner of
windows) - oh, you mean the 98% of all computer users dark corner? Oops,
forgot about them. 

Mike 

On Fri, 30 Sep 2011 01:12:43 -0600, Vokey,
John wrote: 

> The problem (success?) with pdf is that it is, uniquely,
pdf: it is text, stylized text, bitmaps, vector graphics, and everything
else. Covert eps, for example, to pdf and all is fine (you can easily
extract the eps from the pdf). Add a second pdf (or another eps) to that
same file, and the eps becomes encoded pdf: the same is true for
stylized text or anything else. All of which is to say, you cannot
easily extract a precise image from a more complex pdf file, especially
one that is vector graphics in form. You can, as Preview does, cut from
a pdf an aspect of that pdf as a pdf image, but that pdf won't be the
original graphic (typically). You can also extract the text in a simple
ascii form that, typically on Windows, loses all the ligatures (on the
Mac it is usually more successful). TeXShop, unlike Preview, for
example, does try to extract eps from pdf, but fails if the encoding was
other than eps-->pdf. Preview just doesn't bother as it is not usually
possible. OTH, pdf-->pdf always works, which is one of the principle
reasons pdf dominates everywhere (except in that dark world of
Windows).
> 
> I do most of my work in LaTeX, and most of my figures are
vector graphics. That means an entire manuscript when compiled to pdf,
including all the stylized text, tables and figures is *at most* a few
hundred K. I have books I have written in LaTeX that over hundreds of
pages and figures are still at most a few megabytes when compiled to
pdf. Even one of those figures of those documents if converted from pdf
to say, png, or tiff, or jpeg would be larger than the entire document
in pdf. My point is simple: if in pdf stay there: it is already the best
format.
> 
> On 2011-09-29, at 6:56 PM,
use-livecode-requ...@lists.runrev.com [1]wrote:
> 
>> I find all of this
somewhat tantalizing, but the only way I've found to make a PDF document
useful in what I'm doing is to take a screen shot of it and then paste
or import it as an image into the other application. Though I do this
mostly in MacDraft, I should imagine that the same technique can be used
in LC, since I often use MD as a method of transitioning different kinds
of images into LC. Of course I'm interested in what you "see" in a PDF;
not what else there might be there, of which I know nothing. I don't
understand all of this "parsing" of data from or in a PDF. Joe Wilkins
>

> --
> Please avoid sending me Word or PowerPoint attachments.
> See 
>

> -Dr. John R. Vokey
> 
>
___
> use-livecode mailing
list
> use-livecode@lists.runrev.com [3]
> Please visit this url to
subscribe, unsubscribe and manage your subscription preferences:
>
http://lists.runrev.com/mailman/listinfo/use-livecode [4]

 


Links:
--
[1] mailto:use-livecode-requ...@lists.runrev.com
[2]
http://www.gnu.org/philosophy/no-word-attachments.html
[3]
mailto:use-livecode@lists.runrev.com
[4]
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: [OT] Max-Gentleman

2011-09-30 Thread Richmond Mathewson

On 09/30/2011 11:35 AM, Walt Brown wrote:

As I clear out old emails...

FYI, I recently ran into an old friend of mine from grade school. He tried
one of the prescription meds available for this purpose, once. It had a
warning "if you notice any changes in vision". He has permanently lost
complete vision in both eyes.




That is a serious warning to all of us.

___
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: Datagrid Error

2011-09-30 Thread Trevor DeVore
On Tue, Sep 27, 2011 at 9:06 PM, Marty Knapp  wrote:

> I have an application with a Datagrid that's been working fine but I'm now
> getting an error in the standalone (but it seems to work fine in the IDE):
>

Marty,

I know of at least one other instance where someone is experiencing a
similar error. The problem only occurs on one computer though. Does this
error occur every time in your case?

-- 
Trevor DeVore
Blue Mango Learning Systems

LiveCode Resources for Developers: http://livecode.bluemangolearning.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


RE: [OT] Max-Gentleman

2011-09-30 Thread Walt Brown
As I clear out old emails...

FYI, I recently ran into an old friend of mine from grade school. He tried
one of the prescription meds available for this purpose, once. It had a
warning "if you notice any changes in vision". He has permanently lost
complete vision in both eyes.

-Original Message-



___
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: PRINTING PROBLEM

2011-09-30 Thread Walt Brown
I see an ad for an HP color inkjet all in one printer for $90 - with my
current cartridges running around half that for a full replacement set, just
keeping extra printers on hand might be more efficient (sigh) if not
ecologically sound...

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Richmond
Mathewson
Sent: Wednesday, September 28, 2011 3:21 AM
To: How to 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 to read an specific page into pdf document?

2011-09-30 Thread Walt Brown
Hi Alessandro,
It depends on what mean by "read". Do you want to display a page to the
user, or do you want to capture the content of the PDF file for use in
LiveCode?
Walt

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Richmond
Mathewson
Sent: Thursday, September 29, 2011 1:02 PM
To: How to use LiveCode
Subject: Re: how to read an specific page into pdf document?

On 09/29/2011 07:50 PM, Alessandro Pisoni wrote:
> how can I do to read a page in a pdf file with Revolution, which syntax
should I use?
>
> thanks
>
>
>
> Alessandro Pisoni
>
>

I hope the Livecode developers (that's you lot in Edinburgh!) are noticing
the increasing volume of postings containing "PDF" . . . it might signal
something.

___
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: Reading PDF - a cry for help

2011-09-30 Thread Vokey, John
The problem (success?) with pdf is that it is, uniquely, pdf: it is text, 
stylized text, bitmaps, vector graphics, and everything else.  Covert eps, for 
example, to pdf and all is fine (you can easily extract the eps from the pdf).  
Add a second pdf (or another eps) to that same file, and the eps becomes 
encoded pdf: the same is true for stylized text or anything else.  All of which 
is to say, you cannot easily extract a precise image from a more complex pdf 
file, especially one that is vector graphics in form.  You can, as Preview 
does, cut from a pdf an aspect of that pdf as a pdf image, but that pdf won't 
be the original graphic (typically).  You can also extract the text in a simple 
ascii form that, typically on Windows, loses all the ligatures (on the Mac it 
is usually more successful).  TeXShop, unlike Preview, for example, does try to 
extract eps from pdf, but fails if the encoding was other than eps-->pdf.  
Preview just doesn't bother as it is not usually possible.  OTH, pdf-->pdf 
always works, which is one of the principle reasons pdf dominates everywhere 
(except in that dark world of Windows).

I do most of my work in LaTeX, and most of my figures are vector graphics.  
That means an entire manuscript when compiled to pdf, including all the 
stylized text, tables and figures is *at most* a few hundred K.  I have books I 
have written in LaTeX that over hundreds of pages and figures are still at most 
a few megabytes when compiled to pdf.  Even one of those figures of those 
documents if converted from pdf to say, png, or tiff, or jpeg would be larger 
than the entire document in pdf.  My point is simple: if in pdf stay there: it 
is already the best format.


On 2011-09-29, at 6:56 PM, use-livecode-requ...@lists.runrev.com wrote:

> I find all of this somewhat tantalizing, but the only way I've found to make 
> a PDF document useful in what I'm doing is to take a screen shot of it and 
> then paste or import it as an image into the other application. Though I do 
> this mostly in MacDraft, I should imagine that the same technique can be used 
> in LC, since I often use MD as a method of transitioning different kinds of 
> images into LC. Of course I'm interested in what you "see" in a PDF; not what 
> else there might be there, of which I know nothing. I don't understand all of 
> this "parsing" of data from or in a PDF.
> 
> Joe Wilkins

--
Please avoid sending me Word or PowerPoint attachments.
See 

-Dr. John R. Vokey



___
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: scrolling text field for iOS

2011-09-30 Thread Gerry Orkin
http://forums.runrev.com/viewtopic.php?f=54&t=8419&sid=bf0fce69c0385b78e776bf617b2dc5b0


On 30/09/2011, at 4:58 PM, paolo mazza wrote:

> Hi all,
> I set up a finger scrolling text field for an iOS application taking
> into consideration that the content of the text field change according
> to the language selected by the user.
> 
> I posted the stack in RevOnLine:
> http://revonline2.runrev.com/stack/602/Finger-Scroll-
> 
> It works. Still I wonder if a better practice/solution can accomplish
> this task.
> 
> All the best
> 
> Paolo Mazza
> 
> ___
> 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: Reading PDF - a cry for help

2011-09-30 Thread Walt Brown
I have had some success parsing PDF files for various purposes using the
shell command to access tools like pdftk, ghostpdl/ghostscript and the xpdf
suite of command line tools. 

Walt Brown

-Original Message-




___
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