Jim Lambert is not crazy! (Re: Select an object in browse mode sending mouseup)

2021-07-28 Thread Ben Rubinstein via use-livecode
Thanks Jim for reassuring me that *I'm* not crazy, and Tom and Klaus for 
pointing me to the thread.


On 30/03/2021 00:46, Jim Lambert via use-livecode wrote:
> Nevermind. Those scripts are not firing when using the pointer tool.
> I'm crazy!!!


On 30/03/2021 21:10, Jim Lambert via use-livecode wrote:
> Actually I'm not entirely crazy.

Like Jim I've encountered this problem occasionally; but my new problem was 
that it was completely consistent.


I've found the source of my problem (at least my new one): a mergDeploy stack 
that was in the ~/Documents/Livecode/Plugins. This is a very cool utility that 
was very useful some years ago when I was doing a lot more iOS development; 
but I'd long forgotten I had it. It has not as far as I know caused me 
problems before, but it seems to be consistent now. I no longer need it, so 
(phew).


Thanks for all the pointers.

Ben


On 28/07/2021 18:18, Klaus major-k via use-livecode wrote:

Hi Ben,


Am 28.07.2021 um 19:14 schrieb Ben Rubinstein via use-livecode 
:

Hi Tom,

I've crawled the list but not found it - can you remember anyone involved in 
the thread or any keywords?


that was my thread where I asked if executing MOUSEENTER is correct with 
POINTER tool selected.
So look for "pointer tool" and "mouseenter"


Many thanks,

Ben


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: [iOS] possible console bug

2021-07-28 Thread Mark Smith via use-livecode
Tested with Catalina / LC9.6.2 / Simulator. Works as Panos described although 
with this setup I did not see a Start button, and I never clicked on anything. 
I did see the “put” messages from my app go to the Console. PS filter as Panos 
suggests works great to filter just the messages from your app. 

Mark


> On Jul 28, 2021, at 5:19 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> I tested here with Big Sur/LC9.6.3 RC2 and Simulator.
> 
> I can confirm that doing it like Panos described will show the put output.
> 
> But you have to press the "Start" icon at the top in Console app  before the 
> put output is captured by the Console app. 
> So if you did the output in the app before you pressed the "start" button, 
> that previous output is not listed in the console. Only 'put outputs' which 
> where done after pressing start are listed in the log.
> 
> 
> Regards
> Matthias
> 
> 
>> Am 28.07.2021 um 15:57 schrieb panagiotis m via use-livecode 
>> :
>> 
>> Hello Andre,
>> 
>> I am good, thanks for asking. I hope you are well too :)
>> 
>> I just tested on Big Sur. I had to do an extra step:
>> 
>> When you see the "system.log" window, the one where there is no option to
>> choose "iPhone 8" at the left, force quit the Console app. Then reopen the
>> Console app directly, i.e. not through the Simulator, just go to
>> /Applicatons/Utilities/Console and open it.
>> 
>> At this point you should see a different Console window, where choosing
>> "iPhone 8" at the left should be possible. Again, filter by the standalone
>> name because there is a lot of noise.
>> 
>> Hope this helps.
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Wed, 28 Jul 2021 at 16:39, Andre Garzia via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi Panos,
>>> 
>>> Hope all is well with you my friend, thanks a lot for the speedy reply.
>>> 
>>> I think things might have changed in Big Sur because I see a different
>>> console app. Mine doesn’t have a way to switch to this “iPhone 8” label.
>>> Below is a screenshot from my console app:
>>> 
>>> https://andregarzia.com/files/console-window.png <
>>> https://andregarzia.com/files/console-window.png>
>>> 
>>> The “system.log” being shown is definitely the iPhone 8 Simulator one, not
>>> only because of the content but also because option-clicking the file on
>>> top shows the path to it and it is coming from inside the CoreSimulator
>>> folder.
>>> 
>>> Still, I don’t see any output from LiveCode standalone in it.
>>> 
>>> Best
>>> A
>>> 
>>> 
 On 28 Jul 2021, at 14:19, panagiotis m via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
 
 Hello Andre,
 
 It works as expected for me.
 
 MacOS Mojave
 Xcode 11.3
 iOS 13.3 Simulator
 
 In the simulator go to Debug -> Open System Log
 This opens the Console app
 In the Console window, in the left hand side, you should see the name of
 the simulator (e.g. "iPhone 8"). Click on it.
 There will be a lot of logs, so I suggest to filter the output by the
 standalone name (e.g. type the standalone name, as it appears in the
 General tab of the S/B in the top right Search box of the Console window)
 
 I have a button that does "put the milliseconds && "==="
 and I can see the expected output in the console logs every time I press
 the button in the simulator.
 
 Cheers,
 Panos
 --
 
 On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> I’m just bumping this thread because I haven’t been able to see any log
