Re: Setting the browser widget user-agent to impersonate Chrome

2021-06-06 Thread Terry Judd via use-livecode
Never mind - it seems to be working now __

On 7/6/21, 12:43 pm, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

I’m trying to get the browser widget to identify itself as Chrome so that I 
can (attempt to) load a particular site. Is there a trick to how you format the 
user-agent string when you set the widget’s user-agent in its object inspector 
or should I just be able to enter something along these lines…

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/91.0.4472.77 Safari/537.36

This doesn’t work BTW (the page I attempt to load tells me to get Chrome).

Any ideas?

Terry…

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


___
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


Setting the browser widget user-agent to impersonate Chrome

2021-06-06 Thread Terry Judd via use-livecode
I’m trying to get the browser widget to identify itself as Chrome so that I can 
(attempt to) load a particular site. Is there a trick to how you format the 
user-agent string when you set the widget’s user-agent in its object inspector 
or should I just be able to enter something along these lines…

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/91.0.4472.77 Safari/537.36

This doesn’t work BTW (the page I attempt to load tells me to get Chrome).

Any ideas?

Terry…

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


Re: bordercolor of buttons

2021-06-06 Thread Sean Cole (Pi) via use-livecode
Klaus,
Forecolor IS the border color. It always has been for shapes including
circles, polygons and custom shapes. Buttons have a bordercolor property
but only visible if 3d is off.

Sean


On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> bug or feature?
>
> I have a "roundrect" button and cannot set its BORDERCOLOR!?
> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR.
>
> This is not the case if I set the buttons type to e.g. "rectangle", then
> the before
> set BORDERCOLOR will be displayed.
>
> No hint in the dictionary about this, so but or feature? :-)
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> 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: number = layer?

2021-06-06 Thread Curry Kenworthy via use-livecode


Paul:

> if word 7 of X = the layer of fld "Address" then

Sean:

> If word 7 of X = the number of fld “Address” then

I prefer this:

if short name of field N is "Address" then

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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: Finding out what changes a custom property

2021-06-06 Thread Sean Cole (Pi) via use-livecode
Hi Paul,

In the development menu, open 'message watcher'. That's helped me with
exactly what you are looking for too. Fantastic tool.

Sean

On Sun, 6 Jun 2021 at 21:21, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a stack with a custom property, hrStart.
>
> Somewhere is miles of code and messages flying everywhere, something is
> changing it that shouldn't.
>
> Is there an debugger feature or tip or trick anyone has that can do teh
> equivalent of set a break point when a property is changed and let me
> see the executionContexts to tell what the heck is changing it!
>
> Thanks in advance,
>
>
> ___
> 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: Finding out what changes a custom property

2021-06-06 Thread Curry Kenworthy via use-livecode



Paul:

> Is there an debugger feature or tip or trick anyone has
> that can do the equivalent of set a break point when a property
> is changed and let me see the executionContexts
> to tell what the heck is changing it!

Add a setprop with either a breakpoint and/or the executionContexts?

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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


Finding out what changes a custom property

2021-06-06 Thread Paul Dupuis via use-livecode

I have a stack with a custom property, hrStart.

Somewhere is miles of code and messages flying everywhere, something is 
changing it that shouldn't.


Is there an debugger feature or tip or trick anyone has that can do teh 
equivalent of set a break point when a property is changed and let me 
see the executionContexts to tell what the heck is changing it!


Thanks in advance,


___
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


bordercolor of buttons

2021-06-06 Thread Klaus major-k via use-livecode
Hi friends,

bug or feature?

I have a "roundrect" button and cannot set its BORDERCOLOR!?
I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR.

This is not the case if I set the buttons type to e.g. "rectangle", then the 
before 
set BORDERCOLOR will be displayed.

No hint in the dictionary about this, so but or feature? :-)


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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