Plugins with Community Edition

2013-04-16 Thread Terence Heaford
Hi,

One of the methods suggested for the use of the Community Edition was for 
producing in-house applications.

Unless I am mistaken it does not seem possible to fulfil this promise when 
using commercial plugins that have password protection.

Is that correct or am I missing something?


All the best

Terry
___
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: Current Card

2013-04-16 Thread Richmond

On 04/17/2013 08:54 AM, Kay C Lan wrote:

On Wed, Apr 17, 2013 at 5:29 AM, Mark Wieder  wrote:


Richmond  writes:


The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . .

...except for the "Don't Panic" part... 

---and the number of people that have read it...


Has anyone read it fully?

It is quite considerably out of date.


___
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: Current Card

2013-04-16 Thread Kay C Lan
On Wed, Apr 17, 2013 at 5:29 AM, Mark Wieder  wrote:

> Richmond  writes:
>
> > The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . .
>
> ...except for the "Don't Panic" part... 
>
> ---and the number of people that have read it...
___
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 directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Phil, do you have  a link to the documentation?  I would love to make sure
that the functions would fit my needs.


SKIP


On Tue, Apr 16, 2013 at 10:20 PM, Magicgate Software - Skip Kimpel <
s...@magicgate.com> wrote:

> Oo.. thanks for all the good info everybody!  Zryip the Slug, I would
> be more than honored and elated if you could let me try it out!
>
> SKIP
>
>
> On Tue, Apr 16, 2013 at 6:55 PM, Phil Davis  wrote:
>
>> Hi Skip,
>>
>> I added Curry Kenworthy's SpreadLib into one tool for a client and it
>> works like a charm. Their spreadsheets are similar but not identical
>> formats, but that doesn't stop anything from working. The spreadsheet is
>> loaded into a data grid where they can work with it in their LC app's
>> environment.
>>
>> The only SpreadLib link I'm aware of is here:
>> https://store2.esellerate.net/**store/checkout/CustomLayout.**
>> aspx?s=STR3897026475&pc=&page=**OnePageCatalog.htm
>>
>> Phil Davis
>>
>>
>>
>> On 4/16/13 1:26 PM, Magicgate Software - Skip Kimpel wrote:
>>
>>> Michael... didn't even think to go that route.  These are very consistent
>>> excel spreadsheets so that might be a solid alternative.
>>>
>>> Thanks...
>>>
>>> SKIP
>>>
>>>
>>> On Tue, Apr 16, 2013 at 4:06 PM, Michael Grinder
>>> **wrote:
>>>
>>>  Depending on how the data is structured, you may be able to use an ODBC
 connection to manipulate the Excel file.


 On Tue, Apr 16, 2013 at 1:26 PM, Magicgate Software - Skip Kimpel <
 s...@magicgate.com> wrote:

  Cut and paste not an option.  I have a client that stores all of their
>
 work

> in Excel and that will not change I need to be able to manipulate
>
 that

> data on the fly.
>
> Curry Kenworth, come through for me!  You would be a lifesaver!
>
> SKIP
>
>
> On Tue, Apr 16, 2013 at 1:30 PM, Colin Holgate 
>
 wrote:

> Doing a copy from the Excel cells and a paste into LiveCode doesn't
>>
> quite

> work. But, doing a paste into a text editor, and then a paste into
>> LiveCode, does work. Or asa worse case you reselect the text after the
>> paste in the text editor, and copy that before pasting into 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
>
>  __**_
 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
>>>
>>>
>> --
>> Phil Davis
>>
>>
>>
>> __**_
>> 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 directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Oo.. thanks for all the good info everybody!  Zryip the Slug, I would
be more than honored and elated if you could let me try it out!

SKIP


On Tue, Apr 16, 2013 at 6:55 PM, Phil Davis  wrote:

> Hi Skip,
>
> I added Curry Kenworthy's SpreadLib into one tool for a client and it
> works like a charm. Their spreadsheets are similar but not identical
> formats, but that doesn't stop anything from working. The spreadsheet is
> loaded into a data grid where they can work with it in their LC app's
> environment.
>
> The only SpreadLib link I'm aware of is here:
> https://store2.esellerate.net/**store/checkout/CustomLayout.**
> aspx?s=STR3897026475&pc=&page=**OnePageCatalog.htm
>
> Phil Davis
>
>
>
> On 4/16/13 1:26 PM, Magicgate Software - Skip Kimpel wrote:
>
>> Michael... didn't even think to go that route.  These are very consistent
>> excel spreadsheets so that might be a solid alternative.
>>
>> Thanks...
>>
>> SKIP
>>
>>
>> On Tue, Apr 16, 2013 at 4:06 PM, Michael Grinder
>> **wrote:
>>
>>  Depending on how the data is structured, you may be able to use an ODBC
>>> connection to manipulate the Excel file.
>>>
>>>
>>> On Tue, Apr 16, 2013 at 1:26 PM, Magicgate Software - Skip Kimpel <
>>> s...@magicgate.com> wrote:
>>>
>>>  Cut and paste not an option.  I have a client that stores all of their

>>> work
>>>
 in Excel and that will not change I need to be able to manipulate

>>> that
>>>
 data on the fly.

 Curry Kenworth, come through for me!  You would be a lifesaver!

 SKIP


 On Tue, Apr 16, 2013 at 1:30 PM, Colin Holgate 

>>> wrote:
>>>
 Doing a copy from the Excel cells and a paste into LiveCode doesn't
>
 quite
>>>
 work. But, doing a paste into a text editor, and then a paste into
> LiveCode, does work. Or asa worse case you reselect the text after the
> paste in the text editor, and copy that before pasting into 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

  __**_
>>> 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
>>
>>
> --
> Phil Davis
>
>
>
> __**_
> 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: Trouble with Android

2013-04-16 Thread Thomas McGrath III
Ben,

Where did you get the Orientation Stack from? I'd like to test it as well.

Thanks

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Mar 16, 2013, at 1:13 AM, J. Landman Gay  wrote:

> On 3/15/13 3:08 PM, Ben Rubinstein wrote:
>> Hmm... attempting to do some very simple trial stacks on Android, after
>> not having done any for a long time - having fought my way through a few
>> strangeness with regards to expired debug certificates and the like, I
>> now find that all my stacks - built with 5.5.3 or above - simply display
>> black, on two different test devices.
>> 
>> An older version of one of the stacks, an APK I happen to have lying
>> around my hard drive that was built about 14 months ago, can be
>> re-installed and works fine.
> 
> As mentioned, using acceleratedRendering on an Android device running OS 2.2 
> or earlier will launch to a black screen if you use the defaults. If you set 
> the compositorType to "software" it works, but I got some unwanted artifacts 
> when I did that. As far as I know it hasn't been fixed yet, so I had to 
> require Android 2.3 or higher.
> 
> Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with 
> 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black screen 
> on Jelly Bean.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Trouble with Android

2013-04-16 Thread Thomas McGrath III
Just downloaded the Android SDK linked from the lesson at 
http://lessons.runrev.com/s/lessons/m/4069/l/27389-how-do-i-become-an-android-developer-on-a-mac
 and built a simple test stack with one button. Test in Android and nothing but 
a black screen. This is a new stack with one card and no scripts whatsoever.

Livecode 5.5.4 and Android SDK Platform Android 2.2, API 8, revision 3

on OSX Mountain Lion 10.8.3

Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Mar 16, 2013, at 1:13 AM, J. Landman Gay  wrote:

> On 3/15/13 3:08 PM, Ben Rubinstein wrote:
>> Hmm... attempting to do some very simple trial stacks on Android, after
>> not having done any for a long time - having fought my way through a few
>> strangeness with regards to expired debug certificates and the like, I
>> now find that all my stacks - built with 5.5.3 or above - simply display
>> black, on two different test devices.
>> 
>> An older version of one of the stacks, an APK I happen to have lying
>> around my hard drive that was built about 14 months ago, can be
>> re-installed and works fine.
> 
> As mentioned, using acceleratedRendering on an Android device running OS 2.2 
> or earlier will launch to a black screen if you use the defaults. If you set 
> the compositorType to "software" it works, but I got some unwanted artifacts 
> when I did that. As far as I know it hasn't been fixed yet, so I had to 
> require Android 2.3 or higher.
> 
> Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with 
> 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black screen 
> on Jelly Bean.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Tue, Apr 16, 2013 at 4:23 PM, Monte Goulding  wrote:

> is this for an app in the same room/wifi



No, it could be anywhere. For 1.0 I think all I need is slow, peer-to-peer
messaging, for small (usually < a few hundred bytes, but occasionally
larger) messages, but in fairly large quantities -- it could easily be 100s
messages/user/day, which is why Parse's free 1,000,000 API calls/mo likely
wouldn't work.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Tue, Apr 16, 2013 at 12:00 PM, Mark Wilcox wrote:

> StackMob



Checking it out 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


Re: LC Community version - what's included ?

2013-04-16 Thread Martin Koob
When some one starts working the on-rev editor here are a couple of things to
put on the todo list.

Copy bug.

Copy with 'control' - C does not work.
Cut with 'Control' -X does not work

You can copy by dragging a selection with the option key down however.

Paste with  'Control'-V does work
Undo with 'Control'-Z does work (1 level of undo)

