Re: The merge function is awesome!

2019-01-17 Thread Geoff Canyon via use-livecode
On Thu, Jan 17, 2019 at 2:27 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > 6 years with LC...never used the value or merge commands . never even > came across them. > > mind blown. > I was in the same position with merge(). If you haven't seen it already, format() has

Re: HTMLTEXT of a Browser Widget in Properties Inspector?

2019-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
Wow! That’s look like a minefield! I vote to this: should we make a enhancement request? ** It would be a great feature if it were possible to delete the cache. ** I *finally* go the old htmltext/cache to go went away. But it too several reboots and I tested on my Android etc. until it "

Re: The merge function is awesome!

2019-01-17 Thread Tom Glod via use-livecode
6 years with LC...never used the value or merge commands . never even came across them. mind blown. On Thu, Jan 17, 2019 at 3:46 PM Geoff Canyon via use-livecode < use-livecode@lists.runrev.com> wrote: > On Thu, Jan 17, 2019 at 11:01 AM hh via use-livecode < > use-livecode@lists.runrev.com>

Re: The merge function is awesome!

2019-01-17 Thread Geoff Canyon via use-livecode
On Thu, Jan 17, 2019 at 11:01 AM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > Geoff wrote: > > ... you've just given me an idea how to handle things like font/styling > > tags. Something like: > > function ifTag b,o,s,c > > if b then return o & s & c else return s > > end if

Re: HTMLTEXT of a Browser Widget in Properties Inspector?

2019-01-17 Thread hh via use-livecode
Browser widget: A. URL There are some problems with caching if one sets the URL and reloads. Then the chance is really big that you get fooled by the cache. I tried even to delete the widget and create a new one with the same URL. Also unloadig the url doesn't help. I couldn't catch with several

Re: HTMLTEXT of a Browser Widget in Properties Inspector?

2019-01-17 Thread Tom Glod via use-livecode
I can't help you but thanks for the tip to ask for the htmltext property when i need the page code. On Thu, Jan 17, 2019 at 2:26 PM Sannyasin Brahmanathaswami via use-livecode wrote: > I have a strange phenomena > > 1) The htmltext of the browser widget does not seem to be available in the > Pro

HTMLTEXT of a Browser Widget in Properties Inspector?

2019-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
I have a strange phenomena 1) The htmltext of the browser widget does not seem to be available in the Properties Inspection a. I could have sworn there was link/field to it in previous version of LC b. It is not available in a custom property 2) I set the htmltex

RE: Script Editor Slow on Windows

2019-01-17 Thread Ralph DiMola via use-livecode
I have seen this a few times. I observed it's the return after typing "command someCommand". I also had "return key" start deleting code at the top of the script tab. I have not seen this in 9.0.2 GM yet but did see it 9.0.1 and 9.0.2 DPs and RCs. Ralph DiMola IT Director Evergreen Information Ser

RE: Script Editor Slow on Windows

2019-01-17 Thread Ralph DiMola via use-livecode
A couple of things I have observed in Win 10 LC 9.0.2. 1) Scroll wheel starts scrolling 100s of lines with one wheel rotation detent. The only way to fix is to restart IDE. 2) SE Font is bold 10% of the time when opening LC. The only way to fix is to restart IDE(maybe more than once). 3) After work

Re: The merge function is awesome!

2019-01-17 Thread hh via use-livecode
> Geoff wrote: > ... you've just given me an idea how to handle things like font/styling > tags. Something like: > function ifTag b,o,s,c > if b then return o & s & c else return s > end ifTag Allow me two remarks. 1. You could use, in order to avoid the check: function tag s,o,c return

Re: windows defender issues? & other AV issues

2019-01-17 Thread Richard Gaskin via use-livecode
Matthias Rebbe wrote: >> Am 17.01.2019 um 17:08 schrieb Richard Gaskin: >> >> R.H. wrote: >> > I just feel that we should know what the problem is that corrupts >> > the stack when saving and the original stack filename is appended >> > with the tilde character? >> >> Agreed. If the engine has a

Re: The merge function is awesome!

2019-01-17 Thread Geoff Canyon via use-livecode
On Thu, Jan 17, 2019 at 4:36 AM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > Geoff wrote: > > using value(): > > the name of tID && "[" & the id of tID & "]" > > using merge(): > > [[the name of tID]] - ([[the id of tID]]) > > (is there a way to escape the "["?) > > You could us

Re: windows defender issues? & other AV issues

2019-01-17 Thread Matthias Rebbe via use-livecode
> Am 17.01.2019 um 17:08 schrieb Richard Gaskin via use-livecode > : > > R.H. wrote: > > > I just feel that we should know what the problem is that corrupts the > > stack when saving and the original stack filename is appended with the > > tilde character? > > Agreed. If the engine has a pr

Re: windows defender issues? & other AV issues

2019-01-17 Thread Richard Gaskin via use-livecode
R.H. wrote: > I just feel that we should know what the problem is that corrupts the > stack when saving and the original stack filename is appended with the > tilde character? Agreed. If the engine has a problem writing stack files, that would prevent us from using LiveCode. The trick now is

AW: Script Editor Slow on Windows

2019-01-17 Thread R.H. via use-livecode
I must also agree that the SE (script editor) in Windows with latest versions of LiveCode tends to be nearly unusable -- at least for professional work. Also, I turn off the messages box when using the SE but using a field displaying messages instead. I am not using Navigator. When I add a new ha

Re: windows defender issues? & other AV issues

2019-01-17 Thread Bob Sneidar via use-livecode
Right. The splash stack actually becomes an executable when saved as a standalone. Executables by nature cannot be modified. This is one of the reasons a splash stack approach makes a lot of sense, because now all your attacked stacks/substacks CAN be modified (given they are in a location the O

Checking xml string

2019-01-17 Thread Jay via use-livecode
The w3schools website has a simple XML validator that should be helpful. https://www.w3schools.com/xml/xml_validator.asp Jay+ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your sub

Re: windows defender issues? & other AV issues

2019-01-17 Thread Richard Gaskin via use-livecode
Lagi Pittas wrote: > A POS system that I wrote saved a few arrays and text on exit. It > worked beautifully in 99.9% % of the time but every so often the > user would start up and the file was corrupted some how - I saw > the tilde file (exactly as word does (used to do it?), when view > extens

Re: windows defender issues? & other AV issues

2019-01-17 Thread Mark Waddingham via use-livecode
On 2019-01-17 16:15, R.H. via use-livecode wrote: Is there any way to detect and catch an error when saving? When the engine saves a stackfile when it has previously been saved to the same place... It first moves the existing file at to ~. If this step fails (e.g. because it can't move the

Re: windows defender issues? & other AV issues

2019-01-17 Thread R.H. via use-livecode
Well, thanks for all the comments regarding failing to save the data stack distributed with a compiled splash stack. Each case is different. In this case, I have to actually go by my promise to not install anything on the target machine that is not visible inside my app folder. The user can just re

Re: The merge function is awesome!

2019-01-17 Thread hh via use-livecode
> Geoff wrote: > using value(): > the name of tID && "[" & the id of tID & "]" > using merge(): > [[the name of tID]] - ([[the id of tID]]) > (is there a way to escape the "["?) You could use with merge not only variables but also functions that are available for the script that calls merge: [[br

Re: windows defender issues? & other AV issues

2019-01-17 Thread Lagi Pittas via use-livecode
A POS system that I wrote saved a few arrays and text on exit. It worked beautifully in 99.9% % of the time but every so often the user would start up and the file was corrupted some how - I saw the tilde file (exactly as word does (used to do it?), when view extensions for known file type was en