Re: where files are copied to in a Mac standalone - changed in 8.1?

2016-10-13 Thread J. Landman Gay
On 10/14/16 12:22 AM, J. Landman Gay wrote: Instead of parsing a path from the engine folder, use: specialFolderPath("resources") & "/media/" & gMediaPath Actually, that should probably be: specialFolderPath("resources") & "/media/" & unless gMediaPath is just a file name. --

Re: Passing Constants or Variables as Command Params

2016-10-13 Thread J. Landman Gay
On 10/13/16 9:56 PM, Sannyasin Brahmanathaswami wrote: But when passed as a param the gradient ramp gets (where start defaults to kPureWhite) setRamp "","","",sSoftRed,"","" # this also fails # we see this: 0.0,255,255,255,255 1.0,sSoftRed,255 # or 0.0,255,255,255,255

Re: where files are copied to in a Mac standalone - changed in 8.1?

2016-10-13 Thread J. Landman Gay
On 10/13/16 6:17 PM, Curtis Ford wrote: I've just made a new module for this client with largely the same code; now LiveCode 8.1 saves the files in Contents > Resources > _MacOS > media. So the standalone doesn't find the sound files unless I move them manually after doing 'show contents' in

Re: Pasting to Powerpoint

2016-10-13 Thread J. Landman Gay
On 10/13/16 7:03 PM, Trevor DeVore wrote: On Thursday, October 13, 2016, J. Landman Gay wrote: Apparently in LC 8.x, LC text in the clipboard can't be pasted into Powerpoint, though it works in MS Word and some other apps. I know the workaround -- paste into a text

Re: Pasting to Powerpoint

2016-10-13 Thread Scott Morrow
Stephen, Thanks for the stack. It was educational for me and a good start for some additional learning. - - Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com office 1-800-615-0867

Re: Pasting to Powerpoint

2016-10-13 Thread stephen barncard
On Thu, Oct 13, 2016 at 7:10 PM, hh wrote: > Hopefully you do think about extending that to the rawClipboardData? > yes a lot of catching up to do. thanks Stephen Barncard - Sebastopol Ca. USA - mixstream.org ___ use-livecode mailing

Passing Constants or Variables as Command Params

2016-10-13 Thread Sannyasin Brahmanathaswami
I'm in the early stages of using more external libs/behaviors for things I used to always pile up in stack/card/object scripts and custom properties. My old practice was less than stellar in terms of re-usability, fixing the same thing in multiple places etc.. So I'm looking to make more libs

Re: Pasting to Powerpoint