Debug bug on subdomains

There is also a problem with debugging when working on a subdomain
http://quality.runrev.com/show_bug.cgi?id=9944

Martin



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LC-Community-version-what-s-included-tp4663527p4663534.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: LC Community version - what's included ?

2013-04-16 Thread Mark Wieder
Monte Goulding  writes:

> The on-rev client is not currently in the repo I don't think. I'm not sure
> if RunRev ever promised to open source that but it would be nice if they
> did seeing as it doesn't seem to get any > maintenance. Perhaps someone in
> the community would take over maintenance on that???

Mark said that library hasn't been put up on github yet, but it's coming.


-- 
 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: on-rev: THOR server problem

2013-04-16 Thread Ralph DiMola
Thanks,

I did not see the email as I was making a major update to the SW that
connects to it and busy all day with clients. I pulled the complaint trigger
too soon. Oops.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Marty Knapp
Sent: Tuesday, April 16, 2013 6:58 PM
To: How to use LiveCode
Subject: Re: on-rev: THOR server problem

Hi Ralph,
David Williams posted a message earlier today that they were going to be
moving folks on Thor to a new server. Hopefully things will settle in soon.
My Wordpress site are not currently working but my non-Wordpress site are
coming up fine.

--
Best regards,
Marty Knapp
Knappster Solutions LLC
---



> Anyone else having problems? (Again)
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.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


Re: LC Community version - what's included ?

2013-04-16 Thread Monte Goulding

On 17/04/2013, at 8:23 AM, Alex Tweedly wrote:

> Does it include the on-rev client ?
> 
> Does LCServer community include the remote debugging capability ?

I haven't investigated fully but it looks like all the code is there to turn 
that on for a server build. The on-rev client is not currently in the repo I 
don't think. I'm not sure if RunRev ever promised to open source that but it 
would be nice if they did seeing as it doesn't seem to get any maintenance. 
Perhaps someone in the community would take over maintenance on that???

Cheers

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: THOR server problem

2013-04-16 Thread Marty Knapp

Hi Ralph,
David Williams posted a message earlier today that they were going to be 
moving folks on Thor to a new server. Hopefully things will settle in 
soon. My Wordpress site are not currently working but my non-Wordpress 
site are coming up fine.


--
Best regards,
Marty Knapp
Knappster Solutions LLC
---




Anyone else having problems? (Again)

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.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 directly from Excel

2013-04-16 Thread Phil Davis

Hi Skip,

I added Curry Kenworthy's SpreadLib into one tool for a client and it 
works like a charm. Their spreadsheets are similar but not identical 
formats, but that doesn't stop anything from working. The spreadsheet is 
loaded into a data grid where they can work with it in their LC app's 
environment.


The only SpreadLib link I'm aware of is here:
https://store2.esellerate.net/store/checkout/CustomLayout.aspx?s=STR3897026475&pc=&page=OnePageCatalog.htm

Phil Davis


On 4/16/13 1:26 PM, Magicgate Software - Skip Kimpel wrote:

Michael... didn't even think to go that route.  These are very consistent
excel spreadsheets so that might be a solid alternative.

Thanks...

SKIP


On Tue, Apr 16, 2013 at 4:06 PM, Michael Grinder
wrote:


Depending on how the data is structured, you may be able to use an ODBC
connection to manipulate the Excel file.


On Tue, Apr 16, 2013 at 1:26 PM, Magicgate Software - Skip Kimpel <
s...@magicgate.com> wrote:


Cut and paste not an option.  I have a client that stores all of their

work

in Excel and that will not change I need to be able to manipulate

that

data on the fly.

Curry Kenworth, come through for me!  You would be a lifesaver!

SKIP


On Tue, Apr 16, 2013 at 1:30 PM, Colin Holgate 

wrote:

Doing a copy from the Excel cells and a paste into LiveCode doesn't

quite

work. But, doing a paste into a text editor, and then a paste into
LiveCode, does work. Or asa worse case you reselect the text after the
paste in the text editor, and copy that before pasting into 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


___
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



--
Phil Davis


___
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: THOR server problem

2013-04-16 Thread Ralph DiMola
Anyone else having problems? (Again)

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.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


LC Community version - what's included ?

2013-04-16 Thread Alex Tweedly

Yeah, I know ... the standard answer is something like
  "LC Community edition includes everything except password-protected 
stacks."


But, I'd specifically like to know

Does it include the on-rev client ?

Does LCServer community include the remote debugging capability ?

-- Alex

___
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: Current Card

2013-04-16 Thread Mark Wieder
Richmond  writes:

> The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . .

...except for the "Don't Panic" part... 

-- 
 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: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Monte Goulding
Geoff is this for an app in the same room/wifi? Or two apps anywhere need to 
keep in sync. If it's the same room then the peer to peer stuff in gamekit 
would do nicely. I've implemented it in mergGK

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!





___
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 directly from Excel

2013-04-16 Thread Terry Dennis
Date: Tue, 16 Apr 2013 13:25:09 -0400
From: "Ralph DiMola" 
To: "'How to use LiveCode'" 
Subject: RE: Reading directly from Excel
Message-ID: <002a01ce3ac7$5856ceb0$09046c10$@net>

A couple of years ago, I built a prototype LC application to directly access 
spreadsheet data.

I used the OpenOffice API.  I got it working enough to prove the concept.

I researched it enough to know the same concept would work with the Google API.

I didn’t pursue the challenge because the client’s project didn’t survive their 
budget cuts.

Programming the API isn’t difficult.  Just time consuming.

TED

___
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 directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Michael... didn't even think to go that route.  These are very consistent
excel spreadsheets so that might be a solid alternative.

Thanks...

SKIP


On Tue, Apr 16, 2013 at 4:06 PM, Michael Grinder
wrote:

> Depending on how the data is structured, you may be able to use an ODBC
> connection to manipulate the Excel file.
>
>
> On Tue, Apr 16, 2013 at 1:26 PM, Magicgate Software - Skip Kimpel <
> s...@magicgate.com> wrote:
>
> > Cut and paste not an option.  I have a client that stores all of their
> work
> > in Excel and that will not change I need to be able to manipulate
> that
> > data on the fly.
> >
> > Curry Kenworth, come through for me!  You would be a lifesaver!
> >
> > SKIP
> >
> >
> > On Tue, Apr 16, 2013 at 1:30 PM, Colin Holgate 
> wrote:
> >
> > > Doing a copy from the Excel cells and a paste into LiveCode doesn't
> quite
> > > work. But, doing a paste into a text editor, and then a paste into
> > > LiveCode, does work. Or asa worse case you reselect the text after the
> > > paste in the text editor, and copy that before pasting into 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
> >
> ___
> 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: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
I just put this in and it will be a great help I think in setting up and 
testing further apps.

Thanks Mike,

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Apr 16, 2013, at 4:17 PM, Mike Kerner  wrote:

> Here's the code I put in the token field:
> 
> on closeField
>   put 1 into i
>   repeat while i<= the number of characters in me
>  if char i of me is not in "0123456789abcdefABCDEF" then
> delete char i of me
>  else -- char i of me is hex
> add 1 to i
>  end if -- char i fo me is not in.
>   end repeat --while i<= the number of characters in me
> end closeField

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


Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
Well now I am sending and getting my first PNs and it is an awesome feeling. I 
now need to finish the server setup and then on to Android.

This took me about three hours to work through the first time step by step, 
problem by problem. Then after I trashed it all and started again this time 
using the APNS Assistant it was less than twenty minutes. I am hoping the next 
time it even smoother and faster.


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Apr 16, 2013, at 4:04 PM, Mike Kerner  wrote:

> you have to remove the spaces.  I tweaked John's code so that it pulls out
> the brackets (gt/lt) and the spaces.
> 
> 
> On Tue, Apr 16, 2013 at 4:02 PM, Thomas McGrath III wrote:
> 
>> Mike and all,
>> 
>> First thank you Mike for getting back to me. I have successfully sent a
>> PNS to my Livecode app on the device. The other problem I had was that
>> mobileGetDeviceToken() returns a number that is divided by spaces after
>> every eight numbers/letters and that the APNS Assistant should not have
>> them in order to send out a push notification.
>> 
>> I wonder if that will also be a problem when I get the server set up?
>> 
>> Tom
>> 
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> mcgra...@mac.com
>> 
>> On Apr 16, 2013, at 3:56 PM, Thomas McGrath III  wrote:
>> 
>>> OK, So I deleted everything and started over.
>>> 
>>> What I noticed is that the Certificate Generation had a team ID that did
>> not match the one that I use normally (don't know where it comes from or
>> why) so I changed to the ID that I normally use and this time instead of
>> following the Lesson I used John's "Apple Push Notification Server
>> Assistant" to build out the certs and PEMs and then created a new App ID
>> and generated the new certificate. Finally I created a new provisioning
>> profile and and new build and now the device will 'take' the Livecode app
>> built with this new provisioning profile.
>>> 
>>> All seems good until I try to type in the device token reported back
>> from my device into the APNS Assistant. I keep getting an error at line 28
>> stating the binaryEncode: invalid data for parameter near: "x my token
>> number "
>>> 
>>> Has anyone run into problems with that before
>>> 
>>> Thanks
>>> 
>>> Tom
>>> 
>>> -- Tom McGrath III
>>> http://lazyriver.on-rev.com
>>> mcgra...@mac.com
>>> 
>>> On Apr 16, 2013, at 3:04 PM, Thomas McGrath III 
>> wrote:
>>> 
 Hello all,
 
 I am trying to build a sample app for testing my push notification
