Re: LC 9.02 Problems when displaying local PDF in stack

2019-01-06 Thread Simon Knight via use-livecode
Hi Tore, I have spent a couple of hours hunting down Adobe Reader related files scattered about in my computers Library folder and others but to no avail. I suspect that the root cause is the newish Adobe Acrobat Reader DC which I briefly tried while attempting to solve an unrelated problem w

Re: LC 9.02 Problems when displaying local PDF in stack

2019-01-06 Thread JJS via use-livecode
I don't have Acrobat on my PC. i use the browser widget and works ok in lc902 *put*specialFolderPath("home") & "/your.pdf"intotFile *if* thereisafiletFile *then* *// Allow for spaces in filenames* *replace*" "with"%20"intFile *set*theurlofwidget"showmethepdf"totFile end if Op 6-1-2019 om

Re: LC 9.02 Problems when displaying local PDF in stack

2019-01-06 Thread JJS via use-livecode
ignore the stars probably a copy/paste fail directly from script editor to thunderbird Op 6-1-2019 om 11:22 schreef JJS via use-livecode: I don't have Acrobat on my PC. i use the browser widget and works ok in lc902 *put*specialFolderPath("home") & "/your.pdf"intotFile *if* thereisafiletFil

Using A Browser for TTS?

2019-01-06 Thread Peter Reid via use-livecode
A while ago I asked whether there was any way to do Text-To-Speech (TTS) for Android. Unfortunately there were no replies. Since then I came across a browser JavaScript API that seems to provide speech synthesis: Here's a sample HTML that plays through my default browser on my Mac: -

Re: LC 9.02 Problems when displaying local PDF in stack

2019-01-06 Thread Tore Nilsen via use-livecode
I had the same problem as you, and I used the Adobe Unistaller Program to remove all traces of Adobe Acrobat. This worked for me. You could try to reinstall Acrobat and then use the Uninstaller to remove it again. This has done the trick for me at times when I simply cannot find the file(s) caus

Re: LC 9.02 Problems when displaying local PDF in stack

2019-01-06 Thread Simon Knight via use-livecode
Excellent advice Tore - many thanks. I reinstalled Adobe Acrobat Reader DC and confirmed that my app PDFreader was now displaying PDFs when run in LC 9.02 and that a second selection of a PDF caused the Adobe related menus and button bar to be displayed i.e. back to my starting point. Next I r

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Curry Kenworthy via use-livecode
Richard: > It's a bit confusing, since the Target Version shown there is 7, > but it was submitted just a few months ago, many years after v7 > was EOL'd. As you can see (in the message you replied to) I inquired back then, and was advised officially then. BTW, that's a bit like the concrete

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Simon Knight via use-livecode
This thread seems to have diverted away from Malte’s original post. For Malte and others I have found that the revBrowser control is slower to render PDFs and may insert unwanted menus and button thanks to Adobe in version 9.02. See

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Richard Gaskin via use-livecode
Curry Kenworthy wrote: > Richard: ... > > As hodge podge of what appear to be very different optimization > > opportunities under the hood, it may be difficult for the team to > > take action on it/them, and impossible to track. [... ... ...] ... > ..Moot point, because I didn't have time for

windows defender issues? & other AV issues?

2019-01-06 Thread Tom Glod via use-livecode
Hi folks, I'd like to know if there is any chance that the issues with windows defender interfering in the normal operation of the LiveCode engine is something that can and will be looked at? Is there any communication between Microsoft and Livecode inc? Is there any hope that we won't have to pu

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Richard Gaskin via use-livecode
Simon Knight wrote: > This thread seems to have diverted away from Malte’s original post. Somewhat. His post from Dec 30 listed three issues: - IDE spams a lot of IDE only messages when creating many objects by script -> remedy: Lock messages Locking messages is a good habit for any context

Re: windows defender issues? & other AV issues?

2019-01-06 Thread J. Landman Gay via use-livecode
Most software I've seen does ask users to whitelist their app in any anti-virus software the user has. I don't think LC could ask for exclusions for any app it builds, it's a development platform. Anyone could take the free version, write some malware, and distribute it. That would be like ask

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Malte Pfaff-Brill via use-livecode
Hi Richard, >I didn't see Malte's mention of PDF in the post that began this thread, While that is true, but I am actually (as stated) keen to learn about everything that could be a gotcha when transitioning from the old engine to the latest, so this is welcome input. Also Marks mention of TAB

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Malte Pfaff-Brill via use-livecode
And of course, please also be vocal on the positives!!! Old engine Mac: Hi res images were a problem to render (for whatever reason, I had to use video player instead of image object to display those images). Limitations here have been lifted which for me is a very pleasant change! Cheers, Mal

Re: windows defender issues? & other AV issues?

2019-01-06 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Hi folks, I'd like to know if there is any chance that the issues with > windows defender interfering in the normal operation of the LiveCode > engine is something that can and will be looked at? > > Is there any communication between Microsoft and Livecode inc? > > Is there any