> information when using the Simulator.
> 
> Can more people confirm this? Is this a bug, and if so who owns that bug
> LC or Apple?
> 
> It becomes really hard to debug a mobile application when you can’t see
> logs on the Simulator.
> 
> I made a recipe stack here, but I want to be sure before I fill a bug
> report.
> 
> Best
> A
> 
>> On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>> 
>> Andre,
>> 
>> tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
> Took me some time to download Xcode.
>> 
>> i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
> iPhone 12 iOS 14.6) and was able to see the output in the Console log
> pressing the 'open console' button in Xcode's 'Devices and Simulators'
> (shift CMD 2)
>> 
>> I selected my device in that tool and pressed 'open console'. I had the
> 'Now' mode activated and filtered for my output. I could see the output.
>> 
>> But i still do not see it when using the simulator.
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>>> Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com>:
>>> 
>>> 
>>> 
 On 12 

Re: Select an object in browse mode sending mouseup

2021-07-28 Thread Klaus major-k via use-livecode
Hi Ben,

> Am 28.07.2021 um 19:14 schrieb Ben Rubinstein via use-livecode 
> :
> 
> Hi Tom,
> 
> I've crawled the list but not found it - can you remember anyone involved in 
> the thread or any keywords?

that was my thread where I asked if executing MOUSEENTER is correct with 
POINTER tool selected.
So look for "pointer tool" and "mouseenter"

> Many thanks,
> 
> Ben

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


Re: Select an object in browse mode sending mouseup

2021-07-28 Thread Ben Rubinstein via use-livecode

Hi Tom,

I've crawled the list but not found it - can you remember anyone involved in 
the thread or any keywords?


Many thanks,

Ben

On 27/07/2021 21:16, Tom Glod via use-livecode wrote:

If I recall correctly, this was a long-ish topic a few months back. its
worth looking back on, I *think* they got somewhere.

On Tue, Jul 27, 2021 at 12:21 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


I haven't seen that exact problem but I have seen times where the tool
palette show the edit tool but acts like the browse tool. When that
happens
I toggle it a couple of times and it resolves itself.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 27, 2021 8:41:11 AM Ben Rubinstein via use-livecode
 wrote:


Is anyone else seeing this problem? I launch LiveCode, choose the

pointer tool

(double-check because of problems, active tool is definitely the

pointer).


Click on a button, with the intention of editing the script. The button

is

selected - dotted line, handles - but it is also sent a 'mouseup'

message and

it starts executing.

I can edit the script - but when I save changes, there's a flash before

it

says "no errors" and sets the traffic light to green. After several times
round this loop, I've discovered the flash is the IDE saying "can't set

script

while it is executing". So it keeps throwing away my changes - though I

can't

see this until I next open the script editor and find my changes are

gone.


This is compounded by some mystery in which LC continues to think the

script

is running when I don't think it is. This may be related to the fact

that the

script I'm working on makes a bunch of HTTP requests, so there might be

some

dodgy threading going on - but I'm not convinced.

Once I'm in this situation, I'm not sure that I can get out of it, short

of

copying the text of my script out, quitting and re-launching LiveCode.

