Re: LiveCode interface to SCORM /LIT

2016-09-19 Thread Earthednet-wp
Todd,
Fabulous! It will be a great resource for higher Ed developers. I'll see what I 
can do to test it at UCSB when it is available.
Best,
Bill

William Prothero
http://es.earthednet.org

> On Sep 19, 2016, at 10:02 PM, Todd Fabacher  wrote:
> 
> Hello Educators,
> 
> Will Jamieson, and the DP teem are deep into creating an online and App
> integrated LMS in LiveCode. We are at the stage of creating  a SCORM and
> LIT interface to our App. I see that several people have posted on the
> subject and was wondering if anyone has finished, made any progress or have
> suggestions that would help us out.
> 
> We would appreciate any help in getting in using LiveCode with SCORM /LIT.
> One potential client is focused on full LIT compatibility. We of course
> will make the SCORM /LIT code Open Source for all educators.
> 
> Thanks,
> 
> Todd, Will and DP Education Team
> ___
> 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


LiveCode interface to SCORM /LIT

2016-09-19 Thread Todd Fabacher
Hello Educators,

Will Jamieson, and the DP teem are deep into creating an online and App
integrated LMS in LiveCode. We are at the stage of creating  a SCORM and
LIT interface to our App. I see that several people have posted on the
subject and was wondering if anyone has finished, made any progress or have
suggestions that would help us out.

We would appreciate any help in getting in using LiveCode with SCORM /LIT.
One potential client is focused on full LIT compatibility. We of course
will make the SCORM /LIT code Open Source for all educators.

Thanks,

Todd, Will and DP Education Team
___
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 everyone working on this month? (September 2016)

2016-09-19 Thread William Prothero
Richard:
I gave you a bad link to the canvas LMS.
It is (in case youi’re interested):
https://www.canvaslms.com 
Best,
Bill

> On Sep 19, 2016, at 3:11 PM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > However, I think it would be great if there was an interface to the
> > LMS world. It would enable a lot more potential applications for
> > Livecode.
> 
> I wrote a SCORM module for LMS integration in Toolbook many years ago. It's 
> been a long while since I've looked into this, but last time I did it seemed 
> a lot of LMSes were limited to web-only courseware.
> 
> Which LMS would you like to integrate with?
> 
> The standards-compliant part of such a library wouldn't be hard; the hard 
> part is finding enough LMSes that adhere to the standards faithfully enough 
> to be worth the effort. :)
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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 everyone working on this month? (September 2016)

2016-09-19 Thread William Prothero
Richard:
It’s probably a topic for another heading, but….. The most recent and popular 
connection to LMS systems is one called LTI. It was championed by a LMS called 
“canvas” (htto://www.canvas.net). Yes, the most basic way to interact with it 
is from web apps, but I think it’s possible to do it from a standalone. It’s a 
project I’ve been thinking about (or wishing someone else had done it) for 
quite awhile. I don’t think that time-wise I’m up for tackling it, but  I do 
think it would be useful for those writing software for higher ed.

Best,
Bill

> On Sep 19, 2016, at 3:11 PM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > However, I think it would be great if there was an interface to the
> > LMS world. It would enable a lot more potential applications for
> > Livecode.
> 
> I wrote a SCORM module for LMS integration in Toolbook many years ago. It's 
> been a long while since I've looked into this, but last time I did it seemed 
> a lot of LMSes were limited to web-only courseware.
> 
> Which LMS would you like to integrate with?
> 
> The standards-compliant part of such a library wouldn't be hard; the hard 
> part is finding enough LMSes that adhere to the standards faithfully enough 
> to be worth the effort. :)
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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 everyone working on this month? (September 2016)

2016-09-19 Thread Richard Gaskin

William Prothero wrote:

> However, I think it would be great if there was an interface to the
> LMS world. It would enable a lot more potential applications for
> Livecode.

I wrote a SCORM module for LMS integration in Toolbook many years ago. 
It's been a long while since I've looked into this, but last time I did 
it seemed a lot of LMSes were limited to web-only courseware.


Which LMS would you like to integrate with?

The standards-compliant part of such a library wouldn't be hard; the 
hard part is finding enough LMSes that adhere to the standards 
faithfully enough to be worth the effort. :)


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: error building iOS standalone with LiveCode 8.1

2016-09-19 Thread panagiotis merakos
You are welcome. Just the stack should be enough to replicate this, but I
would suggest you send everything, just in case.

Best,
Panos
--
On 19 Sep 2016 22:46, "Chris Sheffield"  wrote:

> It appears to be just this stack. After creating a new stack, and even
> setting it to copy the same files, the build works just fine.
>
> Yes, I do have png files, quite a lot of them, inside an images folder
> that is included in the Copy Files section. Like I said though, I included
> that folder even with the new stack, and everything worked fine. This
> particular app also makes use of a few mergExt externals. I have updated
> those to the latest versions included with LC 8.1. Again, even including
> all of those in the new simple stack I created, everything builds fine.
>
> So I will plan on sending you my stack. Do you need all the included
> files, or just the stack itself? I just tried removing all my Copy Files
> entries, and the build still fails, so I don’t think it’s related to any of
> those, but I’m happy to include them in a zip archive if you’d like.
>
> Thanks again.
>
>
> > On Sep 19, 2016, at 2:28 PM, panagiotis merakos 
> wrote:
> >
> > Hi Chris,
> >
> > Hmm, that's weird, it should work. The first part of the error
> > (—resource-rules blah blah) is just a warning. The codesign fails because
> > of the "resource fork, Finder information, or similar detritus not
> allowed”
> > part.
> >
> > The command [get shell("xattr -cr" && quote & pAppBundle & quote)] should
> > recursively clear those "extended attributes" in the app bundle. I am not
> > on a MacOS Sierra to test now, but what happens if you try to create a
> > different ios standalone (after having applied this workaround)?
> >
> > Moreover, does your app contain any .png files in the "Copy Files"
> section?
> >
> > If you see this error *only* when building an ios standalone *for this
> > particular app*, I suggest attaching your sample stack to bug 18135 (or
> > send it privately to panos.mera...@livecode.com if it is confidential),
> so
> > as we ensure that the fix to this bug works with your stack. Today I
> tested
> > 8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it
> using
> > a couple of simple stacks.
> >
> > Best regards,
> > Panos
> > --
> >
> > On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield <
> cs_livec...@icloud.com>
> > wrote:
> >
> >> Panos,
> >>
> >> I greatly appreciate the quick reply. Unfortunately that fix didn’t work
> >> for me. I even dug in a little deeper and applied Monte’s other changes
> as
> >> well, and my build still fails. The —resource-rules error is gone, but
> I am
> >> still left with the second part of the error about the "resource fork,
> >> Finder information, or similar detritus not allowed”. That is with the
> line:
> >>
> >> get shell("xattr -cr" && quote & pAppBundle & quote)
> >>
> >> added just before the code signing occurs.
> >>
> >> This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1.
> >>
> >> Any other ideas?
> >>
> >> Thanks,
> >> Chris
> >>
> >>
> >>> On Sep 19, 2016, at 12:06 PM, panagiotis merakos 
> >> wrote:
> >>>
> >>> Hi Chris,
> >>>
> >>> Try the workaround described here:
> >>> http://quality.livecode.com/show_bug.cgi?id=18135
> >>>
> >>> It worked for me.
> >>>
> >>> Best,
> >>> Panos
> >>> On 19 Sep 2016 19:01, "Chris Sheffield" 
> wrote:
> >>>
>  I’m hoping someone can help with this.
> 
>  I just fired up LiveCode 8.1 this morning to create a new app build
> for
> >> a
>  landscape app that has the “cropped” issue in iOS 10. I am getting an
> >> error
>  at the point that the app gets signed:
> 
>  codesigning failed with Warning: —resource-rules has been deprecated
> in
>  Max OS X >= 10.10!
>  [path to my app]: resource fork, Finder information, or similar
> detritus
>  not allowed
> 
>  I did a little digging and it sounds like, in an Xcode project at
> least,
>  it’s simply a matter of removing the path to the ResourceRules.plist
> >> file
>  in the project settings. I went and tried doing what I thought would
> be
> >> the
>  equivalent in LiveCode and I commented out the lines pertaining to
> this
>  file in the Settings.plist file, but that didn’t do the trick.
> 
>  Has anyone run into this one? I really need to get this figured out
> >> asap.
>  Even if it can be solved with a temporary workaround, that’d be great.
> 
>  Thanks,
>  Chris
> 
> 
>  --
>  Chris Sheffield
>  Read Naturally, Inc.
>  www.readnaturally.com
> 
>  ___
>  use-livecode mailing list
>  use-livecode@lists.runrev.com
>  Please visit this url to subscribe, unsubscribe and manage your
>  subscription preferences:
>  http://lists.runrev.com/mailman/listinfo/use-livecode
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.c

Re: error building iOS standalone with LiveCode 8.1

2016-09-19 Thread Chris Sheffield
It appears to be just this stack. After creating a new stack, and even setting 
it to copy the same files, the build works just fine.

Yes, I do have png files, quite a lot of them, inside an images folder that is 
included in the Copy Files section. Like I said though, I included that folder 
even with the new stack, and everything worked fine. This particular app also 
makes use of a few mergExt externals. I have updated those to the latest 
versions included with LC 8.1. Again, even including all of those in the new 
simple stack I created, everything builds fine.

So I will plan on sending you my stack. Do you need all the included files, or 
just the stack itself? I just tried removing all my Copy Files entries, and the 
build still fails, so I don’t think it’s related to any of those, but I’m happy 
to include them in a zip archive if you’d like.

Thanks again.


> On Sep 19, 2016, at 2:28 PM, panagiotis merakos  wrote:
> 
> Hi Chris,
> 
> Hmm, that's weird, it should work. The first part of the error
> (—resource-rules blah blah) is just a warning. The codesign fails because
> of the "resource fork, Finder information, or similar detritus not allowed”
> part.
> 
> The command [get shell("xattr -cr" && quote & pAppBundle & quote)] should
> recursively clear those "extended attributes" in the app bundle. I am not
> on a MacOS Sierra to test now, but what happens if you try to create a
> different ios standalone (after having applied this workaround)?
> 
> Moreover, does your app contain any .png files in the "Copy Files" section?
> 
> If you see this error *only* when building an ios standalone *for this
> particular app*, I suggest attaching your sample stack to bug 18135 (or
> send it privately to panos.mera...@livecode.com if it is confidential), so
> as we ensure that the fix to this bug works with your stack. Today I tested
> 8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it using
> a couple of simple stacks.
> 
> Best regards,
> Panos
> --
> 
> On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield 
> wrote:
> 
>> Panos,
>> 
>> I greatly appreciate the quick reply. Unfortunately that fix didn’t work
>> for me. I even dug in a little deeper and applied Monte’s other changes as
>> well, and my build still fails. The —resource-rules error is gone, but I am
>> still left with the second part of the error about the "resource fork,
>> Finder information, or similar detritus not allowed”. That is with the line:
>> 
>> get shell("xattr -cr" && quote & pAppBundle & quote)
>> 
>> added just before the code signing occurs.
>> 
>> This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1.
>> 
>> Any other ideas?
>> 
>> Thanks,
>> Chris
>> 
>> 
>>> On Sep 19, 2016, at 12:06 PM, panagiotis merakos 
>> wrote:
>>> 
>>> Hi Chris,
>>> 
>>> Try the workaround described here:
>>> http://quality.livecode.com/show_bug.cgi?id=18135
>>> 
>>> It worked for me.
>>> 
>>> Best,
>>> Panos
>>> On 19 Sep 2016 19:01, "Chris Sheffield"  wrote:
>>> 
 I’m hoping someone can help with this.
 
 I just fired up LiveCode 8.1 this morning to create a new app build for
>> a
 landscape app that has the “cropped” issue in iOS 10. I am getting an
>> error
 at the point that the app gets signed:
 
 codesigning failed with Warning: —resource-rules has been deprecated in
 Max OS X >= 10.10!
 [path to my app]: resource fork, Finder information, or similar detritus
 not allowed
 
 I did a little digging and it sounds like, in an Xcode project at least,
 it’s simply a matter of removing the path to the ResourceRules.plist
>> file
 in the project settings. I went and tried doing what I thought would be
>> the
 equivalent in LiveCode and I commented out the lines pertaining to this
 file in the Settings.plist file, but that didn’t do the trick.
 
 Has anyone run into this one? I really need to get this figured out
>> asap.
 Even if it can be solved with a temporary workaround, that’d be great.
 
 Thanks,
 Chris
 
 
 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> 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 everyone working on this month? (September 2016)