Re: windows defender issues? & other AV issues?

2019-01-06 Thread Matthias Rebbe via use-livecode
> > The responsibility would probably be on you, the app developer, to get an > exclusion for your particular app. I don't know much about how Defender > works, but getting a signing certificate from MS may be one way to legitimize > the app. So that´s maybe the reason, why no one of my custo

Re: windows defender issues? & other AV issues?

2019-01-06 Thread Richard Gaskin via use-livecode
Matthias Rebbe wrote: >> The responsibility would probably be on you, the app developer, to >> get an exclusion for your particular app. I don't know much about >> how Defender works, but getting a signing certificate from MS may >> be one way to legitimize the app. > > So that´s maybe the reason

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Richard Gaskin via use-livecode
Malte Pfaff-Brill wrote: > If there were a list of things that do no longer work as they did non > previous engines it would have been beneficial for me to check off > points like „Yes, using that, need to fix / No, does not affect my > work" Half of that problem is solved in the Engine Changes

Re: windows defender issues? & other AV issues?

2019-01-06 Thread Matthias Rebbe via use-livecode
Is there a sample stack, maybe a benchmark stack, i could test under Win10 which shows the behaviour with defender and does it not with defender inactive? I then could test the created standalone with and wihtout signing. Matthias Matthias Rebbe > Am 06.01.2019 um 20:31 schrieb Richard Gaski

Re: windows defender issues? & other AV issues?

2019-01-06 Thread Richard Gaskin via use-livecode
Matthias Rebbe wrote: >> Am 06.01.2019 um 20:31 schrieb Richard Gaskin: >> I don't believe certificates have been confirmed as the >> differentiator for apps immune to this Microsoft bug, but >> if anyone can confirm that please add it to the notes in >> the report: >> https://quality.livecode.co

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Curry Kenworthy via use-livecode
Richard: > If you're satisfied the the progress on yours then of course you > can safely ignore my passing that along. Thanks Richard - all great things to bear in mind, when kept realistic. Areas affected by performance were pretty widespread, so it'll be easier to isolate any remaining are

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Simon Knight via use-livecode
Richard, Your are correct but Malte did ask ask about general refactoring (i think) so I just mentioned my latest problem / finding. As to the PDF “feature” itsself I think its now up to Edinburgh to decide what to do; I doubt that they intended to have Adobe menus and button bars popping up

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Tom Glod via use-livecode
Thanks, everyone for chiming in here, I want to help narrow down the circumstances in which windows defender affects the ide but more importantly standalones. Richard, I demoed my stack on my mother in laws laptop and her AV (one I was not familiar with) put my executable into quarantine r

Error in loading "ws.goulding.script-library.mergjson"

2019-01-06 Thread Sannyasin Brahmanathaswami via use-livecode
I did my first attempt to build a standalone of Mobile for Android in 9.0.2 I got this unusual never-saw-it-before message: Remote: stack "ws.goulding.script-library.mergjson": execution error at line n/a (External handler execution error: could not decode JSON: unexpected token near end of fil

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Trevor DeVore via use-livecode
On Sun, Jan 6, 2019 at 4:56 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > > Seems like signing the exec is a good idea and certainly can't hurtand > if I have to write some emails to get whitelisted I can do that too. FWIW I always sign my Windows standalones and I h

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Tom Glod via use-livecode
Thanks for that confirmation Trevor great to hear that. On Sun, Jan 6, 2019 at 9:45 PM Trevor DeVore via use-livecode < use-livecode@lists.runrev.com> wrote: > On Sun, Jan 6, 2019 at 4:56 PM Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > > Seems like signing the exec

Re: Error in loading "ws.goulding.script-library.mergjson"

2019-01-06 Thread Monte Goulding via use-livecode
I’d start by making sure the json you are decoding is what you think it is by logging it or putting it into a text field. > On 7 Jan 2019, at 1:28 pm, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I did my first attempt to build a standalone of Mobile for Android in 9.0.2 > > I got

TestInStandalone v_100

2019-01-06 Thread hh via use-livecode
There is nearly no documentation in the dictionary what works (or works not) in HTML5 standalones. That's why I made this tool: Here is "hhTestInStandalone", a HTML5 standalone that is ready for testing code snippets up to local libraries (script-only stacks). I use it to isolate critical script

Re: Error in loading "ws.goulding.script-library.mergjson"

2019-01-06 Thread Sannyasin Brahmanathaswami via use-livecode
But, it doesn’t, happen on desktop? Is there a difference between how json is handled on Android? The json file loaded at init validate on the web ... Via mobile phone From: use-livecode on behalf of Monte Goulding via use-livecode Sent: Sunday, January 6, 201

Re: Error in loading "ws.goulding.script-library.mergjson"

2019-01-06 Thread J. Landman Gay via use-livecode
Incorrect line endings maybe? Do the files use Mac carriage returns? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On 7 Jan 2019, at 1:28 pm, Sannyasin Brahmanathaswami via use-livecode wrote: I got this unusual never-saw-it-before mes