And

then sneaking up on my button to select it without clicking it!

I have found the definitive way to find out whether changes have been

saved,

without just closing and discovering that they haven't: if I introduce a
syntax error in the script, then press apply, then the "can't set script

while

it is executing" message stays around.

Is this just me? I've just started working with this version (LC 9.6.2
Community Plus) so it may be some unfortunate interaction with some bits

of my

ancient environment.

TIA,

Ben

___
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: Select an object in browse mode sending mouseup

2021-07-28 Thread Ben Rubinstein via use-livecode

Hi Jacque

Yes I've seen that, enough that when launching LC I usually reflectively 
toggle comand-9/command-0 a few times.


But this isn't that. After the first few times I've toggled off and on, I've 
selected from the Tools menu, I've clicked on a field (with no script) first 
to prove that I've got the pointer tool... and still I get this problem.


thanks for responding though.

 Ben

On 27/07/2021 17:19, J. Landman Gay via use-livecode wrote:
I haven't seen that exact problem but I have seen times where the tool palette 
show the edit tool but acts like the browse tool. When that happens I toggle 
it a couple of times and it resolves itself.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 27, 2021 8:41:11 AM Ben Rubinstein via use-livecode 
 wrote:



Is anyone else seeing this problem? I launch LiveCode, choose the pointer tool
(double-check because of problems, active tool is definitely the pointer).

Click on a button, with the intention of editing the script. The button is
selected - dotted line, handles - but it is also sent a 'mouseup' message and
it starts executing.

I can edit the script - but when I save changes, there's a flash before it
says "no errors" and sets the traffic light to green. After several times
round this loop, I've discovered the flash is the IDE saying "can't set script
while it is executing". So it keeps throwing away my changes - though I can't
see this until I next open the script editor and find my changes are gone.

This is compounded by some mystery in which LC continues to think the script
is running when I don't think it is. This may be related to the fact that the
script I'm working on makes a bunch of HTTP requests, so there might be some
dodgy threading going on - but I'm not convinced.

Once I'm in this situation, I'm not sure that I can get out of it, short of
copying the text of my script out, quitting and re-launching LiveCode. And
then sneaking up on my button to select it without clicking it!

I have found the definitive way to find out whether changes have been saved,
without just closing and discovering that they haven't: if I introduce a
syntax error in the script, then press apply, then the "can't set script while
it is executing" message stays around.

Is this just me? I've just started working with this version (LC 9.6.2
Community Plus) so it may be some unfortunate interaction with some bits of my
ancient environment.

TIA,

Ben

___
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: [iOS] possible console bug

2021-07-28 Thread matthias rebbe via use-livecode
I tested here with Big Sur/LC9.6.3 RC2 and Simulator.

I can confirm that doing it like Panos described will show the put output.

But you have to press the "Start" icon at the top in Console app  before the 
put output is captured by the Console app. 
So if you did the output in the app before you pressed the "start" button, that 
previous output is not listed in the console. Only 'put outputs' which where 
done after pressing start are listed in the log.


Regards
Matthias