>> server.
 I am following the lesson at:
>> http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios
 
 Even though that lesson is out dated I was able to:
 Create a Development Certificate for this push app: In the Developer
>> Portal it states the name as "com.lrs.SkinDeepTattooGallery" and type as
>> "APNs Development iOS"
 Create an App ID: In the Portal it states Name as
>> "SkinDeepTattooGallery" and ID as "com.lrs.SkinDeepTattooGallery"
 Create a Provisioning Profile: In the Portal it states Name as
>> "SkinDeepTattooGallery" and type as development and status as "Active"
 
 But when I assign this profile in a standalone and then try to drop it
>> on my device in the xCode Organizer I get the error: "The executable was
>> signed with invalid entitlements. The entitlements specified in your
>> application's Code Signing Entitlements file do not match those specified
>> in your provisioning profile."
 
 So I go back to the Provisioning Portal and select the Development
>> Provisioning Profile and it only lists my normal "iOS Development: Thomas
>> McGrath II (iOS Development)" in the list of Certificates when I edit the
>> SkinDeepTattooGallery Profile. It does not list the Certificate created
>> earlier in the Developer Portal. So I go and check and the
>> com.lrs.SkinDeepTattooGallery as type "APNs Development" is still there as
>> a valid certificate BUT it does not show up as a choice in the Provisioning
>> Profile. So I can not build an app in Livecode because it will be invalid.
 
 I was under the impression from the Lesson that each app had to have a
>> "NEW" certificate, unique App ID and Provisioning Profile for Push
>> Notification. Yet the new certificate does not show up in Apple's
>> Provisioning Profile for my profile BUT my regular Certificate does show up.
 
 Has anyone run into this and know how to correct for this?
 
 Is it possible to use my existing regular 'for Development' Certificate
>> that is listed and just edit that for use with Push or do I truly need a
>> unique one as the lesson states?
 
 If so is there a step I missed or how do I get the 'Push' Certificate
>> to show up in the list of available certificates in that Profile?
 
 Thanks to all who can help.
 
 Tom
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.com
 
 

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Mike Kerner
Here's the code I put in the token field:

on closeField
   put 1 into i
   repeat while i<= the number of characters in me
  if char i of me is not in "0123456789abcdefABCDEF" then
 delete char i of me
  else -- char i of me is hex
 add 1 to i
  end if -- char i fo me is not in.
   end repeat --while i<= the number of characters in me
end closeField



On Tue, Apr 16, 2013 at 4:04 PM, Pierre Sahores wrote:

> Thomas,
>
> Please see below how to solve this smoothly :
>
> Le 16 avr. 2013 à 21:04, Thomas McGrath III a écrit :
>
> > Hello all,
> >
> > I am trying to build a sample app for testing my push notification
> server.
> > I am following the lesson at:
> http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios
> >
> > Even though that lesson is out dated I was able to:
> > Create a Development Certificate for this push app: In the Developer
> Portal it states the name as "com.lrs.SkinDeepTattooGallery" and type as
> "APNs Development iOS"
> > Create an App ID: In the Portal it states Name as
> "SkinDeepTattooGallery" and ID as "com.lrs.SkinDeepTattooGallery"
> > Create a Provisioning Profile: In the Portal it states Name as
> "SkinDeepTattooGallery" and type as development and status as "Active"
> >
> > But when I assign this profile in a standalone and then try to drop it
> on my device in the xCode Organizer I get the error: "The executable was
> signed with invalid entitlements. The entitlements specified in your
> application's Code Signing Entitlements file do not match those specified
> in your provisioning profile."
> >
> > So I go back to the Provisioning Portal and select the Development
> Provisioning Profile and it only lists my normal "iOS Development: Thomas
> McGrath II (iOS Development)" in the list of Certificates when I edit the
> SkinDeepTattooGallery Profile. It does not list the Certificate created
> earlier in the Developer Portal. So I go and check and the
> com.lrs.SkinDeepTattooGallery as type "APNs Development" is still there as
> a valid certificate BUT it does not show up as a choice in the Provisioning
> Profile. So I can not build an app in Livecode because it will be invalid.
> >
> > I was under the impression from the Lesson that each app had to have a
> "NEW" certificate, unique App ID and Provisioning Profile for Push
> Notification. Yet the new certificate does not show up in Apple's
> Provisioning Profile for my profile BUT my regular Certificate does show up.
> >
> > Has anyone run into this and know how to correct for this?
>
> Take care to verify that you have authorized your test devices to receive
> both the normal iOS dev profile (Xcode does this for you). and the Push one
> in the Apple Provisioning Portal (select the Push dev profile and edit it
> to get the next window appears and let you select the devices you want the
> Push dev profile to be installed on). That done, go back to Xcode and click
> on the refresh button of the Provisioning Profiles tab to get the need Push
> provisioning profile installed on the previously selected (on the Apple dev
> portal side) test devices.
>
> Best,
>
> Pierre
> >
> > Is it possible to use my existing regular 'for Development' Certificate
> that is listed and just edit that for use with Push or do I truly need a
> unique one as the lesson states?
> >
> > If so is there a step I missed or how do I get the 'Push' Certificate to
> show up in the list of available certificates in that Profile?
> >
> > Thanks to all who can help.
> >
> > Tom
> >
> >
> > -- Tom McGrath III
> > http://lazyriver.on-rev.com
> > mcgra...@mac.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
>
> --
> Pierre Sahores
> mobile : 06 03 95 77 70
> www.sahores-conseil.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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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 directly from Excel

2013-04-16 Thread Michael Grinder
Depending on how the data is structured, you may be able to use an ODBC
connection to manipulate the Excel file.


On Tue, Apr 16, 2013 at 1:26 PM, Magicgate Software - Skip Kimpel <
s...@magicgate.com> wrote:

> Cut and paste not an option.  I have a client that stores all of their work
> in Excel and that will not change I need to be able to manipulate that
> data on the fly.
>
> Curry Kenworth, come through for me!  You would be a lifesaver!
>
> SKIP
>
>
> On Tue, Apr 16, 2013 at 1:30 PM, Colin Holgate  wrote:
>
> > Doing a copy from the Excel cells and a paste into LiveCode doesn't quite
> > work. But, doing a paste into a text editor, and then a paste into
> > LiveCode, does work. Or asa worse case you reselect the text after the
> > paste in the text editor, and copy that before pasting into 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
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Mike Kerner
you have to remove the spaces.  I tweaked John's code so that it pulls out
the brackets (gt/lt) and the spaces.


On Tue, Apr 16, 2013 at 4:02 PM, Thomas McGrath III wrote:

> Mike and all,
>
> First thank you Mike for getting back to me. I have successfully sent a
> PNS to my Livecode app on the device. The other problem I had was that
> mobileGetDeviceToken() returns a number that is divided by spaces after
> every eight numbers/letters and that the APNS Assistant should not have
> them in order to send out a push notification.
>
> I wonder if that will also be a problem when I get the server set up?
>
> Tom
>
>
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgra...@mac.com
>
> On Apr 16, 2013, at 3:56 PM, Thomas McGrath III  wrote:
>
> > OK, So I deleted everything and started over.
> >
> > What I noticed is that the Certificate Generation had a team ID that did
> not match the one that I use normally (don't know where it comes from or
> why) so I changed to the ID that I normally use and this time instead of
> following the Lesson I used John's "Apple Push Notification Server
> Assistant" to build out the certs and PEMs and then created a new App ID
> and generated the new certificate. Finally I created a new provisioning
> profile and and new build and now the device will 'take' the Livecode app
> built with this new provisioning profile.
> >
> > All seems good until I try to type in the device token reported back
> from my device into the APNS Assistant. I keep getting an error at line 28
> stating the binaryEncode: invalid data for parameter near: "x my token
> number "
> >
> > Has anyone run into problems with that before
> >
> > Thanks
> >
> > Tom
> >
> > -- Tom McGrath III
> > http://lazyriver.on-rev.com
> > mcgra...@mac.com
> >
> > On Apr 16, 2013, at 3:04 PM, Thomas McGrath III 
> wrote:
> >
> >> Hello all,
> >>
> >> I am trying to build a sample app for testing my push notification
> server.
> >> I am following the lesson at:
> http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios
> >>
> >> Even though that lesson is out dated I was able to:
> >> Create a Development Certificate for this push app: In the Developer
> Portal it states the name as "com.lrs.SkinDeepTattooGallery" and type as
> "APNs Development iOS"
> >> Create an App ID: In the Portal it states Name as
> "SkinDeepTattooGallery" and ID as "com.lrs.SkinDeepTattooGallery"
> >> Create a Provisioning Profile: In the Portal it states Name as
> "SkinDeepTattooGallery" and type as development and status as "Active"
> >>
> >> But when I assign this profile in a standalone and then try to drop it
> on my device in the xCode Organizer I get the error: "The executable was
> signed with invalid entitlements. The entitlements specified in your
> application's Code Signing Entitlements file do not match those specified
> in your provisioning profile."
> >>
> >> So I go back to the Provisioning Portal and select the Development
> Provisioning Profile and it only lists my normal "iOS Development: Thomas
> McGrath II (iOS Development)" in the list of Certificates when I edit the
> SkinDeepTattooGallery Profile. It does not list the Certificate created
> earlier in the Developer Portal. So I go and check and the
> com.lrs.SkinDeepTattooGallery as type "APNs Development" is still there as
> a valid certificate BUT it does not show up as a choice in the Provisioning
> Profile. So I can not build an app in Livecode because it will be invalid.
> >>
> >> I was under the impression from the Lesson that each app had to have a
> "NEW" certificate, unique App ID and Provisioning Profile for Push
> Notification. Yet the new certificate does not show up in Apple's
> Provisioning Profile for my profile BUT my regular Certificate does show up.
> >>
> >> Has anyone run into this and know how to correct for this?
> >>
> >> Is it possible to use my existing regular 'for Development' Certificate
> that is listed and just edit that for use with Push or do I truly need a
> unique one as the lesson states?
> >>
> >> If so is there a step I missed or how do I get the 'Push' Certificate
> to show up in the list of available certificates in that Profile?
> >>
> >> Thanks to all who can help.
> >>
> >> Tom
> >>
> >>
> >> -- Tom McGrath III
> >> http://lazyriver.on-rev.com
> >> mcgra...@mac.com
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode ma

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Pierre Sahores
Thomas,