2016-10-13 Thread hh
Very good and interesting stack. Hopefully you do think about extending that to the rawClipboardData? On Mac there is a ClipboardViewer (https://developer.apple.com/library/content/samplecode/ClipboardViewer/) that shows even more entries in the clipboard than the rawClipboardData reports, after

LiveCode Meeting

2016-10-13 Thread Mark Schonewille
LiveCode-bijeenkomst Aanstaande zondag 16 oktober organiseert eHUG een LiveCode-meeting (tevens voor eenieder geÔnteresseerd in SuperCard, Xojo, HyperStudio and zelfs HyperCard). Toegang is gratis, maar consumpties zijn voor eigen rekening. Agenda De bijeenkomst zal informeel van karakter

Re: Pasting to Powerpoint

2016-10-13 Thread stephen barncard
I made this dumb stack to view all elements of the clipboard contents... works inter-app type go URL "http://fulton.barncard.com/stax/clipboardTest.rev; in msg box. hth, sqb ps the hex display displays incorrectly at the moment. Probably the changes to unicorn. Stephen Barncard -

Re: Pasting to Powerpoint

2016-10-13 Thread Trevor DeVore
On Thursday, October 13, 2016, J. Landman Gay wrote: > Apparently in LC 8.x, LC text in the clipboard can't be pasted into > Powerpoint, though it works in MS Word and some other apps. I know the > workaround -- paste into a text editor, copy, paste into Powerpoint --

Re: Pasting to Powerpoint

2016-10-13 Thread J. Landman Gay
Excellent! Thank you. I'll try it. On 10/13/16 5:18 PM, hh wrote: Sadly this may depend more on user's OS than on the LC version or your compiling OS. I had a similar issue with pasting to Mail on Mac OS > 10.10. This disappeared when I used the rawClipboardData[key] (exactly to such

LiveCode podcast just posted

2016-10-13 Thread me
@jerrydaniels and @trozware podcasting about 'LiveCode: Yesterday and Today' on @ZCastApp https://zcast.co/j/jyBjle2QnD Apologies: my audio degrades a bit (clipped words) in the last third of the cast. ___ use-livecode mailing list

where files are copied to in a Mac standalone - changed in 8.1?

2016-10-13 Thread Curtis Ford
I've been doing a number of modules for a client that include a few dozen sound files in a folder "media." In the stack script I have used: on setgMediaPath globalgMediaPath settheitemDelimitertoslash puttheeffectivefileNameofthisstackintogMediaPath deletethelastitemofgMediaPath

Re: Pasting to Powerpoint

2016-10-13 Thread hh
Sadly this may depend more on user's OS than on the LC version or your compiling OS. I had a similar issue with pasting to Mail on Mac OS > 10.10. This disappeared when I used the rawClipboardData[key] (exactly to such "plainText"-encodings there is an example for different platforms). >

Re: Livecode podcast

2016-10-13 Thread me
In 2mins On Oct 13, 2016, 5:05 PM -0500, Colin Holgate , wrote: > Are you podcasting yesterday and today, or are you podcasting right now? > > > > On Oct 13, 2016, at 3:03 PM, Jerry Daniels wrote: > > > > @jerrydaniels and @trozware are podcasting

Re: Livecode podcast

2016-10-13 Thread Colin Holgate
Are you podcasting yesterday and today, or are you podcasting right now? > On Oct 13, 2016, at 3:03 PM, Jerry Daniels wrote: > > @jerrydaniels and @trozware are podcasting about 'LiveCode: Yesterday and > Today' on @ZCastApp https://zcast.co/j/jyBjle2QnD > > > Best, >

Livecode podcast

2016-10-13 Thread Jerry Daniels
@jerrydaniels and @trozware are podcasting about 'LiveCode: Yesterday and Today' on @ZCastApp https://zcast.co/j/jyBjle2QnD Best, Jerry Daniels ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Pasting to Powerpoint

2016-10-13 Thread J. Landman Gay
Apparently in LC 8.x, LC text in the clipboard can't be pasted into Powerpoint, though it works in MS Word and some other apps. I know the workaround -- paste into a text editor, copy, paste into Powerpoint -- but is there a better way? My app is just setting the clipboarddata["text"] to a

Re: Keep taking the tablets

2016-10-13 Thread AndyP
This is rather cool, I hadn't realised this was possible before. So here I am on an Android tablet adding buttons and fields and moving them around in real time,...made me smile. Anyway this is actualy a great way to get into script only coding with LiveCode. Thanks for pointing this out.

Re: more postgres madness

2016-10-13 Thread Dr. Hawkins
On Wed, Oct 12, 2016 at 2:23 PM, Dr. Hawkins wrote: > It took a bit to track this down,, but the command > > SELECT unqKy, ktyp, kywd, usr, tstmp, scr, cmd FROM > dhdbt_testy_xlvi___001 WHERE ((tstmp > '2010-01-01 00:00:00.00-00') > OR (tstmp IS NULL)); > > > is

Re: Close and Delete a stack

2016-10-13 Thread Phil Davis
My comment wrapped. Sorry. Phil On 10/13/16 10:32 AM, Phil Davis wrote: Hi Graham, What happens if you do only this? lock messages -- assuming you don't want any handlers to be triggered by the stack's closing delete stack "myDataStack" I'm also assuming "myDataStack" is a mainStack

Re: Close and Delete a stack

2016-10-13 Thread Phil Davis
Hi Graham, What happens if you do only this? lock messages -- assuming you don't want any handlers to be triggered by the stack's closing delete stack "myDataStack" I'm also assuming "myDataStack" is a mainStack and not a substack. (As you know, you can't remove a substack from

Close and Delete a stack

2016-10-13 Thread Graham Samuel
I have a situation where I want to close a stack and then delete it, so that it no longer exists in memory and so that no naming conflicts occur when I load a fresh stack with the same name. This used to work - part of a script running in a different stack to the one being deleted: set the

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Graham Samuel
Thanks Richard - I didn’t know how to update a plugin but I worked it out (you have to delete the old one manually). Anyway very useful - thanks to you and to Jacque. Graham > On 13 Oct 2016, at 18:01, Richard Gaskin wrote: > > I was mistaken: it seems Jacque has

Re: Is 'Error Lookup' broken?

2016-10-13 Thread mwieder
Sorry for the typo. Wrong: type response hit send get caffeine Right: get caffeine type into message box copy working statement from message box paste into email hit send -- Mark Wieder ahsoftw...@gmail.com - -- Mark Wieder ahsoftw...@gmail.com -- View this message in context:

Re: Is 'Error Lookup' broken?

2016-10-13 Thread J. Landman Gay
I uploaded a revision to User Samples some time ago when the problem first arose. It branches lookups based on the LC version. Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 13, 2016 10:35:19 AM

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Richard Gaskin
I was mistaken: it seems Jacque has already updated the tool to use the scriptExecutionErrors function (apparently undocumented) if the older error string list stored in stack "revErrorDisplay" is empty. This should allow it to work in all versions from at least 5.5 and later. Perhaps you

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Graham Samuel
Phew - that at least is a simple fix! Thanks - G > On 13 Oct 2016, at 17:38, Ali Lloyd wrote: > > It's 'scriptExecutionErrors' > > On Thu, Oct 13, 2016 at 4:22 PM stephen barncard < > stephenrevoluti...@barncard.com> wrote: > >> On Thu, Oct 13, 2016 at 8:17 AM, Graham

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Ali Lloyd
It's 'scriptExecutionErrors' On Thu, Oct 13, 2016 at 4:22 PM stephen barncard < stephenrevoluti...@barncard.com> wrote: > On Thu, Oct 13, 2016 at 8:17 AM, Graham Samuel wrote: > > > put the number of lines of the executionerrors > > > double-take :this looks like

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Richard Gaskin
Graham Samuel wrote: > I love the ‘LiveCode Error Lookup” plugin (by Richard Gaskin, revised > by Jacque Gay), but in 8.1.1 (rc2) it doesn’t seem to work - am I > doing something stupid? My hunch is that the location of the error strings has changed between versions. I'll have to let Jacque

Re: Is 'Error Lookup' broken?

2016-10-13 Thread stephen barncard
On Thu, Oct 13, 2016 at 8:17 AM, Graham Samuel wrote: > put the number of lines of the executionerrors double-take :this looks like executioners when glanced at quickly. Yikes. First 'Delete Stack', now this! ... gotta turn the news off... Stephen Barncard -

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Graham Samuel
Spoke too soon - doesn’t work for me on 8.1.1 rc2. Also put the number of lines of the executionerrors just gives ‘bad factor’. Confused… ] > On 13 Oct 2016, at 17:09, I wrote: > > Thanks very much Mark. G > >> On 13 Oct 2016, at 17:07, Mark Wieder wrote: >> >> put

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Graham Samuel
Thanks very much Mark. G > On 13 Oct 2016, at 17:07, Mark Wieder wrote: > > put line 347 of the executionerrors ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Mark Wieder
On 10/13/2016 07:30 AM, Graham Samuel wrote: I should have asked as a supplementary how one might find the textual version of numerical error codes oneself, for example, I have an error 347,0,0 put line 347 of the executionerrors -- Mark Wieder ahsoftw...@gmail.com

Re: Is 'Error Lookup' broken?

2016-10-13 Thread Graham Samuel
I should have asked as a supplementary how one might find the textual version of numerical error codes oneself, for example, I have an error 347,0,0 and later 76,549,1 253,549,1 These are all to do with trying to delete a stack which has already been closed, like the IDE does with ‘close

Is 'Error Lookup' broken?

2016-10-13 Thread Graham Samuel
I love the ‘LiveCode Error Lookup” plugin (by Richard Gaskin, revised by Jacque Gay), but in 8.1.1 (rc2) it doesn’t seem to work - am I doing something stupid? Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: iOS Background Audio rejection.

2016-10-13 Thread Thierry Douez
Mmm, just did a test: COPY: ./Applications/LiveCode Indy 8.1.1(rc1).app/Contents/Runtime/iOS/Device-10.0/Settings.plist INTO:~/Desktop/Info.plist in BBEdit, edit ./Desktop/Info.plist and add Thierry Douez Here are the latest lines of this file: UIFileSharingEnabled

RE: iOS Background Audio rejection.

2016-10-13 Thread Ralph DiMola
I set the folder permissions did the plist edits and OSX 10.11.6 did not complain when opening LC 8.1.1. If the copy files pane method works then my question is: are all the plist files for both devices and simulators identical? +1 for the standalone settings option. Ralph DiMola IT Director

Re: iOS Background Audio rejection.

2016-10-13 Thread Mike Kerner
And Ralph, there's at least n bug reports/feature requests to do just that. On Thu, Oct 13, 2016 at 8:56 AM, Mike Kerner wrote: > Don't try to edit LC while it's in the applications folder. Put it on > your desktop, then change the permissions on the settings.plist

Re: iOS Background Audio rejection.

2016-10-13 Thread Mike Kerner
Don't try to edit LC while it's in the applications folder. Put it on your desktop, then change the permissions on the settings.plist files, then edit them, save them, change the permissions back, and put LC back in Applications. On Thu, Oct 13, 2016 at 4:26 AM, Thierry Douez

Re: iOS Background Audio rejection.

2016-10-13 Thread Thierry Douez
Hi Phil, Did you try this recipie: Copy the template plist from LC. Edit it the way you like. . Name it Info.plist and add it to "copy files" tab in Standalone settings. ​Not sure if this still works HTH, Thierry​ -- Thierry Douez - http ​s​ ://sunny-tdz.com

Re: iOS Background Audio rejection.

2016-10-13 Thread Phil Jimmieson
When I tried to edit it, it broke LiveCode - Gatekeeper complained it was no longer valid - I think because it’s now all signed and changing the plist file makes the signing invalid. LiveCode - Can we please have an option in the standalone builder to set the ExitsOnSuspend item in the plist