> Am 28.07.2021 um 15:57 schrieb panagiotis m via use-livecode 
> :
> 
> Hello Andre,
> 
> I am good, thanks for asking. I hope you are well too :)
> 
> I just tested on Big Sur. I had to do an extra step:
> 
> When you see the "system.log" window, the one where there is no option to
> choose "iPhone 8" at the left, force quit the Console app. Then reopen the
> Console app directly, i.e. not through the Simulator, just go to
> /Applicatons/Utilities/Console and open it.
> 
> At this point you should see a different Console window, where choosing
> "iPhone 8" at the left should be possible. Again, filter by the standalone
> name because there is a lot of noise.
> 
> Hope this helps.
> 
> Kind regards,
> Panos
> --
> 
> On Wed, 28 Jul 2021 at 16:39, Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi Panos,
>> 
>> Hope all is well with you my friend, thanks a lot for the speedy reply.
>> 
>> I think things might have changed in Big Sur because I see a different
>> console app. Mine doesn’t have a way to switch to this “iPhone 8” label.
>> Below is a screenshot from my console app:
>> 
>> https://andregarzia.com/files/console-window.png <
>> https://andregarzia.com/files/console-window.png>
>> 
>> The “system.log” being shown is definitely the iPhone 8 Simulator one, not
>> only because of the content but also because option-clicking the file on
>> top shows the path to it and it is coming from inside the CoreSimulator
>> folder.
>> 
>> Still, I don’t see any output from LiveCode standalone in it.
>> 
>> Best
>> A
>> 
>> 
>>> On 28 Jul 2021, at 14:19, panagiotis m via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hello Andre,
>>> 
>>> It works as expected for me.
>>> 
>>> MacOS Mojave
>>> Xcode 11.3
>>> iOS 13.3 Simulator
>>> 
>>> In the simulator go to Debug -> Open System Log
>>> This opens the Console app
>>> In the Console window, in the left hand side, you should see the name of
>>> the simulator (e.g. "iPhone 8"). Click on it.
>>> There will be a lot of logs, so I suggest to filter the output by the
>>> standalone name (e.g. type the standalone name, as it appears in the
>>> General tab of the S/B in the top right Search box of the Console window)
>>> 
>>> I have a button that does "put the milliseconds && "==="
>>> and I can see the expected output in the console logs every time I press
>>> the button in the simulator.
>>> 
>>> Cheers,
>>> Panos
>>> --
>>> 
>>> On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 I’m just bumping this thread because I haven’t been able to see any log
 information when using the Simulator.
 
 Can more people confirm this? Is this a bug, and if so who owns that bug
 LC or Apple?
 
 It becomes really hard to debug a mobile application when you can’t see
 logs on the Simulator.
 
 I made a recipe stack here, but I want to be sure before I fill a bug
 report.
 
 Best
 A
 
> On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
 use-livecode@lists.runrev.com> wrote:
> 
> Andre,
> 
> tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
 Took me some time to download Xcode.
> 
> i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
 iPhone 12 iOS 14.6) and was able to see the output in the Console log
 pressing the 'open console' button in Xcode's 'Devices and Simulators'
 (shift CMD 2)
> 
> I selected my device in that tool and pressed 'open console'. I had the
 'Now' mode activated and filtered for my output. I could see the output.
> 
> But i still do not see it when using the simulator.
> 
> Regards,
> Matthias
> 
> 
> 
>> Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
 use-livecode@lists.runrev.com>:
>> 
>> 
>> 
>>> On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode <
 use-livecode@lists.runrev.com> wrote:
>>> 
>>> If you run the app on a real iOS device, do you see your log messages
 in the device log for it? Could it be Apple are now funneling simulator
 logs into a pane in Xcode - like they do for devices, rather than have
>> them
 go to the macOS system log?
>> 
>> Running the app on a real device doesn’t show the log either.
>> 
>> The organiser window of XCode has a specific “Open Console” button on

Re: [iOS] possible console bug

2021-07-28 Thread panagiotis m via use-livecode
In fact a neater way to do that, instead of force-quitting Console app and
reopening it, is to click on the system.log window to give the focus to the
Console app, and then in Console's top menubar click Window-> Console

This will open the Console window where it is possible to choose the
connected device or the running simulator.

Cheers,
Panos
--

On Wed, 28 Jul 2021 at 16:57, panagiotis m  wrote:

> Hello Andre,
>
> I am good, thanks for asking. I hope you are well too :)
>
> I just tested on Big Sur. I had to do an extra step:
>
> When you see the "system.log" window, the one where there is no option to
> choose "iPhone 8" at the left, force quit the Console app. Then reopen the
> Console app directly, i.e. not through the Simulator, just go to
> /Applicatons/Utilities/Console and open it.
>
> At this point you should see a different Console window, where choosing
> "iPhone 8" at the left should be possible. Again, filter by the standalone
> name because there is a lot of noise.
>
> Hope this helps.
>
> Kind regards,
> Panos
> --
>
> On Wed, 28 Jul 2021 at 16:39, Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi Panos,
>>
>> Hope all is well with you my friend, thanks a lot for the speedy reply.
>>
>> I think things might have changed in Big Sur because I see a different
>> console app. Mine doesn’t have a way to switch to this “iPhone 8” label.
>> Below is a screenshot from my console app:
>>
>> https://andregarzia.com/files/console-window.png <
>> https://andregarzia.com/files/console-window.png>
>>
>> The “system.log” being shown is definitely the iPhone 8 Simulator one,
>> not only because of the content but also because option-clicking the file
>> on top shows the path to it and it is coming from inside the CoreSimulator
>> folder.
>>
>> Still, I don’t see any output from LiveCode standalone in it.
>>
>> Best
>> A
>>
>>
>> > On 28 Jul 2021, at 14:19, panagiotis m via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > Hello Andre,
>> >
>> > It works as expected for me.
>> >
>> > MacOS Mojave
>> > Xcode 11.3
>> > iOS 13.3 Simulator
>> >
>> > In the simulator go to Debug -> Open System Log
>> > This opens the Console app
>> > In the Console window, in the left hand side, you should see the name of
>> > the simulator (e.g. "iPhone 8"). Click on it.
>> > There will be a lot of logs, so I suggest to filter the output by the
>> > standalone name (e.g. type the standalone name, as it appears in the
>> > General tab of the S/B in the top right Search box of the Console
>> window)
>> >
>> > I have a button that does "put the milliseconds && "==="
>> > and I can see the expected output in the console logs every time I press
>> > the button in the simulator.
>> >
>> > Cheers,
>> > Panos
>> > --
>> >
>> > On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> >> I’m just bumping this thread because I haven’t been able to see any log
>> >> information when using the Simulator.
>> >>
>> >> Can more people confirm this? Is this a bug, and if so who owns that
>> bug
>> >> LC or Apple?
>> >>
>> >> It becomes really hard to debug a mobile application when you can’t see
>> >> logs on the Simulator.
>> >>
>> >> I made a recipe stack here, but I want to be sure before I fill a bug
>> >> report.
>> >>
>> >> Best
>> >> A
>> >>
>> >>> On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >>>
>> >>> Andre,
>> >>>
>> >>> tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
>> >> Took me some time to download Xcode.
>> >>>
>> >>> i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
>> >> iPhone 12 iOS 14.6) and was able to see the output in the Console log
>> >> pressing the 'open console' button in Xcode's 'Devices and Simulators'
>> >> (shift CMD 2)
>> >>>
>> >>> I selected my device in that tool and pressed 'open console'. I had
>> the
>> >> 'Now' mode activated and filtered for my output. I could see the
>> output.
>> >>>
>> >>> But i still do not see it when using the simulator.
>> >>>
>> >>> Regards,
>> >>> Matthias
>> >>>
>> >>>
>> >>>
>>  Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
>> >> use-livecode@lists.runrev.com>:
>> 
>> 
>> 
>> > On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >
>> > If you run the app on a real iOS device, do you see your log
>> messages
>> >> in the device log for it? Could it be Apple are now funneling simulator
>> >> logs into a pane in Xcode - like they do for devices, rather than have
>> them
>> >> go to the macOS system log?
>> 
>>  Running the app on a real device doesn’t show the log either.
>> 
>>  The organiser window of XCode has a specific “Open Console” button on
>> >> the pane for the device you selected.
>> 
>>  It opens the console and it doesn’t 

Re: [iOS] possible console bug

2021-07-28 Thread panagiotis m via use-livecode
Hello Andre,

I am good, thanks for asking. I hope you are well too :)

I just tested on Big Sur. I had to do an extra step:

When you see the "system.log" window, the one where there is no option to
choose "iPhone 8" at the left, force quit the Console app. Then reopen the
Console app directly, i.e. not through the Simulator, just go to
/Applicatons/Utilities/Console and open it.