Please see below how to solve this smoothly :

Le 16 avr. 2013 à 21:04, Thomas McGrath III a écrit :

> Hello all,
> 
> I am trying to build a sample app for testing my push notification server.
> I am following the lesson at: 
> http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios
> 
> Even though that lesson is out dated I was able to:
> Create a Development Certificate for this push app: In the Developer Portal 
> it states the name as "com.lrs.SkinDeepTattooGallery" and type as "APNs 
> Development iOS"
> Create an App ID: In the Portal it states Name as "SkinDeepTattooGallery" and 
> ID as "com.lrs.SkinDeepTattooGallery"
> Create a Provisioning Profile: In the Portal it states Name as 
> "SkinDeepTattooGallery" and type as development and status as "Active"
> 
> But when I assign this profile in a standalone and then try to drop it on my 
> device in the xCode Organizer I get the error: "The executable was signed 
> with invalid entitlements. The entitlements specified in your application's 
> Code Signing Entitlements file do not match those specified in your 
> provisioning profile."
> 
> So I go back to the Provisioning Portal and select the Development 
> Provisioning Profile and it only lists my normal "iOS Development: Thomas 
> McGrath II (iOS Development)" in the list of Certificates when I edit the 
> SkinDeepTattooGallery Profile. It does not list the Certificate created 
> earlier in the Developer Portal. So I go and check and the 
> com.lrs.SkinDeepTattooGallery as type "APNs Development" is still there as a 
> valid certificate BUT it does not show up as a choice in the Provisioning 
> Profile. So I can not build an app in Livecode because it will be invalid.
> 
> I was under the impression from the Lesson that each app had to have a "NEW" 
> certificate, unique App ID and Provisioning Profile for Push Notification. 
> Yet the new certificate does not show up in Apple's Provisioning Profile for 
> my profile BUT my regular Certificate does show up.
> 
> Has anyone run into this and know how to correct for this?

Take care to verify that you have authorized your test devices to receive both 
the normal iOS dev profile (Xcode does this for you). and the Push one in the 
Apple Provisioning Portal (select the Push dev profile and edit it to get the 
next window appears and let you select the devices you want the Push dev 
profile to be installed on). That done, go back to Xcode and click on the 
refresh button of the Provisioning Profiles tab to get the need Push 
provisioning profile installed on the previously selected (on the Apple dev 
portal side) test devices.

Best,

Pierre
> 
> Is it possible to use my existing regular 'for Development' Certificate that 
> is listed and just edit that for use with Push or do I truly need a unique 
> one as the lesson states?
> 
> If so is there a step I missed or how do I get the 'Push' Certificate to show 
> up in the list of available certificates in that Profile?
> 
> Thanks to all who can help.
> 
> Tom
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgra...@mac.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
Mike and all,

First thank you Mike for getting back to me. I have successfully sent a PNS to 
my Livecode app on the device. The other problem I had was that 
mobileGetDeviceToken() returns a number that is divided by spaces after every 
eight numbers/letters and that the APNS Assistant should not have them in order 
to send out a push notification. 

I wonder if that will also be a problem when I get the server set up?

Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Apr 16, 2013, at 3:56 PM, Thomas McGrath III  wrote:

> OK, So I deleted everything and started over.
> 
> What I noticed is that the Certificate Generation had a team ID that did not 
> match the one that I use normally (don't know where it comes from or why) so 
> I changed to the ID that I normally use and this time instead of following 
> the Lesson I used John's "Apple Push Notification Server Assistant" to build 
> out the certs and PEMs and then created a new App ID and generated the new 
> certificate. Finally I created a new provisioning profile and and new build 
> and now the device will 'take' the Livecode app built with this new 
> provisioning profile.
> 
> All seems good until I try to type in the device token reported back from my 
> device into the APNS Assistant. I keep getting an error at line 28 stating 
> the binaryEncode: invalid data for parameter near: "x my token number 
> "
> 
> Has anyone run into problems with that before
> 
> Thanks
> 
> Tom
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgra...@mac.com
> 
> On Apr 16, 2013, at 3:04 PM, Thomas McGrath III  wrote:
> 
>> Hello all,
>> 
>> I am trying to build a sample app for testing my push notification server.
>> I am following the lesson at: 
>> http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios
>> 
>> Even though that lesson is out dated I was able to:
>> Create a Development Certificate for this push app: In the Developer Portal 
>> it states the name as "com.lrs.SkinDeepTattooGallery" and type as "APNs 
>> Development iOS"
>> Create an App ID: In the Portal it states Name as "SkinDeepTattooGallery" 
>> and ID as "com.lrs.SkinDeepTattooGallery"
>> Create a Provisioning Profile: In the Portal it states Name as 
>> "SkinDeepTattooGallery" and type as development and status as "Active"
>> 
>> But when I assign this profile in a standalone and then try to drop it on my 
>> device in the xCode Organizer I get the error: "The executable was signed 
>> with invalid entitlements. The entitlements specified in your application's 
>> Code Signing Entitlements file do not match those specified in your 
>> provisioning profile."
>> 
>> So I go back to the Provisioning Portal and select the Development 
>> Provisioning Profile and it only lists my normal "iOS Development: Thomas 
>> McGrath II (iOS Development)" in the list of Certificates when I edit the 
>> SkinDeepTattooGallery Profile. It does not list the Certificate created 
>> earlier in the Developer Portal. So I go and check and the 
>> com.lrs.SkinDeepTattooGallery as type "APNs Development" is still there as a 
>> valid certificate BUT it does not show up as a choice in the Provisioning 
>> Profile. So I can not build an app in Livecode because it will be invalid.
>> 
>> I was under the impression from the Lesson that each app had to have a "NEW" 
>> certificate, unique App ID and Provisioning Profile for Push Notification. 
>> Yet the new certificate does not show up in Apple's Provisioning Profile for 
>> my profile BUT my regular Certificate does show up.
>> 
>> Has anyone run into this and know how to correct for this?
>> 
>> Is it possible to use my existing regular 'for Development' Certificate that 
>> is listed and just edit that for use with Push or do I truly need a unique 
>> one as the lesson states?
>> 
>> If so is there a step I missed or how do I get the 'Push' Certificate to 
>> show up in the list of available certificates in that Profile?
>> 
>> Thanks to all who can help.
>> 
>> Tom
>> 
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> mcgra...@mac.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
OK, So I deleted everything and started over.

What I noticed is that the Certificate Generation had a team ID that did not 
match the one that I use normally (don't know where it comes from or why) so I 
changed to the ID that I normally use and this time instead of following the 
Lesson I used John's "Apple Push Notification Server Assistant" to build out 
the certs and PEMs and then created a new App ID and generated the new 
certificate. Finally I created a new provisioning profile and and new build and 
now the device will 'take' the Livecode app built with this new provisioning 
profile.

All seems good until I try to type in the device token reported back from my 
device into the APNS Assistant. I keep getting an error at line 28 stating the 
binaryEncode: invalid data for parameter near: "x my token number "

Has anyone run into problems with that before

Thanks

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Apr 16, 2013, at 3:04 PM, Thomas McGrath III  wrote:

> Hello all,
> 
> I am trying to build a sample app for testing my push notification server.
> I am following the lesson at: 
> http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios
> 
> Even though that lesson is out dated I was able to:
> Create a Development Certificate for this push app: In the Developer Portal 
> it states the name as "com.lrs.SkinDeepTattooGallery" and type as "APNs 
> Development iOS"
> Create an App ID: In the Portal it states Name as "SkinDeepTattooGallery" and 
> ID as "com.lrs.SkinDeepTattooGallery"
> Create a Provisioning Profile: In the Portal it states Name as 
> "SkinDeepTattooGallery" and type as development and status as "Active"
> 
> But when I assign this profile in a standalone and then try to drop it on my 
> device in the xCode Organizer I get the error: "The executable was signed 
> with invalid entitlements. The entitlements specified in your application's 
> Code Signing Entitlements file do not match those specified in your 
> provisioning profile."
> 
> So I go back to the Provisioning Portal and select the Development 
> Provisioning Profile and it only lists my normal "iOS Development: Thomas 
> McGrath II (iOS Development)" in the list of Certificates when I edit the 
> SkinDeepTattooGallery Profile. It does not list the Certificate created 
> earlier in the Developer Portal. So I go and check and the 
> com.lrs.SkinDeepTattooGallery as type "APNs Development" is still there as a 
> valid certificate BUT it does not show up as a choice in the Provisioning 
> Profile. So I can not build an app in Livecode because it will be invalid.
> 
> I was under the impression from the Lesson that each app had to have a "NEW" 
> certificate, unique App ID and Provisioning Profile for Push Notification. 
> Yet the new certificate does not show up in Apple's Provisioning Profile for 
> my profile BUT my regular Certificate does show up.
> 
> Has anyone run into this and know how to correct for this?
> 
> Is it possible to use my existing regular 'for Development' Certificate that 
> is listed and just edit that for use with Push or do I truly need a unique 
> one as the lesson states?
> 
> If so is there a step I missed or how do I get the 'Push' Certificate to show 
> up in the list of available certificates in that Profile?
> 
> Thanks to all who can help.
> 
> Tom
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgra...@mac.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Mike Kerner
Hey, Tom,
The developer portal just changed a couple of days ago, so it's unlikely
that any lesson will be current.
1) Make sure that when you look at the App ID that under "Application
Services" Push Notifications are Enabled.
2) In that same list, at the bottom, your Development SSL Certification
should appear.  You can download it from there if XCode won't automatically
get it for you.
3) The App IDs are the most difficult part of the whole thing.  They should
be unique, and the APNs privileges are tied to it.  You can't junk them if
you decide to start over.