2016-09-19 Thread William Prothero
Tore:
Thanks. Rather than taking on the task of trying to master the LTI API, I will 
probably implement a way of providing comma delimited grades to a teacher, who 
can then import them pretty easily.

However, I think it would be great if there was an interface to the LMS world. 
It would enable a lot more potential applications for Livecode. It’s beyond my 
level of time and space to try to take on this task.

Best,
Bill

> On Sep 19, 2016, at 12:24 PM, Tore Nilsen  wrote:
> 
> 
>> 19. sep. 2016 kl. 20.42 skrev William Prothero :
>> 
>> Tor:
>> Since you mention an LMS, I’m wondering if you have successfully implemented 
>> an interface to an LMS using LTI or SCORM protocols. Or, more concisely, how 
>> do you handle the interface to your LMS?
>> Best,
>> Bill
>> 
> 
> I do not handle it very well I am afraid. At our school we use "it’s 
> learning”, a Norwegian web based LMS, that is universally hated by anyone who 
> appreciates good application design and good user experiences. 
> 
> This LMS is so bloated that I do not try to communicate with it at all, other 
> than passing a link to the appropriate task, which my students can then use 
> to upload their work. When they have completed the task, the application will 
> both open the appropriate folder on the students machine, and the page for 
> handing in the task in the LMS. They can then drag and drop the task to hand 
> it in. So this is very basic and rudimentary, but it works in its own limited 
> way. 
> 
> Regards,
> Tore
> 
> 
> ___
> 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: Dumb question about files on a server

2016-09-19 Thread J. Landman Gay

On 9/19/16 3:15 PM, Graham Samuel wrote:

I have a .lc script on the server that invokes Jacque Gay’s Zygodact
product to generate license codes, which are then passed on to the
payment processor. This works fine. However when a code is generated,
it would be prudent to keep it in a file which is on the server. So I
want to add a few lines of code to the aforesaid .lc script so that
each code goes into a text file.


That's easy, I do it with all my Zygodact server scripts. The main thing 
to be aware of is that the text file needs to have read/write 
permissions. I couldn't generate a file from scratch because of the 
permission issues (I'm sure there's a way around this, but I didn't know 
how.) So what I do is create an empty text file on the server and give 
it read/write permissions (755) manually using Fetch or any other FTP 
app. I put the file directly in the CGI folder, which is inaccessible to 
visitors.


After that, just add this handler to your .lc script:

on log pData
  put "myLog.txt" into tFile
  open file tFile for append
  write pData &cr & cr to file tFile
  close file tFile
end log

Then in the main body of the script, collect the data you want to store 
into a variable and add a "log dataVar" line.


The reason I use open/write/close instead of "put after URL" is because 
opening a file for append doesn't need to read the whole thing into 
memory and then write it all back out again. It seems like a better use 
of resources.


--
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: What's everyone working on this month? (September 2016)

2016-09-19 Thread J. Landman Gay
NFC is a subset of RFID. Virtually all new-ish Android devices support 
NFC; at least those made in the last three or four years. Apple Pay is 
also NFC so phones that support Apple Pay will also have NFC capability, 
but I am unsure whether Apple has locked down the feature to only work 
with Apple Pay or whether it can be used in other apps.


Android currently supports at least these tag types:

- NTAG 203, 210, 212, 213, 215, 216
- Topaz 512 (BCM512)
- Ultralight, Ultralight C
- MIFARE Classic 1k, 4k
- FeliCa

I use an Android app called NFC Tools to read and write tags. Newer 
versions of Android OS also allow NFC tags to be used with SmartLock, 
which unlocks the lockscreen when the tag is tapped.



On 9/19/16 12:54 PM, Mike Kerner wrote:

There is a difference between RFID and NFC.  I will have to look more at
the Nexus, but I thought I was pretty sure that there are no android or ios
devices that can read RFID tags.

On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett 
wrote:


On 19/09/2016 15:16, Mike Kerner wrote:


The RFID is tricky because right now, there is no hardware capability in
either ios or android, so you need to attach external peripherials.  We
need to narrow down the hardware options, because the communication with
them is going to be the sticky wicket.



That's interesting -- devices like my Nexus 5 have NFC capability that I
believe is compatible with quite a few RFID devices (e.g. MIFARE).  What
standards are you targeting?


 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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








--
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: Dumb question about files on a server

2016-09-19 Thread Mike Bonner
The current path starts in the same directory as the script being run, so
you can do all your work relative from there.  You aren't finding a path
"to" the server, all paths on the server are relative to each other, and
since the lc script is local to that filesystem thats exactly how you view
it. As a local system.

If you wish to hide the file in question outside the http hierarchy you can
probably do that too depending on permissions and how your host server is
set up.

If you "put the folder" with an lc script, you should see the path to the
working directory all the way back to root which will help you figure out
where things reside.For example, on-rev has a public_html folder where
all account domains are contained.  If the lc script is in the mydomain
folder inside public_html and you have it "put the folder" you would see
something like /home/youraccountname/public_html/mydomain

So it boils down to.. If you know where the script is, and you know where
you want the folder to be you should be able to ferret out the correct
path.

You'll also want to add error checking of course to make sure folders and
files actually get created.



On Mon, Sep 19, 2016 at 2:53 PM, Graham Samuel  wrote:

> Ah Mike, that's more what I was expecting. The dumb part is that I have
> never had to use a file path not associated with an LC standalone,
> including 'specialfolderpath' paths, so I don't understand how to retrieve
> the path to the remote server. I bet this is so simple that you didn't
> think it was a problem. I will experiment some more, but I have not got it
> right so far.
>
> Cheers
>
> Graham
>
> Sent from my iPad
>
> > On 19 Sep 2016, at 22:36, Mike Bonner  wrote:
> >
> > Ah k.. well on the server side the code should be relatively simple.
> >
> > You need to check for the existence of a folder, so in your .lc script --
> > if there is not a folder "foldername" then... applies still. If its not
> > there, create it (create folder "foldername")  If it wasn't there it is
> > now, so either way you can continue on.
> >
> > I have the habit of setting the folder I wish to write to, so you could
> set
> > the folder to your existing or newly created folder.
> >
> > The next question is.. If you will simply be appending a line to the file
> > each time, its easy enough to do so without reading in the contents of
> the
> > file.
> > Just put the new line after url "file:yourfilename" and you're done.
> >
> > If you need to do other things to the contents first though
> >
> > if there is a file "yourfilename" then
> >   put url "file: yourfilename" into tVar
> >   do your processing of the existing data, and modify as needed with the
> > new information
> >   put tVar into url "file:yourfilename" -- to overwrite the file with the
> > processed data
> > else
> >   process only the new data
> >   put tData into url "file:yourfilename" -- to create a new file and put
> > the first values into it
> > end if
> >
> > From your description the problem is very linear and should be simple to
> > code.
> >
> >
> >
> >> On Mon, Sep 19, 2016 at 2:15 PM, Graham Samuel  wrote:
> >>
> >> Mike, thanks for that. I think I have not really explained enough about
> >> what I want.
> >>
> >> I have a .lc script on the server that invokes Jacque Gay’s Zygodact
> >> product to generate license codes, which are then passed on to the
> payment
> >> processor. This works fine. However when a code is generated, it would
> be
> >> prudent to keep it in a file which is on the server. So I want to add a
> few
> >> lines of code to the aforesaid .lc script so that each code goes into a
> >> text file. I don’t need a database since the list will probably be less
> >> than 1K lines (if it gets any bigger, I can create another solution). So
> >> none of this activity is taking place outside the server - it’s all
> >> happening in a .lc script run by the LC Server engine.
> >>
> >> In these circumstances, I thought a fairly straightforward bit of
> LiveCode
> >> coding would do the job. This is different from what you’re suggesting,
> I
> >> think - though I am out of my comfort zone doing this at all.
> >>
> >> Can I appeal for more help on this?
> >>
> >> Thanks
> >>
> >> Graham
> >>
> >>> On 19 Sep 2016, at 17:53, Mike Bonner  wrote:
> >>>
> >>> It sounds like you have an app that you want to use to manipulate files
> >> and
> >>> folders on a remote server. You could set up a script on the server as
> a
> >>> middle man pretty easily I think..
> >>>
> >>> Something like this.. (off the top of my head)
> >>>
> >>> Have it accept $_POST data, one item of which could be
> cmd=folder_exists,
> >>> and pass in the folder name to check..
> >>>
> >>> switch $_POST["cmd"]
> >>> case "folder_exists"
> >>>   if there is not a folder $_POST["folder_name"] then
> >>>   create folder $_POST["folder_name"]
> >>>   put "Folder " & $_POST["folder_name"] & "created"
> >>>   else
> >>>   put "Folder " & $_POST["folder_name"] & "Exists"
> >

Re: Dumb question about files on a server

2016-09-19 Thread Graham Samuel
Ah Mike, that's more what I was expecting. The dumb part is that I have never 
had to use a file path not associated with an LC standalone, including 
'specialfolderpath' paths, so I don't understand how to retrieve the path to 
the remote server. I bet this is so simple that you didn't think it was a 
problem. I will experiment some more, but I have not got it right so far.

Cheers

Graham

Sent from my iPad

> On 19 Sep 2016, at 22:36, Mike Bonner  wrote:
> 
> Ah k.. well on the server side the code should be relatively simple.
> 
> You need to check for the existence of a folder, so in your .lc script --
> if there is not a folder "foldername" then... applies still. If its not
> there, create it (create folder "foldername")  If it wasn't there it is
> now, so either way you can continue on.
> 
> I have the habit of setting the folder I wish to write to, so you could set
> the folder to your existing or newly created folder.
> 
> The next question is.. If you will simply be appending a line to the file
> each time, its easy enough to do so without reading in the contents of the
> file.
> Just put the new line after url "file:yourfilename" and you're done.
> 
> If you need to do other things to the contents first though
> 
> if there is a file "yourfilename" then
>   put url "file: yourfilename" into tVar
>   do your processing of the existing data, and modify as needed with the
> new information
>   put tVar into url "file:yourfilename" -- to overwrite the file with the
> processed data
> else
>   process only the new data
>   put tData into url "file:yourfilename" -- to create a new file and put
> the first values into it
> end if
> 
> From your description the problem is very linear and should be simple to
> code.
> 
> 
> 
>> On Mon, Sep 19, 2016 at 2:15 PM, Graham Samuel  wrote:
>> 
>> Mike, thanks for that. I think I have not really explained enough about
>> what I want.
>> 
>> I have a .lc script on the server that invokes Jacque Gay’s Zygodact
>> product to generate license codes, which are then passed on to the payment
>> processor. This works fine. However when a code is generated, it would be
>> prudent to keep it in a file which is on the server. So I want to add a few
>> lines of code to the aforesaid .lc script so that each code goes into a
>> text file. I don’t need a database since the list will probably be less
>> than 1K lines (if it gets any bigger, I can create another solution). So
>> none of this activity is taking place outside the server - it’s all
>> happening in a .lc script run by the LC Server engine.
>> 
>> In these circumstances, I thought a fairly straightforward bit of LiveCode
>> coding would do the job. This is different from what you’re suggesting, I
>> think - though I am out of my comfort zone doing this at all.
>> 
>> Can I appeal for more help on this?
>> 
>> Thanks
>> 
>> Graham
>> 
>>> On 19 Sep 2016, at 17:53, Mike Bonner  wrote:
>>> 
>>> It sounds like you have an app that you want to use to manipulate files
>> and
>>> folders on a remote server. You could set up a script on the server as a
>>> middle man pretty easily I think..
>>> 
>>> Something like this.. (off the top of my head)
>>> 
>>> Have it accept $_POST data, one item of which could be cmd=folder_exists,
>>> and pass in the folder name to check..
>>> 
>>> switch $_POST["cmd"]
>>> case "folder_exists"
>>>   if there is not a folder $_POST["folder_name"] then
>>>   create folder $_POST["folder_name"]
>>>   put "Folder " & $_POST["folder_name"] & "created"
>>>   else
>>>   put "Folder " & $_POST["folder_name"] & "Exists"
>>>   end if
>>> break
>>> 
>>> case "retrieve_file"
>>>   put URL ("file:" & $_POST["file_to_retrieve"])
>>> break
>>> case "update_file"
>>>  put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"])
>>> break
>>> default
>>>  put "invalid request"
>>> end switch
>>> 
>>> 
>>> No thoughts about security on this, just a barebones idea..
>>> 
>>> Now, for the curiosity question.. Would a database back end work better
>> for
>>> this?  (You'd still need an intermediary script)
>>> 
 On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel  wrote:
 
 I have some server space and a domain name, let’s say ‘mysite.com <
 http://mysite.com/>’. On this host I have a web site (www.mysite.com <
 http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it
 happens) and some scripts etc. So far, so good. Now I want to write a
 script that runs on the server and does the following - this is not