At this point you should see a different Console window, where choosing
"iPhone 8" at the left should be possible. Again, filter by the standalone
name because there is a lot of noise.

Hope this helps.

Kind regards,
Panos
--

On Wed, 28 Jul 2021 at 16:39, Andre Garzia via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Panos,
>
> Hope all is well with you my friend, thanks a lot for the speedy reply.
>
> I think things might have changed in Big Sur because I see a different
> console app. Mine doesn’t have a way to switch to this “iPhone 8” label.
> Below is a screenshot from my console app:
>
> https://andregarzia.com/files/console-window.png <
> https://andregarzia.com/files/console-window.png>
>
> The “system.log” being shown is definitely the iPhone 8 Simulator one, not
> only because of the content but also because option-clicking the file on
> top shows the path to it and it is coming from inside the CoreSimulator
> folder.
>
> Still, I don’t see any output from LiveCode standalone in it.
>
> Best
> A
>
>
> > On 28 Jul 2021, at 14:19, panagiotis m via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hello Andre,
> >
> > It works as expected for me.
> >
> > MacOS Mojave
> > Xcode 11.3
> > iOS 13.3 Simulator
> >
> > In the simulator go to Debug -> Open System Log
> > This opens the Console app
> > In the Console window, in the left hand side, you should see the name of
> > the simulator (e.g. "iPhone 8"). Click on it.
> > There will be a lot of logs, so I suggest to filter the output by the
> > standalone name (e.g. type the standalone name, as it appears in the
> > General tab of the S/B in the top right Search box of the Console window)
> >
> > I have a button that does "put the milliseconds && "==="
> > and I can see the expected output in the console logs every time I press
> > the button in the simulator.
> >
> > Cheers,
> > Panos
> > --
> >
> > On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> I’m just bumping this thread because I haven’t been able to see any log
> >> information when using the Simulator.
> >>
> >> Can more people confirm this? Is this a bug, and if so who owns that bug
> >> LC or Apple?
> >>
> >> It becomes really hard to debug a mobile application when you can’t see
> >> logs on the Simulator.
> >>
> >> I made a recipe stack here, but I want to be sure before I fill a bug
> >> report.
> >>
> >> Best
> >> A
> >>
> >>> On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Andre,
> >>>
> >>> tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
> >> Took me some time to download Xcode.
> >>>
> >>> i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
> >> iPhone 12 iOS 14.6) and was able to see the output in the Console log
> >> pressing the 'open console' button in Xcode's 'Devices and Simulators'
> >> (shift CMD 2)
> >>>
> >>> I selected my device in that tool and pressed 'open console'. I had the
> >> 'Now' mode activated and filtered for my output. I could see the output.
> >>>
> >>> But i still do not see it when using the simulator.
> >>>
> >>> Regards,
> >>> Matthias
> >>>
> >>>
> >>>
>  Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
> >> use-livecode@lists.runrev.com>:
> 
> 
> 
> > On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >
> > If you run the app on a real iOS device, do you see your log messages
> >> in the device log for it? Could it be Apple are now funneling simulator
> >> logs into a pane in Xcode - like they do for devices, rather than have
> them
> >> go to the macOS system log?
> 
>  Running the app on a real device doesn’t show the log either.
> 
>  The organiser window of XCode has a specific “Open Console” button on
> >> the pane for the device you selected.
> 
>  It opens the console and it doesn’t contain the data I’m trying to
> >> output from LiveCode. You need to tell it to stream the console data
> from
> >> the phone, it delivers a ton of garbage. Filtering by process or by the
> >> string I’m sending — which is a fixed string at this point since I’m
> just
> >> trying to get the console working — yields no result whatsoever.
>  ___
>  use-livecode mailing list
>  use-livecode@lists.runrev.com
>  Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> 

Re: [iOS] possible console bug

2021-07-28 Thread Andre Garzia via use-livecode
Hi Panos,

Hope all is well with you my friend, thanks a lot for the speedy reply.