Email me some screen shots off list and we'll get you through this if the
above doesn't help enough.




On Tue, Apr 16, 2013 at 3:04 PM, Thomas McGrath III wrote:

> Hello all,
>
> I am trying to build a sample app for testing my push notification server.
> I am following the lesson at:
> http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios
>
> Even though that lesson is out dated I was able to:
> Create a Development Certificate for this push app: In the Developer
> Portal it states the name as "com.lrs.SkinDeepTattooGallery" and type as
> "APNs Development iOS"
> Create an App ID: In the Portal it states Name as "SkinDeepTattooGallery"
> and ID as "com.lrs.SkinDeepTattooGallery"
> Create a Provisioning Profile: In the Portal it states Name as
> "SkinDeepTattooGallery" and type as development and status as "Active"
>
> But when I assign this profile in a standalone and then try to drop it on
> my device in the xCode Organizer I get the error: "The executable was
> signed with invalid entitlements. The entitlements specified in your
> application's Code Signing Entitlements file do not match those specified
> in your provisioning profile."
>
> So I go back to the Provisioning Portal and select the Development
> Provisioning Profile and it only lists my normal "iOS Development: Thomas
> McGrath II (iOS Development)" in the list of Certificates when I edit the
> SkinDeepTattooGallery Profile. It does not list the Certificate created
> earlier in the Developer Portal. So I go and check and the
> com.lrs.SkinDeepTattooGallery as type "APNs Development" is still there as
> a valid certificate BUT it does not show up as a choice in the Provisioning
> Profile. So I can not build an app in Livecode because it will be invalid.
>
> I was under the impression from the Lesson that each app had to have a
> "NEW" certificate, unique App ID and Provisioning Profile for Push
> Notification. Yet the new certificate does not show up in Apple's
> Provisioning Profile for my profile BUT my regular Certificate does show up.
>
> Has anyone run into this and know how to correct for this?
>
> Is it possible to use my existing regular 'for Development' Certificate
> that is listed and just edit that for use with Push or do I truly need a
> unique one as the lesson states?
>
> If so is there a step I missed or how do I get the 'Push' Certificate to
> show up in the list of available certificates in that Profile?
>
> Thanks to all who can help.
>
> Tom
>
>
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgra...@mac.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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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 directly from Excel

2013-04-16 Thread Richmond

On 04/16/2013 10:26 PM, Magicgate Software - Skip Kimpel wrote:

Cut and paste not an option.  I have a client that stores all of their work
in Excel and that will not change I need to be able to manipulate that
data on the fly.

Curry Kenworth, come through for me!  You would be a lifesaver!

SKIP





"Just for fun" I set up a spreadsheet using LibreOffice Calc and saved 
it in Microsoft Excel 2003 XML
format and imported that as a TEXT file into a stack: the data I had 
entered into the cells of the
spreadsheet could clearly be seen in the resultant textFile amongst all 
the control and formatting

characters.

Had I been so motivated I could have written a set of rouitnes to strip 
out all the "chaff" and put the data into the cells of a datagrid.


Richmond.

___
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: fontSizes bust in 6.0

2013-04-16 Thread Jacques Hausser
Hi Pete,

For ages I was also frustrated by the poor choice of sizes proposed by the text 
formating inspector, and used the more flexible Text menu… before discovering 
that if you type a value instead of selecting it, the inspector takes the typed 
value.
(By the way, the "other…" size in Text menu is broken in 6, but it should be 
fixed in the next update).

As for the backward compatibility, I'm not absolutely sure (I'm not a collector 
of old versions), but I suspect that the 9-72 list of sizes was something 
rather recent. In older versions, as far as I remember, it behaved as described 
in the dictionary.

Jacques


Le 16 avr. 2013 à 19:13, Peter Haworth  a écrit :

> Hi Jacques,
> Thanks for checking this out.  It might be more logical but it's not
> backward compatible and it's not mentioned anywhere in the release notes
> that I could find - not a good combination!
> 
> I also notice that, for Verdana, the Inspector Text Formatting tab returns
> the "6,8,12,18,24" in both 5.5.4 and 6.0.  Presumably this because the menu
> is scripted to return this set of values for scalable fonts.
> 
> 
> 
> Pete
> lcSQL Software 
> 
> 
> On Tue, Apr 16, 2013 at 12:58 AM, Jacques Hausser
> wrote:
> 
>> Hi Peter,
>> 
>> I just compared the fontSizes in 5.5.4 and 6.0.0.
>> In 5.5.4, the Fontsizes returns every numbers from 9 to 72, one number per
>> line, for any scalable font. For bitmap fonts, it returns the installed
>> sizes only.
>> In 6.0.0, the fontSizes returns 0. For bitmap fonts, it returns the
>> installed sizes only.
>> Now, in BOTH versions, you can very well set the textSize to any other
>> number, say, 128, and the scalable fonts display perfectly well. (the
>> bitmap fonts display an ugly magnified version).
>> So I think that, since the scalable fonts can be displayed in any size,
>> the 0 is more logical than a truncated size list.
>> 
>> Jacques
>> 
>> Le 16 avr. 2013 à 06:45, Peter Haworth  a écrit :
>> 
>>> Build 1511 for me.
>>> 
>>> Just entered QCC bug#10852
>>> 
>>> Pete
>>> lcSQL Software 
>>> 
>>> 
>>> On Mon, Apr 15, 2013 at 8:07 PM, stephen barncard <
>>> stephenrevoluti...@barncard.com> wrote:
>>> 
 yes I just saw this on a stack I was working on that worked before..
 
 6.0 RC-6 Build 1509-- latest?
 
 this is wrong
 
 
 On Mon, Apr 15, 2013 at 5:44 PM, Peter Haworth  wrote:
 
> Right, but the exact same command in LC 5.5.x returns a list of font
 sizes
> so one or other is worng.
> 
> Pete
> lcSQL Software 
> 
> 
> On Mon, Apr 15, 2013 at 4:29 PM, Jacques Hausser <
 jacques.haus...@unil.ch
>> wrote:
> 
>> Hy Peter:
>> 
>> from the dictionary:
>> 
>> Comments:
>> If zero appears in the list returned by the fontSizes function, the
 font
>> is scalable, meaning that it can be displayed at any size supported by
> the
>> operating system.
>> 
>> 
>> Le 16 avr. 2013 à 01:14, Peter Haworth  a écrit :
>> 
>>> OSX 10.7.4, LC 6.0 Commercial or Community.  The fontsizes of a font
>> always
>>> returns zero.  Anyone else seeing this?
>>> Pete
>>> lcSQL Software 
>>> ___
 
 Stephen Barncard
 San Francisco Ca. USA
>> 
>>> 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

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***


___
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 directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Cut and paste not an option.  I have a client that stores all of their work
in Excel and that will not change I need to be able to manipulate that
data on the fly.

Curry Kenworth, come through for me!  You would be a lifesaver!

SKIP


On Tue, Apr 16, 2013 at 1:30 PM, Colin Holgate  wrote:

> Doing a copy from the Excel cells and a paste into LiveCode doesn't quite
> work. But, doing a paste into a text editor, and then a paste into
> LiveCode, does work. Or asa worse case you reselect the text after the
> paste in the text editor, and copy that before pasting into 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


iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
Hello all,

I am trying to build a sample app for testing my push notification server.
I am following the lesson at: 
http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios

Even though that lesson is out dated I was able to:
Create a Development Certificate for this push app: In the Developer Portal it 
states the name as "com.lrs.SkinDeepTattooGallery" and type as "APNs 
Development iOS"
Create an App ID: In the Portal it states Name as "SkinDeepTattooGallery" and 
ID as "com.lrs.SkinDeepTattooGallery"
Create a Provisioning Profile: In the Portal it states Name as 
"SkinDeepTattooGallery" and type as development and status as "Active"

But when I assign this profile in a standalone and then try to drop it on my 
device in the xCode Organizer I get the error: "The executable was signed with 
invalid entitlements. The entitlements specified in your application's Code 
Signing Entitlements file do not match those specified in your provisioning 
profile."

So I go back to the Provisioning Portal and select the Development Provisioning 
Profile and it only lists my normal "iOS Development: Thomas McGrath II (iOS 
Development)" in the list of Certificates when I edit the SkinDeepTattooGallery 
Profile. It does not list the Certificate created earlier in the Developer 
Portal. So I go and check and the com.lrs.SkinDeepTattooGallery as type "APNs 
Development" is still there as a valid certificate BUT it does not show up as a 
choice in the Provisioning Profile. So I can not build an app in Livecode 
because it will be invalid.

I was under the impression from the Lesson that each app had to have a "NEW" 
certificate, unique App ID and Provisioning Profile for Push Notification. Yet 
the new certificate does not show up in Apple's Provisioning Profile for my 
profile BUT my regular Certificate does show up.

Has anyone run into this and know how to correct for this?

Is it possible to use my existing regular 'for Development' Certificate that is 
listed and just edit that for use with Push or do I truly need a unique one as 
the lesson states?

If so is there a step I missed or how do I get the 'Push' Certificate to show 
up in the list of available certificates in that Profile?

Thanks to all who can help.

Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.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: Current Card

2013-04-16 Thread Phil Davis

It also works to say

go to current card of stack "ABC"

or

go this card of stack "ABC"

or just

go stack "ABC" -- goes to current card of that stack if stack is open


Best -
Phil Davis


On 4/16/13 11:40 AM, John Dixon wrote:

Peter..

Have a look at RecentCards in the dictionary...


Subject: Re: Current Card
From: bogdan...@me.com
Date: Tue, 16 Apr 2013 11:09:09 -0700
To: use-livecode@lists.runrev.com

That's it!

It works, notwithstanding I don't see "currentCard" in the LC Dictionary...

Craig's suggestion doesn't have the precision I was needing--I don't know what 
card is showing.

Peter

On Apr 16, 2013, at 10:45 AM, Mark Wieder  wrote:


Peter Bogdanoff  writes:


How would I refer to the current card of the topStack, or any open stack,

without actually going to that stack?

the currentcard of stack the topstack
the currentcard of stack "xyzzy"

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



--
Phil Davis


___
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: Current Card

2013-04-16 Thread J. Landman Gay

On 4/16/13 1:09 PM, Peter Bogdanoff wrote:

That's it!

It works, notwithstanding I don't see "currentCard" in the LC Dictionary...


You can also use:

 this card of stack x

--
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: Current Card

2013-04-16 Thread Richmond

On 04/16/2013 09:09 PM, Peter Bogdanoff wrote:

That's it!

It works, notwithstanding I don't see "currentCard" in the LC Dictionary...


The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . .



Craig's suggestion doesn't have the precision I was needing--I don't know what 
card is showing.

Peter

On Apr 16, 2013, at 10:45 AM, Mark Wieder  wrote:


Peter Bogdanoff  writes:


How would I refer to the current card of the topStack, or any open stack,

without actually going to that stack?

the currentcard of stack the topstack
the currentcard of stack "xyzzy"

--
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: Current Card

2013-04-16 Thread John Dixon
Peter..

Have a look at RecentCards in the dictionary...

> Subject: Re: Current Card
> From: bogdan...@me.com
> Date: Tue, 16 Apr 2013 11:09:09 -0700
> To: use-livecode@lists.runrev.com
> 
> That's it!
> 
> It works, notwithstanding I don't see "currentCard" in the LC Dictionary...
> 
> Craig's suggestion doesn't have the precision I was needing--I don't know 
> what card is showing.
> 
> Peter
> 
> On Apr 16, 2013, at 10:45 AM, Mark Wieder  wrote:
> 
> > Peter Bogdanoff  writes:
> > 
> >> How would I refer to the current card of the topStack, or any open stack,
> > without actually going to that stack?
> > 
> > the currentcard of stack the topstack
> > the currentcard of stack "xyzzy"
> > 
> > -- 
> > 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: Current Card

2013-04-16 Thread Peter Bogdanoff
That's it!

It works, notwithstanding I don't see "currentCard" in the LC Dictionary...

Craig's suggestion doesn't have the precision I was needing--I don't know what 
card is showing.

Peter

On Apr 16, 2013, at 10:45 AM, Mark Wieder  wrote:

> Peter Bogdanoff  writes:
> 
>> How would I refer to the current card of the topStack, or any open stack,
> without actually going to that stack?
> 
> the currentcard of stack the topstack
> the currentcard of stack "xyzzy"
> 
> -- 
> 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


Re: Current Card

2013-04-16 Thread dunbarx
Hi.


Could you:


answer the name of cd 1 of stack yourStack




or


answer the name of card 1 of stack line 3 of the stacks


If the name is what you are after, of course...


Craig Newman





-Original Message-
From: Peter Bogdanoff 
To: How to use LiveCode 
Sent: Tue, Apr 16, 2013 1:37 pm
Subject: Current Card


Hi,

How would I refer to the current card of the topStack, or any open stack, 
without actually going to that stack?

Do I have to send a message to it to get that info?

Peter Bogdanoff
UCLA
___
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: Current Card

2013-04-16 Thread Mark Wieder
Peter Bogdanoff  writes:

> How would I refer to the current card of the topStack, or any open stack,
without actually going to that stack?

the currentcard of stack the topstack
the currentcard of stack "xyzzy"

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


Current Card

2013-04-16 Thread Peter Bogdanoff
Hi,

How would I refer to the current card of the topStack, or any open stack, 
without actually going to that stack?

Do I have to send a message to it to get that info?

Peter Bogdanoff
UCLA
___
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 directly from Excel

2013-04-16 Thread Colin Holgate
Doing a copy from the Excel cells and a paste into LiveCode doesn't quite work. 
But, doing a paste into a text editor, and then a paste into LiveCode, does 
work. Or asa worse case you reselect the text after the paste in the text 
editor, and copy that before pasting into 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: fontSizes bust in 6.0

2013-04-16 Thread Peter Haworth
On Tue, Apr 16, 2013 at 10:13 AM, Peter Haworth  wrote:

> returns the "6,8,12,18,24" in both 5.5.4 and 6.0


Sorry, that should be "9,10,12,14,18,24"

Pete
lcSQL Software 
___
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 directly from Excel

2013-04-16 Thread Ralph DiMola
I just wrote a program in VB6 the other day to read an Excel spreadsheet and
update a MySql database. It was easy until I needed to "get char 3 of word 5
of line 2 of var" and then I got a headache. I would also LOVE to use LC for
these type of things. I thought about exporting to a csv and using LC but it
was too messy. I also remember that Curry Kenworth was working on a
solution. I wonder what the status of that project is?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Magicgate Software - Skip Kimpel
Sent: Tuesday, April 16, 2013 12:33 PM
To: How to use LiveCode
Subject: Reading directly from Excel

Is there any way to read in cells directly from an Excel spreadsheet (not
CSV)?

Would make my life on my current project a lot easier if I could!  If not, I
guess I could always write a command line script that would covert it over
to CSV before manipulating it in LC.

Just thought I would ask before going down that road.

SKIP
___
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: fontSizes bust in 6.0

2013-04-16 Thread Peter Haworth
Hi Jacques,
Thanks for checking this out.  It might be more logical but it's not
backward compatible and it's not mentioned anywhere in the release notes
that I could find - not a good combination!

I also notice that, for Verdana, the Inspector Text Formatting tab returns
the "6,8,12,18,24" in both 5.5.4 and 6.0.  Presumably this because the menu
is scripted to return this set of values for scalable fonts.



Pete
lcSQL Software 


On Tue, Apr 16, 2013 at 12:58 AM, Jacques Hausser
wrote:

> Hi Peter,
>
> I just compared the fontSizes in 5.5.4 and 6.0.0.
> In 5.5.4, the Fontsizes returns every numbers from 9 to 72, one number per
> line, for any scalable font. For bitmap fonts, it returns the installed
> sizes only.
> In 6.0.0, the fontSizes returns 0. For bitmap fonts, it returns the
> installed sizes only.
> Now, in BOTH versions, you can very well set the textSize to any other
> number, say, 128, and the scalable fonts display perfectly well. (the
> bitmap fonts display an ugly magnified version).
> So I think that, since the scalable fonts can be displayed in any size,
> the 0 is more logical than a truncated size list.
>
> Jacques
>
> Le 16 avr. 2013 à 06:45, Peter Haworth  a écrit :
>
> > Build 1511 for me.
> >
> > Just entered QCC bug#10852
> >
> > Pete
> > lcSQL Software 
> >
> >
> > On Mon, Apr 15, 2013 at 8:07 PM, stephen barncard <
> > stephenrevoluti...@barncard.com> wrote:
> >
> >> yes I just saw this on a stack I was working on that worked before..
> >>
> >> 6.0 RC-6 Build 1509-- latest?
> >>
> >> this is wrong
> >>
> >>
> >> On Mon, Apr 15, 2013 at 5:44 PM, Peter Haworth  wrote:
> >>
> >>> Right, but the exact same command in LC 5.5.x returns a list of font
> >> sizes
> >>> so one or other is worng.
> >>>
> >>> Pete
> >>> lcSQL Software 
> >>>
> >>>
> >>> On Mon, Apr 15, 2013 at 4:29 PM, Jacques Hausser <
> >> jacques.haus...@unil.ch
>  wrote:
> >>>
>  Hy Peter:
> 
>  from the dictionary:
> 
>  Comments:
>  If zero appears in the list returned by the fontSizes function, the
> >> font
>  is scalable, meaning that it can be displayed at any size supported by
> >>> the
>  operating system.
> 
> 
>  Le 16 avr. 2013 à 01:14, Peter Haworth  a écrit :
> 
> > OSX 10.7.4, LC 6.0 Commercial or Community.  The fontsizes of a font
>  always
> > returns zero.  Anyone else seeing this?
> > Pete
> > lcSQL Software 
> > ___
> >>
> >> Stephen Barncard
> >> San Francisco Ca. USA
>
> > 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: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Mark Wilcox
Makes sense. If the pricing model is a major factor you might also want to look 
at StackMob. I believe they have unlimited free use of their basic feature set.


Geoff Canyon  wrote:

>On Tue, Apr 16, 2013 at 5:41 AM, Mark Wilcox  wrote:
>
>> Firebase but it's primarily about sending small chunks of realtime data.
>> Is that what you want for your app
>
>
>
>No, but the early, non-optimized stage the app is likely to send many small
>messages, so firebase's bandwidth-based billing sounds better than parse's
>message-based billing.
>___
>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: Saving into invisible folders ?

2013-04-16 Thread Peter M. Brigham
On Apr 16, 2013, at 1:48 AM, Richmond wrote:

> So, I have a stack with a single card containing:
> 
> 1. A group "PAIR".
> 
> 2. A button "Button" containing the following script:
> 
> on mouseUp
>   set the defaultFolder to specialFolderPath("Home")
>   create folder ".myMuck"
>   set the defaultFolder to specialFolderPath(".myMuck")
>   export snapshot from group "PAIR" to file "PAIR.png" as PNG
> end mouseUp
> 
> this all using RevMedia 4.0 alpha on Ubuntu Linux 12.04 (don't ask!).
> 
> The script creates the folder quite happily, but then does not
> save the snapshot into the folder (presumably because Livecode cannot 'see'
> a folder with a dot prefix).
> 
> I have run the same script, creating a visible folder "myMuck" and the 
> snapshot
> is saved.

AFAIK, specialFolderPath() can only take one of a specified list of arguments, 
and ".my Muck" is not one of them. Does it not work to do this: 
   put specialFolderPath("Home") into hFolder
   put hFolder & ".myMuck/" into muckFolder
   set the defaultFolder to muckFolder
   export snapshot from group "PAIR" to file "PAIR.png" as PNG
??

-- 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 directly from Excel

2013-04-16 Thread Andrew Kluthe
Curry Kenworth has been working on a library for that for some time.
SpreadLib handles importing, SpreadOut handles exporting.


I contacted him off list about it a while back and March 26th he said:

"SpreadLib and SpreadOut currently have funding for the basic features and
just need a little more time. (I had a ridiculous string of health problems
and am trying to catch up.) Shouldn't be too long now."

Albeit, these are probably only going to work with commercial versions of
livecode 6+, unless he decides to dual license them.


On Tue, Apr 16, 2013 at 11:32 AM, Magicgate Software - Skip Kimpel <
s...@magicgate.com> wrote:

> Is there any way to read in cells directly from an Excel spreadsheet (not
> CSV)?
>
> Would make my life on my current project a lot easier if I could!  If not,
> I guess I could always write a command line script that would covert it
> over to CSV before manipulating it in LC.
>
> Just thought I would ask before going down that road.
>
> SKIP
> ___
> 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
>



-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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 directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Is there any way to read in cells directly from an Excel spreadsheet (not
CSV)?

Would make my life on my current project a lot easier if I could!  If not,
I guess I could always write a command line script that would covert it
over to CSV before manipulating it in LC.

Just thought I would ask before going down that road.

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


Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Tue, Apr 16, 2013 at 5:41 AM, Mark Wilcox  wrote:

> Firebase but it's primarily about sending small chunks of realtime data.
> Is that what you want for your app



No, but the early, non-optimized stage the app is likely to send many small
messages, so firebase's bandwidth-based billing sounds better than parse's
message-based billing.
___
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: put URL destroys my file

2013-04-16 Thread Warren Samples

On 04/16/2013 08:58 AM, Tiemo Hollmann TB wrote:

Hello,

Working with LC 4.5.4 I have a dmg file uploaded on my webserver. When
downloading it on a mac with a browser via ftp, the dmg keeps in good order.
But when doing

put URL pUrl into URL ("binfile:" & tFile)

the format of the file seems to be destroyed and my mac thinks of it as
being a text file. The same procedure with a exe file on windows machine
works fine.

What do I oversee? Thanks for any hint

Tiemo






Does it actually not work at all? Assuming it maintains its 'dmg' 
extension, can you right-click on it and open it properly from the 
contextual menu, or change its info? It may be that without the 
webserver and browser passing on the mime-type to the OS that the 
problem is that the OS can't determine what kind of file it is, and 
therefore it it seen as just a text file. In this case, setting the 
fileType to "empty" (see user notes in the dictionary) might get it to 
mount. I found that images saved from LiveCode weren't recognized as 
such by OS X, when I was using it and wanted to open in a text editor. 
It may be that LiveCode saves things as "text" files by default in OS X.


Good luck,

Warren


___
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


put URL destroys my file

2013-04-16 Thread Tiemo Hollmann TB
Hello,

Working with LC 4.5.4 I have a dmg file uploaded on my webserver. When
downloading it on a mac with a browser via ftp, the dmg keeps in good order.
But when doing

put URL pUrl into URL ("binfile:" & tFile) 

the format of the file seems to be destroyed and my mac thinks of it as
being a text file. The same procedure with a exe file on windows machine
works fine.

What do I oversee? Thanks for any hint

Tiemo

 

 

___
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: revOpenDatabase server syntax

2013-04-16 Thread G.W.Gaich
I tried this with my MS-SQL Server and it works after changing the port 
to 55999


put "192.168.178.67,55999" into aPrefs["DBServer"]
put "myDB" into aPrefs["DBDatabase"]
put "sa" into aPrefs["DBUser"]
put "myPassword" into aPrefs["DBPassword"]

put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=" & 
aPrefs["DBServer"] \

& ";DATABASE=" & aPrefs["DBDatabase"] & ";UID=" & aPrefs["DBUser"] \
& ";PWD=" & aPrefs["DBPassword"] \
& ";Trusted_Connection=No",,,) into tDB


If you provide a connection string like that, you don't have to create a 
DNS.


Wolfgang



Am 16.04.2013 13:23, schrieb Mats Åström:

Hi Wolfgang,

thank you very much for taking time.
I tried the syntax you provided, but it seems I got it wrong, please bare with 
me.
Lets assume this:
server IP address is 123.45.67.89
port is 55999
I got it to:
put revOpenDatabase("ODBC","DRIVER=SQL Server:SERVER=123.45.67.89,55999, ...

but that does not work - still the same error msg.


/Mats



Hallo Mats,

the correct syntax for the SERVER part is
Server= [protocol:]Server[,port]

hope this helps
Wolfgang
___
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: revOpenDatabase

2013-04-16 Thread Roger Eller
You need to first create a new System DSN that is configured to connect to
the database.

http://www.interfaceware.com/manual/creating_odbc.html

~Roger
On Apr 16, 2013 6:19 AM, "Mats Åström"  wrote:

>
>
> Has anyone used revOpenDatabase to connect to an MS SQL database?
> I have been trying to open an ODBC connection using this:
>
> put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=" &
> tServerAndPort & ";DATABASE=" & tDBname & ";UID=" & tUser & ";PWD=" &
> tPsw & ";Trusted_Connection=No",,,) into dbIDThe server connects on port
> 55999 so tServerAndport contains "theServerIPaddress:55999".
> I get this error msg in return:
> [Microsoft][ODBC Driver Manager] Invalid string or buffer length
>
> If only the server IP is provided in the second argument, the resulting
> message is:
> [Microsoft][ODBC Driver Manager] Data source name not found and no default
> driver specified
>
>
>
> The docs says that port is only used only for MySQL an Postgree.
> Does that mean I cannot use revOpenDatabase to connect to an MS SQL
> database on a specific port?
> I am using LC 5.5 on Windows.
>
>
>
> /Mats
> ___
> 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