>> code,
 but is supposed to show what I want to code:
 
 1. If there is not a folder within my space called ‘myUsefulData’, then
 create such a folder;
 
 2. If there is not a text file ‘myCurrentData.txt’  within the above
 folder, then create one (this may not be necessary, as an attempt to
>> access
 the file might create it?);
 
 3. Read the contents of the file into a variable;
 
 4. Add some data from wi

Re: Dumb question about files on a server

2016-09-19 Thread Mike Bonner
Ah k.. well on the server side the code should be relatively simple.

You need to check for the existence of a folder, so in your .lc script --
if there is not a folder "foldername" then... applies still. If its not
there, create it (create folder "foldername")  If it wasn't there it is
now, so either way you can continue on.

I have the habit of setting the folder I wish to write to, so you could set
the folder to your existing or newly created folder.

The next question is.. If you will simply be appending a line to the file
each time, its easy enough to do so without reading in the contents of the
file.
Just put the new line after url "file:yourfilename" and you're done.

If you need to do other things to the contents first though

if there is a file "yourfilename" then
   put url "file: yourfilename" into tVar
   do your processing of the existing data, and modify as needed with the
new information
   put tVar into url "file:yourfilename" -- to overwrite the file with the
processed data
else
   process only the new data
   put tData into url "file:yourfilename" -- to create a new file and put
the first values into it
end if

From your description the problem is very linear and should be simple to
code.



On Mon, Sep 19, 2016 at 2:15 PM, Graham Samuel  wrote:

> Mike, thanks for that. I think I have not really explained enough about
> what I want.
>
> I have a .lc script on the server that invokes Jacque Gay’s Zygodact
> product to generate license codes, which are then passed on to the payment
> processor. This works fine. However when a code is generated, it would be
> prudent to keep it in a file which is on the server. So I want to add a few
> lines of code to the aforesaid .lc script so that each code goes into a
> text file. I don’t need a database since the list will probably be less
> than 1K lines (if it gets any bigger, I can create another solution). So
> none of this activity is taking place outside the server - it’s all
> happening in a .lc script run by the LC Server engine.
>
> In these circumstances, I thought a fairly straightforward bit of LiveCode
> coding would do the job. This is different from what you’re suggesting, I
> think - though I am out of my comfort zone doing this at all.
>
> Can I appeal for more help on this?
>
> Thanks
>
> Graham
>
> > On 19 Sep 2016, at 17:53, Mike Bonner  wrote:
> >
> > It sounds like you have an app that you want to use to manipulate files
> and
> > folders on a remote server. You could set up a script on the server as a
> > middle man pretty easily I think..
> >
> > Something like this.. (off the top of my head)
> >
> > Have it accept $_POST data, one item of which could be cmd=folder_exists,
> > and pass in the folder name to check..
> >
> > switch $_POST["cmd"]
> > case "folder_exists"
> >if there is not a folder $_POST["folder_name"] then
> >create folder $_POST["folder_name"]
> >put "Folder " & $_POST["folder_name"] & "created"
> >else
> >put "Folder " & $_POST["folder_name"] & "Exists"
> >end if
> > break
> >
> > case "retrieve_file"
> >put URL ("file:" & $_POST["file_to_retrieve"])
> > break
> > case "update_file"
> >   put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"])
> > break
> > default
> >   put "invalid request"
> > end switch
> >
> >
> > No thoughts about security on this, just a barebones idea..
> >
> > Now, for the curiosity question.. Would a database back end work better
> for
> > this?  (You'd still need an intermediary script)
> >
> > On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel  wrote:
> >
> >> I have some server space and a domain name, let’s say ‘mysite.com <
> >> http://mysite.com/>’. On this host I have a web site (www.mysite.com <
> >> http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it
> >> happens) and some scripts etc. So far, so good. Now I want to write a
> >> script that runs on the server and does the following - this is not
> code,
> >> but is supposed to show what I want to code:
> >>
> >> 1. If there is not a folder within my space called ‘myUsefulData’, then
> >> create such a folder;
> >>
> >> 2. If there is not a text file ‘myCurrentData.txt’  within the above
> >> folder, then create one (this may not be necessary, as an attempt to
> access
> >> the file might create it?);
> >>
> >> 3. Read the contents of the file into a variable;
> >>
> >> 4. Add some data from within the program (let’s say an extra line at the
> >> end);
> >>
> >> 5. Rewrite the updated file.
> >>
> >> There may also be error checking etc.
> >>
> >> Although this seems extremely simple, I find I don’t know how to do it,
> >> and so far the LC examples I’ve read don’t seem to help. I am not sure
> for
> >> example if FTP comes into the equation (I think it does) or the user
> name
> >> and password I need for FTP access from outside the server (surely
> not?),
> >> or indeed what the path to my own bit of the server actually is. Of
> course
> >> I’ve tried stu

Re: error building iOS standalone with LiveCode 8.1

2016-09-19 Thread panagiotis merakos
Hi Chris,

Hmm, that's weird, it should work. The first part of the error
(—resource-rules blah blah) is just a warning. The codesign fails because
of the "resource fork, Finder information, or similar detritus not allowed”
part.

The command [get shell("xattr -cr" && quote & pAppBundle & quote)] should
recursively clear those "extended attributes" in the app bundle. I am not
on a MacOS Sierra to test now, but what happens if you try to create a
different ios standalone (after having applied this workaround)?

Moreover, does your app contain any .png files in the "Copy Files" section?

If you see this error *only* when building an ios standalone *for this
particular app*, I suggest attaching your sample stack to bug 18135 (or
send it privately to panos.mera...@livecode.com if it is confidential), so
as we ensure that the fix to this bug works with your stack. Today I tested
8.1.1 RC-1 (not public yet) for this bug and I could not reproduce it using
a couple of simple stacks.

Best regards,
Panos
--

On Mon, Sep 19, 2016 at 10:47 PM, Chris Sheffield 
wrote:

> Panos,
>
> I greatly appreciate the quick reply. Unfortunately that fix didn’t work
> for me. I even dug in a little deeper and applied Monte’s other changes as
> well, and my build still fails. The —resource-rules error is gone, but I am
> still left with the second part of the error about the "resource fork,
> Finder information, or similar detritus not allowed”. That is with the line:
>
> get shell("xattr -cr" && quote & pAppBundle & quote)
>
> added just before the code signing occurs.
>
> This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1.
>
> Any other ideas?
>
> Thanks,
> Chris
>
>
> > On Sep 19, 2016, at 12:06 PM, panagiotis merakos 
> wrote:
> >
> > Hi Chris,
> >
> > Try the workaround described here:
> > http://quality.livecode.com/show_bug.cgi?id=18135
> >
> > It worked for me.
> >
> > Best,
> > Panos
> > On 19 Sep 2016 19:01, "Chris Sheffield"  wrote:
> >
> >> I’m hoping someone can help with this.
> >>
> >> I just fired up LiveCode 8.1 this morning to create a new app build for
> a
> >> landscape app that has the “cropped” issue in iOS 10. I am getting an
> error
> >> at the point that the app gets signed:
> >>
> >> codesigning failed with Warning: —resource-rules has been deprecated in
> >> Max OS X >= 10.10!
> >> [path to my app]: resource fork, Finder information, or similar detritus
> >> not allowed
> >>
> >> I did a little digging and it sounds like, in an Xcode project at least,
> >> it’s simply a matter of removing the path to the ResourceRules.plist
> file
> >> in the project settings. I went and tried doing what I thought would be
> the
> >> equivalent in LiveCode and I commented out the lines pertaining to this
> >> file in the Settings.plist file, but that didn’t do the trick.
> >>
> >> Has anyone run into this one? I really need to get this figured out
> asap.
> >> Even if it can be solved with a temporary workaround, that’d be great.
> >>
> >> Thanks,
> >> Chris
> >>
> >>
> >> --
> >> Chris Sheffield
> >> Read Naturally, Inc.
> >> www.readnaturally.com
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > ___
> > 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: Dumb question about files on a server

2016-09-19 Thread Graham Samuel
Mike, thanks for that. I think I have not really explained enough about what I 
want.

I have a .lc script on the server that invokes Jacque Gay’s Zygodact product to 
generate license codes, which are then passed on to the payment processor. This 
works fine. However when a code is generated, it would be prudent to keep it in 
a file which is on the server. So I want to add a few lines of code to the 
aforesaid .lc script so that each code goes into a text file. I don’t need a 
database since the list will probably be less than 1K lines (if it gets any 
bigger, I can create another solution). So none of this activity is taking 
place outside the server - it’s all happening in a .lc script run by the LC 
Server engine.

In these circumstances, I thought a fairly straightforward bit of LiveCode 
coding would do the job. This is different from what you’re suggesting, I think 
- though I am out of my comfort zone doing this at all.

Can I appeal for more help on this?

Thanks

Graham

> On 19 Sep 2016, at 17:53, Mike Bonner  wrote:
> 
> It sounds like you have an app that you want to use to manipulate files and
> folders on a remote server. You could set up a script on the server as a
> middle man pretty easily I think..
> 
> Something like this.. (off the top of my head)
> 
> Have it accept $_POST data, one item of which could be cmd=folder_exists,
> and pass in the folder name to check..
> 
> switch $_POST["cmd"]
> case "folder_exists"
>if there is not a folder $_POST["folder_name"] then
>create folder $_POST["folder_name"]
>put "Folder " & $_POST["folder_name"] & "created"
>else
>put "Folder " & $_POST["folder_name"] & "Exists"
>end if
> break
> 
> case "retrieve_file"
>put URL ("file:" & $_POST["file_to_retrieve"])
> break
> case "update_file"
>   put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"])
> break
> default
>   put "invalid request"
> end switch
> 
> 
> No thoughts about security on this, just a barebones idea..
> 
> Now, for the curiosity question.. Would a database back end work better for
> this?  (You'd still need an intermediary script)
> 
> On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel  wrote:
> 
>> I have some server space and a domain name, let’s say ‘mysite.com <
>> http://mysite.com/>’. On this host I have a web site (www.mysite.com <
>> http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it
>> happens) and some scripts etc. So far, so good. Now I want to write a
>> script that runs on the server and does the following - this is not code,
>> but is supposed to show what I want to code:
>> 
>> 1. If there is not a folder within my space called ‘myUsefulData’, then
>> create such a folder;
>> 
>> 2. If there is not a text file ‘myCurrentData.txt’  within the above
>> folder, then create one (this may not be necessary, as an attempt to access
>> the file might create it?);
>> 
>> 3. Read the contents of the file into a variable;
>> 
>> 4. Add some data from within the program (let’s say an extra line at the
>> end);
>> 
>> 5. Rewrite the updated file.
>> 
>> There may also be error checking etc.
>> 
>> Although this seems extremely simple, I find I don’t know how to do it,
>> and so far the LC examples I’ve read don’t seem to help. I am not sure for
>> example if FTP comes into the equation (I think it does) or the user name
>> and password I need for FTP access from outside the server (surely not?),
>> or indeed what the path to my own bit of the server actually is. Of course
>> I’ve tried stuff, but nothing has worked so far, and a test script (running
>> in the IDE, not within a server script) fails silently. Nothing is created,
>> nothing is destroyed, but sadly everything isn’t transformed.
>> 
>> Can anyone explain how to do this, or at least point me to an explanation.
>> 
>> Sorry for the dumb question, but there it is.
>> 
>> Graham
>> 
>> ___
>> 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: Breaking out a PDF

2016-09-19 Thread Roger Eller
On Mon, Sep 19, 2016 at 3:56 PM, Roger Eller 
wrote:

> On Mon, Sep 19, 2016 at 3:26 PM, Dr. Hawkins  wrote:
>
>> On Mon, Sep 19, 2016 at 10:44 AM, Skip Kimpel 
>> wrote:
>>
>> > They are not created by me a bunch of forms (200+ pages combined
>> into 1
>> > PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be
>> > broken out into it's own file.
>> >
>>
>> Hmm, another possibility:  look at the packages pdftools, pdftk, and
>> pdfjam.
>>
>> they all have ways of doing the split for you, and you could use SHELL()
>> to
>> use them.
>>
>>
>> --
>> Dr. Richard E. Hawkins, Esq.
>> (702) 508-8462
>>
>
> I'm guessing that Skip is using Windows.  I don't know if there is a
> platform requirement though.
>
> ~Roger
>
>
>
PDFJam looks great for a linux solution.

http://txt.arboreus.com/2012/12/19/split-and-merge-pdf-files.html
___
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: Breaking out a PDF

2016-09-19 Thread Roger Eller
On Mon, Sep 19, 2016 at 3:26 PM, Dr. Hawkins  wrote:

> On Mon, Sep 19, 2016 at 10:44 AM, Skip Kimpel 
> wrote:
>
> > They are not created by me a bunch of forms (200+ pages combined
> into 1
> > PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be
> > broken out into it's own file.
> >
>
> Hmm, another possibility:  look at the packages pdftools, pdftk, and
> pdfjam.
>
> they all have ways of doing the split for you, and you could use SHELL() to
> use them.
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
>

I'm guessing that Skip is using Windows.  I don't know if there is a
platform requirement though.

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


Re: error building iOS standalone with LiveCode 8.1

2016-09-19 Thread Chris Sheffield
Panos,

I greatly appreciate the quick reply. Unfortunately that fix didn’t work for 
me. I even dug in a little deeper and applied Monte’s other changes as well, 
and my build still fails. The —resource-rules error is gone, but I am still 
left with the second part of the error about the "resource fork, Finder 
information, or similar detritus not allowed”. That is with the line:

get shell("xattr -cr" && quote & pAppBundle & quote)

added just before the code signing occurs.

This is running macOS Sierra (GM), LiveCode 8.1, and Xcode 7.3.1.

Any other ideas?

Thanks,
Chris


> On Sep 19, 2016, at 12:06 PM, panagiotis merakos  wrote:
> 
> Hi Chris,
> 
> Try the workaround described here:
> http://quality.livecode.com/show_bug.cgi?id=18135
> 
> It worked for me.
> 
> Best,
> Panos
> On 19 Sep 2016 19:01, "Chris Sheffield"  wrote:
> 
>> I’m hoping someone can help with this.
>> 
>> I just fired up LiveCode 8.1 this morning to create a new app build for a
>> landscape app that has the “cropped” issue in iOS 10. I am getting an error
>> at the point that the app gets signed:
>> 
>> codesigning failed with Warning: —resource-rules has been deprecated in
>> Max OS X >= 10.10!
>> [path to my app]: resource fork, Finder information, or similar detritus
>> not allowed
>> 
>> I did a little digging and it sounds like, in an Xcode project at least,
>> it’s simply a matter of removing the path to the ResourceRules.plist file
>> in the project settings. I went and tried doing what I thought would be the
>> equivalent in LiveCode and I commented out the lines pertaining to this
>> file in the Settings.plist file, but that didn’t do the trick.
>> 
>> Has anyone run into this one? I really need to get this figured out asap.
>> Even if it can be solved with a temporary workaround, that’d be great.
>> 
>> Thanks,
>> Chris
>> 
>> 
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> 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: Breaking out a PDF

2016-09-19 Thread Dr. Hawkins
On Mon, Sep 19, 2016 at 10:44 AM, Skip Kimpel  wrote:

> They are not created by me a bunch of forms (200+ pages combined into 1
> PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be
> broken out into it's own file.
>

Hmm, another possibility:  look at the packages pdftools, pdftk, and pdfjam.

they all have ways of doing the split for you, and you could use SHELL() to
use them.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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 everyone working on this month? (September 2016)

2016-09-19 Thread Tore Nilsen

> 19. sep. 2016 kl. 20.42 skrev William Prothero :
> 
> Tor:
> Since you mention an LMS, I’m wondering if you have successfully implemented 
> an interface to an LMS using LTI or SCORM protocols. Or, more concisely, how 
> do you handle the interface to your LMS?
> Best,
> Bill
> 

I do not handle it very well I am afraid. At our school we use "it’s learning”, 
a Norwegian web based LMS, that is universally hated by anyone who appreciates 
good application design and good user experiences. 

This LMS is so bloated that I do not try to communicate with it at all, other 
than passing a link to the appropriate task, which my students can then use to 
upload their work. When they have completed the task, the application will both 
open the appropriate folder on the students machine, and the page for handing 
in the task in the LMS. They can then drag and drop the task to hand it in. So 
this is very basic and rudimentary, but it works in its own limited way. 

Regards,
Tore


___
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: Object inspector question

2016-09-19 Thread Roger Guay
Hi Bill,

I fixed the Add to favorites and the Delete from favorites.  it was a brain bug 
. . . not an LC bug. I can't duplicate the Export problem you spoke of. Import 
and Export work fine for me using LC 8.1.0. I will continue to investigate.

The fixed TextOmatic is here: 

https://www.dropbox.com/s/shcv2pjgsn3s1eo/TextOmatic.livecode?dl=0 


Cheers,

Roger


> On Sep 19, 2016, at 11:33 AM, William Prothero  
> wrote:
> 
> Roger:
> Not a big deal, but, FYI:
> I was messing with the “Export” command and it keeps asking for the 
> selectedObject, which should be a field named “myText”. When that field is 
> selected, the selectedObject is still empty. This is in debug mode in the 
> IDE, and it behaves the same way as a plugin as a palette . Also, deleting 
> fonts from the “favorites” field doesn’t work in LC 8.1.0.
> 
> The plugin is still useful, as it is, but I thought you might like the 
> feedback.
> Best,
> Bill
> 
>> On Sep 18, 2016, at 7:37 PM, Roger Guay  wrote:
>> 
>> Hi Bill,
>> 
>> I was complaining about this just a few weeks ago and decided to build my 
>> own plugin which you might like to look at. I’m sure you could easily tailor 
>> to suit your needs.
>> 
>>  
>> https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0
>> 
>> Cheers,
>> 
>> Roger
>> 
>> 
>> 
>> 
>> 
>>> On Sep 18, 2016, at 1:49 PM, William Prothero  
>>> wrote:
>>> 
>>> Ah, yes!
>>> Thanks. Nice addition.
>>> Bill
>>> 
 On Sep 18, 2016, at 1:17 PM, panagiotis merakos  wrote:
 
 Hi Bill,
 
 Indeed the displayed font list in the PI is shorter in LC 8, but you can
 scroll down this list and choose the font you wish. There is an enhancement
 request to extend the height of this drop down font menu.
 
 Best,
 Panos
 --
 
 On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp 
 wrote:
 
> Folks,
> I'm getting used to the object inspector in lc8, but notice that setting
> the font of a field or button is different. In v7 and earlier, the drop
> down menu showed a long list of fonts, but the new inspector show a short
> list of font types (system), etc. I can type in the name of a font and it
> does apply that font. But, what is the intended way to set the font of an
> object?
> 
> Best,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
> ___
> 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
> 
> 
> ___
> 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: Object inspector question

2016-09-19 Thread Richard Gaskin

J. Landman Gay wrote:

> On 9/19/16 12:16 PM, Richard Gaskin wrote:
>> Font lists tend to be long so I found scrolling in such a cramped
>> space somewhat annoying (a sentiment I suspect the core team would
>> share if they spent as much time with the IDE on non-Mac systems),
>> so I provided a fix along with the enhancement request for a longer
>> scrolling list:
>> http://quality.livecode.com/show_bug.cgi?id=18029#c3
>
> This is one case where the Mac is in full parity with other operating
> systems. On my Mac running 8.1, I get the default 5 lines in the font
> list. And yeah, it really needs to be longer, I probably have a
> couple of hundred fonts.

Yes, as Paul Hibbert reminded me, that's a combobox, not an option 
control, which does indeed work the same on all three desktop platforms.



> Hopefully your fix will make it into the next build. Thanks for doing
> that.

Quite happy to help.  Soon (any day now, really ) I'll get myself set 
up with git here so I can submit actual pull requests to move those 
things along even more smoothly.   So many little things crop up that 
just a quick one-line fix can resolve easily.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Object inspector question

2016-09-19 Thread J. Landman Gay

On 9/19/16 12:16 PM, Richard Gaskin wrote:

Font lists tend to be long so I found scrolling in such a cramped space
somewhat annoying (a sentiment I suspect the core team would share if
they spent as much time with the IDE on non-Mac systems), so I provided
a fix along with the enhancement request for a longer scrolling list:
http://quality.livecode.com/show_bug.cgi?id=18029#c3


This is one case where the Mac is in full parity with other operating 
systems. On my Mac running 8.1, I get the default 5 lines in the font 
list. And yeah, it really needs to be longer, I probably have a couple 
of hundred fonts.


Hopefully your fix will make it into the next build. Thanks for doing that.

--
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: Best way to extend IDE (toolbar)?

2016-09-19 Thread Richard Gaskin

William Prothero wrote:

> Can script only stacks be used in iOS? I had some trouble getting it
> to recognize one. I entered it in the “Copy Files” preference, but
> the simulator didn’t seem to find it.

Hard to say.  What is the setup, and what indication did the simulator 
give to let you know it couldn't find it?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Object inspector question

2016-09-19 Thread Roger Guay
Thanks for the feedback, Bill. I’ll look into and fix ASAP

Cheers.
Roger


> On Sep 19, 2016, at 11:33 AM, William Prothero  
> wrote:
> 
> Roger:
> Not a big deal, but, FYI:
> I was messing with the “Export” command and it keeps asking for the 
> selectedObject, which should be a field named “myText”. When that field is 
> selected, the selectedObject is still empty. This is in debug mode in the 
> IDE, and it behaves the same way as a plugin as a palette . Also, deleting 
> fonts from the “favorites” field doesn’t work in LC 8.1.0.
> 
> The plugin is still useful, as it is, but I thought you might like the 
> feedback.
> Best,
> Bill
> 
>> On Sep 18, 2016, at 7:37 PM, Roger Guay  wrote:
>> 
>> Hi Bill,
>> 
>> I was complaining about this just a few weeks ago and decided to build my 
>> own plugin which you might like to look at. I’m sure you could easily tailor 
>> to suit your needs.
>> 
>>  
>> https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0
>> 
>> Cheers,
>> 
>> Roger
>> 
>> 
>> 
>> 
>> 
>>> On Sep 18, 2016, at 1:49 PM, William Prothero  
>>> wrote:
>>> 
>>> Ah, yes!
>>> Thanks. Nice addition.
>>> Bill
>>> 
 On Sep 18, 2016, at 1:17 PM, panagiotis merakos  wrote:
 
 Hi Bill,
 
 Indeed the displayed font list in the PI is shorter in LC 8, but you can
 scroll down this list and choose the font you wish. There is an enhancement
 request to extend the height of this drop down font menu.
 
 Best,
 Panos
 --
 
 On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp 
 wrote:
 
> Folks,
> I'm getting used to the object inspector in lc8, but notice that setting
> the font of a field or button is different. In v7 and earlier, the drop
> down menu showed a long list of fonts, but the new inspector show a short
> list of font types (system), etc. I can type in the name of a font and it
> does apply that font. But, what is the intended way to set the font of an
> object?
> 
> Best,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
> ___
> 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
> 
> 
> ___
> 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: Object inspector question

2016-09-19 Thread Paul Hibbert
On Sep 19, 2016, at 10:16 AM, Richard Gaskin  wrote:

> Mac always shows the full list, but the other OSes truncate the list to be 
> scrollable.

Not in this case. The PI font selector appears to be a Combo-box Menu and it 
only shows 5 lines on a Mac too.

On Mac:
An Option Menu, Pulldown Menu and Popup Menu all show a list as long as the 
screen real estate allows, but a Combo-box Menu only displays the number of 
lines set in the PI menuLines property.

On further investigation, type this line of code into the message box and it 
allows you to set your desired number of lines to display (25 in this example):

   set the menuLines of btn 1 of group 1 of cd 1 of stack 
"com.livecode.pi.font" to “25”

Just bear in mind that next time you launch LC it will revert back to 5 lines.

Regards,

Paul
___
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 everyone working on this month? (September 2016)

2016-09-19 Thread William Prothero
Tor:
Since you mention an LMS, I’m wondering if you have successfully implemented an 
interface to an LMS using LTI or SCORM protocols. Or, more concisely, how do 
you handle the interface to your LMS?
Best,
Bill

> On Sep 2, 2016, at 2:33 PM, Tore Nilsen  wrote:
> 
> The academic year has just started here in Norway, and I have just finished a 
> preliminary edition of a digital textbook about using LiveCode in the subject 
> “Information Technology 2”, for my students. The textbook covers all the 
> objectives in the national curriculum with explanations and examples of how 
> to use LiveCode in this particular course. The textbook currently has 15 
> chapters, most of them completed, but the final edition will see two or three 
> chapters added to the book. I am on a path to have a final version ready by 
> Christmas, as an iBook. The plan is to transfer all this stuff into a 
> standalone application, built in LiveCode of course, in time for next year. 
> This version will have som added benefits, as it will allow me to link 
> directly to downloadable example scripts and stacks, that can easily be 
> changed/updated, without the need for a complete update of the book.
> 
> I am also working on a couple of small applications for my English students. 
> One will be a “private dictionary”, where they will add words and phrases 
> they come across during their studies, in order to expand their vocabulary. 
> They will be able to add words and phrases along with explanations and links 
> to the sources where they found the words and/or the explanations of the 
> words.
> 
> I am also working on a small “Notes and tasks” application, where they will 
> write their own notes from their studies, as well as answers to written or 
> oral tasks. This application will let them export their notes or tasks as 
> rtf-files/ or sound files and hand in through our LMS as links. I also have 
> plans for a third application which will be a collection of phrasal verbs and 
> idioms. I guess this will be finished by Christmas and ready for my students 
> in the last term. (We have just two terms in the academic year in Norway.
> 
> Tore
> ___
> 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: Object inspector question

2016-09-19 Thread William Prothero
Richard:
Can script only stacks be used in iOS? I had some trouble getting it to 
recognize one. I entered it in the “Copy Files” preference, but the simulator 
didn’t seem to find it.
Bill

> On Sep 19, 2016, at 10:16 AM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > I'm getting used to the object inspector in lc8, but notice that
> > setting the font of a field or button is different. In v7 and
> > earlier, the drop down menu showed a long list of fonts, but the new
> > inspector show a short list of font types (system), etc. I can type
> > in the name of a font and it does apply that font. But, what is the
> > intended way to set the font of an object?
> 
> I'm assuming that's on Windows or Linux, yes?  Mac always shows the full 
> list, but the other OSes truncate the list to be scrollable.
> 
> The number of lines visible in an option control is defined by the menuLines 
> property, and apparently in recent builds the PI's have reverted to the 
> engine default (a surprisingly low number, maybe 5?).
> 
> Font lists tend to be long so I found scrolling in such a cramped space 
> somewhat annoying (a sentiment I suspect the core team would share if they 
> spent as much time with the IDE on non-Mac systems), so I provided a fix 
> along with the enhancement request for a longer scrolling list:
> http://quality.livecode.com/show_bug.cgi?id=18029#c3
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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: Best way to extend IDE (toolbar)?

2016-09-19 Thread William Prothero
Richard:
Can script only stacks be used in iOS? I had some trouble getting it to 
recognize one. I entered it in the “Copy Files” preference, but the simulator 
didn’t seem to find it.
Bill

> On Sep 19, 2016, at 10:37 AM, Richard Gaskin  
> wrote:
> 
> Ben Rubinstein wrote:
> 
> > Do you (does anyone) know where script-only stacks are actually
> > documented? I can't find it in the User Guide - I see references
> > in the release notes to changes relating, I'm vaguely aware from
> > mailing lists of conversations about them; but I can't find anything
> > for a new person to discover that these exist,
> > how they are used, what are the constraints, etc.
> >
> > For example, do they really have the same suffix as traditional stack
> > files?
> > That seems pretty odd.
> 
> It's even more odd (or simple, depending on how one looks at it) than that:  
> LiveCode has always been able to open any valid stack file regardless of the 
> file name extension.
> 
> The benefit of using the established ".livecode" convention is that on 
> Windows and Mac it allows you to double-click the file to open it in the IDE 
> (Linux offers a mechanism for that too but it hasn't yet been implemented in 
> LC).  But you can use any file name extension you like with the "open" 
> command, or with the IDE's File->Open menu item.
> 
> Whether .livecode, .rev, .mc, .foo, .bar, or anything else (even 
> .anythingelse), they'll all work.
> 
> This is by design, allowing us to use stack files for documents if we want, 
> and of course we want our own documents to have their own file name extension.
> 
> As for script-only stacks, the conversation around them has been far more 
> complicated than the subject itself.
> 
> There is only one thing to know about script-only stacks:
> 
>  When saved to disk they contain only the stack script.
> 
> That's it.  And it's built into the name so we can remember it easily. :)
> 
> In all other respects a stack is a stack.  You can do anything with any stack 
> that you'd do with any other - adding objects, properties, whatever you like.
> 
> It's just that the file format of a script-only stack consists only of the 
> script, so nothing else will be saved with it.
> 
> There may be other places where this is outlined (such as the Release Notes 
> you mentioned), but if you search the Dictionary for scriptOnly you'll find 
> this note in the entry for that property:
> 
>A scriptOnly stack will save just the script with a single header
>line declaring the stack name. Any other objects or properties of
>the stack will not be written to disk.
> 
>The scriptOnly property has been added to enable scripts to detect
>and set the file format of the stack. Without this property it is
>not possible to detect the file format the stack is being saved in
>without examining the file itself.
> 
>Warning: scriptOnly stacks only save the stack name and script. Any
>property changes and objects created while the stack is open will
>not exist the next time the stack is opened.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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: Object inspector question

2016-09-19 Thread William Prothero
Roger:
Not a big deal, but, FYI:
 I was messing with the “Export” command and it keeps asking for the 
selectedObject, which should be a field named “myText”. When that field is 
selected, the selectedObject is still empty. This is in debug mode in the IDE, 
and it behaves the same way as a plugin as a palette . Also, deleting fonts 
from the “favorites” field doesn’t work in LC 8.1.0.

The plugin is still useful, as it is, but I thought you might like the feedback.
Best,
Bill

> On Sep 18, 2016, at 7:37 PM, Roger Guay  wrote:
> 
> Hi Bill,
> 
> I was complaining about this just a few weeks ago and decided to build my own 
> plugin which you might like to look at. I’m sure you could easily tailor to 
> suit your needs.
> 
>   
> https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0
> 
> Cheers,
> 
> Roger
> 
> 
> 
> 
> 
>> On Sep 18, 2016, at 1:49 PM, William Prothero  
>> wrote:
>> 
>> Ah, yes!
>> Thanks. Nice addition.
>> Bill
>> 
>>> On Sep 18, 2016, at 1:17 PM, panagiotis merakos  wrote:
>>> 
>>> Hi Bill,
>>> 
>>> Indeed the displayed font list in the PI is shorter in LC 8, but you can
>>> scroll down this list and choose the font you wish. There is an enhancement
>>> request to extend the height of this drop down font menu.
>>> 
>>> Best,
>>> Panos
>>> --
>>> 
>>> On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp 
>>> wrote:
>>> 
 Folks,
 I'm getting used to the object inspector in lc8, but notice that setting
 the font of a field or button is different. In v7 and earlier, the drop
 down menu showed a long list of fonts, but the new inspector show a short
 list of font types (system), etc. I can type in the name of a font and it
 does apply that font. But, what is the intended way to set the font of an
 object?
 
 Best,
 Bill
 
 William Prothero
 http://es.earthednet.org
 
 ___
 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


___
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 everyone working on this month? (September 2016)

2016-09-19 Thread Mike Kerner
Exactly.  In some cases you can use BLE, but you still have to manage the
comm protocol with the reader, which will vary by manufacturer, like you
would expect.

On Mon, Sep 19, 2016 at 2:12 PM, Roger Eller 
wrote:

> Well, no.  It appears that this app and several others require an external
> reader device.  Some can be paired to the phone with bluetooth.
>
> ~Roger
>
>
> On Mon, Sep 19, 2016 at 1:59 PM, Roger Eller 
> wrote:
>
> > It looks like you can.
> >
> > https://play.google.com/store/apps/details?id=at.mroland.
> > android.apps.nfctaginfo
> >
> > https://www.youtube.com/watch?v=3eAI6SJfJqo
> >
> >
> > On Mon, Sep 19, 2016 at 1:54 PM, Mike Kerner 
> > wrote:
> >
> >> There is a difference between RFID and NFC.  I will have to look more at
> >> the Nexus, but I thought I was pretty sure that there are no android or
> >> ios
> >> devices that can read RFID tags.
> >>
> >> On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett <
> >> peter.br...@livecode.com>
> >> wrote:
> >>
> >> > On 19/09/2016 15:16, Mike Kerner wrote:
> >> >
> >> >> The RFID is tricky because right now, there is no hardware capability
> >> in
> >> >> either ios or android, so you need to attach external peripherials.
> We
> >> >> need to narrow down the hardware options, because the communication
> >> with
> >> >> them is going to be the sticky wicket.
> >> >>
> >> >
> >> > That's interesting -- devices like my Nexus 5 have NFC capability
> that I
> >> > believe is compatible with quite a few RFID devices (e.g. MIFARE).
> What
> >> > standards are you targeting?
> >> >
> >> >
> >> >  Peter
> >> >
> >> > --
> >> > Dr Peter Brett 
> >> > LiveCode Technical Project Manager
> >> >
> >> > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
> >> >
> >>
> >
> ___
> 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: error building iOS standalone with LiveCode 8.1

2016-09-19 Thread panagiotis merakos
Hi Chris,

Try the workaround described here:
http://quality.livecode.com/show_bug.cgi?id=18135

It worked for me.

Best,
Panos
On 19 Sep 2016 19:01, "Chris Sheffield"  wrote:

> I’m hoping someone can help with this.
>
> I just fired up LiveCode 8.1 this morning to create a new app build for a
> landscape app that has the “cropped” issue in iOS 10. I am getting an error
> at the point that the app gets signed:
>
> codesigning failed with Warning: —resource-rules has been deprecated in
> Max OS X >= 10.10!
> [path to my app]: resource fork, Finder information, or similar detritus
> not allowed
>
> I did a little digging and it sounds like, in an Xcode project at least,
> it’s simply a matter of removing the path to the ResourceRules.plist file
> in the project settings. I went and tried doing what I thought would be the
> equivalent in LiveCode and I commented out the lines pertaining to this
> file in the Settings.plist file, but that didn’t do the trick.
>
> Has anyone run into this one? I really need to get this figured out asap.
> Even if it can be solved with a temporary workaround, that’d be great.
>
> Thanks,
> Chris
>
>
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
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 everyone working on this month? (September 2016)

2016-09-19 Thread Roger Eller
Well, no.  It appears that this app and several others require an external
reader device.  Some can be paired to the phone with bluetooth.

~Roger


On Mon, Sep 19, 2016 at 1:59 PM, Roger Eller 
wrote:

> It looks like you can.
>
> https://play.google.com/store/apps/details?id=at.mroland.
> android.apps.nfctaginfo
>
> https://www.youtube.com/watch?v=3eAI6SJfJqo
>
>
> On Mon, Sep 19, 2016 at 1:54 PM, Mike Kerner 
> wrote:
>
>> There is a difference between RFID and NFC.  I will have to look more at
>> the Nexus, but I thought I was pretty sure that there are no android or
>> ios
>> devices that can read RFID tags.
>>
>> On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett <
>> peter.br...@livecode.com>
>> wrote:
>>
>> > On 19/09/2016 15:16, Mike Kerner wrote:
>> >
>> >> The RFID is tricky because right now, there is no hardware capability
>> in
>> >> either ios or android, so you need to attach external peripherials.  We
>> >> need to narrow down the hardware options, because the communication
>> with
>> >> them is going to be the sticky wicket.
>> >>
>> >
>> > That's interesting -- devices like my Nexus 5 have NFC capability that I
>> > believe is compatible with quite a few RFID devices (e.g. MIFARE).  What
>> > standards are you targeting?
>> >
>> >
>> >  Peter
>> >
>> > --
>> > Dr Peter Brett 
>> > LiveCode Technical Project Manager
>> >
>> > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
>> >
>>
>
___
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


error building iOS standalone with LiveCode 8.1

2016-09-19 Thread Chris Sheffield
I’m hoping someone can help with this.

I just fired up LiveCode 8.1 this morning to create a new app build for a 
landscape app that has the “cropped” issue in iOS 10. I am getting an error at 
the point that the app gets signed:

codesigning failed with Warning: —resource-rules has been deprecated in Max OS 
X >= 10.10!
[path to my app]: resource fork, Finder information, or similar detritus not 
allowed

I did a little digging and it sounds like, in an Xcode project at least, it’s 
simply a matter of removing the path to the ResourceRules.plist file in the 
project settings. I went and tried doing what I thought would be the equivalent 
in LiveCode and I commented out the lines pertaining to this file in the 
Settings.plist file, but that didn’t do the trick.

Has anyone run into this one? I really need to get this figured out asap. Even 
if it can be solved with a temporary workaround, that’d be great.

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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

Re: What's everyone working on this month? (September 2016)

2016-09-19 Thread Roger Eller
It looks like you can.

https://play.google.com/store/apps/details?id=at.mroland.android.apps.nfctaginfo

https://www.youtube.com/watch?v=3eAI6SJfJqo


On Mon, Sep 19, 2016 at 1:54 PM, Mike Kerner 
wrote:

> There is a difference between RFID and NFC.  I will have to look more at
> the Nexus, but I thought I was pretty sure that there are no android or ios
> devices that can read RFID tags.
>
> On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett  >
> wrote:
>
> > On 19/09/2016 15:16, Mike Kerner wrote:
> >
> >> The RFID is tricky because right now, there is no hardware capability in
> >> either ios or android, so you need to attach external peripherials.  We
> >> need to narrow down the hardware options, because the communication with
> >> them is going to be the sticky wicket.
> >>
> >
> > That's interesting -- devices like my Nexus 5 have NFC capability that I
> > believe is compatible with quite a few RFID devices (e.g. MIFARE).  What
> > standards are you targeting?
> >
> >
> >  Peter
> >
> > --
> > Dr Peter Brett 
> > LiveCode Technical Project Manager
> >
> > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
> >
> > ___
> > 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
>
___
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 everyone working on this month? (September 2016)

2016-09-19 Thread Mike Kerner
There is a difference between RFID and NFC.  I will have to look more at
the Nexus, but I thought I was pretty sure that there are no android or ios
devices that can read RFID tags.

On Mon, Sep 19, 2016 at 10:25 AM, Peter TB Brett 
wrote:

> On 19/09/2016 15:16, Mike Kerner wrote:
>
>> The RFID is tricky because right now, there is no hardware capability in
>> either ios or android, so you need to attach external peripherials.  We
>> need to narrow down the hardware options, because the communication with
>> them is going to be the sticky wicket.
>>
>
> That's interesting -- devices like my Nexus 5 have NFC capability that I
> believe is compatible with quite a few RFID devices (e.g. MIFARE).  What
> standards are you targeting?
>
>
>  Peter
>
> --
> Dr Peter Brett 
> LiveCode Technical Project Manager
>
> lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
>
> ___
> 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: Breaking out a PDF

2016-09-19 Thread Roger Eller
LOL!

The content of my example is one line:   '20 122 Td (Hello World) Tj"
The rest is mostly static prologue setup to make it official.

You can script Adobe Acrobat Professional to split or combine pages.

~Roger



Roger Eller
Graphics Systems Analyst

803 North Maple Street P: 864.967.1625
Simpsonville, SC 29681 C: 864.908.0337
SealedAir.com  roger.e.el...@sealedair.com




On Mon, Sep 19, 2016 at 1:44 PM, Skip Kimpel  wrote:

> Roger,
>
> They are not created by me a bunch of forms (200+ pages combined into 1
> PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be
> broken out into it's own file.
>
> I am scared of your example :)
>
> SKIP
>
> On Mon, Sep 19, 2016 at 1:37 PM, Roger Eller 
> wrote:
>
> > Are these PDFs created by you with LiveCode, or coming from other unknown
> > or varying programs?  Is is all text, or a mixture of content?
> >
> > A PDF built to the older PDF-1.4 spec, is fairly simple to construct from
> > scratch using just text.  Example: Paste the following into notepad, and
> > save it.  Change the extension to .pdf.  MediaBox is the page size in
> > points (Points are roughly 1/72 of an inch).  All measurements are in
> > points.
> >
> >
> > %PDF-1.4
> > 1 0 obj
> > <<
> > /Type /Catalog
> > /Pages 3 0 R
> > /Outlines 2 0 R
> > >>
> > endobj
> > 2 0 obj
> > <<
> > /Type /Outlines
> > /Count 0
> > >>
> > endobj
> > 3 0 obj
> > <<
> > /Type /Pages
> > /Count 1
> > /Kids [ 4 0 R ]
> > >>
> > endobj
> > 4 0 obj
> > <<
> > /Type /Page
> > /Parent 3 0 R
> > /Resources << /Font << /F1 7 0 R >> /ProcSet 6 0 R >>
> > /MediaBox [0 0 366 160]
> > /Contents 5 0 R
> > >>
> > endobj
> > 5 0 obj
> > <<
> > /Length 80
> > >>
> > stream
> > 1 w
> > 0 160 m
> > 0 0 l
> > 366 0 l
> > 366 160 l
> > 0 160 l
> > s
> > BT
> > /F1 7.5 Tf
> > 20 122 Td (Hello World) Tj
> > ET
> > endstream
> > endobj
> > 6 0 obj
> > [ /PDF /Text ]
> > endobj
> > 7 0 obj
> > <<
> > /Type /Font
> > /Subtype /TrueType
> > /Name /F1
> > /BaseFont /CourierNew,Bold
> > /Encoding /WinAnsiEncoding
> > >>
> > endobj
> > xref
> > 0 8
> > 00 65535 f
> > 09 0 n
> > 74 0 n
> > 000120 0 n
> > 000179 0 n
> > 000322 0 n
> > 000415 0 n
> > 000445 0 n
> > trailer
> > <<
> > /Size 8
> > /Root 1 0 R
> > >>
> > startxref
> > 553
> > %%EOF
> >
> >
> >
> > Roger Eller
> > Graphics Systems Analyst
> >
> > 803 North Maple Street P: 864.967.1625
> > Simpsonville, SC 29681 C: 864.908.0337
> > SealedAir.com  roger.e.el...@sealedair.com
> > 
> >
> >
> >
> > On Mon, Sep 19, 2016 at 1:27 PM, Skip Kimpel 
> wrote:
> >
> > > Thanks for the input.  Kind of what I thought but was looking for some
> > > feedback to confirm this before I started down that path.
> > >
> > > SKIP
> > >
> > > On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins 
> wrote:
> > >
> > > > On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel 
> > > wrote:
> > > >
> > > > > Has anybody taken a PDF, read it into LC and then split that PDF
> and
> > > > > created multiple PDF documents from it?  Looking to create a
> > > streamlined
> > > > > way of doing this an a continuous basis.
> > > > >
> > > >
> > > > Playing with PDF is a nightmare.
> > > >
> > > > I've looked at it, ad there are two many inconsistent ways to write a
> > > pdf.
> > > >
> > > > As far as I can tell, there are no two programs that are actually
> > > > compatible with one another in handling pdfs.
> > > >
> > > >
> > > > --
> > > > Dr. Richard E. Hawkins, Esq.
> > > > (702) 508-8462
> > > > ___
> > > > 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
>
___
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: Breaking out a PDF

2016-09-19 Thread Skip Kimpel
Roger,

They are not created by me a bunch of forms (200+ pages combined into 1
PDF) that are 1 pager's (8.5x11) and each page in the PDF needs to be
broken out into it's own file.

I am scared of your example :)

SKIP

On Mon, Sep 19, 2016 at 1:37 PM, Roger Eller 
wrote:

> Are these PDFs created by you with LiveCode, or coming from other unknown
> or varying programs?  Is is all text, or a mixture of content?
>
> A PDF built to the older PDF-1.4 spec, is fairly simple to construct from
> scratch using just text.  Example: Paste the following into notepad, and
> save it.  Change the extension to .pdf.  MediaBox is the page size in
> points (Points are roughly 1/72 of an inch).  All measurements are in
> points.
>
>
> %PDF-1.4
> 1 0 obj
> <<
> /Type /Catalog
> /Pages 3 0 R
> /Outlines 2 0 R
> >>
> endobj
> 2 0 obj
> <<
> /Type /Outlines
> /Count 0
> >>
> endobj
> 3 0 obj
> <<
> /Type /Pages
> /Count 1
> /Kids [ 4 0 R ]
> >>
> endobj
> 4 0 obj
> <<
> /Type /Page
> /Parent 3 0 R
> /Resources << /Font << /F1 7 0 R >> /ProcSet 6 0 R >>
> /MediaBox [0 0 366 160]
> /Contents 5 0 R
> >>
> endobj
> 5 0 obj
> <<
> /Length 80
> >>
> stream
> 1 w
> 0 160 m
> 0 0 l
> 366 0 l
> 366 160 l
> 0 160 l
> s
> BT
> /F1 7.5 Tf
> 20 122 Td (Hello World) Tj
> ET
> endstream
> endobj
> 6 0 obj
> [ /PDF /Text ]
> endobj
> 7 0 obj
> <<
> /Type /Font
> /Subtype /TrueType
> /Name /F1
> /BaseFont /CourierNew,Bold
> /Encoding /WinAnsiEncoding
> >>
> endobj
> xref
> 0 8
> 00 65535 f
> 09 0 n
> 74 0 n
> 000120 0 n
> 000179 0 n
> 000322 0 n
> 000415 0 n
> 000445 0 n
> trailer
> <<
> /Size 8
> /Root 1 0 R
> >>
> startxref
> 553
> %%EOF
>
>
>
> Roger Eller
> Graphics Systems Analyst
>
> 803 North Maple Street P: 864.967.1625
> Simpsonville, SC 29681 C: 864.908.0337
> SealedAir.com  roger.e.el...@sealedair.com
> 
>
>
>
> On Mon, Sep 19, 2016 at 1:27 PM, Skip Kimpel  wrote:
>
> > Thanks for the input.  Kind of what I thought but was looking for some
> > feedback to confirm this before I started down that path.
> >
> > SKIP
> >
> > On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins  wrote:
> >
> > > On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel 
> > wrote:
> > >
> > > > Has anybody taken a PDF, read it into LC and then split that PDF and
> > > > created multiple PDF documents from it?  Looking to create a
> > streamlined
> > > > way of doing this an a continuous basis.
> > > >
> > >
> > > Playing with PDF is a nightmare.
> > >
> > > I've looked at it, ad there are two many inconsistent ways to write a
> > pdf.
> > >
> > > As far as I can tell, there are no two programs that are actually
> > > compatible with one another in handling pdfs.
> > >
> > >
> > > --
> > > Dr. Richard E. Hawkins, Esq.
> > > (702) 508-8462
> > > ___
> > > 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: regex to add a variable to calls

2016-09-19 Thread Thierry Douez
2016-09-17 0:13 GMT+02:00
Dr. Hawkins :

I need to catch every instance of
>
> getVal(a,b,c)
>
> and change them to
>
> getVal(a,b,c,dbtr)
>
> (and similarly to find when called with one or two arguments)
>
> dbtr is the variable name I want to pass.
>


​Here is one way to do it.


*on* mouseUp

*put* "getVal\([^)]+(?=\))" into theRegex

*put* "\0,dbtr" into smartReplaceText

*if* sunnyreplace( fld "f1", theRegex, smartReplaceText, outText) *then*

*put* outText into fld "f2"

*end* *if*

*end* mouseUp

​

​some sample input text in fld "F1" :

get getVal(a)

put getVal(a,b) into z

put getVal(a,b,c) && getVal(a,b,c) into y


and results in fld "f2":

get getVal(a,dbtr)

put getVal(a,b,dbtr) into z

put getVal(a,b,c,dbtr) && getVal(a,b,c,dbtr) into y


Is this what you are looking for?

Regards,

Thierry
​



Thierry Douez - http://sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: Best way to extend IDE (toolbar)?

2016-09-19 Thread Richard Gaskin

Ben Rubinstein wrote:

> Do you (does anyone) know where script-only stacks are actually
> documented? I can't find it in the User Guide - I see references
> in the release notes to changes relating, I'm vaguely aware from
> mailing lists of conversations about them; but I can't find anything
> for a new person to discover that these exist,
> how they are used, what are the constraints, etc.
>
> For example, do they really have the same suffix as traditional stack
> files?
> That seems pretty odd.

It's even more odd (or simple, depending on how one looks at it) than 
that:  LiveCode has always been able to open any valid stack file 
regardless of the file name extension.


The benefit of using the established ".livecode" convention is that on 
Windows and Mac it allows you to double-click the file to open it in the 
IDE (Linux offers a mechanism for that too but it hasn't yet been 
implemented in LC).  But you can use any file name extension you like 
with the "open" command, or with the IDE's File->Open menu item.


Whether .livecode, .rev, .mc, .foo, .bar, or anything else (even 
.anythingelse), they'll all work.


This is by design, allowing us to use stack files for documents if we 
want, and of course we want our own documents to have their own file 
name extension.


As for script-only stacks, the conversation around them has been far 
more complicated than the subject itself.


There is only one thing to know about script-only stacks:

  When saved to disk they contain only the stack script.

That's it.  And it's built into the name so we can remember it easily. :)

In all other respects a stack is a stack.  You can do anything with any 
stack that you'd do with any other - adding objects, properties, 
whatever you like.


It's just that the file format of a script-only stack consists only of 
the script, so nothing else will be saved with it.


There may be other places where this is outlined (such as the Release 
Notes you mentioned), but if you search the Dictionary for scriptOnly 
you'll find this note in the entry for that property:


A scriptOnly stack will save just the script with a single header
line declaring the stack name. Any other objects or properties of
the stack will not be written to disk.

The scriptOnly property has been added to enable scripts to detect
and set the file format of the stack. Without this property it is
not possible to detect the file format the stack is being saved in
without examining the file itself.

Warning: scriptOnly stacks only save the stack name and script. Any
property changes and objects created while the stack is open will
not exist the next time the stack is opened.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Breaking out a PDF

2016-09-19 Thread Roger Eller
Are these PDFs created by you with LiveCode, or coming from other unknown
or varying programs?  Is is all text, or a mixture of content?

A PDF built to the older PDF-1.4 spec, is fairly simple to construct from
scratch using just text.  Example: Paste the following into notepad, and
save it.  Change the extension to .pdf.  MediaBox is the page size in
points (Points are roughly 1/72 of an inch).  All measurements are in
points.


%PDF-1.4
1 0 obj
<<
/Type /Catalog
/Pages 3 0 R
/Outlines 2 0 R
>>
endobj
2 0 obj
<<
/Type /Outlines
/Count 0
>>
endobj
3 0 obj
<<
/Type /Pages
/Count 1
/Kids [ 4 0 R ]
>>
endobj
4 0 obj
<<
/Type /Page
/Parent 3 0 R
/Resources << /Font << /F1 7 0 R >> /ProcSet 6 0 R >>
/MediaBox [0 0 366 160]
/Contents 5 0 R
>>
endobj
5 0 obj
<<
/Length 80
>>
stream
1 w
0 160 m
0 0 l
366 0 l
366 160 l
0 160 l
s
BT
/F1 7.5 Tf
20 122 Td (Hello World) Tj
ET
endstream
endobj
6 0 obj
[ /PDF /Text ]
endobj
7 0 obj
<<
/Type /Font
/Subtype /TrueType
/Name /F1
/BaseFont /CourierNew,Bold
/Encoding /WinAnsiEncoding
>>
endobj
xref
0 8
00 65535 f
09 0 n
74 0 n
000120 0 n
000179 0 n
000322 0 n
000415 0 n
000445 0 n
trailer
<<
/Size 8
/Root 1 0 R
>>
startxref
553
%%EOF



Roger Eller
Graphics Systems Analyst

803 North Maple Street P: 864.967.1625
Simpsonville, SC 29681 C: 864.908.0337
SealedAir.com  roger.e.el...@sealedair.com




On Mon, Sep 19, 2016 at 1:27 PM, Skip Kimpel  wrote:

> Thanks for the input.  Kind of what I thought but was looking for some
> feedback to confirm this before I started down that path.
>
> SKIP
>
> On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins  wrote:
>
> > On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel 
> wrote:
> >
> > > Has anybody taken a PDF, read it into LC and then split that PDF and
> > > created multiple PDF documents from it?  Looking to create a
> streamlined
> > > way of doing this an a continuous basis.
> > >
> >
> > Playing with PDF is a nightmare.
> >
> > I've looked at it, ad there are two many inconsistent ways to write a
> pdf.
> >
> > As far as I can tell, there are no two programs that are actually
> > compatible with one another in handling pdfs.
> >
> >
> > --
> > Dr. Richard E. Hawkins, Esq.
> > (702) 508-8462
> > ___
> > 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: Breaking out a PDF

2016-09-19 Thread Skip Kimpel
Thanks for the input.  Kind of what I thought but was looking for some
feedback to confirm this before I started down that path.

SKIP

On Mon, Sep 19, 2016 at 12:47 PM, Dr. Hawkins  wrote:

> On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel  wrote:
>
> > Has anybody taken a PDF, read it into LC and then split that PDF and
> > created multiple PDF documents from it?  Looking to create a streamlined
> > way of doing this an a continuous basis.
> >
>
> Playing with PDF is a nightmare.
>
> I've looked at it, ad there are two many inconsistent ways to write a pdf.
>
> As far as I can tell, there are no two programs that are actually
> compatible with one another in handling pdfs.
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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: Object inspector question

2016-09-19 Thread Richard Gaskin

William Prothero wrote:

> I'm getting used to the object inspector in lc8, but notice that
> setting the font of a field or button is different. In v7 and
> earlier, the drop down menu showed a long list of fonts, but the new
> inspector show a short list of font types (system), etc. I can type
> in the name of a font and it does apply that font. But, what is the
> intended way to set the font of an object?

I'm assuming that's on Windows or Linux, yes?  Mac always shows the full 
list, but the other OSes truncate the list to be scrollable.


The number of lines visible in an option control is defined by the 
menuLines property, and apparently in recent builds the PI's have 
reverted to the engine default (a surprisingly low number, maybe 5?).


Font lists tend to be long so I found scrolling in such a cramped space 
somewhat annoying (a sentiment I suspect the core team would share if 
they spent as much time with the IDE on non-Mac systems), so I provided 
a fix along with the enhancement request for a longer scrolling list:

http://quality.livecode.com/show_bug.cgi?id=18029#c3

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Object inspector question

2016-09-19 Thread William Prothero
Roger:
Thanks! It makes searching for fonts quite a bit easier.
Best,
Bill

> On Sep 18, 2016, at 7:37 PM, Roger Guay  wrote:
> 
> Hi Bill,
> 
> I was complaining about this just a few weeks ago and decided to build my own 
> plugin which you might like to look at. I’m sure you could easily tailor to 
> suit your needs.
> 
>   
> https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0
> 
> Cheers,
> 
> Roger
> 
> 
> 
> 
> 
>> On Sep 18, 2016, at 1:49 PM, William Prothero  
>> wrote:
>> 
>> Ah, yes!
>> Thanks. Nice addition.
>> Bill
>> 
>>> On Sep 18, 2016, at 1:17 PM, panagiotis merakos  wrote:
>>> 
>>> Hi Bill,
>>> 
>>> Indeed the displayed font list in the PI is shorter in LC 8, but you can
>>> scroll down this list and choose the font you wish. There is an enhancement
>>> request to extend the height of this drop down font menu.
>>> 
>>> Best,
>>> Panos
>>> --
>>> 
>>> On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp 
>>> wrote:
>>> 
 Folks,
 I'm getting used to the object inspector in lc8, but notice that setting
 the font of a field or button is different. In v7 and earlier, the drop
 down menu showed a long list of fonts, but the new inspector show a short
 list of font types (system), etc. I can type in the name of a font and it
 does apply that font. But, what is the intended way to set the font of an
 object?
 
 Best,
 Bill
 
 William Prothero
 http://es.earthednet.org
 
 ___
 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


___
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 8.1 Mac - Crash on name change

2016-09-19 Thread Dr. Hawkins
On Sun, Sep 18, 2016 at 9:18 AM, Graham Samuel  wrote:

> This looks like a bug to me, but I just wonder if anyone has experienced
> anything like this before I report it.
>

Nah.

7.1 crashes a significant portion of the time when doing a "save as" from a
script (I think it's 20-30%, but nearly always after the save happen).

That makes this a feature, not a bug, as it's the same behavior as 7 :)

(years ago, I worked in software QA for Olivetti on DOS.  When we found a
way to bring down the machine, if the IBM PC crashed the same way, it was a
feature . . .)


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Breaking out a PDF

2016-09-19 Thread Dr. Hawkins
On Mon, Sep 19, 2016 at 8:13 AM, Skip Kimpel  wrote:

> Has anybody taken a PDF, read it into LC and then split that PDF and
> created multiple PDF documents from it?  Looking to create a streamlined
> way of doing this an a continuous basis.
>

Playing with PDF is a nightmare.

I've looked at it, ad there are two many inconsistent ways to write a pdf.

As far as I can tell, there are no two programs that are actually
compatible with one another in handling pdfs.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: error building for iOS with LiveCode 8.1

2016-09-19 Thread panagiotis merakos
Hi Mark,

I thought there was a bug about it, but I could not find it now. IIRC this
was mentioned as a known issue in a release email at some point in the
past. So maybe nobody ever filed a bug. It would be great if you could
create a new one :)

Best regards,
Panos
--

On Mon, Sep 19, 2016 at 5:23 PM, Mark Talluto 
wrote:

> On Sep 16, 2016, at 5:19 AM, panagiotis merakos 
> wrote:
> >
> > Hi Phil,
> >
> > IIRC I used to get similar errors just *the very first time* I tried to
> > create an ios standalone. Do you get this error *always* when trying to
> > build an ios standalone?
>
> Hi Panos,
>
> I am getting the error on the first try as well. Subsequent builds work
> ok. Since this is a known issue, is there a bug report on this that I may
> follow? Or do you need a new one to be opened?
>
> Best regards,
>
> Mark Talluto
> livecloud.io
> canelasoftware.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
>



-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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: error building for iOS with LiveCode 8.1

2016-09-19 Thread Mark Talluto
On Sep 16, 2016, at 5:19 AM, panagiotis merakos  wrote:
> 
> Hi Phil,
> 
> IIRC I used to get similar errors just *the very first time* I tried to
> create an ios standalone. Do you get this error *always* when trying to
> build an ios standalone?

Hi Panos,

I am getting the error on the first try as well. Subsequent builds work ok. 
Since this is a known issue, is there a bug report on this that I may follow? 
Or do you need a new one to be opened?

Best regards,

Mark Talluto
livecloud.io
canelasoftware.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


Playing Sound question

2016-09-19 Thread Alejandro Tejada
In this forum thread:
http://forums.livecode.com/viewtopic.php?f=20&t=18429

MaxV posted a video that shows the movie player
working fine in Linux, you can actually play, pause
and resume:
https://www.youtube.com/watch?v=mxPzQaF-Feg

Does anyone knows if (using this movie player on Linux)
we could select a start and ending time for playing media
and if we could play a loop from a selection.

Both options are available in the Player properties inspector
but they do not seems to work, at least in Linux... :(

Alejandro

On Mon, 19 Sep 2016
panagiotis merakos wrote:

> Unfortunately, the LC player on Linux
> has been broken for a long time.

___
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: Dumb question about files on a server

2016-09-19 Thread Mike Bonner
It sounds like you have an app that you want to use to manipulate files and
folders on a remote server. You could set up a script on the server as a
middle man pretty easily I think..

Something like this.. (off the top of my head)

Have it accept $_POST data, one item of which could be cmd=folder_exists,
and pass in the folder name to check..

switch $_POST["cmd"]
case "folder_exists"
if there is not a folder $_POST["folder_name"] then
create folder $_POST["folder_name"]
put "Folder " & $_POST["folder_name"] & "created"
else
put "Folder " & $_POST["folder_name"] & "Exists"
end if
break

case "retrieve_file"
put URL ("file:" & $_POST["file_to_retrieve"])
break
case "update_file"
   put $_POST["new_data"] into URL ("file:" & $_POST["file_to_update"])
break
default
   put "invalid request"
end switch


No thoughts about security on this, just a barebones idea..

Now, for the curiosity question.. Would a database back end work better for
this?  (You'd still need an intermediary script)

On Mon, Sep 19, 2016 at 8:40 AM, Graham Samuel  wrote:

> I have some server space and a domain name, let’s say ‘mysite.com <
> http://mysite.com/>’. On this host I have a web site (www.mysite.com <
> http://www.mysite.com/>), plus LiveCode Server (8.1 commercial as it
> happens) and some scripts etc. So far, so good. Now I want to write a
> script that runs on the server and does the following - this is not code,
> but is supposed to show what I want to code:
>
> 1. If there is not a folder within my space called ‘myUsefulData’, then
> create such a folder;
>
> 2. If there is not a text file ‘myCurrentData.txt’  within the above
> folder, then create one (this may not be necessary, as an attempt to access
> the file might create it?);
>
> 3. Read the contents of the file into a variable;
>
> 4. Add some data from within the program (let’s say an extra line at the
> end);
>
> 5. Rewrite the updated file.
>
> There may also be error checking etc.
>
> Although this seems extremely simple, I find I don’t know how to do it,
> and so far the LC examples I’ve read don’t seem to help. I am not sure for
> example if FTP comes into the equation (I think it does) or the user name
> and password I need for FTP access from outside the server (surely not?),
> or indeed what the path to my own bit of the server actually is. Of course
> I’ve tried stuff, but nothing has worked so far, and a test script (running
> in the IDE, not within a server script) fails silently. Nothing is created,
> nothing is destroyed, but sadly everything isn’t transformed.
>
> Can anyone explain how to do this, or at least point me to an explanation.
>
> Sorry for the dumb question, but there it is.
>
> Graham
>
> ___
> 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

Breaking out a PDF

2016-09-19 Thread Skip Kimpel
Has anybody taken a PDF, read it into LC and then split that PDF and
created multiple PDF documents from it?  Looking to create a streamlined
way of doing this an a continuous basis.

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


8.1.0 update corrupted?

2016-09-19 Thread Bob Sneidar
I am getting Payload Archive won't open error when attempting to update to 
version 8.1.0 on OS X 10.11. I'll try the web site. 

Bob S
___
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


Dumb question about files on a server

2016-09-19 Thread Graham Samuel
I have some server space and a domain name, let’s say ‘mysite.com 
’. On this host I have a web site (www.mysite.com 
), plus LiveCode Server (8.1 commercial as it happens) 
and some scripts etc. So far, so good. Now I want to write a script that runs 
on the server and does the following - this is not code, but is supposed to 
show what I want to code:

1. If there is not a folder within my space called ‘myUsefulData’, then create 
such a folder;

2. If there is not a text file ‘myCurrentData.txt’  within the above folder, 
then create one (this may not be necessary, as an attempt to access the file 
might create it?);

3. Read the contents of the file into a variable;

4. Add some data from within the program (let’s say an extra line at the end);

5. Rewrite the updated file.

There may also be error checking etc.

Although this seems extremely simple, I find I don’t know how to do it, and so 
far the LC examples I’ve read don’t seem to help. I am not sure for example if 
FTP comes into the equation (I think it does) or the user name and password I 
need for FTP access from outside the server (surely not?), or indeed what the 
path to my own bit of the server actually is. Of course I’ve tried stuff, but 
nothing has worked so far, and a test script (running in the IDE, not within a 
server script) fails silently. Nothing is created, nothing is destroyed, but 
sadly everything isn’t transformed.

Can anyone explain how to do this, or at least point me to an explanation.

Sorry for the dumb question, but there it is.

Graham

___
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 everyone working on this month? (September 2016)

2016-09-19 Thread Peter TB Brett

On 19/09/2016 15:16, Mike Kerner wrote:

The RFID is tricky because right now, there is no hardware capability in
either ios or android, so you need to attach external peripherials.  We
need to narrow down the hardware options, because the communication with
them is going to be the sticky wicket.


That's interesting -- devices like my Nexus 5 have NFC capability that I 
believe is compatible with quite a few RFID devices (e.g. MIFARE).  What 
standards are you targeting?


 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-19 Thread Peter TB Brett

On 19/09/2016 15:12, Mike Kerner wrote:

specifically?


Current release-critical items that I'm aware of:

[T] 18135 Error building iOS standalone in OS X 10.12 beta 4
[T] 18422 Cannot launch iOS 9.2 simulator on OS X 10.10
[T] 18414 iOS 10 resources not copied in simulator
18418 App crashes on launch when tsNet is included
18419 App crashes on launch when mergExt included

Items marked [T] have had patches merged and are awaiting test.

 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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 everyone working on this month? (September 2016)

2016-09-19 Thread Peter TB Brett

On 01/09/2016 15:23, Mike Kerner wrote:

Let's see:
• Peter challenged me to do better than the new Documentation setup.  Maybe
he didn't mean it that way, but that's the way I took it, so I'm going to
have a go.
• Finishing a new app that allows machine shops to quickly determine how to
run particular operations, what tooling to use, etc.
• Writing an app for making a tablet into a timeclock.
• Adding new features to an existing app that allows for easy warehouse
inventory management and posts updates in real time to a series of Google
spreadsheets.
• Messing with RFID scanning


These are all pretty cool. :-D Are you likely to be able to make your 
RFID stuff open source?  It sounds like it would be pretty useful for 
many LiveCode users and a pretty obvious area for collaboration.


   Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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 everyone working on this month? (September 2016)

2016-09-19 Thread Mike Kerner
The RFID is tricky because right now, there is no hardware capability in
either ios or android, so you need to attach external peripherials.  We
need to narrow down the hardware options, because the communication with
them is going to be the sticky wicket.

On Mon, Sep 19, 2016 at 10:12 AM, Peter TB Brett 
wrote:

> On 01/09/2016 15:23, Mike Kerner wrote:
>
>> Let's see:
>> • Peter challenged me to do better than the new Documentation setup.
>> Maybe
>> he didn't mean it that way, but that's the way I took it, so I'm going to
>> have a go.
>> • Finishing a new app that allows machine shops to quickly determine how
>> to
>> run particular operations, what tooling to use, etc.
>> • Writing an app for making a tablet into a timeclock.
>> • Adding new features to an existing app that allows for easy warehouse
>> inventory management and posts updates in real time to a series of Google
>> spreadsheets.
>> • Messing with RFID scanning
>>
>
> These are all pretty cool. :-D Are you likely to be able to make your RFID
> stuff open source?  It sounds like it would be pretty useful for many
> LiveCode users and a pretty obvious area for collaboration.
>
>
>Peter
>
> --
> Dr Peter Brett 
> LiveCode Technical Project Manager
>
> lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
>
> ___
> 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: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-19 Thread Mike Kerner
specifically?

On Mon, Sep 19, 2016 at 9:49 AM, Peter TB Brett 
wrote:

> On 08/09/2016 08:57, Peter TB Brett wrote:
>
>> Hi all,
>>
>> Since Xcode 8 GM is now available for download by members of the Apple
>> developer program, I thought it might be helpful to give you an update
>> on our plans for enabling LiveCode app deployment using Xcode 8.
>>
>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release
>>
>> - If you need to deploy to iOS using LiveCode 8.1.0 you will need to
>> keep a copy of Xcode 7.3.1 around
>>
>> I currently expect that we'll release 8.1.1-rc-1 sometime between
>> 15th-20th September.
>>
>
> We're currently working to resolve some thorny issues relating to Xcode
> 8-based iOS deployment, and I now don't expect an 8.1.1-rc-1 release before
> Thursday 22nd September.
>
>
> Peter
>
> --
> Dr Peter Brett 
> LiveCode Technical Project Manager
>
> lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
>
> ___
> 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


Debugging LCB programs [was: What's everyone working on this month?]

2016-09-19 Thread Peter TB Brett

On 02/09/2016 10:51, Alex Tweedly wrote:


But in the end I found the programming experience in LCB just too
frustrating.

I've been spoiled :-)  I'm used to symbolic, interactive debuggers -
been using them pretty much continually for the last 45 years that I've
been programming, starting with DDT and a proprietary one in the 70s, on
to GDB in the 80s and 90s, then interpreted languages for a little
while, before finally moving up to Revolution / Livecode.
And after trying it for a while, I'm just not willing to go back to the
dark ages and program in LCB without a decent toolset that provides
really effective diagnostics and debugging features.


Hey Alex,

I agree with you!  It would be great to have a good debugger for LCB. 
Unfortunately, due to the way that LCB works, it would need to be an 
out-of-process debugger, and this is a lot of work that I've not yet had 
the time to poke at.


My current idea (that I've not yet had time to poke at) is to write a 
GDB extension in Guile Scheme that can print LCB stack frames 
interleaved with C/C++ stack frames.


There's some documentation here:

https://sourceware.org/gdb/onlinedocs/gdb/Guile.html#Guile

And there's an example for V8 here:

https://wingolog.org/pub/d8-gdb.scm (warning: moderately terrifying)

Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-19 Thread Peter TB Brett

On 08/09/2016 08:57, Peter TB Brett wrote:

Hi all,

Since Xcode 8 GM is now available for download by members of the Apple
developer program, I thought it might be helpful to give you an update
on our plans for enabling LiveCode app deployment using Xcode 8.

- iOS 10 deployment using Xcode 8 will be available in the 8.1.1 release

- If you need to deploy to iOS using LiveCode 8.1.0 you will need to
keep a copy of Xcode 7.3.1 around

I currently expect that we'll release 8.1.1-rc-1 sometime between
15th-20th September.


We're currently working to resolve some thorny issues relating to Xcode 
8-based iOS deployment, and I now don't expect an 8.1.1-rc-1 release 
before Thursday 22nd September.


Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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


[ANN] This Week in LiveCode 51

2016-09-19 Thread Peter TB Brett

Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

  Read issue #51 here: https://goo.gl/7cpD3O


This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project.  New issues will be
released weekly on Mondays.  We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

   Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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: code folding

2016-09-19 Thread BNig
Hi Andy,

thanks for testing, very helpful.
It is reassuring that "Fold All" now works for you.

Kind regards
Bernd


AndyP wrote
> Hi Bernd,
> 
> Great, that sorted the problem.





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708610.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: code folding

2016-09-19 Thread AndyP
Hi Bernd,

Great, that sorted the problem.



-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708609.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: code folding

2016-09-19 Thread BNig
And yes Andy,

I am aware of that enhancement request and on the cc for it, thanks for
pointing it out.

Kind regards
Bernd


BNig wrote
> Hi Andy, Tom and Brahma,
> 
> thanks for testing.
> 
> "Fold All" works for me all the time but there is known inconsistency in
> variable naming which I corrected and uploaded.
> 
> http://berndniggemann.on-rev.com/fold/foldcode.zip
> 
> same instructions as before: unzip and install in Livecoe 8.1.0 stable
> replacing the respective files
> 
> Contents/Tools/Toolset/palettes/script
> editor/behaviors/revseeditorbehavior.livecodescript
> Contents/Tools/Toolset/palettes/script
> editor/behaviors/revsegutterbehavior.livecodescript
> 
> after restart of LC in the Script Editor right-click and "Fold All"
> 
> If any of you could retest "Fold All" that would be very helpful. It is
> difficult to debug if it works :)
> 
> Of course anyone who finds that "Fold All" does not or does work: please
> report this to the list or off list. Thanks
> 
> Kind regards
> Bernd
> AndyP wrote
>> Hi Bernd,
>> 
>> Thanks for this.. you may want to look at this enhancement request..
>> http://quality.livecode.com/show_bug.cgi?id=6937
>>   
>> 
>> On LC 8.1 Win 10, folding individual handlers work great but not fold
>> all.





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708608.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: code folding

2016-09-19 Thread BNig
Hi Andy, Tom and Brahma,

thanks for testing.

"Fold All" works for me all the time but there is known inconsistency in
variable naming which I corrected and uploaded.

http://berndniggemann.on-rev.com/fold/foldcode.zip

same instructions as before: unzip and install in Livecoe 8.1.0 stable
replacing the respective files

Contents/Tools/Toolset/palettes/script
editor/behaviors/revseeditorbehavior.livecodescript
Contents/Tools/Toolset/palettes/script
editor/behaviors/revsegutterbehavior.livecodescript

after restart of LC in the Script Editor right-click and "Fold All"

If any of you could retest "Fold All" that would be very helpful. It is
difficult to debug if it works :)

Of course anyone who finds that "Fold All" does not or does work: please
report this to the list or off list. Thanks

Kind regards
Bernd


AndyP wrote
> Hi Bernd,
> 
> Thanks for this.. you may want to look at this enhancement request..
> http://quality.livecode.com/show_bug.cgi?id=6937
>   
> 
> On LC 8.1 Win 10, folding individual handlers work great but not fold all.





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708607.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: Playing Sound question

2016-09-19 Thread panagiotis merakos
Hi all,
Unfortunately, the LC player on Linux has been broken for a long time.
Best,
Panos
On 19 Sep 2016 06:26, "Earthednet-wp"  wrote:

Alejandro,
I built it on livecode 8.1.0, the release version. It should be tested on
that version before giving up.
Bill

William Prothero
http://es.earthednet.org

> On Sep 18, 2016, at 9:29 PM, Alejandro Tejada 
wrote:
>
> Hi Bill,
>
> After playing a bit more with this Sound Player
> Livecode Stack, the IDE crashed.
>
> LC 7.1.4 crashed after setting the playrate
> to 2 and changing the volume to 50.
>
> In fact, these features works and you could change
> the playrate and the volume of mplayer from
> the Properties Palette but after a while LC 7.1.4
> simply crashed.
>
> But LC 8.0.2 crashed inmediatly after clicking
> the button "Play Audioclip 1". I had no
> chance to test if Play Movie feature work in
> LC 8.0.2
>
> Before submitting a bug report, I will like
> that MORE Linux users test your stack in their
> own setup. Maybe the problem is only my own
> setup and this computer.
>
> Alejandro
>
> On Sun, Sep 18, 2016 at 9:01 PM, Alejandro Tejada
>  wrote:
>> Hi Bill,
>>
>> Just for curiosity. I tested your stack
>> on Ubuntu Linux.
>>
>> In Ubuntu, the first button does not work at all,
>> (Play MP3 AudioClip) but second button
>> (Play Audioclip 1) loads mplayer into memory,
>> and after clicking "Stop Playing" button
>> the sound starts.
>>
>> As far as I know, there is no way to stop or
>> resume mplayer from within LiveCode, except
>> waiting until sound (or movie) is finished.
>>
>> Alejandro
>>
>> William Prothero wrote:
>>
>>> Folks:
>>> I have a small sample stack that plays audio on desktop and iOS.
>>> I haven’t debugged in on Android or Windows, but if anybody would
>>> like to see it, here is the link.
>>
>> https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0
>>
>>> It’s very simple, but for those who are not familiar with playing sounds
>>> in version 8, it may save you some time.
>
> ___
> 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