I think things might have changed in Big Sur because I see a different console 
app. Mine doesn’t have a way to switch to this “iPhone 8” label. Below is a 
screenshot from my console app:

https://andregarzia.com/files/console-window.png 


The “system.log” being shown is definitely the iPhone 8 Simulator one, not only 
because of the content but also because option-clicking the file on top shows 
the path to it and it is coming from inside the CoreSimulator folder.

Still, I don’t see any output from LiveCode standalone in it.

Best
A


> On 28 Jul 2021, at 14:19, panagiotis m via use-livecode 
>  wrote:
> 
> Hello Andre,
> 
> It works as expected for me.
> 
> MacOS Mojave
> Xcode 11.3
> iOS 13.3 Simulator
> 
> In the simulator go to Debug -> Open System Log
> This opens the Console app
> In the Console window, in the left hand side, you should see the name of
> the simulator (e.g. "iPhone 8"). Click on it.
> There will be a lot of logs, so I suggest to filter the output by the
> standalone name (e.g. type the standalone name, as it appears in the
> General tab of the S/B in the top right Search box of the Console window)
> 
> I have a button that does "put the milliseconds && "==="
> and I can see the expected output in the console logs every time I press
> the button in the simulator.
> 
> Cheers,
> Panos
> --
> 
> On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I’m just bumping this thread because I haven’t been able to see any log
>> information when using the Simulator.
>> 
>> Can more people confirm this? Is this a bug, and if so who owns that bug
>> LC or Apple?
>> 
>> It becomes really hard to debug a mobile application when you can’t see
>> logs on the Simulator.
>> 
>> I made a recipe stack here, but I want to be sure before I fill a bug
>> report.
>> 
>> Best
>> A
>> 
>>> On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Andre,
>>> 
>>> tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
>> Took me some time to download Xcode.
>>> 
>>> i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
>> iPhone 12 iOS 14.6) and was able to see the output in the Console log
>> pressing the 'open console' button in Xcode's 'Devices and Simulators'
>> (shift CMD 2)
>>> 
>>> I selected my device in that tool and pressed 'open console'. I had the
>> 'Now' mode activated and filtered for my output. I could see the output.
>>> 
>>> But i still do not see it when using the simulator.
>>> 
>>> Regards,
>>> Matthias
>>> 
>>> 
>>> 
 Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
>> use-livecode@lists.runrev.com>:
 
 
 
> On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
> 
> If you run the app on a real iOS device, do you see your log messages
>> in the device log for it? Could it be Apple are now funneling simulator
>> logs into a pane in Xcode - like they do for devices, rather than have them
>> go to the macOS system log?
 
 Running the app on a real device doesn’t show the log either.
 
 The organiser window of XCode has a specific “Open Console” button on
>> the pane for the device you selected.
 
 It opens the console and it doesn’t contain the data I’m trying to
>> output from LiveCode. You need to tell it to stream the console data from
>> the phone, it delivers a ton of garbage. Filtering by process or by the
>> string I’m sending — which is a fixed string at this point since I’m just
>> trying to get the console working — yields no result whatsoever.
 ___
 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 

Re: [iOS] possible console bug

2021-07-28 Thread panagiotis m via use-livecode
Hello Andre,

It works as expected for me.

MacOS Mojave
Xcode 11.3
iOS 13.3 Simulator

In the simulator go to Debug -> Open System Log
This opens the Console app
In the Console window, in the left hand side, you should see the name of
the simulator (e.g. "iPhone 8"). Click on it.
There will be a lot of logs, so I suggest to filter the output by the
standalone name (e.g. type the standalone name, as it appears in the
General tab of the S/B in the top right Search box of the Console window)

I have a button that does "put the milliseconds && "==="
and I can see the expected output in the console logs every time I press
the button in the simulator.

Cheers,
Panos
--