revOpenDatabase server syntax

2013-04-16 Thread Mats Åström
Hi Wolfgang,

thank you very much for taking time.
I tried the syntax you provided, but it seems I got it wrong, please bare with 
me.
Lets assume this:
server IP address is 123.45.67.89
port is 55999
I got it to:
put revOpenDatabase("ODBC","DRIVER=SQL Server:SERVER=123.45.67.89,55999, ...

but that does not work - still the same error msg.


/Mats



Hallo Mats,

the correct syntax for the SERVER part is
Server= [protocol:]Server[,port]

hope this helps
Wolfgang
___
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


Server Migration, Thor and Freyr servers

2013-04-16 Thread dwilliams

Dear List Members,

As many of you already know, we are currently carrying out a migration  
from our on-rev server cluster to vastly upgraded servers, in order to  
improve the level of service we can offer you. This does involve some  
minimum disruption during the process, and we apologise if you have  
been affected by this. The next phase involves moving all account  
holders on the Thor and Freyr servers to the new location. Some of you  
have already been moved, but I would like to invite anybody who would  
like to be transferred as soon as possible to contact me via the  
hosting support email address, on-...@runrev.com. We will be starting  
the main transfer of accounts from these servers in the coming  
fortnight.


Regards,

-David Williams, Server Admin


___
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: Invisible folders

2013-04-16 Thread G.W.Gaich


Hello Richmond,


you have to use the windows shell command attrib

e.g.  attrib +H 

use it in livecode with the shell() function

e.g.

put the directory into tPathAndFilename
replace "/" with "\" in tPathAndFilename

-- if tPathAndFilename contains spaces then
-- put quote & tPathAndFilename & quote into tPathAndFilename

put "attrib +H" && tPathAndFilename into tCmd

put shell(tCmd) into tErr

Best
Wolfgang


Am 16.04.2013 12:41, schrieb Richmond:

On Linux and Mac (a.k.a. kinky UNIX) one can hide a folder
by starting its name with a '.', and this means handling
invisible folders in Livecode is very simple.

HOWEVER, from what I have read an invisible folder on Windows
is not invisible by dint of its name but by setting a property of
the older.

SO; can one create an invisible folder in Windows using Livecode?

Richmond.

___
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


Invisible folders

2013-04-16 Thread Richmond

On Linux and Mac (a.k.a. kinky UNIX) one can hide a folder
by starting its name with a '.', and this means handling
invisible folders in Livecode is very simple.

HOWEVER, from what I have read an invisible folder on Windows
is not invisible by dint of its name but by setting a property of
the older.

SO; can one create an invisible folder in Windows using Livecode?

Richmond.

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


Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Mark Wilcox


From: Geoff Canyon 
To: How to use LiveCode  
Sent: Tuesday, 16 April 2013, 9:14
Subject: Re: What's the best way to store data that one iOS app sends to 
another?
 
> Any thoughts on https://www.firebase.com/


I've heard some good things about Firebase but it's primarily about sending 
small chunks of realtime data. Is that what you want for your app? The REST API 
doesn't look well supported for the realtime aspect, since I don't know how 
you'd get callbacks to work with LiveCode on iOS/Android (without using an 
external).
> I haven't written any code yet for either possibility, but the language on
> firebase's web site makes sense to me -- with one (or two) question(s).

> 1. Am I correct that hitting a REST API from LC involves setting parameters
> for the http headers and then using https?

Yes, although for Firebase I'm not even sure you need to set anything up in the 
HTTP headers - looks like LiveCode will do GET, PUT, POST and DELETE for you 
without setting custom headers - worth a go. To do PATCH looks like you need 
libURLSetCustomHTTPHeaders, assuming that works on iOS/Android - a quick Google 
found a forum post that said it didn't but that may be out of date. Perhaps one 
of the LiveCode mobile experts will confirm the current situation on custom 
HTTP methods for you?

> 2. Would (1) work on an iOS/Android device?


Never tried it but I assume it must - if it doesn't there's some low-hanging 
fruit for a contribution there.

Mark
___
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: revOpenDatabase

2013-04-16 Thread G.W.Gaich

Hallo Mats,

the correct syntax for the SERVER part is
Server= [protocol:]Server[,port]

hope this helps
Wolfgang


Am 16.04.2013 12:19, schrieb Mats Åström:


Has anyone used revOpenDatabase to connect to an MS SQL database?
I have been trying to open an ODBC connection using this:

put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=" & tServerAndPort & ";DATABASE=" & tDBname & ";UID=" & tUser & 
";PWD=" & tPsw & ";Trusted_Connection=No",,,) into dbIDThe server connects on port 55999 so tServerAndport contains "theServerIPaddress:55999".
I get this error msg in return:
[Microsoft][ODBC Driver Manager] Invalid string or buffer length

If only the server IP is provided in the second argument, the resulting message 
is:
[Microsoft][ODBC Driver Manager] Data source name not found and no default 
driver specified

  


The docs says that port is only used only for MySQL an Postgree.
Does that mean I cannot use revOpenDatabase to connect to an MS SQL database on 
a specific port?
I am using LC 5.5 on Windows.



/Mats
___
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


revOpenDatabase

2013-04-16 Thread Mats Åström


Has anyone used revOpenDatabase to connect to an MS SQL database?
I have been trying to open an ODBC connection using this:

put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=" & tServerAndPort & 
";DATABASE=" & tDBname & ";UID=" & tUser & ";PWD=" & tPsw & 
";Trusted_Connection=No",,,) into dbIDThe server connects on port 55999 so 
tServerAndport contains "theServerIPaddress:55999".
I get this error msg in return:
[Microsoft][ODBC Driver Manager] Invalid string or buffer length

If only the server IP is provided in the second argument, the resulting message 
is:
[Microsoft][ODBC Driver Manager] Data source name not found and no default 
driver specified

 

The docs says that port is only used only for MySQL an Postgree. 
Does that mean I cannot use revOpenDatabase to connect to an MS SQL database on 
a specific port?
I am using LC 5.5 on Windows.



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


Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Thu, Apr 11, 2013 at 2:16 PM, Mark Wilcox  wrote:

> There's this really great but fairly recent trend for Backend-as-a-Service
> providers



Any thoughts on https://www.firebase.com/

I haven't written any code yet for either possibility, but the language on
firebase's web site makes sense to me -- with one (or two) question(s).

1. Am I correct that hitting a REST API from LC involves setting parameters
for the http headers and then using https?
2. Would (1) work on an iOS/Android device?
___
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: fontSizes bust in 6.0

2013-04-16 Thread Jacques Hausser
Hi Peter,

I just compared the fontSizes in 5.5.4 and 6.0.0. 
In 5.5.4, the Fontsizes returns every numbers from 9 to 72, one number per 
line, for any scalable font. For bitmap fonts, it returns the installed sizes 
only.
In 6.0.0, the fontSizes returns 0. For bitmap fonts, it returns the installed 
sizes only.
Now, in BOTH versions, you can very well set the textSize to any other number, 
say, 128, and the scalable fonts display perfectly well. (the bitmap fonts 
display an ugly magnified version).
So I think that, since the scalable fonts can be displayed in any size, the 0 
is more logical than a truncated size list.

Jacques

Le 16 avr. 2013 à 06:45, Peter Haworth  a écrit :

> Build 1511 for me.
> 
> Just entered QCC bug#10852
> 
> Pete
> lcSQL Software 
> 
> 
> On Mon, Apr 15, 2013 at 8:07 PM, stephen barncard <
> stephenrevoluti...@barncard.com> wrote:
> 
>> yes I just saw this on a stack I was working on that worked before..
>> 
>> 6.0 RC-6 Build 1509-- latest?
>> 
>> this is wrong
>> 
>> 
>> On Mon, Apr 15, 2013 at 5:44 PM, Peter Haworth  wrote:
>> 
>>> Right, but the exact same command in LC 5.5.x returns a list of font
>> sizes
>>> so one or other is worng.
>>> 
>>> Pete
>>> lcSQL Software 
>>> 
>>> 
>>> On Mon, Apr 15, 2013 at 4:29 PM, Jacques Hausser <
>> jacques.haus...@unil.ch
 wrote:
>>> 
 Hy Peter:
 
 from the dictionary:
 
 Comments:
 If zero appears in the list returned by the fontSizes function, the
>> font
 is scalable, meaning that it can be displayed at any size supported by
>>> the
 operating system.
 
 
 Le 16 avr. 2013 à 01:14, Peter Haworth  a écrit :
 
> OSX 10.7.4, LC 6.0 Commercial or Community.  The fontsizes of a font
 always
> returns zero.  Anyone else seeing this?
> Pete
> lcSQL Software 
> ___
>> 
>> Stephen Barncard
>> San Francisco Ca. USA

> 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: Saving into invisible folders ?

2013-04-16 Thread Richmond

AND, v. happy to report that the reverse also works:

on mouseDown
   set the defaultFolder to specialFolderPath("Home") & "/.pox"
end mouseDown

on mouseUp
   import paint from file "Stack.png"
end mouseUp



I am stiil wondering whether the ".XXX" format
works for invisible folders in Windows.

Richmond.

___
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