On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I’m just bumping this thread because I haven’t been able to see any log
> information when using the Simulator.
>
> Can more people confirm this? Is this a bug, and if so who owns that bug
> LC or Apple?
>
> It becomes really hard to debug a mobile application when you can’t see
> logs on the Simulator.
>
> I made a recipe stack here, but I want to be sure before I fill a bug
> report.
>
> Best
> A
>
> > On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Andre,
> >
> > tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
> Took me some time to download Xcode.
> >
> > i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
> iPhone 12 iOS 14.6) and was able to see the output in the Console log
> pressing the 'open console' button in Xcode's 'Devices and Simulators'
> (shift CMD 2)
> >
> > I selected my device in that tool and pressed 'open console'. I had the
> 'Now' mode activated and filtered for my output. I could see the output.
> >
> > But i still do not see it when using the simulator.
> >
> > Regards,
> > Matthias
> >
> >
> >
> >> Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >>
> >>
> >>> On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> If you run the app on a real iOS device, do you see your log messages
> in the device log for it? Could it be Apple are now funneling simulator
> logs into a pane in Xcode - like they do for devices, rather than have them
> go to the macOS system log?
> >>
> >> Running the app on a real device doesn’t show the log either.
> >>
> >> The organiser window of XCode has a specific “Open Console” button on
> the pane for the device you selected.
> >>
> >> It opens the console and it doesn’t contain the data I’m trying to
> output from LiveCode. You need to tell it to stream the console data from
> the phone, it delivers a ton of garbage. Filtering by process or by the
> string I’m sending — which is a fixed string at this point since I’m just
> trying to get the console working — yields no result whatsoever.
> >> ___
> >> 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


Livecode Electron-style App

2021-07-28 Thread David Bovill via use-livecode
I’m researching for an article on Livecode and javascript for electron-style 
applications. Would really love some examples to work from, especially around:

• Bidirectional javascript communication
• Custom url schema for browser integration

I have a few examples gleaned from the forum and this list, but ti would be 
great to see a good example of interacting with a useful javascript library in 
the browser - any examples out there?

Also I’m digging up how we might provide some form of link in the browser that 
opens a Livecode app - I remember doing this many years ago, but about to 
re-engage :)

    Schedule a call with me
___
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: [iOS] possible console bug

2021-07-28 Thread Andre Garzia via use-livecode
I’m just bumping this thread because I haven’t been able to see any log 
information when using the Simulator. 

Can more people confirm this? Is this a bug, and if so who owns that bug LC or 
Apple?

It becomes really hard to debug a mobile application when you can’t see logs on 
the Simulator.

I made a recipe stack here, but I want to be sure before I fill a bug report.

Best
A

> On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode 
>  wrote:
> 
> Andre,
> 
> tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.  Took me 
> some time to download Xcode.
> 
> i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and iPhone 
> 12 iOS 14.6) and was able to see the output in the Console log pressing the 
> 'open console' button in Xcode's 'Devices and Simulators' (shift CMD 2)
> 
> I selected my device in that tool and pressed 'open console'. I had the 'Now' 
> mode activated and filtered for my output. I could see the output.
> 
> But i still do not see it when using the simulator.
> 
> Regards,
> Matthias
> 
> 
> 
>> Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode 
>> :
>> 
>> 
>> 
>>> On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode 
>>>  wrote:
>>> 
>>> If you run the app on a real iOS device, do you see your log messages in 
>>> the device log for it? Could it be Apple are now funneling simulator logs 
>>> into a pane in Xcode - like they do for devices, rather than have them go 
>>> to the macOS system log?
>> 
>> Running the app on a real device doesn’t show the log either. 
>> 
>> The organiser window of XCode has a specific “Open Console” button on the 
>> pane for the device you selected. 
>> 
>> It opens the console and it doesn’t contain the data I’m trying to output 
>> from LiveCode. You need to tell it to stream the console data from the 
>> phone, it delivers a ton of garbage. Filtering by process or by the string 
>> I’m sending — which is a fixed string at this point since I’m just trying to 
>> get the console working — yields no result whatsoever.
>> ___
>> 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