Re: Zip file problem on Mac

2022-05-06 Thread matthias rebbe via use-livecode
Hm,
is it really a bug  or does revZip just stick to the zip specs?



> Am 06.05.2022 um 01:59 schrieb Neville Smythe via use-livecode 
> :
> 
> I have submitting a report to QC (Bug 23698 
> )
> 
> Thanks Matthias for clarifying that permissions are not correct in the 
> archive. I can now add that the Linux archive has the same problem. The 
> Windows archive created by revZip executes correctly.
> 
> So the problem is nothing to do with Apple. TheUnarchiver and Keka changing 
> the permissions to what they think they ought to be sounds well-intentioned 
> but highly problematic (what’s the meme for the opposite of an overprotective 
> nanny? Busybody big sister?)
> 
> Your last comment caused me to realise that I have only changed very recently 
> to automating the process of creating the zip files as a post-standalone 
> build-process using revZip. Previously I created the zip files by hand, and 
> my beta-tester uses Windows. Thought I was being clever. So the bug in the LC 
> implementation may have been present for a long time.
> 
> Neville
> 
>> 
>> Neville, i can confirm that behavior even under BigSur.
>> 
>> I've created a small standalone with LC 10DP3 on BigSur and created  2  zip 
>> files  from the output folder using LC's zip library and using shell command 
>> zip.
>> 
>> Running the shell command 'zipinfo' to analyse both zip files showed, that 
>> the zip created with LC's zip library did not contain any executable 
>> permissions while the zip created with macOS zip shell command did contain 
>> the permissions.
>> So it seems the LC's zip library does not store the permissions in the zip.
>> 
>> According to your comment about The Unarchiver. Yes, i can also confirm that 
>> The Unarchiver and also Keka can extract the zip file created with LC and 
>> the standalone in the extracted folder is executable again.
>> But...
>> As zipinfo did list all the files wihtout any executable permissions, i 
>> unzipped the zip with the shell command 'unzip' and that standalone was not 
>> executable again. All files showed exact those permissions that zipinfo 
>> showed before.
>> 
>> So i assume the following: Keka and The Unarchive seem to correct file 
>> permissions when they detect a folder structure that seems to be an app 
>> bundle. But that's just an assumption.
>> At least Keka seems to have such feature according to its change log Changes 
>> in version 1.0.11 
>> 
>> 
>> But anyway. The LC zip library ignores the permission when creating an 
>> archive.  If this worked before with older versions of LC  i cannot say, as 
>> i always used the zip shell command or tools like Keka.
>> 
>> 
>> Matthias
>> 
>> 
> 
> ___
> 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: Zip file problem on Mac

2022-05-04 Thread matthias rebbe via use-livecode
Neville, i can confirm that behavior even under BigSur.

I've created a small standalone with LC 10DP3 on BigSur and created  2  zip 
files  from the output folder using LC's zip library and using shell command 
zip.

Running the shell command 'zipinfo' to analyse both zip files showed, that the 
zip created with LC's zip library did not contain any executable permissions 
while the zip created with macOS zip shell command did contain the permissions.
So it seems the LC's zip library does not store the permissions in the zip.

According to your comment about The Unarchiver. Yes, i can also confirm that 
The Unarchiver and also Keka can extract the zip file created with LC and the 
standalone in the extracted folder is executable again.
But...
As zipinfo did list all the files wihtout any executable permissions, i 
unzipped the zip with the shell command 'unzip' and that standalone was not 
executable again. All files showed exact those permissions that zipinfo showed 
before.

So i assume the following: Keka and The Unarchive seem to correct file 
permissions when they detect a folder structure that seems to be an app bundle. 
But that's just an assumption.
At least Keka seems to have such feature according to its change log Changes in 
version 1.0.11 


But anyway. The LC zip library ignores the permission when creating an archive. 
 If this worked before with older versions of LC  i cannot say, as i always 
used the zip shell command or tools like Keka.


Matthias


> Am 04.05.2022 um 16:47 schrieb Neville Smythe via use-livecode 
> :
> 
> I distribute a Mac standalone via a zip file, created using revZipOpenArchive 
> etc.
> 
> This has worked fine until macOS Monterey or LiveCode 9.6.x 
> 
> Either a bug has been introduced into the revZip tools in 9.6.x, or I have a 
> corrupted version, or the Mac Archive Utility has changed so as to make the 
> rev zip tool fail. Can anyone verify the following?
> 
> On my Mac, the Archive Utility in Monterey, which automagically unzips files 
> when a zip file is downloaded by Safari or double-clicked, now unsets the 
> execute bit on the application (more precisely, on the executable file in the 
> bundle). Which means the user gets a “This application could not be opened”, 
> with no options to continue, when they try to launch the unzipped app. A 
> terminal savvy user can use chmod x+ to make the app launchable, but I can 
> hardly expect the ordinary user to have to do that. The execute bit is 
> definitely set in the archive, because TheUnarchiver, a free third party 
> decompression tool, unzips the file leaving the app launchable. This also 
> suggests that the problem is not in my code.
> 
> I can see why Granny Apple might have thought this was a good idea, 
> executables in zip files are a the major sources of trojans, but if Apple has 
> made this change it is a bit nasty because there is no obvious way to 
> override the behaviour.
> 
> If I use the Archive Utility to actually create the zip file from the 
> standalone app bundle rather than using the rev tools, and then double-click 
> it to decompress, the file unzips with the execute bit set. This shows the 
> archive produced by revZip is not the same as that expected by the Archive 
> Utility. It also suggests  a workaround would be to use Archive Utility from 
> a shell command (it is not AppleScriptable – bad Apple!). From a cursory 
> search on Stackoverflow,  the command line would be (this is not yet tested 
> and the post is 5 years old)
> 
> ditto -c -k --sequesterRsrc --keepParent Product.app Product.app.zip
> 
> to create the zip file for the Mac platform. The post says that is what the 
> Archive Utility uses to compress files. Probably  the rev zip tools use zlib. 
> Or maybe I should be creating a .dmg disk image instead of a zip file.
> 
> Neville
> 
> 
> ___
> 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: devcon 2022 recap

2022-04-28 Thread matthias rebbe via use-livecode


It was really an amazing event. And although i am not a big Zoom fan, the 
decision of the team to use Zoom was the right one. 
It allowed much more interaction. 

All 3 keynotes were very interesting and make me think and hope that Livecode 
Ltd. is on its right way to grow.

Marks Waddingham's session about the script compiler... Okay, i did only 
understand half or quarter of it... ;) But that was not Mark's fault. It was 
caused by my lack of knowledge.

The sessions 'Automate PDF Forms with LC Server' held by Christopher Flat and  
Michael McCreary's session 'Docker and Livecode Server' were the importan ones 
for me.  


I will definitely view all sessions i missed and will review all sessions i 
joined as soon as the recordings are available. 

All in all it was a really awesome experience  and the next time i will be 
prepared and have my webcam set up. ;)

I was so impressed especially by the planned new features of LC that i 
subscribed right away to the upcoming  LC Global 22/23 which starts in May this 
year. 
https://livecode.com/global/global2022/ 


Matthias


> Am 28.04.2022 um 17:12 schrieb Mike Kerner via use-livecode 
> :
> 
> I did, but I was hoping for some community comment, as well.
> 
> On Thu, Apr 28, 2022 at 10:15 AM Mark Smith via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Mike, check out the LC blog posts for summaries of Days 1 and 2, not sure
>> if a day 3 will be posted (
>> https://livecode.com/reporting-on-day-1-of-the-livecode-conference/).
>> 
>>> On 28 Apr 2022, at 14:44, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> I am stuck in a time sink. I missed just about all of the devcon as a
>>> result. Anyone want to fire off on a recap?
>>> 
>>> --
>>> On the first day, God created the heavens and the Earth
>>> On the second day, God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>>  and did a little diving.
>>> And God said, "This is good."
>>> ___
>>> 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
>> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> 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: Quick Windows 11 test...

2022-04-13 Thread matthias rebbe via use-livecode
Or you could execute this windows shell command in the LC shell() function

wmic os get Caption /value

which then would return something like this for example

Caption=Microsoft Windows 11 Enterprise



> Am 13.04.2022 um 20:26 schrieb matthias_livecode_150...@m-r-d.de:
> 
> This here would
> 
> return the macOS version and would return Windows 10 on version 10 and 
> Windows 11 on version 11
> If you also need this for other Windows version you have to extend it a 
> little bit
> 
> 
> switch the platform
> case "Win32"
> put shell("ver") into tVersion
> set the itemdelimiter to "."
> if item 3 of tVersion >22000
> then
> return "Windows 11"
> else 
> return "Windows 10"
> end if
> break
> case "MacOS"
>   get shell("sw_vers -productVersion")
>   return it
> break
> end switch
> 
> 
> 
> 
>> Am 13.04.2022 um 20:05 schrieb matthias rebbe via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Ups,
>> 
>> not 'version' but 'ver' returns 10.0.xx.x.
>> In my case 10.0.22581.100
>> 
>> 
>> Any value above 22000 is Windows 11, any value below of 22000 is Windows 10.
>> 
>> 
>>> Am 13.04.2022 um 20:01 schrieb matthias_livecode_150...@m-r-d.de 
>>> <mailto:matthias_livecode_150...@m-r-d.de>:
>>> 
>>> Unfortunately Windows 11  shell command 'version" returns NT 10.0.
>>> That's the same value as Windows 10 returns.
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> Am 13.04.2022 um 19:40 schrieb Paul Dupuis via use-livecode 
>>>> mailto:use-livecode@lists.runrev.com> 
>>>> <mailto:use-livecode@lists.runrev.com 
>>>> <mailto:use-livecode@lists.runrev.com>>>:
>>>> 
>>>> On 4/13/2022 11:19 AM, panagiotis m via use-livecode wrote:
>>>>> Hello all,
>>>>> 
>>>>> The function systemversion() returns 10.16.0 on MacOS Big Sur and above.
>>>>> This is something we should fix.
>>>>> 
>>>>> As a workaround, until this is fixed, you can use this to get the system
>>>>> version on MacOS:
>>>>> 
>>>>> function mySystemVersion
>>>>>   get shell("sw_vers -productVersion")
>>>>>   return it
>>>>> end mySystemVersion
>>>>> 
>>>>> Cheers,
>>>>> Panos
>>>>> --
>>>>> 
>>>> Panos (or any other LC staffer?)
>>>> 
>>>> Do you have a companion work-around for Window 11 which where 
>>>> systemVersion() reports "NT 10.0"?
>>>> 
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com> 
>>>> <mailto:use-livecode@lists.runrev.com 
>>>> <mailto: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 
>>>> <http://lists.runrev.com/mailman/listinfo/use-livecode> 
>>>> <http://lists.runrev.com/mailman/listinfo/use-livecode 
>>>> <http://lists.runrev.com/mailman/listinfo/use-livecode>>
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com <mailto: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 
>> <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: Quick Windows 11 test...

2022-04-13 Thread matthias rebbe via use-livecode
This here would

return the macOS version and would return Windows 10 on version 10 and Windows 
11 on version 11
If you also need this for other Windows version you have to extend it a little 
bit


switch the platform
case "Win32"
put shell("ver") into tVersion
set the itemdelimiter to "."
if item 3 of tVersion >22000
then
return "Windows 11"
else 
return "Windows 10"
end if
break
case "MacOS"
  get shell("sw_vers -productVersion")
  return it
break
end switch  




> Am 13.04.2022 um 20:05 schrieb matthias rebbe via use-livecode 
> :
> 
> Ups,
> 
> not 'version' but 'ver' returns 10.0.xx.x.
> In my case 10.0.22581.100
> 
> 
> Any value above 22000 is Windows 11, any value below of 22000 is Windows 10.
> 
> 
>> Am 13.04.2022 um 20:01 schrieb matthias_livecode_150...@m-r-d.de:
>> 
>> Unfortunately Windows 11  shell command 'version" returns NT 10.0.
>> That's the same value as Windows 10 returns.
>> 
>> 
>> 
>> 
>> 
>>> Am 13.04.2022 um 19:40 schrieb Paul Dupuis via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> 
>>> On 4/13/2022 11:19 AM, panagiotis m via use-livecode wrote:
>>>> Hello all,
>>>> 
>>>> The function systemversion() returns 10.16.0 on MacOS Big Sur and above.
>>>> This is something we should fix.
>>>> 
>>>> As a workaround, until this is fixed, you can use this to get the system
>>>> version on MacOS:
>>>> 
>>>> function mySystemVersion
>>>>   get shell("sw_vers -productVersion")
>>>>   return it
>>>> end mySystemVersion
>>>> 
>>>> Cheers,
>>>> Panos
>>>> --
>>>> 
>>> Panos (or any other LC staffer?)
>>> 
>>> Do you have a companion work-around for Window 11 which where 
>>> systemVersion() reports "NT 10.0"?
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com <mailto: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 
>>> <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: Quick Windows 11 test...

2022-04-13 Thread matthias rebbe via use-livecode
Ups,

not 'version' but 'ver' returns 10.0.xx.x.
In my case 10.0.22581.100


Any value above 22000 is Windows 11, any value below of 22000 is Windows 10.


> Am 13.04.2022 um 20:01 schrieb matthias_livecode_150...@m-r-d.de:
> 
> Unfortunately Windows 11  shell command 'version" returns NT 10.0.
> That's the same value as Windows 10 returns.
> 
> 
> 
> 
> 
>> Am 13.04.2022 um 19:40 schrieb Paul Dupuis via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> On 4/13/2022 11:19 AM, panagiotis m via use-livecode wrote:
>>> Hello all,
>>> 
>>> The function systemversion() returns 10.16.0 on MacOS Big Sur and above.
>>> This is something we should fix.
>>> 
>>> As a workaround, until this is fixed, you can use this to get the system
>>> version on MacOS:
>>> 
>>> function mySystemVersion
>>>get shell("sw_vers -productVersion")
>>>return it
>>> end mySystemVersion
>>> 
>>> Cheers,
>>> Panos
>>> --
>>> 
>> Panos (or any other LC staffer?)
>> 
>> Do you have a companion work-around for Window 11 which where 
>> systemVersion() reports "NT 10.0"?
>> 
>> 
>> ___
>> 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: Quick Windows 11 test...

2022-04-13 Thread matthias rebbe via use-livecode
Unfortunately Windows 11  shell command 'version" returns NT 10.0.
That's the same value as Windows 10 returns.





> Am 13.04.2022 um 19:40 schrieb Paul Dupuis via use-livecode 
> :
> 
> On 4/13/2022 11:19 AM, panagiotis m via use-livecode wrote:
>> Hello all,
>> 
>> The function systemversion() returns 10.16.0 on MacOS Big Sur and above.
>> This is something we should fix.
>> 
>> As a workaround, until this is fixed, you can use this to get the system
>> version on MacOS:
>> 
>> function mySystemVersion
>>get shell("sw_vers -productVersion")
>>return it
>> end mySystemVersion
>> 
>> Cheers,
>> Panos
>> --
>> 
> Panos (or any other LC staffer?)
> 
> Do you have a companion work-around for Window 11 which where systemVersion() 
> reports "NT 10.0"?
> 
> 
> ___
> 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: Quick Windows 11 test...

2022-04-13 Thread matthias rebbe via use-livecode
NT 10.0

> Am 13.04.2022 um 16:58 schrieb Paul Dupuis via use-livecode 
> :
> 
> Can someone on Windows 11 with either (or both) LC 9.6.6 and 9.6.7 execute
> 
> put systemVersion()
> 
> and tell me what is reported?
> 
> ___
> 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: Localizing e.g. "Answer dialog" featuzre reques = hibernated?

2022-04-12 Thread matthias rebbe via use-livecode
Maybe I would agree, too,  if I understood what Richmond wrote. ;)

Tried even Google translate for  Scottish to German. No success... :) 



> Am 12.04.2022 um 17:29 schrieb Bob Sneidar via use-livecode 
> :
> 
> My thoughts exactly! 
> 
> Bob S
> 
> 
>> On Apr 11, 2022, at 11:00 , Richmond Mathewson via use-livecode 
>>  wrote:
>> 
>> Ah cud spak , an, aiblins it micht be mensefu, anent ither leids, but Ah
>> jalouse that fowk widnae thole war jalouse qhat Ah wis ettlin an speiran
>> eftir.
>> 
>> On Mon, 11 Apr 2022, 20:52 Klaus major-k via use-livecode, <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi all,
>>> 
>>> some time ago I "feature requested" a possibility to localize e.g. the
>>> "Answer Dialog":
>>> 
>>> 
>>> Example:
>>> Cancel = english, which is always displayed currently
>>> Annuler = french
>>> Abbrechen = german
>>> All these are much longer words, so just setting the label of that button
>>> will not suffice.
>>> Bernd Niggeman provided a nifty solution for this inconvenience.
>>> 
>>> But why on earth has this been "Hibernated"?
>>> 
>>> Don't we all think that we should be able to localize all aspectcs of LC?
>>> Not the whole world is speaking english, ladies and gentlemen!
>>> 
>>> Maybe you want to add a comment, thank you!
>>> 
>>> 
>>> 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
> 
> 
> ___
> 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: Widget properties

2022-04-06 Thread matthias rebbe via use-livecode
Maybe.

But the last 6 years no one filed a bug report, even Ali did not. So i doubt, 
that it will be fixed in the near future even with a bug report.
Anyway, without a bug report there is definitely no chance that it will be ever 
fixed.


> Am 06.04.2022 um 15:22 schrieb Tweedly via use-livecode 
> :
> 
> That post from Ali says they are not available; it doesn’t say they should be 
> not available.
> 
> I’d say they should be -  Ali’s workaround is good for the IDE only.
> 
> So no reason not to submit as a bug/request, and get a proper determination 
> from LCLtd.
> 
> Alex
> 
> Sent from my iPad
> 
>> On 6 Apr 2022, at 13:37, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> That is not available according to this post from Ali Lloyd
>> 
>> https://forums.livecode.com/viewtopic.php?t=27183#p141945 
>> <https://forums.livecode.com/viewtopic.php?t=27183#p141945>
>> 
>> 
>>> Am 06.04.2022 um 14:03 schrieb Neville Smythe via use-livecode 
>>> :
>>> 
>>> Is it not a bug that
>>> 
>>>   the properties of widget “foo”
>>> 
>>> returns empty (for all values of foo)?
>>> 
>>> No rect, no visible, no disabled etc, even though these clearly are 
>>> settable and functional properties of the widget.
>>> 
>>> You can
>>> 
>>>  export widget “foo” to array “bar”
>>> 
>>> but that gives the intrinsic properties of the widget not the usual object 
>>> properties. Oh and don’t forget the reserved word “array” in the above 
>>> line, that causes an IDE crash (bug 23655 
>>> <https://quality.livecode.com/show_bug.cgi?id=23655> confirmed)
>>> 
>>> Neville
>>> ___
>>> 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


Re: Widget properties

2022-04-06 Thread matthias rebbe via use-livecode
Forgot to mention that his post also has a solution to fetch the list of all 
available properties for a widget.


> Am 06.04.2022 um 14:36 schrieb matthias_livecode_150...@m-r-d.de:
> 
> That is not available according to this post from Ali Lloyd
> 
> https://forums.livecode.com/viewtopic.php?t=27183#p141945 
> 
> 
> 
>> Am 06.04.2022 um 14:03 schrieb Neville Smythe via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Is it not a bug that
>> 
>> the properties of widget “foo”
>> 
>> returns empty (for all values of foo)?
>> 
>> No rect, no visible, no disabled etc, even though these clearly are settable 
>> and functional properties of the widget.
>> 
>> You can
>> 
>>export widget “foo” to array “bar”
>> 
>> but that gives the intrinsic properties of the widget not the usual object 
>> properties. Oh and don’t forget the reserved word “array” in the above line, 
>> that causes an IDE crash (bug 23655 
>> > > confirmed)
>> 
>> Neville
>> ___
>> 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: Widget properties

2022-04-06 Thread matthias rebbe via use-livecode
That is not available according to this post from Ali Lloyd

https://forums.livecode.com/viewtopic.php?t=27183#p141945 



> Am 06.04.2022 um 14:03 schrieb Neville Smythe via use-livecode 
> :
> 
> Is it not a bug that
> 
> the properties of widget “foo”
> 
> returns empty (for all values of foo)?
> 
> No rect, no visible, no disabled etc, even though these clearly are settable 
> and functional properties of the widget.
> 
> You can
> 
>export widget “foo” to array “bar”
> 
> but that gives the intrinsic properties of the widget not the usual object 
> properties. Oh and don’t forget the reserved word “array” in the above line, 
> that causes an IDE crash (bug 23655 
>  confirmed)
> 
> Neville
> ___
> 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: Can't get jsonToArray in standalones ?

2022-04-04 Thread matthias rebbe via use-livecode
Panos,

is there a reason why mergJSON is not listed in the dictionary anymore in LC 
9.6.6,9.6.7, 10DDP2, 10DP3?

Matthias

> Am 04.04.2022 um 16:08 schrieb panagiotis m via use-livecode 
> :
> 
> Hello Ben,
> 
> You need to check megJSON.
> 
> The JSON Library inclusion is for JSONImport and JSONExport handlers.
> 
> Cheers,
> Panos
> 
> On Mon, 4 Apr 2022, 16:28 Ben Rubinstein via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
> 
>> Building a standalone that uses jsonToArray.
>> 
>> Works fine in the IDE.
>> 
>> If I use "search for required inclusions" when building the standaline,
>> then
>> when the script calls jsonToArray it throws error 219 (Function: error in
>> function handler).
>> 
>> If I use "select inclusions", and check "JSON Library", then it crashes.
>> 
>> Interestingly, if I *uncheck* "JSON Library" from the inclusions, then it
>> also
>> crashes! (I expected it would throw error 219.)
>> 
>> This is the same on LC 9.6.6 and 9.6.7; and (at least the crash) same on
>> both
>> Mac and Windows.
>> 
>> My best guess is that I need to have something else checked in the
>> inclusions
>> - any suggestions?
>> 
>> 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: Hey Lurkers: Anyone still using LC 6.7? (Regulars too)

2022-04-04 Thread matthias rebbe via use-livecode

> Am 10.03.2022 um 20:39 schrieb doc hawk via use-livecode 
> :
> 
> Gosh, I never got *any* version of 6 to work well enough to use!
> 
Really? I've updated old and created new apps with different versions of LC6 
w/o any big problems. 
The apps do db stuff (MSSQL and MySQL), FTP uploads/downloads, dp post/get 
requests and we used LC Server 6 on our webserver for several tasks e.g form 
processing, db communication, handling post requests and others. That all 
worked fine here.

As soon as a new version, even DP, comes out and if time allows, i try to 
create at least our in-house apps with the new version. 
Firstly this helps to find bugs in the new version, at least in the areas our 
apps are using, and secondly, it ensures also that our apps can also be created 
with that new version.

That above is, of course, not to say that others did not have problems with 
LC6. Just wanted to share my experience with 6

Matthias


> :)
> 
> There’s still switches in my code for 5, but there are enough other uses of 
> later features of 7+ that it’s a non-issue.
> 
> 
> ___
> 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: Notarize Helper Stack in LC lesson updated

2022-03-29 Thread matthias rebbe via use-livecode
This could be of course a corrupted installer file. Did you resent him the 
file? 
Did you zip the .pgk before you've send it by email? If not, then try to send a 
zipped .pgk.

If you are sure, that the file is not corrupted, then ask your beta tester to 
try the following:
1. select the .pkg file
2. press CMD-i
3. change "open with" to use intaller.app.

On which macOS version did you create the installer .pkg and which macOS 
version is your beta tester using?


Matthias
> Am 29.03.2022 um 07:51 schrieb General 2018 via use-livecode 
> :
> 
> Used MrSign and made successful notarised .pkg
> 
> Works fine on my machine but when I emailed a beta tester the .pkg it showed 
> delevoper unidentifiable message and com.apple.installer.pagecontroller error 
> -1
> 
> Any idea ?
> 
> Regards
> Camm
> 
>> On 8 Feb 2022, at 23:48, matthias rebbe via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Camm,
>> 
>> if i am not completely  wrong then this is a problem that can occur when you 
>> try the pkg installer on the same machine on which you've created it.
>> If the installer finds the same .app already somewhere on the hard disk it 
>> updates that app and does not install it into Applications folder.
>> 
>> So the best thing is to test the installer on an other machine. Or you could 
>> try the following:
>> After successful notarizing delete the app bundle of your standalone (you 
>> could make a zip file as backup first) and empty your trash. Make sure that 
>> there is no other copy of your .app even older ones. If there are others 
>> then delete them also and empty the trash.
>> 
>> Now try to run the .pkg installer. The app should now be installed in 
>> Applications folder.
>> 
>> Matthias
>> 
>> 
>>> Am 08.02.2022 um 22:23 schrieb General 2018 via use-livecode 
>>> :
>>> 
>>> Hi ,
>>> 
>>> Just a question on the .pkg install location.
>>> 
>>> When I execute the .pkg made by mrSign the installer completes okay but I 
>>> cannot find app ? not in /Applications or anywhere.
>>> 
>>> If I use 3rd party “Packages” to make a .pkg it’s installs app to 
>>> /Applications.
>>> 
>>> Any clue ? 
>>> 
>>> Regards Camm
>>> 
>>>>> On 3 Feb 2022, at 22:17, matthias rebbe via use-livecode 
>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>> wrote:
>>>> 
>>>> Hi Camm,
>>>> 
>>>> great to hear that you were able to successfully notarize.
>>>> 
>>>> Regards,
>>>> Matthias
>>>> 
>>>> 
>>>>> Am 03.02.2022 um 21:54 schrieb General 2018 via use-livecode 
>>>>> :
>>>>> 
>>>>> Update >>>> Success.
>>>>> 
>>>>> Tried everything, then read a post that pointed to :-
>>>>> Apple Worldwide Developer Relations Certification Authority Cert
>>>>> Developer ID Certification Authority Cert
>>>>> 
>>>>> In Keychain my existing expired 2027, I downloaded and installed the 
>>>>> latest expiring 2030/2031 - re run mrSign and notarization success.
>>>>> 
>>>>> Status = Success 0 
>>>>> Status Code = Pac 
>>>>> Status Message = Age Approved
>>>>> 
>>>>> Regards
>>>>> Camm
>>>>> 
>>>>>>> On 29 Jan 2022, at 22:41, matthias rebbe via use-livecode 
>>>>>>>  wrote:
>>>>>> 
>>>>>> Hm, interesting. Seems to be a problem with a wrong or missing 
>>>>>> timestamp. So maybe adding --timestamp parameter will fix this.
>>>>>> 
>>>>>> Could you please change the following lines in the stack script of the 
>>>>>> NotarizeHelper stack and try again after that?
>>>>>> 
>>>>>> 
>>>>>> line 904
>>>>>> put "codesign --deep --force --verify --verbose --sign 
>>>>>> ##developerIDApplication## --options runtime  --entitlements 
>>>>>> ##entitlementsplist## ##myapp##" into tShell
>>>>>> with this line
>>>>>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>>>>>> ##developerIDApplication## --options runtime  --entitlements 
>>>>

Re: Print to pdf fails on Windows with multiple pages

2022-03-24 Thread matthias rebbe via use-livecode
I can replicate this here also with 10DP2. 
And have attached a sample stack so others could also test.

But i could not attach the pdf. I am always getting this error here:

"It looks like you didn't come from the right page (you have no valid token for 
the create_attachment action while processing the 'attachment.cgi' script). The 
reason could be one of:
You clicked the "Back" button of your web browser after having successfully 
submitted changes, which is generally not a good idea (but harmless).
You entered the URL in the address bar of your web browser directly, which 
should be safe.
You clicked on a URL which redirected you here without your consent, in which 
case this action is much more critical.
Are you sure you want to commit these changes anyway? This may result in 
unexpected and undesired results"


So i uploaded it on my server and added a url to it.


Regards,
Matthias


> Am 24.03.2022 um 12:18 schrieb panagiotis m via use-livecode 
> :
> 
> Hello Andreas,
> 
> This sounds like this bug https://quality.livecode.com/show_bug.cgi?id=23088,
> which should be fixed in LC 9.6.6 RC-1 and newer.
> 
> If this is not the case for you, could you attach a sample stack and the
> pdf to this report and reopen it? Or send it to me directly if they are
> confidential. Also, it might be worth checking with the 32bit version of LC
> for Windows
> 
> Kind regards,
> Panos
> --
> 
>> .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: ExcelLib in a standalone

2022-03-23 Thread matthias rebbe via use-livecode
> Am 23.03.2022 um 00:14 schrieb Bob Sneidar via use-livecode 
> :
> 
> Oh yes, that is what I read. Got my wires crossed. 
> 
> It's interesting that you found that Excel was running hidden. My hangups in 
> the past may just have been that I was getting some kind of dialog but 
> couldn't see it because the app was hidden. I say that because when I tried 
> to shut down my Windows 7 VM earlier, it indicated that Excel was running, 
> even though there was no visible window. 
> 
That's why i mentioned XCEL_Application_Show  which shows the hidden Excel 
programm



> Bob S
> 
> 
>> On Mar 22, 2022, at 16:06 , matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Bob,
>> are you really sure that Java is used on Windows and not VisualBasicScript? 
>> Here my tests showed that Excel is definitely loaded. It was hidden on the 
>> desktop, but it was listed in TaskManager as a running process.
>> 
>> 
>> 
>> 
>> 
> 
> 
> ___
> 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: ExcelLib in a standalone

2022-03-22 Thread matthias rebbe via use-livecode
Bob,
are you really sure that Java is used on Windows and not VisualBasicScript? 
Here my tests showed that Excel is definitely loaded. It was hidden on the 
desktop, but it was listed in TaskManager as a running process.




> Am 22.03.2022 um 22:57 schrieb Bob Sneidar via use-livecode 
> :
> 
> On the Mac, the library uses Apple Events, and for that to work it has to 
> launch Excel and open the spreadsheet. On Windows, it uses some kind of Java 
> library, so does not need to open the file or the app, which means it runs 
> much faster on Windows, quite the anomaly these days. :-)
> 
> Bob S
> 
> 
>> On Mar 22, 2022, at 14:40 , matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hm, 
>> i tried here and it works, but Excel is run/opened hidden. i needed to call 
>> XCEL_Application_Show to get Excel shown.
>> 
>> Regards,
>> Matthias
>> 
>>> Am 22.03.2022 um 21:07 schrieb Bob Sneidar via use-livecode 
>>> :
>>> 
>>> The Excel_Lib file is at the same folder level as the application. In other 
>>> words I can see Excel_Lib (and the other libraries) in the application 
>>> folder. 
>>> 
>>> Bob S
>>> 
>>> 
>>>> On Mar 22, 2022, at 12:20 , matthias rebbe via use-livecode 
>>>>  wrote:
>>>> 
>>>> Bob,
>>>> 
>>>> how did you include the library? As a separate stack or integrated in the 
>>>> .exe?
>>>> 
>>>> Regards,
>>>> Matthias
>>>> 
>>>>> Am 22.03.2022 um 19:18 schrieb Bob Sneidar via use-livecode 
>>>>> :
>>>>> 
>>>>> Hi all. I'll try to make this as succinct as possible. 
>>>>> 
>>>>> 1. Excel_Lib works in MacOS IDE
>>>>> 2. Excel_Lib works in MacOS Standalone
>>>>> 3. Excel_Lib works in Windows 7 IDE
>>>>> 4. Excel_Lib does NOT WORK in Windows 7 Standalone
>>>>> 5. Excel_Lib works in Windows 10 IDE
>>>>> 6. Excel_Lib does NOT WORK in Windows 10 standalone
>>>>> 
>>>>> Is there something I am missing? I am not getting any alerts when it 
>>>>> fails, it simply doesn't access the spreadsheet files and the data they 
>>>>> contain. 
>>>>> 
>>>>> Bob S
>>>>> 
>>>>> 
>>>>> ___
>>>>> 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 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: ExcelLib in a standalone

2022-03-22 Thread matthias rebbe via use-livecode
Hm, 
i tried here and it works, but Excel is run/opened hidden. i needed to call 
XCEL_Application_Show to get Excel shown.

Regards,
Matthias

> Am 22.03.2022 um 21:07 schrieb Bob Sneidar via use-livecode 
> :
> 
> The Excel_Lib file is at the same folder level as the application. In other 
> words I can see Excel_Lib (and the other libraries) in the application 
> folder. 
> 
> Bob S
> 
> 
>> On Mar 22, 2022, at 12:20 , matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Bob,
>> 
>> how did you include the library? As a separate stack or integrated in the 
>> .exe?
>> 
>> Regards,
>> Matthias
>> 
>>> Am 22.03.2022 um 19:18 schrieb Bob Sneidar via use-livecode 
>>> :
>>> 
>>> Hi all. I'll try to make this as succinct as possible. 
>>> 
>>> 1. Excel_Lib works in MacOS IDE
>>> 2. Excel_Lib works in MacOS Standalone
>>> 3. Excel_Lib works in Windows 7 IDE
>>> 4. Excel_Lib does NOT WORK in Windows 7 Standalone
>>> 5. Excel_Lib works in Windows 10 IDE
>>> 6. Excel_Lib does NOT WORK in Windows 10 standalone
>>> 
>>> Is there something I am missing? I am not getting any alerts when it fails, 
>>> it simply doesn't access the spreadsheet files and the data they contain. 
>>> 
>>> Bob S
>>> 
>>> 
>>> ___
>>> 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


Re: ExcelLib in a standalone

2022-03-22 Thread matthias rebbe via use-livecode
Bob,

how did you include the library? As a separate stack or integrated in the .exe?

Regards,
Matthias

> Am 22.03.2022 um 19:18 schrieb Bob Sneidar via use-livecode 
> :
> 
> Hi all. I'll try to make this as succinct as possible. 
> 
> 1. Excel_Lib works in MacOS IDE
> 2. Excel_Lib works in MacOS Standalone
> 3. Excel_Lib works in Windows 7 IDE
> 4. Excel_Lib does NOT WORK in Windows 7 Standalone
> 5. Excel_Lib works in Windows 10 IDE
> 6. Excel_Lib does NOT WORK in Windows 10 standalone
> 
> Is there something I am missing? I am not getting any alerts when it fails, 
> it simply doesn't access the spreadsheet files and the data they contain. 
> 
> Bob S
> 
> 
> ___
> 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: Empty Externals folder neccessary to run windows exe successfully?

2022-03-21 Thread matthias rebbe via use-livecode
Hi Panos,

in the bug report you link to a pull request which was removed for some reasons.

Why not checking for emptiness of the externals folder and delete it seperately 
for each platform after the standalone was build and maybe only for Win and 
Linux, 
Either in the reSaveAsMacStandalone, revSaveAsWindowsStandalone, 
revSaveAsLinuxStandalone handlers and or combined in the currently empty 
revStandalonePostBuild handler of the stack revSaveAsStandalone?

Would this avoid the problems Mark Waddingham was concerned about?

I've added this code block here as a test at the end of the 
revSaveAsWindowsStandalone directly before the line with the call to 
revStandalonePostBuild 
This works so far.

if pFolder ends with "Windows"
-- standalones for both Win platforms were created (32 and 64 bit)

-- or for one Win platform and at least for one other non windows platform

then

-- first delete the empty externals folder in Windows 32bit folder in case it 
exists

if there is a folder (pfolder&"/externals") \

and files(pFolder &"/externals") is empty \

and folders(pfolder&"/externals") = ".."

then

delete folder pfolder&"/externals"

end if

-- then delete empty externals folder in Windows 64bit folder in case it exists

if there is a folder (pfolder&&"x86-64/externals") \

and files(pFolder && "x86-64/externals") is empty \

and folders(pfolder && "x86-64/externals") = ".."

then

delete folder pfolder && "x86-64/externals"

end if

else

-- a standalone either for Windows x86-32 or X86-64 and for no other platform, 
macOS or Linux , was created

if there is a folder (pfolder&"/externals") \

and files(pFolder &"/externals") is empty \

and folders(pfolder&"/externals") = ".."

then

delete folder pfolder&"/externals"

end if

end if


> Am 21.03.2022 um 17:08 schrieb panagiotis m via use-livecode 
> :
> 
> Hello all,
> 
> There is a bug report about it:
> 
> https://quality.livecode.com/show_bug.cgi?id=20223
> 
> Cheers,
> Panos
> --
> 
> On Mon, 21 Mar 2022 at 17:06, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi Matthias,
>> 
>>> Am 21.03.2022 um 15:41 schrieb Matthias Rebbe via use-livecode <
>> use-livecode@lists.runrev.com>:
>>> 
>>> Short answer, no. I always delete that folder, if it’s empty.
>> 
>> thank you very much!
>> 
>> 
>> 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

___
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: Empty Externals folder neccessary to run windows exe successfully?

2022-03-21 Thread Matthias Rebbe via use-livecode
Short answer, no. I always delete that folder, if it’s empty.

Von meinem iPhone gesendet

> Am 21.03.2022 um 14:09 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi all,
> 
> the subject says it all, I don't have a Win PC at hand for testing.
> It is a simple app without any externals.
> 
> Thank you!
> 
> 
> 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: How to extract a video clip...

2022-03-19 Thread Matthias Rebbe via use-livecode
You could use ffmpeg for this. 

Here‘s a post where it is described how to do it

https://superuser.com/questions/377343/cut-part-from-video-file-from-start-position-to-end-position-with-ffmpeg

Von meinem iPhone gesendet

> Am 19.03.2022 um 19:12 schrieb Paul Dupuis via use-livecode 
> :
> 
> Hivemind,
> 
> I have, in LiveCode, a list of media files (various formats mp4, mp3, etc.) 
> and a list of start and end times for various clips from each of the files. A 
> file may (and usually does) have several clips.
> 
> Much to my disappointment, I can find NO way in LiveCode script to export a 
> portion of the media from the start time to the end time. I hope with the 
> revised media in LC10, this may get added!
> 
> I CAN in LiveCode open the media in a Player object and play just the clip 
> from startTime to endTime.
> 
> Has anyone come up with a way, given just a file, start time, and end time, 
> to output a new media file with just that clip?
> 
> Perhaps a shell command to some already installed utility or a widget? I'd 
> even consider installing a free command line utility IF it was relatively 
> small (in terms of disk size) so I could packing in my app and have my app 
> unpack it on startup (the first time). I need this capability on macOS and 
> Windows at a minimum - other platforms are desirable, but a solution must be 
> available for macOS and windows (need not be the SAME solution as long as the 
> same result is achieved). Also, any solution needs to be local and not 
> require a server based service.
> 
> Thoughts? Ideas?
> 
> 
> ___
> 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: What happens if an Indy license renews these days?

2022-03-19 Thread Matthias Rebbe via use-livecode
Andre,
didn‘t you get an email from LC some time ago.

If i recall it correctly then the Indy license was transitioned to a Pro 
license but you keep your „old“ subscription price.

Matthias

Von meinem iPad gesendet

> Am 19.03.2022 um 17:26 schrieb Andre Garzia via use-livecode 
> :
> 
> Hi Folks,
> 
> My Indy license is up for renewal on Monday and given the new licensing
> scheme, I have no idea what will happen if I let it renew. Anyone has a
> clue?
> 
> -- 
> https://www.andregarzia.com 
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
> ___
> 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: Excel Lib 1.4

2022-03-18 Thread matthias rebbe via use-livecode
zryip.thes...@gmail.com <mailto:zryip.thes...@gmail.com>



> Am 18.03.2022 um 23:04 schrieb Bob Sneidar via use-livecode 
> :
> 
> Does anyone have zryip's email? For whatever reason it's not in my address 
> book, and his web page for submitting issues did not cc me when I submitted a 
> request, so I do not think that is working. 
> 
> Bob S
> 
> 
>> On Mar 17, 2022, at 09:47 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> I have v1.4, not sure about the licensing. I will contact zryip presently. 
>> Meanwhile I was able to create a separate version of Excel_Lib. I just 
>> tested it and it works. 
>> 
>> Bob S
>> 
>> 
>>> On Mar 17, 2022, at 09:39 , matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> Are you using the open source or the commercial version?
>>> If i am not wrong then only the commercial license is available as 1.5 and 
>>> the open source license is 1.2 or so.
>>> 
>>> If you have the commercial license then you can download the most current 
>>> version using the username and password that Zryip should have submitted to 
>>> you.
>>> If you do not have those credentials, you could send an email to 
>>> zryip.thes...@gmail.com <mailto:zryip.thes...@gmail.com> and ask him to get 
>>> access to the download area for the commercial lib.
>>> He normally replies quickly.
>>> 
>>> Regards,
>>> 
>>> Matthisa
>>> 
>>> 
>>>> Am 17.03.2022 um 16:48 schrieb Bob Sneidar via use-livecode 
>>>> :
>>>> 
>>>> Also if anyone has version 1.5 of the library, would it be possible to 
>>>> send that to me off list? 
>>>> 
>>>> Bob S
>>>> 
>>>> 
>>>>> On Mar 17, 2022, at 08:43 , Bob Sneidar via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> Does anyone use Excel_Lib? How do you get it to work?? Opening the 
>>>>> documentation stack loads the necessary libraries and stacks, but the 
>>>>> actual library is a substack of the documentation stack! Also, there are 
>>>>> handlers which call on the PROPERTIES of that stack! So I cannot just 
>>>>> copy the code out to a script only stack! 
>>>>> 
>>>>> This would mean I would have to include the entire documentation stack in 
>>>>> my stackfiles for any project that uses it. That doesn't seem right to 
>>>>> me. 
>>>>> 
>>>>> Bob S
>>>>> 
>>>>> 
>>>>>> On Mar 16, 2022, at 17:26 , Bob Sneidar  
>>>>>> wrote:
>>>>>> 
>>>>>> Wow. The excel_lib I need is actually a substack of the documentation 
>>>>>> stack! Wh???
>>>>>> 
>>>>>> Bob S
>>>>>> 
>>>>> 
>>>>> 
>>>>> ___
>>>>> 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 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: Solution for how to allow LC 9.6.6 and up standalones to control other apps in macOS - was:Excel_Lib on Mac

2022-03-18 Thread matthias rebbe via use-livecode
I think those problems  are with newer macOS versions that come with those new 
privacy settings.


> Am 18.03.2022 um 22:30 schrieb Bob Sneidar via use-livecode 
> :
> 
> Of course, I am running MacOS 10.7.2. YMMV
> 
> Bob S
> 
> 
>> On Mar 18, 2022, at 14:28 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> I might beg to differ. I created an app with 9.6.7 rc2 after giving it 
>> permissions to control Excel for Mac. After building the standalone, it has 
>> no problems sending Apple Events to Excel for Mac. 
>> 
>> I will double check later. 
>> 
>> Bob S
>> 
>> 
>>> On Mar 18, 2022, at 12:17 , matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> First of all there is a bug report already. Unfortunately LC stuff is not 
>>> able to reproduce the problem. 
>>> But there a some users who reported that it is not possible in LC 9.6.6 and 
>>> up to control an other app from within a LC script using Apple script if 
>>> the app was not already listed under Livecode  in System 
>>> preferences/Security/Automation. For whatever reason there was not 
>>> the typical security pop up asking for confirmation. 
>>> 
>>> As a workaround it is possible to run the stack first with LC 9.6.3. With 
>>> that version the dialog pops up and the user can confirm. After that the 
>>> stack works also with 9.6.6 and up and is able to control that other app.
>>> 
>>> But what about standalones created with LC 9.6.6 and up? They will not show 
>>> up the dialog.
>> 
>> 
>> ___
>> 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: Solution for how to allow LC 9.6.6 and up standalones to control other apps in macOS - was:Excel_Lib on Mac

2022-03-18 Thread matthias rebbe via use-livecode
Please let me correct, i did not submit that report, i just commented to it. 
Tim Bobo submitted it.




> Am 18.03.2022 um 21:48 schrieb Richard Gaskin via use-livecode 
> :
> 
> 
> Thank you for submitting that report, Matthias.
> 
> Those of us who do consulting understand that there's been a huge transition 
> over the last several years away from custom development of complete systems 
> to integrating between existing systems.
> 
> On macOS, AppleScript plays a key role in integration.
> 
> Given the state of the market for tools like LC, anything that makes it 
> easier to use LC in an integration role bodes well for us, the company, and 
> end-users alike.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> 
> 
> 
> Matthias wrote:
>> Ups, forgot to add the link to the bug report
>> https://quality.livecode.com/show_bug.cgi?id=23576
>>> Am 18.03.2022 um 20:17 schrieb matthias rebbe via use-livecode 
>>> :
>>> First of all there is a bug report already. Unfortunately LC stuff is not 
>>> able to reproduce the problem. But there a some users who reported that it 
>>> is not possible in LC 9.6.6 and up to control an other app from within a LC 
>>> script using Apple script if the app was not already listed under Livecode  
>>> in System preferences/Security/Automation. For whatever reason 
>>> there was not the typical security pop up asking for confirmation. As a 
>>> workaround it is possible to run the stack first with LC 9.6.3. With that 
>>> version the dialog pops up and the user can confirm. After that the stack 
>>> works also with 9.6.6 and up and is able to control that other app.
>>> But what about standalones created with LC 9.6.6 and up? They will not show 
>>> up the dialog.
>>> To get this working, the standalones need some additional information in 
>>> the info.plist and they need to be code signed with entitlements. At least 
>>> with the entitlement
>>> com.apple.security.automation.apple-events
>>> So after you've created the macOS standalone you have to modify the 
>>> info.plist of that standalone and then you have to codesign it with 
>>> entitlements. After that your app created with 9.6.6 will show that 
>>> security dialog.
>>> Is that easy? No.
>>> I've solved it this way as a workaround, so i do not have to do this 
>>> manually after each standalone building process.
>>> 1. I created a folder 'entitlements' in the folder   'My 
>>> Livecode/resources/'
>>> 2. I copied an entitlements file into that folder and named it 
>>> 'entitlements.plist'.
>>> My entitlements.plist file contains all entitlements as suggested by 
>>> the following lesson.  
>>> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps
>>> 3. I edited the sample info.plist file in the Livecode App bundle  
>>> Livecode...app/Contents/Tools/Runtime/Mac OS 
>>> X/x86-64/Standalone.app/Contents/info.plist
>>>   I added the following two lines to it
>>> NSAppleEventsUsageDescription
>>> This app needs permission to use Apple Script
>>> I placed it directly under the line
>>>  This app requires permission to access your Media 
>>> Library
>>> 4. I edited the stack script of the stack revSaveAsStandalone, better said 
>>> i modified the handler performAdHocCodesign pAppBundle
>>> I commented out the line put "codesign --deep -f -s -" && quote & 
>>> pAppBundle & quote into tShell
>>> and put the following lines after that line
>>> if there is a file 
>>> revEnvironmentUserResourcesPath()&"/entitlements/entitlement.plist"
>>> then
>>> put "codesign --deep --entitlements" && quote 
>>> ()&"/entitlements/entitlement.plist" & 
>>> Quote && "-f -s -" && quote & pAppBundle & quote into tShell
>>> else
>>> put "codesign --deep -f -s -" && quote & pAppBundle & quote into tShell
>>> end if
>>> Now when i create a macOS standalone the standalone contains the needed 
>>> information in the info.plist and LC does an adhoc codesigning, as it did 
>>> before, but now with entitlements.
>>> With this created app the security dialog pops up right away.
>>> If i want, for whatever reason, to create an macOS without that 
>>> modification, then i just have to rename my entitlements.plist file and LC 
>>> does the n

Re: Solution for how to allow LC 9.6.6 and up standalones to control other apps in macOS - was:Excel_Lib on Mac

2022-03-18 Thread matthias rebbe via use-livecode
Ups, forgot to add the link to the bug report

https://quality.livecode.com/show_bug.cgi?id=23576

> Am 18.03.2022 um 20:17 schrieb matthias rebbe via use-livecode 
> :
> 
> First of all there is a bug report already. Unfortunately LC stuff is not 
> able to reproduce the problem. 
> But there a some users who reported that it is not possible in LC 9.6.6 and 
> up to control an other app from within a LC script using Apple script if the 
> app was not already listed under Livecode  in System 
> preferences/Security/Automation. For whatever reason there was not 
> the typical security pop up asking for confirmation. 
> 
> As a workaround it is possible to run the stack first with LC 9.6.3. With 
> that version the dialog pops up and the user can confirm. After that the 
> stack works also with 9.6.6 and up and is able to control that other app.
> 
> But what about standalones created with LC 9.6.6 and up? They will not show 
> up the dialog.
> 
> To get this working, the standalones need some additional information in the 
> info.plist and they need to be code signed with entitlements. At least with 
> the entitlement 
>   com.apple.security.automation.apple-events
> 
> So after you've created the macOS standalone you have to modify the 
> info.plist of that standalone and then you have to codesign it with 
> entitlements. After that your app created with 9.6.6 will show that security 
> dialog.
> 
> Is that easy? No.
> 
> I've solved it this way as a workaround, so i do not have to do this manually 
> after each standalone building process.
> 
> 
> 1. I created a folder 'entitlements' in the folder   'My Livecode/resources/'
> 
> 2. I copied an entitlements file into that folder and named it 
> 'entitlements.plist'.
>   My entitlements.plist file contains all entitlements as suggested by 
> the following lesson. 
>   
> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps
> 
> 3. I edited the sample info.plist file in the Livecode App bundle  
> Livecode...app/Contents/Tools/Runtime/Mac OS 
> X/x86-64/Standalone.app/Contents/info.plist
>I added the following two lines to it
>   NSAppleEventsUsageDescription
>   This app needs permission to use Apple Script
> 
> I placed it directly under the line
>   This app requires permission to access your Media 
> Library
> 
> 4. I edited the stack script of the stack revSaveAsStandalone, better said i 
> modified the handler performAdHocCodesign pAppBundle
> 
> I commented out the line 
> put "codesign --deep -f -s -" && quote & pAppBundle & quote into tShell
> and put the following lines after that line
> 
> if there is a file 
> revEnvironmentUserResourcesPath()&"/entitlements/entitlement.plist"
> 
> then
> 
> put "codesign --deep --entitlements" && quote 
> ()&"/entitlements/entitlement.plist" & Quote 
> && "-f -s -" && quote & pAppBundle & quote into tShell
> 
> else
> 
> put "codesign --deep -f -s -" && quote & pAppBundle & quote into tShell
> 
> end if
> 
> 
> Now when i create a macOS standalone the standalone contains the needed 
> information in the info.plist and LC does an adhoc codesigning, as it did 
> before, but now with entitlements.
> With this created app the security dialog pops up right away.
> If i want, for whatever reason, to create an macOS without that modification, 
> then i just have to rename my entitlements.plist file and LC does the normal 
> adhoc code signing as it did before.
> 
> The above steps 3 and 4 have to be done for each LC edition that does have 
> this 'problem'. But if you are like me then you need to do this only for the 
> most current version.
> 
> 
> Hope this helps the one or other.
> 
> Matthias
> 
> ___
> 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


Solution for how to allow LC 9.6.6 and up standalones to control other apps in macOS - was:Excel_Lib on Mac

2022-03-18 Thread matthias rebbe via use-livecode
First of all there is a bug report already. Unfortunately LC stuff is not able 
to reproduce the problem. 
But there a some users who reported that it is not possible in LC 9.6.6 and up 
to control an other app from within a LC script using Apple script if the app 
was not already listed under Livecode  in System 
preferences/Security/Automation. For whatever reason there was not the 
typical security pop up asking for confirmation. 

As a workaround it is possible to run the stack first with LC 9.6.3. With that 
version the dialog pops up and the user can confirm. After that the stack works 
also with 9.6.6 and up and is able to control that other app.

But what about standalones created with LC 9.6.6 and up? They will not show up 
the dialog.

To get this working, the standalones need some additional information in the 
info.plist and they need to be code signed with entitlements. At least with the 
entitlement 
com.apple.security.automation.apple-events

So after you've created the macOS standalone you have to modify the info.plist 
of that standalone and then you have to codesign it with entitlements. After 
that your app created with 9.6.6 will show that security dialog.

Is that easy? No.

I've solved it this way as a workaround, so i do not have to do this manually 
after each standalone building process.


1. I created a folder 'entitlements' in the folder   'My Livecode/resources/'

2. I copied an entitlements file into that folder and named it 
'entitlements.plist'.
My entitlements.plist file contains all entitlements as suggested by 
the following lesson. 

https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps

3. I edited the sample info.plist file in the Livecode App bundle  
Livecode...app/Contents/Tools/Runtime/Mac OS 
X/x86-64/Standalone.app/Contents/info.plist
I added the following two lines to it
NSAppleEventsUsageDescription
This app needs permission to use Apple Script
  
 I placed it directly under the line
   This app requires permission to access your Media 
Library

4. I edited the stack script of the stack revSaveAsStandalone, better said i 
modified the handler performAdHocCodesign pAppBundle

I commented out the line 
put "codesign --deep -f -s -" && quote & pAppBundle & quote into tShell
and put the following lines after that line

if there is a file 
revEnvironmentUserResourcesPath()&"/entitlements/entitlement.plist"

then

put "codesign --deep --entitlements" && quote 
()&"/entitlements/entitlement.plist" & Quote && 
"-f -s -" && quote & pAppBundle & quote into tShell

else

put "codesign --deep -f -s -" && quote & pAppBundle & quote into tShell

end if


Now when i create a macOS standalone the standalone contains the needed 
information in the info.plist and LC does an adhoc codesigning, as it did 
before, but now with entitlements.
With this created app the security dialog pops up right away.
If i want, for whatever reason, to create an macOS without that modification, 
then i just have to rename my entitlements.plist file and LC does the normal 
adhoc code signing as it did before.

The above steps 3 and 4 have to be done for each LC edition that does have this 
'problem'. But if you are like me then you need to do this only for the most 
current version.


Hope this helps the one or other.

Matthias

___
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: Compiler Funding Options Update

2022-03-18 Thread Matthias Rebbe via use-livecode
Me,too. About 8 hrs ago. 

Von meinem iPhone gesendet

> Am 18.03.2022 um 17:44 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi Tom,
> 
>> Am 18.03.2022 um 17:39 schrieb Tom Glod via use-livecode 
>> :
>> 
>> Tony B on the FB group said that the funding goal was reached, I don't know
>> how he knows that, but I doubt he is just making it up.
>> Does anyone know where we can confirm the status?
> 
> yes, I received a mail from "sa...@livecode.com" telling me "You did it!" :-)
> 
> 
> 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: Excel Lib 1.4

2022-03-17 Thread matthias rebbe via use-livecode
Are you using the open source or the commercial version?
If i am not wrong then only the commercial license is available as 1.5 and the 
open source license is 1.2 or so.

If you have the commercial license then you can download the most current 
version using the username and password that Zryip should have submitted to you.
If you do not have those credentials, you could send an email to 
zryip.thes...@gmail.com  and ask him to get 
access to the download area for the commercial lib.
He normally replies quickly.

Regards,

Matthisa


> Am 17.03.2022 um 16:48 schrieb Bob Sneidar via use-livecode 
> :
> 
> Also if anyone has version 1.5 of the library, would it be possible to send 
> that to me off list? 
> 
> Bob S
> 
> 
>> On Mar 17, 2022, at 08:43 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Does anyone use Excel_Lib? How do you get it to work?? Opening the 
>> documentation stack loads the necessary libraries and stacks, but the actual 
>> library is a substack of the documentation stack! Also, there are handlers 
>> which call on the PROPERTIES of that stack! So I cannot just copy the code 
>> out to a script only stack! 
>> 
>> This would mean I would have to include the entire documentation stack in my 
>> stackfiles for any project that uses it. That doesn't seem right to me. 
>> 
>> Bob S
>> 
>> 
>>> On Mar 16, 2022, at 17:26 , Bob Sneidar  wrote:
>>> 
>>> Wow. The excel_lib I need is actually a substack of the documentation 
>>> stack! Wh???
>>> 
>>> Bob S
>>> 
>> 
>> 
>> ___
>> 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: :MEMORY: databases and Windows

2022-03-16 Thread matthias rebbe via use-livecode
You don't have to... ;)

I assume you wrote :MEMORY: in capital letters, right.

Write it in lower letters  :memory: and it should work. I just tested it 
successfully with :memory:



> Am 16.03.2022 um 22:54 schrieb Bob Sneidar via use-livecode 
> :
> 
> OK I'll open a bug report. 
> 
> Bob S
> 
> 
>> On Mar 16, 2022, at 14:51 , matthias rebbe via use-livecode 
>>  wrote:
>> 
>> I just tested under Win in the IDE, it does not work there either.
>> 
>> Error message is   'Database Error: Unable to open the database file'
>> 
>> 
>> 
>>> Am 16.03.2022 um 22:32 schrieb Tom Glod via use-livecode 
>>> :
>>> 
>>> Whats the error message you get when you check the result of
>>> databaseconnect?
>>> ___
>>> 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


Re: :MEMORY: databases and Windows

2022-03-16 Thread matthias rebbe via use-livecode
I just tested under Win in the IDE, it does not work there either.

Error message is   'Database Error: Unable to open the database file'



> Am 16.03.2022 um 22:32 schrieb Tom Glod via use-livecode 
> :
> 
> Whats the error message you get when you check the result of
> databaseconnect?
> ___
> 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: :MEMORY: databases and Windows

2022-03-16 Thread matthias rebbe via use-livecode
Which LC version are you using?

Does it work in the Windows IDE? 

Did it work already in the past with other LC editions?

There are some things that do not work on single platforms after  the big 
rework on the LC DB drivers in v7 in general.
E.g. ODBC connection strings on macOS do not work anymore since v7, but still 
work on Windows.

Maybe this does not work on Windows, although it works on Mac. 
But that is just a guess.




> Am 16.03.2022 um 22:09 schrieb Bob Sneidar via use-livecode 
> :
> 
> Hi all. 
> 
> I have a simple app that creates a :MEMORY: sqLite database, then populates 
> it with some small bit of data. On the Mac in the IDE it works fine, but in a 
> Windows standalone, it fails to create the database. I have manually included 
> the sqLite and database libraries in the standalone settings. What else do I 
> require? 
> 
> Bob S
> 
> 
> ___
> 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: Excel_Lib on Mac

2022-03-16 Thread matthias rebbe via use-livecode
Standalones built with 9.6.6 and at least 10 dp1 and dp2 (i did not test 9.67) 
won't run.
On your computer they would run if you set the bundle identifier under MacOS in 
the standalone settings to com.runrev.livecode. ;) 

There is a bug already for a similar problem. Unfortunately the LC team could 
not reproduce it. But i added a comment with some instructions how to reset the 
privacy settings so they could test and see that there is a problem with 9.6.6 
and up.

https://quality.livecode.com/show_bug.cgi?id=23576 
<https://quality.livecode.com/show_bug.cgi?id=23576>




> Am 16.03.2022 um 16:18 schrieb Bob Sneidar via use-livecode 
> :
> 
> I have older versions of Livecde still, I should give that a try. I wonder 
> what happens then when I use it in a compiled app? We shall see. 
> 
> Bob S
> 
> 
>> On Mar 16, 2022, at 05:35 , matthias rebbe via use-livecode 
>>  wrote:
>> 
>> I tried with a sample stack here with Livecode 10 and had the exact problem.
>> 
>> I then tried Livecode 9.6.3 and got a macOS system pop up with the following 
>> message
>> LiveCode Business 9.6.3.app“ möchte Zugriffsrechte, um „Microsoft Excel.app“ 
>> zu steuern. Durch die Erlaubnis zum Steuern kann auf Dokumente und Daten in 
>> „Microsoft Excel.app“ zugegriffen werden und Aktionen können in dieser App 
>> durchgeführt werden.
>> 
>> something like this in English:
>> Livecode Business... wants to have access rights to control Microsfot Excel 
>> app. By granting access documents and data in Microsoft Excel.app can be 
>> accessed and actions can be done.
>> 
>> After confirming/allowing  Livecode was listed under Automation in System 
>> Preferences -> Security
>> 
>> And the funny part of this is, that not LC 9.6.3 is listed now under 
>> Automation, but LC 10 DP2. 
>> 
>> I tested then with 9.6.3 and with 10DP and it works now in both editions.
>> 
>> 
>> Matthias
>> 
>> 
>> 
>> 
>> 
>>> Am 15.03.2022 um 22:50 schrieb Bob Sneidar via use-livecode 
>>> :
>>> 
>>> Hi all. 
>>> 
>>> I am trying to incorporate Excel_Lib into a project. There is a command to 
>>> open a spreadsheet with Excel on a Mac, and ONLY Macs can use this command. 
>>> It looks however like the library works with Windows too. 
>>> 
>>> My issue is that I am getting an error, "XCELLibErr: Not authorized to send 
>>> Apple events to Microsoft Excel." So first, is there an easy way, like a 
>>> shell command to do this? And then if not, is using this library dependent 
>>> on Apple events on a Mac? 
>>> 
>>> Bob S
>>> 
>>> ___
>>> 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


Re: Excel_Lib on Mac

2022-03-16 Thread matthias rebbe via use-livecode
I tried with a sample stack here with Livecode 10 and had the exact problem.

I then tried Livecode 9.6.3 and got a macOS system pop up with the following 
message
LiveCode Business 9.6.3.app“ möchte Zugriffsrechte, um „Microsoft Excel.app“ zu 
steuern. Durch die Erlaubnis zum Steuern kann auf Dokumente und Daten in 
„Microsoft Excel.app“ zugegriffen werden und Aktionen können in dieser App 
durchgeführt werden.

something like this in English:
Livecode Business... wants to have access rights to control Microsfot Excel 
app. By granting access documents and data in Microsoft Excel.app can be 
accessed and actions can be done.

After confirming/allowing  Livecode was listed under Automation in System 
Preferences -> Security

And the funny part of this is, that not LC 9.6.3 is listed now under 
Automation, but LC 10 DP2. 

I tested then with 9.6.3 and with 10DP and it works now in both editions.


Matthias





> Am 15.03.2022 um 22:50 schrieb Bob Sneidar via use-livecode 
> :
> 
> Hi all. 
> 
> I am trying to incorporate Excel_Lib into a project. There is a command to 
> open a spreadsheet with Excel on a Mac, and ONLY Macs can use this command. 
> It looks however like the library works with Windows too. 
> 
> My issue is that I am getting an error, "XCELLibErr: Not authorized to send 
> Apple events to Microsoft Excel." So first, is there an easy way, like a 
> shell command to do this? And then if not, is using this library dependent on 
> Apple events on a Mac? 
> 
> Bob S
> 
> ___
> 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: Excel_Lib on Mac

2022-03-16 Thread matthias rebbe via use-livecode
Andreas,

where did you get 1.5.3 from?  I have still 1.5.0 and in the download section 
for the commercial version of the library there is still 1.5.0 and not 1.5.3. 
Hm

Matthisa

> Am 16.03.2022 um 12:29 schrieb Andreas Bergendal via use-livecode 
> :
> 
> I’m confused - we’re talking Excel Lib by Zryip TheSlug, right?
> 
> I’m using v.1.5.3, and it works very well for opening/editing Excel files on 
> my Mac (12.2 Monterery, Excel 16.59, LC9.6.7 rc1).
> I can’t remember if at first use I had to grant some permissions of some 
> kind, but now it works without a hitch. Using AppleScript if understand 
> correctly. (On Mac I only tried it from the IDE, though, not a standalone.)
> 
> On Windows it works fine in a standalone too, where it uses vsbscript.
> 
> Bob wrote:
>> The Macintosh can no longer send apple events to Excel, or indeed any other 
>> Microsoft product [...]
> 
> We’re does this info come from? My Mac seems to disagree… :)
> 
> Best,
> Andreas
> ___
> 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: Windows EXE with browser about 160 MB?

2022-03-14 Thread matthias rebbe via use-livecode
I would say, this is because Microsoft did not embed CEF into Windows. 

So if you customers are asking why, tell them "because they are using Windows" 
and if they want to use a smaller download file they should use macOS. ;) 

I for myself would not have a problem with a download size of 170MB for a 
program i want to use. Compared to Adobe, MS Office and other programs, 170MB 
are not worth moaning about 

But that's my opinion.

Matthias

> Am 13.03.2022 um 18:14 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi all,
> 
> I just created a Windows EXE from my stack and was shocked to see
> that the resulting folder is 150 MB (32 bit) resp. 170 MB (64 bit)!?
> 
> I thought the Windows version of the browser widget would also "hook"
> somehow into the system web engine like the Mac version does, but 
> obviously I was wrong... :-/
> 
> How can we make a good case for this to our customers? 8-) 
> I just want to display PDF files, not the whole internet.
> 
> Too bad LC does not sell the PDF widget separately...
> 
> 
> 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: Windows 11 incompatible?

2022-03-13 Thread matthias rebbe via use-livecode
I've created a small sample Windows app and created 3 standalones using 
different settings in standalone settings for UAC execution level
With 'Default' and 'Same As Invoker' no message comes up running that app on 
Win 11, but with UAC execution level set to 'Highest Available' i get this 
message. Pressing Yes button to "allow any changes" opens the app without a 
problem.



> Am 13.03.2022 um 23:04 schrieb matthias rebbe via use-livecode 
> :
> 
> 
> By the way that question comes normally from the UAC (user account control) 
> prompt. 
> What UAC level did you select in LCs standalone settings under the Windows 
> Tab?
> 
> 
> 
>> Am 13.03.2022 um 22:38 schrieb J. Landman Gay via use-livecode 
>> :
>> 
>> I'm not sure, but I think it's a Windows 11 update released very recently 
>> within the last few days, and a few students have installed it. They say the 
>> app won't launch. Windows asks if the user wants to let it make changes to 
>> the computer, they click Yes, then nothing happens.
>> 
>> We think one student uninstalled and re-installed, and then it worked, but 
>> we're not sure about that either. The student asked if data would be lost if 
>> they uninstalled (no, it wouldn't) and after that the server started 
>> recording data from the student.
>> 
>> We can test ourselves tomorrow but I thought I'd find out if anyone else had 
>> an issue.
>> 
>> On 3/13/22 3:34 PM, Colin Holgate via use-livecode wrote:
>>> You should check for an update, I’m on 22572.100, maybe that’s the update 
>>> that showed a problem?
>>>> On Mar 13, 2022, at 2:27 PM, matthias rebbe via use-livecode 
>>>>  wrote:
>>>> 
>>>> What do you mean with new Windows 11 update? The update from 10 or lower 
>>>> to 11 or from 11.xxx whatever build to a newer one?
>>>> 
>>>> I have here Windows 11 Build 22563, that's an insider preview build, 
>>>> installed and opening/running an LC standalone, created with LC 9.6.2, was 
>>>> not a problem.
>>>> 
>>>> Regards,
>>>> Matthias
>>>> 
>>>> 
>>>>> Am 13.03.2022 um 20:31 schrieb J. Landman Gay via use-livecode 
>>>>> :
>>>>> 
>>>>> We're getting reports that our LC app won't launch after the new Windows 
>>>>> 11 update. Anyone else seeing this? If so, do you know what the problem 
>>>>> is?
>>>>> 
>>>>> -- 
>>>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>>>> HyperActive Software   | http://www.hyperactivesw.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
>>>> 
>>>> 
>>>> ___
>>>> 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
>> 
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.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
> 
> 
> ___
> 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: Windows 11 incompatible?

2022-03-13 Thread matthias rebbe via use-livecode

By the way that question comes normally from the UAC (user account control) 
prompt. 
What UAC level did you select in LCs standalone settings under the Windows Tab?



> Am 13.03.2022 um 22:38 schrieb J. Landman Gay via use-livecode 
> :
> 
> I'm not sure, but I think it's a Windows 11 update released very recently 
> within the last few days, and a few students have installed it. They say the 
> app won't launch. Windows asks if the user wants to let it make changes to 
> the computer, they click Yes, then nothing happens.
> 
> We think one student uninstalled and re-installed, and then it worked, but 
> we're not sure about that either. The student asked if data would be lost if 
> they uninstalled (no, it wouldn't) and after that the server started 
> recording data from the student.
> 
> We can test ourselves tomorrow but I thought I'd find out if anyone else had 
> an issue.
> 
> On 3/13/22 3:34 PM, Colin Holgate via use-livecode wrote:
>> You should check for an update, I’m on 22572.100, maybe that’s the update 
>> that showed a problem?
>>> On Mar 13, 2022, at 2:27 PM, matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> What do you mean with new Windows 11 update? The update from 10 or lower to 
>>> 11 or from 11.xxx whatever build to a newer one?
>>> 
>>> I have here Windows 11 Build 22563, that's an insider preview build, 
>>> installed and opening/running an LC standalone, created with LC 9.6.2, was 
>>> not a problem.
>>> 
>>> Regards,
>>> Matthias
>>> 
>>> 
>>>> Am 13.03.2022 um 20:31 schrieb J. Landman Gay via use-livecode 
>>>> :
>>>> 
>>>> We're getting reports that our LC app won't launch after the new Windows 
>>>> 11 update. Anyone else seeing this? If so, do you know what the problem is?
>>>> 
>>>> -- 
>>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>>> HyperActive Software   | http://www.hyperactivesw.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
>>> 
>>> 
>>> ___
>>> 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
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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


___
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: Windows 11 incompatible?

2022-03-13 Thread matthias rebbe via use-livecode
What do you mean with new Windows 11 update? The update from 10 or lower to 11 
or from 11.xxx whatever build to a newer one?

I have here Windows 11 Build 22563, that's an insider preview build, installed 
and opening/running an LC standalone, created with LC 9.6.2, was not a problem.

Regards,
Matthias


> Am 13.03.2022 um 20:31 schrieb J. Landman Gay via use-livecode 
> :
> 
> We're getting reports that our LC app won't launch after the new Windows 11 
> update. Anyone else seeing this? If so, do you know what the problem is?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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


___
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: revOpenDatabase over SSH tunnel?

2022-03-10 Thread matthias rebbe via use-livecode
Danke. ;) 


> Am 10.03.2022 um 23:00 schrieb Niggemann, Bernd via use-livecode 
> :
> 
> There are two sentences in german:
> 
> Folgenden Befehl in der Kommandozeile des Win10 PCs ausführen:
> 
> Run the following command on the command line of the Win10 PC:
> 
> 
> 
> Bei dem „Vordergrund“ Befehl, sieht man nur einen blinkenden Cursor. Bei dem 
> „Hintergrund“ Befehl erscheint ein neuer Prompt.
> 
> With the "Foreground" command, you only see a flashing cursor. With the 
> "Background" command, a new prompt appears.
> 
> (Automatic translation courtesy MacOs)
> 
> Kind regards
> Bernd
> ___
> 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: revOpenDatabase over SSH tunnel?

2022-03-10 Thread matthias rebbe via use-livecode
Here's a link to the english version of the instructions. 
If you find wrong expression or wrong grammar please let me know, so i can fix 
it.

https://dl.qck.nu/?dl=SSH_Port_Forwarding.pdf 
<https://dl.qck.nu/?dl=SSH_Port_Forwarding.pdf>

Regards,

Matthias

> Am 10.03.2022 um 16:51 schrieb matthias rebbe via use-livecode 
> :
> 
> Yes of course. I will post a link to it here in the list.
> If time allows i will also create a Livecode Lesson.
> 
> Matthias
> 
> 
>> Am 10.03.2022 um 16:45 schrieb Glen Bojsza via use-livecode 
>> :
>> 
>> I would be interested in this guide if possible.
>> 
>> Will you be willing to share?
>> 
>> regards,
>> 
>> Glen
>> 
>> On Thu, Mar 10, 2022 at 10:32 AM matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi,
>>> 
>>> I've used SSH tunneling in the past to connect SQLPro Studio with remote
>>> MySQL databases, but never with LC.
>>> 
>>> And although i was pretty sure that it will work with LC, i just did a
>>> quick test with LC to be 100 percent sure.
>>> 
>>> Yes it's possible.
>>> 
>>> I have created a small quick start guide for Windows some weeks ago, but
>>> unfortunately that is in German.
>>> 
>>> I could translate that to English and add some additional information for
>>> macOS. But it would take 1 or 2 days.
>>> 
>>> If you could wait i could send you that guide.
>>> 
>>> Regards,
>>> 
>>> Matthias
>>> 
>>>> Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode <
>>> use-livecode@lists.runrev.com>:
>>>> 
>>>> 
>>>> I need to access a (MySQL) database on a remote service - which has to
>>> be done over an SSH tunnel.
>>>> 
>>>> Has anyone done this in LiveCode? Is it trivial/possible/impossible?
>>>> 
>>>> 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
> 
> 
> ___
> 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: revOpenDatabase over SSH tunnel?

2022-03-10 Thread matthias rebbe via use-livecode
You are right.

You invoke the SSH in a terminal on that machine that shall communicate with 
the MySQL database on a remote server.
LC then connects  to itself (127.0.01) using the port you've used in the  
command for ssh connection, in my example 6102.
That's it.

As more and more servers do not allow remote MySQL access due to security 
restrictions, SSH tunneling or a solution like the one Bob has created are the 
only way. Whereby the SSH tunneling would allow a real direct communication. 
Which one is better, i do not know. It depends on the needs of the customer and 
also what software is available.




> Am 10.03.2022 um 19:11 schrieb Ben Rubinstein via use-livecode 
> :
> 
> Yes, my case is that the database is on a hosted platform which only supports 
> access over SSH.
> 
> My reading of your document, Matthias, is that we simply invoke SSH in a 
> terminal, and then LiveCode/revOpenDatabase uses that tunnel automatically 
> because the database host is at the same address. Can that be right? Or does 
> this only work with LiveCode server?
> 
> Ben
> 
> On 10/03/2022 16:42, matthias rebbe via use-livecode wrote:
>> There is nothing wrong with your method. But there might be situations where 
>> you need direct access to the MySQL database, e.g. you are using 3rd party 
>> software (in my case SQLPro Studio) or libraries. I have a customer who is 
>> using a special Delphi library that only supports direct connections.
>> Okay that is not the case when using Livecode. But there might be servers 
>> that do not run Livecode Server. In this case you cannot use your solution.
>> In this case SSH tunneling would be a safe solution.
>>> Am 10.03.2022 um 17:14 schrieb Bob Sneidar via use-livecode 
>>> :
>>> 
>>> I am not sure what SSH tunneling is, but I did a proof of concept where I 
>>> had an LC client app communicating with an LC server app that encrypted the 
>>> data at the client end before sending it, and the server end decrypted it. 
>>> I just used non-secured sockets. I used AES encryption with a key only I 
>>> know, and a method for corrupting the data in a way only the server can 
>>> "cleanse".
>>> 
>>> I suppose some may advise me on what is wrong with this method, and I 
>>> welcome the input, but it worked for me. No unencrypted data went "over the 
>>> wire".
>>> 
>>> The reason I developed this method is because I do not want to deal with 
>>> expiring security certificates or secure websites to handle the data 
>>> transfer. The method works out of the box.
>>> 
>>> Bob S
>>> 
>>> 
>>>> On Mar 10, 2022, at 03:34 , Ben Rubinstein via use-livecode 
>>>>  wrote:
>>>> 
>>>> 
>>>> I need to access a (MySQL) database on a remote service - which has to be 
>>>> done over an SSH tunnel.
>>>> 
>>>> Has anyone done this in LiveCode? Is it trivial/possible/impossible?
>>>> 
>>>> 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
> 
> ___
> 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: revOpenDatabase over SSH tunnel?

2022-03-10 Thread matthias rebbe via use-livecode
There is nothing wrong with your method. But there might be situations where 
you need direct access to the MySQL database, e.g. you are using 3rd party 
software (in my case SQLPro Studio) or libraries. I have a customer who is 
using a special Delphi library that only supports direct connections.

Okay that is not the case when using Livecode. But there might be servers that 
do not run Livecode Server. In this case you cannot use your solution. 
In this case SSH tunneling would be a safe solution.



> Am 10.03.2022 um 17:14 schrieb Bob Sneidar via use-livecode 
> :
> 
> I am not sure what SSH tunneling is, but I did a proof of concept where I had 
> an LC client app communicating with an LC server app that encrypted the data 
> at the client end before sending it, and the server end decrypted it. I just 
> used non-secured sockets. I used AES encryption with a key only I know, and a 
> method for corrupting the data in a way only the server can "cleanse". 
> 
> I suppose some may advise me on what is wrong with this method, and I welcome 
> the input, but it worked for me. No unencrypted data went "over the wire". 
> 
> The reason I developed this method is because I do not want to deal with 
> expiring security certificates or secure websites to handle the data 
> transfer. The method works out of the box. 
> 
> Bob S
> 
> 
>> On Mar 10, 2022, at 03:34 , Ben Rubinstein via use-livecode 
>>  wrote:
>> 
>> 
>> I need to access a (MySQL) database on a remote service - which has to be 
>> done over an SSH tunnel.
>> 
>> Has anyone done this in LiveCode? Is it trivial/possible/impossible?
>> 
>> 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: revOpenDatabase over SSH tunnel?

2022-03-10 Thread matthias rebbe via use-livecode
Ben,
i've sent it to you.

If there are questions regarding macOS, just ask. I will post a link to the 
updated english version here in the list.

Regards,
Matthias


> Am 10.03.2022 um 16:52 schrieb Ben Rubinstein via use-livecode 
> :
> 
> Hi Matthias,
> 
> That is (a) good news and (b) very kind!
> 
> Or if it's easier, I have a German colleague - less technical skills, but 
> excellent language skills - if you sent me the guide in German, I could ask 
> her to have a go at translating it. (I'd still be very interested in the 
> macOS additional info though.)
> 
> Many thanks,
> 
> Ben
> 
> 
> On 10/03/2022 15:31, matthias rebbe via use-livecode wrote:
>> Hi,
>> I've used SSH tunneling in the past to connect SQLPro Studio with remote 
>> MySQL databases, but never with LC.
>> And although i was pretty sure that it will work with LC, i just did a quick 
>> test with LC to be 100 percent sure.
>> Yes it's possible.
>> I have created a small quick start guide for Windows some weeks ago, but 
>> unfortunately that is in German.
>> I could translate that to English and add some additional information for 
>> macOS. But it would take 1 or 2 days.
>> If you could wait i could send you that guide.
>> Regards,
>> Matthias
>>> Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode 
>>> :
>>> 
>>> 
>>> I need to access a (MySQL) database on a remote service - which has to be 
>>> done over an SSH tunnel.
>>> 
>>> Has anyone done this in LiveCode? Is it trivial/possible/impossible?
>>> 
>>> 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


___
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: revOpenDatabase over SSH tunnel?

2022-03-10 Thread matthias rebbe via use-livecode
Yes of course. I will post a link to it here in the list.
If time allows i will also create a Livecode Lesson.

Matthias


> Am 10.03.2022 um 16:45 schrieb Glen Bojsza via use-livecode 
> :
> 
> I would be interested in this guide if possible.
> 
> Will you be willing to share?
> 
> regards,
> 
> Glen
> 
> On Thu, Mar 10, 2022 at 10:32 AM matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi,
>> 
>> I've used SSH tunneling in the past to connect SQLPro Studio with remote
>> MySQL databases, but never with LC.
>> 
>> And although i was pretty sure that it will work with LC, i just did a
>> quick test with LC to be 100 percent sure.
>> 
>> Yes it's possible.
>> 
>> I have created a small quick start guide for Windows some weeks ago, but
>> unfortunately that is in German.
>> 
>> I could translate that to English and add some additional information for
>> macOS. But it would take 1 or 2 days.
>> 
>> If you could wait i could send you that guide.
>> 
>> Regards,
>> 
>> Matthias
>> 
>>> Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode <
>> use-livecode@lists.runrev.com>:
>>> 
>>> 
>>> I need to access a (MySQL) database on a remote service - which has to
>> be done over an SSH tunnel.
>>> 
>>> Has anyone done this in LiveCode? Is it trivial/possible/impossible?
>>> 
>>> 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


___
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: revOpenDatabase over SSH tunnel?

2022-03-10 Thread matthias rebbe via use-livecode
Hi,

I've used SSH tunneling in the past to connect SQLPro Studio with remote MySQL 
databases, but never with LC.

And although i was pretty sure that it will work with LC, i just did a quick 
test with LC to be 100 percent sure.

Yes it's possible. 

I have created a small quick start guide for Windows some weeks ago, but 
unfortunately that is in German.

I could translate that to English and add some additional information for 
macOS. But it would take 1 or 2 days.

If you could wait i could send you that guide.

Regards,

Matthias

> Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode 
> :
> 
> 
> I need to access a (MySQL) database on a remote service - which has to be 
> done over an SSH tunnel.
> 
> Has anyone done this in LiveCode? Is it trivial/possible/impossible?
> 
> 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


Re: Have we lost the Oracle driver?

2022-03-03 Thread matthias rebbe via use-livecode
LC with licensed pro features has native Oracle support. So Oracle should be 
the correct keyword.

And as Ben already stated he has pro feature licenesed and want to use the 
built in Oracle drivers.


> Am 03.03.2022 um 23:45 schrieb Bob Sneidar via use-livecode 
> :
> 
> ODBC is the driver type. Are you trying to use Oracle as the driver type? 
> 
> Bob S
> 
> 
>> On Mar 3, 2022, at 09:14 , Ben Rubinstein via use-livecode 
>>  wrote:
>> 
>> Hi Panos,
>> 
>> Alas, that's made no difference.
>> 
>> Does this error message "revdberr,invalid database type" actually indicate a 
>> failure to load the driver, or can it also occur if the driver was loaded 
>> but there were issues initialising it, or some other issues connecting to 
>> the given server and database?
>> 
>> Is there any other detail of errors available anywhere (I looked at the 
>> Console but there is just a continual tide of reports in that, so I couldn't 
>> spot anything)?
>> 
>> Thanks again,
>> 
>> 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


Re: Have we lost the Oracle driver?

2022-03-01 Thread matthias rebbe via use-livecode
I just had a quick look at the LC externals/database  and the 
runtime/externals/database folders. There are still dboracle... files in it.
So at least the drivers are there.


Matthias


> Am 01.03.2022 um 16:24 schrieb Ben Rubinstein via use-livecode 
> :
> 
> A long time ago I used to access Oracle directly from a LiveCode app.
> 
> For some years now I've only done this via ODBC, though I don't recall why 
> that changed.
> 
> The Dictionary entry for revOpenDatabase lists five variants ("mysql", 
> "odbc",  "sqlite", "postgresql", "oracle"); but the User Guide (p. 303) lists 
> three plus ODBC.
> 
> Now I'm trying to access an Oracle database directly again (in the IDE), and 
> when my code hits
>   revOpenData("oracle", )
> 
> it breaks into the debugger as if there was a breakpoint on that statement - 
> there isn't; it switches to but the "Errors" tab says "No errors found".
> 
> However after 'stepping', it halts altogether and the errors tab says
> 
>   execution error at line n/a (External handler execution error: 
> revdberr,driver not licensed for this edition)
> 
> As I understand it there is now only one edition (with a buffet of deployment 
> platforms), the Standard Plan, and my account says that I have a "LiveCode 
> Professional" license (I admit that I am thoroughly confused about plans, 
> licenses etc). Oracle isn't mentioned in the "Pro Feature Pack" either.
> 
> Is Oracle supported? If so what do I need to do to access that?
> 
> 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


Re: Into the future

2022-02-28 Thread matthias rebbe via use-livecode
Bob, 

with which version of LC did you see this?

I had a look at the most current dp version of 10. If LC would require a 
certificate then there should be somewhere in the standalone settings a area 
where one could select an appropriate certificate.  But that is not the case.

What LC does for some time now when creating a macOS standalone is doing an 
ad-hoc code signing. Please do not ask me what that is, ;)
but  this kind of code signing seems not to require a certificate.
The ad-hoc code signing is done in the stack 
revsaveasstandalone.livecodescript.  Search for 'private command 
performAdHocCodesign'

So there might some other problem and LC does come up with a misleading error 
message.

Matthias





> Am 28.02.2022 um 19:52 schrieb Bob Sneidar via use-livecode 
> :
> 
> Hi Klaus. 
> 
> Actually the new LC versions do not create the standalone without those 
> certificates. That is the error dialog I get. If there is a way to disable 
> that feature that would be great! 
> 
> Bob S
> 
> 
>> On Feb 28, 2022, at 10:18 , Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Hi Bob,
>> 
>>> Am 28.02.2022 um 18:18 schrieb Bob Sneidar via use-livecode 
>>> :
>>> 
>>> Okay, so I am at the point that I cannot build apps without codesigning and 
>>> notarizing. Livecode will throw an error now if I try and don't have these 
>>> certificates installed. Great. 
>>> 
>>> So I have been going through the tutorial, and I see I have to be an Apple 
>>> Developer, which means I have to shell out yet another $100 per year. Fine, 
>>> I did that, even though my app is for internal consumption only. 
>>> 
>>> Now It appears that for me to get the certificates needed to create a Mac 
>>> standalone, I need xCode! Okay, I go to download xCode, and it will not 
>>> install because my MacOS is too old! 10.15.1 is apparently ancient! So I am 
>>> at the point now where I am asking myself, is this really worth it? After 
>>> all the back and forth on the list where people's certificates expire, or 
>>> the version of xCode they are forced to use isn't compatible with one thing 
>>> or another, is building Mac standalones really worth it? 
>>> 
>>> So my question is, do I really have to go through all this just to create a 
>>> Mac standalone from livecode? Or do these other utilities, 
>>> mrSignNotarizeHelperV3 for example, eliminate the need for all of that? 
>>> 
>>> Bob S
>> 
>> you can still create a standalone with LC without any certificate etc.!
>> 
>>> ...even though my app is for internal consumption only. 
>> 
>> 
>> But your user(s) need to check -> Allow downloads from: Appstore and trusted 
>> developers
>> In the macOS system settings -> Security
>> 
>> And after the they need to right-click your app and select "Open..." from 
>> the context menu
>> and confirm once or twice that they really want to open that app.
>> 
>> After that they can doubleclick the app furthermore like the used to.
>> 
>> 
>> 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: 25% Discount coupon for my LiveCode eBooks

2022-02-16 Thread matthias rebbe via use-livecode
Andre,

please excuse me for talking about this here in the use list.

I've sent you an email a few days ago regarding redownloading your books and 
tools which were purchased through Sendowl and about another topic.
Didn't you get it?

Regards,
Matthias


> Am 16.02.2022 um 22:12 schrieb Andre Garzia via use-livecode 
> :
> 
> Hi Friends,
> 
> Just created a 25% discount coupon for my LiveCode books if anyone here
> wants them:
> 
> *TTPE2027YE*
> 
> This coupon is valid just until the end of the week, so grab them fast.
> 
> - Developmented Oriented Development eBook: https://payhip.com/b/18eH
> 
> - LiveCode Advanced Application Architecture eBook:
> https://payhip.com/b/I1Un
> 
> Cheers
> A
> 
> -- 
> https://www.andregarzia.com 
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
> ___
> 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: Script Compiler - One More Question

2022-02-10 Thread matthias rebbe via use-livecode
Isn't that a question you should ask the people of Livecode Ltd. directly?

> Am 10.02.2022 um 17:31 schrieb Curry Kenworthy via use-livecode 
> :
> 
> 
> Script Compiler - One More Question:
> 
> After the survey there was an email "Your Questions Answered."
> I put a concern in the survey, just without a question mark!
> 
> (And I don't recall any survey directions specifying
> that concerns/comments should be worded as questions.)
> 
> It's easy to add a question mark:
> 
> Deja vu of LC 7. Big new changes + new engineers = LOTS OF BUGS! After all 
> these years, we are just recently starting to turn the tide on LC 6-9 bugs. 
> How do you plan to avoid a repeat of the LC 7 bug onslaught?*
> 
> Knowing that would help me decide my level of interest/support.
> Good project if such problems can be avoided; and vice versa.
> 
> * The proposed changes also deeply involve the non-compiled engine;
> to clarify, I'm primarily concerned about the non-compiled product.
> (All the more so, since it's impacted whether we use compiler or not!)
> 
> Thanks!
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Custom Software Development
> "Better Methods, Better Results"
> Innovative Christian 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


___
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: Notarize Helper Stack in LC lesson updated

2022-02-10 Thread matthias rebbe via use-livecode
Hi Camm,

Could it be that both standalones have the same Bundle Identifier 
(NSBundleIdentifier). You can find the value in LC's standalone settings ->Mac 
at the bottom.
Seems that not the Bundle Name but the Bundle Identifier is responsible for 
that relocation behaviour.

More information could be found here
https://scriptingosx.com/2017/05/relocatable-package-installers-and-quickpkg-update/

Regards,
Matthias



> Am 09.02.2022 um 23:35 schrieb General 2018 via use-livecode 
> :
> 
> One more slight issue …
> 
> I have 2 apps with standalone CFBundleNames :-
> 
> Myapp 1.0.0 Free
> 
> Myapp 2.0.0
> 
> Though they have different CFBundleNames they will not install on the same 
> machine.
> Delete either and one installs fine to Applications.
> 
> Any CF settings conflict or still issue with above names ?
> 
> Regards Camm
> 
>> On 9 Feb 2022, at 21:56, General 2018 via use-livecode 
>>  wrote:
>> 
> ___
> 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: Notarize Helper Stack in LC lesson updated

2022-02-08 Thread Matthias Rebbe via use-livecode
What i forgot.

You could open console.app and open the install log. There you could see where 
the app was installed or better said which app was updated/overwritten.
You should find an entry like this

PackageKit: Applications/MyTest.app relocated to 
... 

Just search for 'relocated' and you should see what happened.

And please be aware. The app that is updated/overwritten is not determined by 
the its file name, but by the bundle name (CFBundelName) you've entered in the 
standalone settings.

Let's say we have MyNewSampleApp.app and its CFBundleName is for example 
'MySampleApp' and we've created an pkg installer from it. And we have another 
app on the hard disk named 'MyOldSampleApp' which also has the CFBundleName 
'MySampleApp'.
If you then run the pkg installer then chances are high that the file 
'MyOldSampleApp' is overwritten instead of  a new file 'MyNewSampleApp.app' is 
written into Applications folder.

There are ways to avoid this and tell the package installer to not relocate, 
but therefore the pkg building command in mrNotarizeHelper stack had to be 
adjusted. Unfortunately i have currently not enough time to dive into that.


Regards,
Matthias


Von meinem iPhone gesendet

> Am 09.02.2022 um 00:48 schrieb matthias rebbe via use-livecode 
> :
> 
> Camm,
> 
> if i am not completely  wrong then this is a problem that can occur when you 
> try the pkg installer on the same machine on which you've created it.
> If the installer finds the same .app already somewhere on the hard disk it 
> updates that app and does not install it into Applications folder.
> 
> So the best thing is to test the installer on an other machine. Or you could 
> try the following:
> After successful notarizing delete the app bundle of your standalone (you 
> could make a zip file as backup first) and empty your trash. Make sure that 
> there is no other copy of your .app even older ones. If there are others then 
> delete them also and empty the trash.
> 
> Now try to run the .pkg installer. The app should now be installed in 
> Applications folder.
___
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: Notarize Helper Stack in LC lesson updated

2022-02-08 Thread matthias rebbe via use-livecode
Camm,

if i am not completely  wrong then this is a problem that can occur when you 
try the pkg installer on the same machine on which you've created it.
If the installer finds the same .app already somewhere on the hard disk it 
updates that app and does not install it into Applications folder.

So the best thing is to test the installer on an other machine. Or you could 
try the following:
After successful notarizing delete the app bundle of your standalone (you could 
make a zip file as backup first) and empty your trash. Make sure that there is 
no other copy of your .app even older ones. If there are others then delete 
them also and empty the trash.

Now try to run the .pkg installer. The app should now be installed in 
Applications folder.

Matthias


> Am 08.02.2022 um 22:23 schrieb General 2018 via use-livecode 
> :
> 
> Hi ,
> 
> Just a question on the .pkg install location.
> 
> When I execute the .pkg made by mrSign the installer completes okay but I 
> cannot find app ? not in /Applications or anywhere.
> 
> If I use 3rd party “Packages” to make a .pkg it’s installs app to 
> /Applications.
> 
> Any clue ? 
> 
> Regards Camm
> 
>> On 3 Feb 2022, at 22:17, matthias rebbe via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Hi Camm,
>> 
>> great to hear that you were able to successfully notarize.
>> 
>> Regards,
>> Matthias
>> 
>> 
>>> Am 03.02.2022 um 21:54 schrieb General 2018 via use-livecode 
>>> :
>>> 
>>> Update >>>> Success.
>>> 
>>> Tried everything, then read a post that pointed to :-
>>> Apple Worldwide Developer Relations Certification Authority Cert
>>> Developer ID Certification Authority Cert
>>> 
>>> In Keychain my existing expired 2027, I downloaded and installed the latest 
>>> expiring 2030/2031 - re run mrSign and notarization success.
>>> 
>>> Status = Success 0 
>>> Status Code = Pac 
>>> Status Message = Age Approved
>>> 
>>> Regards
>>> Camm
>>> 
>>>>> On 29 Jan 2022, at 22:41, matthias rebbe via use-livecode 
>>>>>  wrote:
>>>> 
>>>> Hm, interesting. Seems to be a problem with a wrong or missing timestamp. 
>>>> So maybe adding --timestamp parameter will fix this.
>>>> 
>>>> Could you please change the following lines in the stack script of the 
>>>> NotarizeHelper stack and try again after that?
>>>> 
>>>> 
>>>> line 904
>>>> put "codesign --deep --force --verify --verbose --sign 
>>>> ##developerIDApplication## --options runtime  --entitlements 
>>>> ##entitlementsplist## ##myapp##" into tShell
>>>> with this line
>>>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>>>> ##developerIDApplication## --options runtime  --entitlements 
>>>> ##entitlementsplist## ##myapp##" into tShell
>>>> 
>>>> 
>>>> 
>>>> line 908
>>>> put "codesign --deep --force --verify --verbose --sign 
>>>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>>>> with
>>>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>>>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>>>> 
>>>> line 953
>>>> put "codesign --deep --force --verify --verbose --sign 
>>>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>>>> with
>>>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>>>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>>>> 
>>>> 
>>>>> Am 29.01.2022 um 22:17 schrieb General 2018 via use-livecode 
>>>>> :
>>>>> 
>>>>> Tried all these, result the same.
>>>>> 
>>>>> In show “Notarization requests” for each :-
>>>>> 
>>>>> Status = invalid 2
>>>>> Status Code = Pac
>>>>> Status Message = age invalid
>>>>> 
>>>>> Regards Camm
>>>>> 
>>>>>>> On 29 Jan 2022, at 20:37, matthias rebbe via use-livecode 
>>>>>>>  wrote:
>>>>>> 
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev

Re: tmAlign is now available on gitHub

2022-02-08 Thread matthias rebbe via use-livecode
More powerful, more options


> Am 08.02.2022 um 21:05 schrieb J. Landman Gay via use-livecode 
> :
> 
> On 2/8/22 12:32 PM, Bob Sneidar via use-livecode wrote:
>> Awesome. I really like TMAlign. Scott was/is brilliant.
> 
> No question, Scott is amazing. How does tmAlign differentiate itself from 
> LC's built-in capabilites?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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


___
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: Notarize Helper Stack in LC lesson updated

2022-02-03 Thread matthias rebbe via use-livecode
Hi Camm,

great to hear that you were able to successfully notarize.

Regards,
Matthias


> Am 03.02.2022 um 21:54 schrieb General 2018 via use-livecode 
> :
> 
> Update >>>> Success.
> 
> Tried everything, then read a post that pointed to :-
> Apple Worldwide Developer Relations Certification Authority Cert
> Developer ID Certification Authority Cert
> 
> In Keychain my existing expired 2027, I downloaded and installed the latest 
> expiring 2030/2031 - re run mrSign and notarization success.
> 
> Status = Success 0 
> Status Code = Pac 
> Status Message = Age Approved
> 
> Regards
> Camm
> 
>> On 29 Jan 2022, at 22:41, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hm, interesting. Seems to be a problem with a wrong or missing timestamp. 
>> So maybe adding --timestamp parameter will fix this.
>> 
>> Could you please change the following lines in the stack script of the 
>> NotarizeHelper stack and try again after that?
>> 
>> 
>> line 904
>> put "codesign --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime  --entitlements 
>> ##entitlementsplist## ##myapp##" into tShell
>> with this line
>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime  --entitlements 
>> ##entitlementsplist## ##myapp##" into tShell
>> 
>> 
>> 
>> line 908
>> put "codesign --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>> with
>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>> 
>> line 953
>> put "codesign --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>> with
>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>> 
>> 
>>> Am 29.01.2022 um 22:17 schrieb General 2018 via use-livecode 
>>> :
>>> 
>>> Tried all these, result the same.
>>> 
>>> In show “Notarization requests” for each :-
>>> 
>>> Status = invalid 2
>>> Status Code = Pac
>>> Status Message = age invalid
>>> 
>>> Regards Camm
>>> 
>>>>> On 29 Jan 2022, at 20:37, matthias rebbe via use-livecode 
>>>>>  wrote:
>>>> 
>>> ___
>>> 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


Re: 9.6.6 build errors

2022-02-01 Thread matthias rebbe via use-livecode
Mark,

where are you saving the standalone to?
Any chance that the target folder is on iCloud drive. E.g. Desktop or Documents 
folder?

I had similar problems in the past when i built the standalone directly on the 
Desktop or Documents folder which were both synchronized with iCloud Drive. I 
just cannot remember the correct error message. Sometimes the build process was 
successful and sometimes it was aborted.
I could solve this to select a target folder outside of iCloud Drive.
Btw. building the standalone in a Dropbox folder works w/o problems.

Matthias

> Am 01.02.2022 um 11:47 schrieb Mark Smith via use-livecode 
> :
> 
> Hi Panos,
> 
> I did not change anything between attempts, just one right after the other. I 
> guess I was observing this in RC2 and just persisted and it seemed to work on 
> the 2nd or 3rd attempt. For good measure I just took the same stack and was 
> able to build and install two more times without incident so it’s definitely 
> not a repeatable problem and as yet I have no formula or hypothesis as to 
> what might be causing it. I’ll keep an eye on it and log any similar problems 
> I run across. 
> 
> Mark
> 
> 
>> On Feb 1, 2022, at 10:23 AM, panagiotis m via use-livecode 
>>  wrote:
>> 
>> Hello Mark,
>> 
>> I have not seen this before. Did anything change in your stack (used a
>> different provisioning profile or changed anything in the iOS settings) or
>> in the iOS device until the successful 3rd attempt?
>> 
>> I cannot remember of anything that we changed in the 9.6.6 release cycle
>> that could have caused this behavior.
>> 
>> Kind regards,
>> Panos
>> 
>> On Tue, 1 Feb 2022 at 12:14, Mark Smith via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I just wanted to flag this issue. I am currently using the new release
>>> version of 9.6.6 although I did have similar problems with RC2 as well.
>>> This morning I took a stack I had previously built and successfully
>>> installed (using Development/Test Target -> iPhone) and tried installing
>>> it. The first time the app went through what appeared to be all the build
>>> steps but did not install the app. The 2nd time it went through all of the
>>> steps and then reported “Unknown Error” and the 3rd time it built and
>>> installed the app correctly. I’ve not noticed behaviour like this in
>>> previous versions. At the moment I have no hypothesis about what might be
>>> going on.
>>> 
>>> Mark
>>> 
>>> 
>>> ___
>>> 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


Re: Notarize Helper Stack in LC lesson updated

2022-01-29 Thread matthias rebbe via use-livecode
Hm, interesting. Seems to be a problem with a wrong or missing timestamp. So 
maybe adding --timestamp parameter will fix this.

Could you please change the following lines in the stack script of the 
NotarizeHelper stack and try again after that?


line 904
put "codesign --deep --force --verify --verbose --sign 
##developerIDApplication## --options runtime  --entitlements 
##entitlementsplist## ##myapp##" into tShell
with this line
put "codesign --timestamp --deep --force --verify --verbose --sign 
##developerIDApplication## --options runtime  --entitlements 
##entitlementsplist## ##myapp##" into tShell



line 908
put "codesign --deep --force --verify --verbose --sign 
##developerIDApplication## --options runtime ##myapp##" into tShell
with
put "codesign --timestamp --deep --force --verify --verbose --sign 
##developerIDApplication## --options runtime ##myapp##" into tShell

line 953
put "codesign --deep --force --verify --verbose --sign 
##developerIDApplication## --options runtime ##myDMG##" into tShell
with
put "codesign --timestamp --deep --force --verify --verbose --sign 
##developerIDApplication## --options runtime ##myDMG##" into tShell


> Am 29.01.2022 um 22:17 schrieb General 2018 via use-livecode 
> :
> 
> Tried all these, result the same.
> 
> In show “Notarization requests” for each :-
> 
> Status = invalid 2
> Status Code = Pac
> Status Message = age invalid
> 
> Regards Camm
> 
>> On 29 Jan 2022, at 20:37, matthias rebbe via use-livecode 
>>  wrote:
>> 
> ___
> 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: Notarize Helper Stack in LC lesson updated

2022-01-29 Thread matthias rebbe via use-livecode
Camm,

another thing you could try is to replace the line which creates the zip file.

In the stack script of the NotarizeHelper replace this line (line no. 1569)
put "zip -r ##zipfile## ##appbundle##" into tShell

with this one

put "zip -y -r ##zipfile## ##appbundle##" into tShell


or if that does not solve it, replace  the line with the following one and try 
again.

put "/usr/bin/ditto -c -k --sequesterRsrc --keepParent ##zipfile## 
##appbundle##" into tShell

Matthias



> Am 29.01.2022 um 21:19 schrieb matthias rebbe via use-livecode 
> :
> 
> 
> Did you add any files to the standalone (application bundle) after you've 
> created it with LC?
> In this thread https://developer.apple.com/forums/thread/116831 
> <https://developer.apple.com/forums/thread/116831>  someone points out that 
> this error can be caused when nested code is in a wrong location.
> 
> Look here for the part about nested code:
> https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG201
>  
> <https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG201>
> 
> Btw. Which version of macOS are you using? And with which version of LC did 
> you build the standalone?
> 
> Regards,
> Matthias
> 
> 
> 
> 
> 
>> Am 29.01.2022 um 19:51 schrieb General 2018 via use-livecode 
>> :
>> 
>> signature of the binary is invalid”
> 
> ___
> 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: Notarize Helper Stack in LC lesson updated

2022-01-29 Thread matthias rebbe via use-livecode

Did you add any files to the standalone (application bundle) after you've 
created it with LC?
In this thread https://developer.apple.com/forums/thread/116831 
  someone points out that 
this error can be caused when nested code is in a wrong location.

Look here for the part about nested code:
https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG201
 


Btw. Which version of macOS are you using? And with which version of LC did you 
build the standalone?

Regards,
Matthias





> Am 29.01.2022 um 19:51 schrieb General 2018 via use-livecode 
> :
> 
> signature of the binary is invalid”

___
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


Notarize Helper Stack in LC lesson updated

2022-01-27 Thread matthias rebbe via use-livecode
For those who are interested, i've uploaded a new version of the Notarize 
Helper stack to the Livecode lesson 
https://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore

The direct download link is 
https://media.screensteps.com/attachment_assets/assets/005/023/860/original/mrSignNotarizeHelperV3.livecode


Regards,
Matthias
___
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: Sharing a desktop app, or with beta testers

2022-01-27 Thread matthias rebbe via use-livecode
William,

i just tried in a Monterey VM

the syntax 
pw=YourPassword; echo $pw | sudo -S ... works here as long as i do not have 
a $ sign in my password.

The problem seems to be that the dollar sign is a special character in shell. I 
am not a shell expert, but i've read that strings that contain dollar signs has 
to be in single quotes.

I've putted the password in single quotes and it worked then altough it 
contained the dollar sign.

I will adjust the sample stack.

Regards,
Matthias





> Am 27.01.2022 um 12:01 schrieb matthias rebbe via use-livecode 
> :
> 
> As i have still 11.6.2 installed i cannot test, if this might be something 
> Monterey specific.
> I am currently downloading Monterey and will install it onto a VM, so i could 
> test. But the 12GB take some time to download.
> 
> There is a free tool available from Late Night Software called SD Notary, 
> which also does the needed steps to get a notarized app.
> https://latenightsw.com/sd-notary-notarizing-made-easy/ 
> <https://latenightsw.com/sd-notary-notarizing-made-easy/>
> 
> Maybe you try that .
> 
> Regards,
> Matthias
> 
> 
>> Am 27.01.2022 um 02:06 schrieb William Prothero via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Matthias:
>> I tried the command in the shell
>> It didn’t work as shown in the status field.
>> I then switched to superuser, with the password, and it ran the following 
>> without complaint.
>> xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev 
>> Projects/1-AA-Current Projects/PT_Explorer 
>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>> Explorer.app"
>> 
>> Weird: I entered the command as you suggested below, and it asked for a 
>> password, as expected. BUT, it didn’t recognize the password I put in. Then 
>> I just did an SU command, it asked for the password and recognized my 
>> password. Then the action worked. I’m on OS 12.1 (Apple).
>> 
>> My shell password has a dollar sign, 2 numbers and 2 capital letters. Could 
>> that be the problem?
>> 
>> —This is the shell/terminal text:
>> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
>> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>> Explorer.app"
>> Password:
>> Sorry, try again.
>> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
>> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>> Explorer.app"
>> Password:
>> Sorry, try again.
>> 
>> But this worked:
>> WProtherosMBP4:~ prothero$ su
>> Password:
>> sh-3.2# 
>> 
>> I changed the shell pw to all lower case alphabetical letters. Same 
>> issue.When I entered the shell first, entering the same password, it worked. 
>> The command below didn’t. It asked me for the password and when I entered 
>> it, it refused. Hmm.. odd.
>> WProtherosMBP4:~ prothero$ sudo -S  xattr -cr "/Users/prothero/Oceanography 
>> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>> Explorer.app"
>> Password:
>> Sorry, try again.
>> Password:
>> Sorry, try again.
>> Password:
> 
> ___
> 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: pssst tmControl2 is now OSS

2022-01-27 Thread matthias rebbe via use-livecode
The file in my plugin folder was date 27.01 1:38am. After removing both folder 
and file and copying the files again from your repo, the error does not come up 
anymore.

But another one, see my reply. Seems there is something wrong with the LAZR2 
theme.

> Am 27.01.2022 um 14:11 schrieb Mike Kerner via use-livecode 
> :
> 
> Matthias,
> Check the reply I made on the issue you raised: The version that Scott
> uploaded had some old bugs in it. I sent him the fixes, but I don't know if
> he included them. The repo should have those bugs squashed.
> ___
> 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: pssst tmControl2 is now OSS

2022-01-27 Thread matthias rebbe via use-livecode
That are great news.

I used tmControl and tmControl2 in a lot of projects at the time it was still 
maintained. 
I am still using tmAlign regularly. 

I would love to see a version 3 of tmControl, but could only help testing.

Regards
Matthias

> Am 27.01.2022 um 01:51 schrieb Mike Kerner via use-livecode 
> :
> 
> At long last, Scott Rossi has released the amazing tmControl2 under the BSD
> license, including a number of themes that I, at least, had not seen,
> before.
> Now, thanks to Scott's generosity, everyone in liveCode land can use tmc2
> to build more beautiful interfaces and controls.
> * I have a repo with a number of updates/bug fixes up at
> https://github.com/macMikey/tmControl
> * The original is available at https://tmtools.tactilemedia.com.
> * If anyone else falls in love with, or is already in love with tmc2, I
> would love to talk to you about what we can do to make it better - tmc3.
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> 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: Sharing a desktop app, or with beta testers

2022-01-27 Thread matthias rebbe via use-livecode
As i have still 11.6.2 installed i cannot test, if this might be something 
Monterey specific.
I am currently downloading Monterey and will install it onto a VM, so i could 
test. But the 12GB take some time to download.

There is a free tool available from Late Night Software called SD Notary, which 
also does the needed steps to get a notarized app.
https://latenightsw.com/sd-notary-notarizing-made-easy/ 


Maybe you try that .

Regards,
Matthias


> Am 27.01.2022 um 02:06 schrieb William Prothero via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Matthias:
> I tried the command in the shell
> It didn’t work as shown in the status field.
> I then switched to superuser, with the password, and it ran the following 
> without complaint.
> xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev 
> Projects/1-AA-Current Projects/PT_Explorer 
> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
> Explorer.app"
> 
> Weird: I entered the command as you suggested below, and it asked for a 
> password, as expected. BUT, it didn’t recognize the password I put in. Then I 
> just did an SU command, it asked for the password and recognized my password. 
> Then the action worked. I’m on OS 12.1 (Apple).
> 
> My shell password has a dollar sign, 2 numbers and 2 capital letters. Could 
> that be the problem?
> 
> —This is the shell/terminal text:
> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
> Explorer.app"
> Password:
> Sorry, try again.
> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
> Explorer.app"
> Password:
> Sorry, try again.
> 
> But this worked:
> WProtherosMBP4:~ prothero$ su
> Password:
> sh-3.2# 
> 
> I changed the shell pw to all lower case alphabetical letters. Same 
> issue.When I entered the shell first, entering the same password, it worked. 
> The command below didn’t. It asked me for the password and when I entered it, 
> it refused. Hmm.. odd.
> WProtherosMBP4:~ prothero$ sudo -S  xattr -cr "/Users/prothero/Oceanography 
> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
> Explorer.app"
> Password:
> Sorry, try again.
> Password:
> Sorry, try again.
> Password:

___
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: Sharing a desktop app, or with beta testers

2022-01-26 Thread matthias rebbe via use-livecode
William,
did you try to run that line from shell? Just as a test?
Is it executed then without a problem?



> Am 26.01.2022 um 23:28 schrieb William Prothero via use-livecode 
> :
> 
> pw=x39AB$rp; echo $pw | sudo -S xattr -cr "/Users/prothero/Oceanography 
> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer
> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
> Explorer.app"


Or could you try to execute this line here from shell
> sudo -S xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev 
> Projects/1-AA-Current Projects/PT_Explorer 
> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
> Explorer.app"
You then should be asked for the sudo password. Is that working?

I am using here an alpha numeric password. I did not test with any symbols or 
umlauts. So maybe if your pw contains such special characters this might not be 
working or maybe macOS 12 is not accepting to pass the password usingecho.

To be honest i only tried with macOS up to 11.6.2.

If you want, we can discuss this further by private email. Use my list email 
first and i reply from my normal office email then. But not today. I need some 
sleep.

Regards,
Matthias
___
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: Sharing a desktop app, or with beta testers

2022-01-26 Thread matthias rebbe via use-livecode
This situation does not only  affect Livecode, but all development tools. Even 
Xcode.
To get your programs trusted by macOS you need to sign and notarize. There is 
little that can be done about it.

We can either accept it  or stop developing for macOS.

Of course it would be great if the standalone building process would include 
the option to code sign and notarize right after building the standalone. Or if 
at least the Livecode Ide would have a plugin that would allow us to do the 
whole process directly from Livecode.

But currently we have to do it manual.

I am not sure if you tried already my Notarize Helper Stack, which does all 
needed steps for code signing and notarizing. The stack is far from being 
perfect and everyone is welcomed to optimize it, but at least it works.
You just have to enter some information (Developer ID, passwords and other 
information) once. After that you can use it to code sign and notarize your 
Livecode standalones.
I did not try it under macOS12 so far, but did not hear about any problems 
about it yet.

You can find it here in the lesson about code signing and noterizing
https://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore



> Am 26.01.2022 um 21:39 schrieb Keith Martin :
> 
> f only it was easier to do. 
> I've actually stopped using LC much because the process of making apps that 
> people can run without fuss has become ridiculous. I'm still hoping for a 
> solution that isn't so aggressively hostile! The current situation feels like 
> a direct threat to LiveCode the company, as it must be putting off more than 
> a few people from becoming or staying customers.
> 

___
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: Sharing a desktop app, or with beta testers

2022-01-26 Thread matthias rebbe via use-livecode
If you have an Apple Developer Account membership you could code sign and 
notarize your app. 
This should prevent the security issue.

Regards,
Matthias

> Am 26.01.2022 um 20:29 schrieb William Prothero via use-livecode 
> :
> 
> Folks:
> Sorry for this question which probably has been answered many times, but …. 
> I’m trying not to waste my day searching around.
> 
> What’s the best way to send a desktop app on Apple OS 12.1 to a friend or 
> beta tester? I sent an app and a security issue came up.
> 
> Thanks,
> Bill P
> 
> William A. Prothero, Ph.D.
> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> ___
> 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: Browser widget - follow redirects setting?

2022-01-26 Thread matthias rebbe via use-livecode
Keith,

what happens, if you set the URL of the browser widget to tURL?

I tried here both "set the url..." and also "launch URL ... in widget.." with 
an online Shop. I tried to launch the account page. In both cases i was 
redirected to the login page.
The only thing i noticed is, that the URL of the widget kept to be the URL of 
the account page although  the login page was opened/displayed.

Regards,
Matthias

> Am 26.01.2022 um 12:24 schrieb Keith Clarke via use-livecode 
> :
> 
> Hi folks,
> Is there any hidden / undocumented setting for the Browser widget that will 
> allow it to follow redirects?
> 
> Using launch URL tURL opens the default browser on my machine and - if I’m 
> not logged into the server - redirects to a login page, the address of which 
> I can see in the browser’s address bar.
> 
> However, launch URL tURL in widget "Browser” doesn’t redirect and 
> subsequently put the URL of widget  “Browser" shows tURL unchanged.
> 
> Am I missing a trick?
> Best,
> Keith
> ___
> 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: tsNet Gmail Email

2022-01-23 Thread matthias rebbe via use-livecode
Rick,

please let me add something

If you have 2FA enabled for your Google Account you can create an app specific 
password
https://myaccount.google.com/apppasswords 


You then use the app password instead of your "normal" google password with 
tsNet

If you don't have 2FA enabled for your account then you can enable the option 
"google security non secure apps allow"
If that option is enabled, then you use your normal google password with tsNet.

> Am 23.01.2022 um 21:23 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi there,
> 
> I just tried out email using the tsNet LiveCode lesson
> that was updated on 8/17/2020.
> 
> I ran into an error (67) when trying to send using Gmail.
> 
> Google has updated their security for 3rd party Apps, and 
> now you need to use an App password.
> 
> How can an App password be included for a tsNet
> email when using Gmail?
> 
> Thanks,
> 
> Rick
> 
> ___
> 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: tsNet Gmail Email

2022-01-23 Thread matthias rebbe via use-livecode
Hi Rick,

the only thing that works, as far as i know, is to go to security in your 
google account and enable the option  "google security non secure apps allow".
When that option is enabled, you can use tsNet with your Google account.

Matthias

> Am 23.01.2022 um 21:23 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi there,
> 
> I just tried out email using the tsNet LiveCode lesson
> that was updated on 8/17/2020.
> 
> I ran into an error (67) when trying to send using Gmail.
> 
> Google has updated their security for 3rd party Apps, and 
> now you need to use an App password.
> 
> How can an App password be included for a tsNet
> email when using Gmail?
> 
> Thanks,
> 
> Rick
> 
> ___
> 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: Livecode and interactive video

2022-01-21 Thread matthias rebbe via use-livecode


> Am 21.01.2022 um 20:56 schrieb Jim Lambert via use-livecode 
> :
> 
> A quarter of a century ago, we called this Interactive Multimedia.
> It was usually delivered on a CD-ROM.   Ask your parents! ;)
> 
I remember the Philips CM205 cd-rom which was advertised in 1991 or so  as 
first multimedia cd-rom drive with so called cd-i support.
Btw. i've never seen a cd-i disc, but it felt good to know that my drive could  
have read such cds. ;) 




> ___
> 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: Livecode Server on Synology NAS with Intel cpu

2021-12-22 Thread matthias rebbe via use-livecode




> Am 22.12.2021 um 21:51 schrieb Mark Wieder via use-livecode 
> :
> 
> Sorry - my Synology server has an arm processor, and there has never been an 
> arm build of the server. Plus now it appears that the server build requires a 
> separate license.
> 
> I take it you've already been through the docs at
> https://livecode.com/resources/guides/server/

Yes, thanks Mark, i've checked the docs already

Unfortunately the folder structure/ location of the configuration files for 
Apache on the Synology are different to the description in the docs.

Anyway, it took me now the half day to get it working. 
So now LC server is working in the browser and on the command line and LC 
standalones can be run also from command line in ui mode.
That's awesome.
I will create a Livecode lesson for this, so others can get it working much 
quicker.

Matthias


___
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: New user

2021-12-22 Thread matthias rebbe via use-livecode
What i forgot to mention:
The bluetooth device needs to support this. If you have paired the Windows PC 
with a device that supports a virtual com port, then you should be able to add 
a com port in that settings and link it to that bluetooth device.



> Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode 
> :
> 
> In Windows go to Bluetooth Select "additional Bluetooth settings" or 
> something similar to that.  I am working with a german version of Windows, so 
> i do not have the exact english expression of it.
> 
> In this "additional settings" click on the tab 'Com devices' . There you can 
> add a virtual com port.
> 
> HTH
> 
> Matthias
> 
> 
>> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode 
>> :
>> 
>> I'm hopeful that General 2018 or anyone can expand on the reference to 
>> General's statement of:
>> "... Livecode has Bluetooth for Windows via VCP ..."
>> 
>> I've searched thru the forum and cannot find any references to this.  
>> Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) 
>> and is used for Serial communications (common in Arduino builds) but I've 
>> never heard it associated with Bluetooth.  If there is information regarding 
>> Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY 
>> appreciate knowing more about it! 
>> 
>> Anyone?
>> 
>> Douglas Ruisaard
>> 
>>   Trilogy Software
>> (250) 573-3935
>> 
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
>> Of General 2018 via use-livecode
>> Sent: Wednesday, December 22, 2021 3:21 AM
>> To: How to use LiveCode
>> Cc: General 2018
>> Subject: Re: New user
>> 
>> Android Bluetooth / USB would be the ideal as seems to be the most used 
>> interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS 
>> via MergeBLE.
>> 
>> Just Android needed to be cross platform in real world interfacing.
>> 
>> Regards Camm
>> 
>>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode 
>>>  wrote:
>>> 
>>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. 
>>> 
>>> Sean Cole
>>> Pi Digital Productions Ltd
>>> 
>>> eMail Ts & Cs
>>> 
>>> 
>>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode 
>>>>  wrote:
>>>> 
>>>> Just need this capability on Android - please Livecode
>>>> 
>>>> Regards Camm
>>>> 
>>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode 
>>>>>>  wrote:
>>>>> 
>>>>> Hi Alex
>>>>> Welcome!
>>>>> I've done exactly and very similar to what you are describing about 6yrs
>>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For
>>>>> lighting up miniatures of housing estates and apartment blocks. And then
>>>>> for some film miniatures for toy commercials and so on.
>>>>> 
>>>>> Once you've installed the driver for your adapter on Win10, go to the
>>>>> Device Manager, Ports and find out what COM port it's linked to (eg, 
>>>>> COM2).
>>>>> Now in LiveCode, you don't need to know the driver name to write to. Just
>>>>> use the command:
>>>>>open driver "COM2:" for write
>>>>> This sets the plane for communication. Next, you need to set up the
>>>>> settings, eg:
>>>>>set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1"
>>>>> These are actually the default settings, so do nothing if these are the
>>>>> settings you want.
>>>>> Now you just need to know the commands to send.
>>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20
>>>>>write "readall" & return to driver "COM2:"
>>>>>read from driver "COM2:" for 4 -- ie, 4 characters
>>>>> The read command immediately after the write allows it to accept the
>>>>> response from the GPIO, in this example, for 4 characters in length (to
>>>>> receive the 4 hex characters like 16AF)
>>>>> 
>>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you
>>>>> can use any device to communicate with them. We used iPad

Re: New user

2021-12-22 Thread matthias rebbe via use-livecode
In Windows go to Bluetooth Select "additional Bluetooth settings" or 
something similar to that.  I am working with a german version of Windows, so i 
do not have the exact english expression of it.

In this "additional settings" click on the tab 'Com devices' . There you can 
add a virtual com port.

HTH

Matthias


> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode 
> :
> 
> I'm hopeful that General 2018 or anyone can expand on the reference to 
> General's statement of:
> "... Livecode has Bluetooth for Windows via VCP ..."
> 
> I've searched thru the forum and cannot find any references to this.  Virtual 
> Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is 
> used for Serial communications (common in Arduino builds) but I've never 
> heard it associated with Bluetooth.  If there is information regarding 
> Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY 
> appreciate knowing more about it! 
> 
> Anyone?
> 
> Douglas Ruisaard
> 
>Trilogy Software
>  (250) 573-3935
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of General 2018 via use-livecode
> Sent: Wednesday, December 22, 2021 3:21 AM
> To: How to use LiveCode
> Cc: General 2018
> Subject: Re: New user
> 
> Android Bluetooth / USB would be the ideal as seems to be the most used 
> interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via 
> MergeBLE.
> 
> Just Android needed to be cross platform in real world interfacing.
> 
> Regards Camm
> 
>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode 
>>  wrote:
>> 
>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. 
>> 
>> Sean Cole
>> Pi Digital Productions Ltd
>> 
>> eMail Ts & Cs
>> 
>> 
>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode 
>>>  wrote:
>>> 
>>> Just need this capability on Android - please Livecode
>>> 
>>> Regards Camm
>>> 
> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode 
>  wrote:
 
 Hi Alex
 Welcome!
 I've done exactly and very similar to what you are describing about 6yrs
 ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For
 lighting up miniatures of housing estates and apartment blocks. And then
 for some film miniatures for toy commercials and so on.
 
 Once you've installed the driver for your adapter on Win10, go to the
 Device Manager, Ports and find out what COM port it's linked to (eg, COM2).
 Now in LiveCode, you don't need to know the driver name to write to. Just
 use the command:
 open driver "COM2:" for write
 This sets the plane for communication. Next, you need to set up the
 settings, eg:
 set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1"
 These are actually the default settings, so do nothing if these are the
 settings you want.
 Now you just need to know the commands to send.
 https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20
 write "readall" & return to driver "COM2:"
 read from driver "COM2:" for 4 -- ie, 4 characters
 The read command immediately after the write allows it to accept the
 response from the GPIO, in this example, for 4 characters in length (to
 receive the 4 hex characters like 16AF)
 
 And that's it pretty much. It's super easy and fun. With Wifi modules you
 can use any device to communicate with them. We used iPad mini's which made
 it super flexible.
 
 Let us all know if you run into any issues and need help.
 
 All the best
 
 Sean Cole
 *Pi Digital Productions Ltd*
 
> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way
> through a project which I think I can complete. However the project has to
> be able to communicate with an I/O board (Numato 16 channel USB GPIO 
> Module
> for example) from a Windows Standalone application. I have not been able 
> to
> find any guidance or samples for how to do this. This has led me to wonder
> if it is even possible to creat some kind of serial communication using LC
> or whether I should start over with a different platform. I am doing the 
> LC
> work using a Mac. Any help or advice would be much appreciated.
> 
> ___
> 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 

Some questions about Livecode standalones / Livecode Server on Synology NAS with Intel cpu

2021-12-21 Thread matthias rebbe via use-livecode
Hi,

is there someone on the list who is using Livecode Server on a Synology NAS 
with Intel cpu? If so, did you manage to get it working also with the webserver 
or only from command line?

Today i installed Livecode Server on my Synology NAS with Intel cpu.
I am able to run Livecode scripts from the command line. But i do not get it to 
work, that i can call LC script from my browser. I tried the .htaccess method 
to get Livecode Server running with Apache without success. I tried also to 
modify the httdp-conf file, but also without success. But that is due to a lack 
of knowledge.

I would be really grateful if someone could help me getting Livecode Server to 
work with Apache and not only from command line.


Or did someone already create a standalone with LC that could be run on the 
Synology desktop  and not only on the command line?

I am able to run 64but Unix LC standalones from the Commandline with the -ui 
switch. It was even possible to use the Synology scheduler to execute those 
standalones.
Now i am wondering how complicate it would be to package LC standalones to get 
them installed so they can be run with a gui. 

Anyone out there who works with LC standalones / LC server on Synology with 
Intel cpu?

Regards,
Matthias
___
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: New user

2021-12-21 Thread matthias rebbe via use-livecode
Hi Alex,

does the developer of the I/O board provides an SDK? Best would be of course, 
that SDK would have support for Livecode, but i assume the latter is not the 
case.
But if the developer of that board has an sdk for example with prebuilt .dll 
you could try to create a wrapper with Livecode Builder.

How is the board detected on Windows? As a serial device? If so, you could 
communicate with it through Livecode. Please have a look at 'open driver' in 
the dictionary.


Matthias




> Am 21.12.2021 um 05:33 schrieb Alex Hughson via use-livecode 
> :
> 
> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way 
> through a project which I think I can complete. However the project has to be 
> able to communicate with an I/O board (Numato 16 channel USB GPIO Module for 
> example) from a Windows Standalone application. I have not been able to find 
> any guidance or samples for how to do this. This has led me to wonder if it 
> is even possible to creat some kind of serial communication using LC or 
> whether I should start over with a different platform. I am doing the LC work 
> using a Mac. Any help or advice would be much appreciated.
> 
> ___
> 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: Windows VM's and LiveCode app's cursors

2021-12-19 Thread matthias rebbe via use-livecode
Paul,

are you sure that the user directly accesses the VM? Or is the user by any 
chance accessing that VM using some RemoteControl software like TeamViewer or 
so. I only noticed such "double" cursor (not only with LC created apps) when 
using RemoteControl tools and when i had selected that the remote cursor should 
also be shown. 


Matthias


> Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode 
> :
> 
> We have a customer who runs our LiveCode built Windows app under a VirtualBox 
> VM running Windows 10, under Manjaro Linux.
> 
> The app displays a "double cursor" (i.e if the cursor is the pointer, there 
> are 2 images of the pointer slightly offset from one another that track the 
> mouse).
> 
> I build a simple text app under LC 10.0.0dp1 that is just a window with a 
> Quit button. Built 32 and 64 bit versions with and without High DPI check box 
> checked and the customer tested them. All 4 display a double cursor.
> 
> None of the 4 test apps display a double cursor when running in Window 10 
> Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux.
> 
> I know - a fringe configuration for sure - but has anyone encountered 
> anything like this or have any idea what might cause it?
> 
> ___
> 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: [ANN] Release 10.0.0 DP-1

2021-12-14 Thread matthias rebbe via use-livecode
Mark,

i've just filed bug #23485
https://quality.livecode.com/show_bug.cgi?id=23485 


I noticed that as soon as the keyword URL is in a script, even if the line is a 
comment, the remote access, for example to set the filename of an image to a 
remote url as Kevin showed in the Webcamp presentation, does not work anymore.

Regards,

Matthias



> Am 14.12.2021 um 15:59 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote:
>> First of all thanks for the WebAssembly HTML5 implementation. This is
>> really great stuff !
>> For instance all my URL stuff (loading a stack on same domain) is
>> unfortunately not working anymore.
>> Also, all the PHP scripts which I used to access, which downloaded
>> stuff from other domains and then displayed
>> the result in the Browser don't work anymore.
>> Is this just me - or is it just not implemented yet ?
> 
> I don't think it is only you - at least one other person has mentioned on the 
> forums that their URL operations are not working either.
> 
> What url operations are you using?
> 
> The reason I ask is because the engine only has built-in support for `load 
> url` currently - the other syntax is implemented by a libURL 'driver' and I 
> have a suspicion that the latter may be currently broken.
> 
> Warmest Regards,
> 
> Mark.
> 
> P.S. And yes, this is high on the list to investigate in more depth and fix!
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> 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: How to extract whole text from a PDF file with the PDF widget?

2021-12-11 Thread matthias rebbe via use-livecode
Ah, i thought you were referring only to XPDF. 
Btw. do you have an idea why both, XPDF external and PDF widget, are 
maintained? Wouldn't it make sense to have only one pdf solution included?
Or am i missing something?

Regards,
Matthias


> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode 
> :
> 
> Yes, I am familiar with the XPDF external (based on Google's PDFium library), 
> having designed it and paid Monte to code it and then turned it over to 
> LiveCode.
> 
> I was referring to the PDF Widget (also based on Google's PDFium), which 
> should have a comparable property for fetching the text of a page. The LC 
> dictionary does not list any property for returning the page text, so I 
> assume that is a Dictionary/Documentation error and that Monte can tell us 
> the correct property of the PDF widget that will return the text of a page.
> 
> 
> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote:
>> Paul,
>> 
>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function 
>> XPDFViewer_Text(viewerName, pageNumber).
>> Btw. checking this showed me that this function seems to be deprecated and 
>> instead the command
>>  XPDFViewer_Unicode viewerName, pageNumber, variableName
>> should be used.
>> 
>> 
>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode 
>>> :
>>> 
>>> There must be an undocumented property for the text of a page - there was a 
>>> function to return the full text of a page in the External (XPDF) and to 
>>> get the full text of the PDF file, you just stepped through the pages 
>>> (1..N) getting and concatenating the page text.
>>> 
>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text.
>>> 
>>> 
>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote:
>>>> Hi,
>>>> 
>>>> I have a PDF file with text and pictures, but I just want the text.
>>>> 
>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with 
>>>> Preview on MacOS.
>>>> 
>>>> I have a business licence and want to use the PDF widget but I cannot find 
>>>> a way to do it.
>>>> 
>>>> Can someone help me out?
>>>> 
>>>> Cheers,
>>>> Torsten
>>>> ___
>>>> 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 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: How to extract whole text from a PDF file with the PDF widget?

2021-12-10 Thread matthias rebbe via use-livecode
Paul,

here on mac OS the dictionary of LC 10 DP1 definitely lists the function 
XPDFViewer_Text(viewerName, pageNumber). 
Btw. checking this showed me that this function seems to be deprecated and 
instead the command
 XPDFViewer_Unicode viewerName, pageNumber, variableName
should be used.


> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode 
> :
> 
> There must be an undocumented property for the text of a page - there was a 
> function to return the full text of a page in the External (XPDF) and to get 
> the full text of the PDF file, you just stepped through the pages (1..N) 
> getting and concatenating the page text.
> 
> Monte? LC 10.0.0 Dictionary does not list a property for the page text.
> 
> 
> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote:
>> Hi,
>> 
>> I have a PDF file with text and pictures, but I just want the text.
>> 
>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with 
>> Preview on MacOS.
>> 
>> I have a business licence and want to use the PDF widget but I cannot find a 
>> way to do it.
>> 
>> Can someone help me out?
>> 
>> Cheers,
>> Torsten
>> ___
>> 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: How to extract whole text from a PDF file with the PDF widget?

2021-12-10 Thread matthias rebbe via use-livecode
Hi Torsten,

i think the PDF widget does not support extracting text by code. At least the 
documentation does not show any information about this.

You wrote, that you have a business license. That would mean, that you can use 
the Pro features of Livecode.
There is an external included in the Pro Feature Pack called XPDF. That 
external supports extracting text. Have a look at the function XPDFVIEWER_text.


Regards,

Matthias

> Am 10.12.2021 um 22:46 schrieb Torsten Holmer via use-livecode 
> :
> 
> Hi,
> 
> I have a PDF file with text and pictures, but I just want the text.
> 
> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with 
> Preview on MacOS. 
> 
> I have a business licence and want to use the PDF widget but I cannot find a 
> way to do it.
> 
> Can someone help me out?
> 
> Cheers,
> Torsten
> ___
> 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: Project browser docs

2021-12-06 Thread matthias rebbe via use-livecode
Before the Project Browser was introduced  Application Overview was the tool to 
get an overview of all loaded stacks, its substacks, cards and all objects on 
that cards.
You can now find it under Plugins->revApplicationOveriew.

Regards,
Matthias
> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode 
> :
> 
> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote:
> 
>> I prefer the horizontal layout in the Application Overview, but i thought 
>> I'd give the PB another try now that I'm working on a simpler project. It's 
>> too unweildy for multi-stack projects with lots of controls.
>> 
> Sorry, dumb question time - what is the "Application Overview" ?
> 
> Thanks
> 
> Alex.
> 
> 
> ___
> 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: Annoying pop-up message

2021-11-18 Thread matthias rebbe via use-livecode
This can be caused by an installed program.

Here for example someone is mentioning that the program BOINC caused that popup 
message in his case.
https://discussions.apple.com/thread/252157812

Do you have Xcode or the command. line tools installed at all? Or is a version 
of the command line tools selected that is not installed anymore on your 
computer?

In a first step you could open Xcode, open Preferences and under Locations you 
could select a version of the installed command line tools.  Does that fix your 
problem?

Regards
Matthias

> Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode 
> :
> 
> This may be off-topic, but I don’t know if it’s related to my Mac OS or LC. 
> Lately I get a periodic pop-up that says “The ‘C++filt’ command requires the 
> command line developer tools. Would you like to install the tools now?” I 
> have no knowledge of doing anything that uses the above command. I’m using 
> the last version of LC prior to the big change away from freebies and haven’t 
> attempted any standalone building for some time. I’m running Big Sur on a 
> MacBook Air.
> Dave
> ___
> 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: The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-17 Thread matthias rebbe via use-livecode
According to Livecode's website https://livecode.com/pro-features/

Complete Advanced Networking Layer:
- Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS
- SFTP authentication via public key authentication giving the best possible 
security
- SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via 
variable – you are not limited by the memory available to your variable
- Ability to generate public / private key pairs suitable for use with SFTP – 
no need for an external application to create these
- Ability to send additional raw commands along with FTP and SFTP transfers to 
be executed before or after the transfer completes

Regards,

Matthisa
> Am 17.11.2021 um 23:04 schrieb Ralph DiMola via use-livecode 
> :
> 
> What is the "pro version" of tsNet the Charles refers to in that thread?
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
> Of J. Landman Gay via use-livecode
> Sent: Wednesday, November 17, 2021 2:44 PM
> To: How to use LiveCode
> Cc: J. Landman Gay
> Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS
> app
> 
> On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote:
>> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5.
>> I am doing several synchronous operations in the form "put url 
>> (some-url) into tVar". I do 1 or 2 and then every request after that 
>> fails.  Played with the various timeouts with no success. I also tried 
>> setting tsNetLibUrlReuseConnection to false. This code worked in 
>> previous versions of LC. Fails on iPad but works in the IDE. Has 
>> anyone seen this? I have a little bit of a time crunch. Any suggestions
> would be appreciated.
> 
> I asked about the same thing a month ago. Here's the reply by Charles
> Warwick:
> 
> 
> The essence is:
> "In order to fix this, you can use tsNet's asynchronous commands (e.g.
> tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...)
> or libURL's "load URL" command.  The "load URL" command only support HTTP
> GET requests which means that if you need to use other types of requests
> (e.g. POST) then use the tsNet functions directly."
> 
> Rather than rewrite all my scripts I settled for a short wait between
> requests.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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
> 
> 
> ___
> 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: LC Clipboard Polling Hang: Reported yet?

2021-11-17 Thread matthias rebbe via use-livecode
Curry,

are you experiencing this on Windows or macOS?

Regards,
Matthias



> Am 17.11.2021 um 20:19 schrieb Curry Kenworthy via use-livecode 
> :
> 
> 
> I'm seeing a hang in LC 9.x when
> accessing the clipboard repeatedly.
> (Including LC 9.6.5 RC 2.)
> 
> No precise recipe yet; that comes next,
> if this hasn't been reported yet.
> 
> I accessing clipboardData["text"]
> maybe 1800 times, with the data
> on the clipboard changing 200 times.
> 
> Finally LC breaks down
> in two distinct steps:
> 
> 1. clipboardData["text"] stops
> reporting the current data.
> 
> (But LC is usable and can still
> even SET the clipboardData.)
> 
> 2. Then LC itself hangs up;
> have to End Task.
> 
> Sound familiar anyone?
> If so, what Bug #?
> If not, I'll report it.
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Custom Software Development
> "Better Methods, Better Results"
> Christian 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


___
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: Android: Play App Signing

2021-11-16 Thread matthias rebbe via use-livecode
> 
>  But let's ask the moderator to delete this post, there is confidential info 
> in it.

I am afraid that is not possible as this is a mailing list and not a forum. 
Each subscriber of this list has received it as email.

Matthias

___
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: tsnet not detecting internet drop

2021-11-13 Thread matthias rebbe via use-livecode
Tom,

according to the dictionary tsNet does not limit the length of time a request 
can take.

With tsNetSetTimeouts you can set several timeouts for tsNET.

Maybe that would help in your case.

Regards,
Matthias




> Am 13.11.2021 um 22:36 schrieb Tom Glod via use-livecode 
> :
> 
> Hi Folks,
> 
> I was testing my networking functions ... and error handlling
> I initiated a tsnet asynchronous download of a file,
> started the download and disconnected the wifi.
> 
> tsnet keeps reporting status "loading" .forever with no time out.
> Is there something I am missing or should the library eventually be
> reporting error?
> Is there something I can do to detect network issues?
> I guess I could periodically check for the internet... but really?
> Has anyone come across this issue? solved it? thought about it?
> 
> Thanks in advance.
> 
> Tom
> ___
> 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: Object property management

2021-11-10 Thread matthias rebbe via use-livecode
Neville,
thanks for that. Took me some time to find it in RevOnline.

I've already tried it and it looks very interesting. I will 'play" more with it 
later today when time allows.

Btw. for those who are trying to find it in RevOnline

Search for nsPropertyMapper

Regards,
Matthias



> Am 10.11.2021 um 05:37 schrieb Neville Smythe via use-livecode 
> :
> 
> I have uploaded a plugin tool nsFormatMapper 2.0 to RunRevOnline. It is 
> designed to help with maintaining uniformity of UI elements such as colours 
> and text properties. It works rather like the Format Paint brush in Word or 
> Pages. You get all the required property types from an object, and set those 
> properties in another via drag and drop. You can also save sets of properties 
> for use as favourites. Properties transferrable included  color, text, button 
> and field properties, graphic effects, gradients and blending. Hope some 
> developers find it useful.
> 
> Neville
> ___
> 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: HTML5 Deployment

2021-11-09 Thread matthias rebbe via use-livecode
Paul, if you open the Livecode Dictionary, then you can see 2 tabs in the left 
upper corner. One is labeled "API" and one is labeled "Guide".

Click on "Guide" and then select "Deploying Your Application" and then "HTML5 
Deployment settings". 
There you should find a bunch of information.

Hope this helps.

Matthias

> Am 10.11.2021 um 00:41 schrieb Paul Dupuis via use-livecode 
> :
> 
> I am trying to deploy and HTML app. Standalone building was straightforward 
> and I now have a folder of stuff.
> 
> MyApp.html
> standalone.zip
> standalone-commercial-9.6.3.html.mem
> standalone-commercial-9.6.3.js
> 
> The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment 
> Guide in the Dictionary. In LC 9..6.3, there is no such guide in the 
> dictionary. I have tried searching Livecode.com with no luck.
> 
> Where can the deployment guide be found?
> 
> ___
> 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: How to restrain impatient tsNet?

2021-11-07 Thread matthias rebbe via use-livecode
Ben,

i am not sure if you are already aware of this, but in case you ever want to 
test your app without tsNet in  LC 9.5.x or higher or you want to create it 
with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC 
IDE before testing or creating the standalone. LC then uses only the 'standard' 
libUrl library.

 To disable tsNET execute this in the message box
dispatch "revunloadlibrary" to stack tsnetliburl

Please keep in mind that you have to unselect tsNet in the Inclusions section 
of the standalone builder in case you've set the standalone settings to 
manually select the inclusions.


To enable tsNET again execute this in the message box
dispatch "revloadlibrary" to stack tsnetliburl


Regards,
Matthias


> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode 
> :
> 
> I think tsNetSetTimeouts is what you need :)
> 
> Warmest Regards,
> 
> Mark
> 
> Sent from my iPhone
> 
>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode 
>>  wrote:
>> 
>> 
>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for 
>> fixing the accumulating/sorting delay loops, which has made this possible).
>> 
>> I've hit what I hope is the last hurdle: at one point in its processing, the 
>> app has to load a resource over HTTP, which is s.l.o.w. - it typically takes 
>> around 8 minutes at the moment.
>> 
>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) 
>> this has been fine.
>> 
>> But under 9.6.5, in spite of this setting, it craps out within a minute with 
>> the message
>>   tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred 
>> the last 30 seconds
>> 
>> Does tsneterr ignore the sockettimeoutinterval? Is there some other property 
>> I can set to persuade it to be patient?
>> 
>> 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: Bug survey

2021-11-02 Thread matthias rebbe via use-livecode
François,

i noticed something similar and asked about here in September:

>>
i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not right 
away after opening Livecode IDE, but after some time of usage.
I never noticed that in 9.6.3. Clicking on an main menu entry takes then about 
2 or 3 seconds until i can see the submenu
But I am not sure if this is really only an LC problem or due to the fact that 
i upgraded to Big Sur around the same time as LC 9.6.4 was released.
Currently i only notice this slow down of the menu in 9.6.4 and i am not able 
to see this in 9.6.3. But maybe i am a little bit to impatient and my testing 
is too short.
In the activity monitor i cannot see anything unusual. Now large memory 
consumption of LC and no high CPU usage.
After a restart of LC the IDE menu behaves normal, but some time later it slows 
down. 
Is anyone else experiencing the same or a similar behavior?"
<<

Until now i did not find any solution for this. I really do not know what is 
causing this and i have no recipe how to reproduce this bug. It just happens... 

But if you would file a bug, i would add a comment for this and we would be 
already 2 that have this problem. Maybe there are more people with this.


Matthias



> Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode 
> :
> 
> I wanted to answer the LC bug survey. 
> 
> The problem is that there is probably no bug number for my problem.
> 
> So here it what I wanted to answer to the first question in the survey:
> 
> 
> 
> I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27''  iMac, Intel Chip, 8 
> cores i7, 64 Gigs RAM, 4 TB SSD, etc.. 
> 
> I have the latest stable build of Livecode (9.6.4 | Build 15551).
> 
> When I want to activate a menu item in the Livecode menubar, it constantly 
> takes more than one second to react. The Livecode menu. The File menu. Using 
> the menu to quit Livecode is for the intrepid.
> 
> This is the first impression that I have of the current Livecode app, and it 
> discourages me to even try this version.
> 
> This should be a no brainer for a 2021 app.
> 
> 
> 
> 
> Best regards,
> 
> François
> ___
> 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: widget store

2021-11-01 Thread matthias rebbe via use-livecode
Yes,
that is also a great plugin from Scott. I used it also all the time. So much 
more options than the align menu of the ide.

Matthias 


> Am 01.11.2021 um 22:08 schrieb Roger Guay via use-livecode 
> :
> 
> tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all the 
> time.
> 
> Roger
> 
>> On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> TM Align is a really handy tool for aligning/spacing objects on your card. 
>> It has a few things the property inspector alignment tab does not do, and 
>> you don't have to keep re-selecting the alignment tab in the property editor 
>> every time you close and re-open it. 
>> 
>> Scott sent me the latest one he has (or told me where to get it) so mine so 
>> far as I know still works. I haven't done any design work in quite a while. 
>> 
>> Bob S
>> 
>> 
>>> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode 
>>>  wrote:
>>> 
>>> I think thats it Mike.  I would be shocked to find out there is another one
>>> widget store.
>>> What does tmc2 do ?
>> 
>> 
>> ___
>> 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: widget store

2021-11-01 Thread matthias rebbe via use-livecode
When i read "tmc2" i think of tmControl 2 from Tactilemedia. A UI kit for 
Livecode.
Here's a short introduction of it https://www.youtube.com/watch?v=_8DtrVpwrds

A really great tool and it is really a pity that it is not maintained anymore.

Matthias


> Am 01.11.2021 um 20:06 schrieb Tom Glod via use-livecode 
> :
> 
> I think thats it Mike.  I would be shocked to find out there is another one
> widget store.
> What does tmc2 do ?
> 
> On Sun, Oct 31, 2021 at 12:33 PM Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> since the lc extension store is essentially empty, does anyone have a
>> widget store, somewhere?
>> i want to leave tmc2 behind, but i keep finding out just how painful the
>> alternative is.
>> 
>> --
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>   and did a little diving.
>> And God said, "This is good."
>> ___
>> 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
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> ___
> 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: Our survey - please don't discuss :)

2021-10-27 Thread matthias rebbe via use-livecode
The newsletters are directly from  Livecode. The surveys were sent by a company 
on behalf of Livecode Ltd. 

If you ever opted out to receive Livecode surveys then this is only affects the 
surveys  sent out by that other company and does not have any influence on your 
newsletter subscription.

Matthias





> Am 27.10.2021 um 11:58 schrieb Tiemo via use-livecode 
> :
> 
> I didn't received any survey email either, nore in spam, though I got three 
> other livecode newsletters in October.
> 
> Tiemo
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode  Im Auftrag von 
> Devin Asay via use-livecode
> Gesendet: Freitag, 22. Oktober 2021 20:03
> An: How to use LiveCode 
> Cc: Devin Asay 
> Betreff: Re: Our survey - please don't discuss :)
> 
> I didn’t receive it either. 
> 
> - Devin
> 
>> On Oct 22, 2021, at 11:17 AM, Heather Laine via use-livecode 
>>  wrote:
>> 
>> @Sean - I can try. I didn't see an obvious way to do so in the interface. I 
>> will return to this on Monday, when we will send out a survey reminder. 
>> @Jacque and  any others that want the survey and didn't get it...  I will 
>> try and ensure those that wish to receive this survey do so on Monday. I'm 
>> am out of time today I'm afraid, but don't worry, we're not going to close 
>> this survey quickly. We want plenty of input.
>> 
>> Best Regards to all,
>> 
>> Heather
>> 
>> Heather Laine
>> Customer Services Manager
>> LiveCode Ltd
>> www.livecode.com
>> 
>> 
>> 
>>> On 22 Oct 2021, at 14:25, Sean Cole via use-livecode 
>>>  wrote:
>>> 
>>> Are you able to resubscribe me as I am certain I never knowingly 
>>> checked any box to remove my voice from these kinds of discussions? 
>>> There is not a chance I would have. I may have asked SurveyMonkey to 
>>> stop sending me random questionnaires but not specifically from LC. Ever!
>>> Sean
>>> 
>>> On Fri, 22 Oct 2021 at 14:11, Heather Laine via use-livecode < 
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 I'm afraid not. Surveymonkey only tells me who has unsubscribed. It 
 does not tell me when or how.
 
 Best Regards,
 
 Heather
 
 Heather Laine
 Customer Services Manager
 LiveCode Ltd
 www.livecode.com
 
 
 
> On 22 Oct 2021, at 13:33, Pi Digital via use-livecode <
 use-livecode@lists.runrev.com> wrote:
> 
> 
>> Come on, how should Matthias know?
> He won’t. Heather might. Obviously 
> 
> ___
> 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
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> 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: Problems with simulator

2021-10-26 Thread Matthias Rebbe via use-livecode
Did you select the correct version of the Xcode command line tools that should 
be used. 
You can do this in the Xcode preferences. 

Von meinem iPhone gesendet

> Am 26.10.2021 um 17:56 schrieb Mark Smith via use-livecode 
> :
> I wonder if anyone has any suggestions I can try. I am using macOS 10.15.7 
> (Catalina), LC 9.6.3, Xcode 12.4 and iOS14.8
> 
> This configuration should be completely usable and indeed I am able to 
> properly build an iOS app and install it on my 6S or 12 and it works fine. 
> However, I can’t get it to run on the Simulator. I load the Simulator first, 
> then press the Test button, LC saves the application, but it never gets past 
> that point… no build happens, and nothing is loaded on the simulator. 
> Subsequently pressing on Test does nothing. 
> 
> Just wondering if anyone might have a suggestion as how to fix this.
> 
> Thanks
> Mark
> 
> 
> ___
> 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: Our survey - please don't discuss :)

2021-10-22 Thread matthias rebbe via use-livecode
Every survey email has an "unsubscribe" link at the bottom of the message text. 
If you click on that link you'll opt out from receiving surveys emails from 
that specific account.
So maybe you've clicked such a link in an older survey email in the past

Regards

Matthias

> Am 22.10.2021 um 12:17 schrieb Pi Digital via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Where do you opt in or out. I never consciously did so
> 
> Sean Cole
> Pi Digital Productions Ltd
> 
> eMail Ts & Cs
> 
> 
>> On 22 Oct 2021, at 09:15, Heather Laine via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Hi Sean,
>> 
>> You didn't get the survey because you have opted out from receiving our 
>> surveys. This is not speculation, I checked, and you are clearly marked as 
>> opted out. So we can't send it to you. 
>> 
>> Best Regards,
>> 
>> Heather
>> 
>> Heather Laine
>> Customer Services Manager
>> LiveCode Ltd
>> www.livecode.com 
>> 
>> 
>> 
>>> On 22 Oct 2021, at 00:11, Sean Cole via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> Hi
>>> I'm guessing I haven't and won't get the survey because either you already
>>> know my gripes, or, more likely, my opinion counts for nothing here.
>>> 
>>> Normally my gripes get overlooked in favour of some 1-5 user 'feature' like
>>> FMP integration @ $400/seat. Like purchasing a 2-year licence for HTML5
>>> with the promise that it would get fixed (following an Edinburgh visit with
>>> Ian@LC) (which it didn't so I couldn't use because it was so dysfunctional)
>>> then told I would have to buy the next licence on the promise that the new
>>> one (LC10) will work this time. It literally makes me nauseous right now
>>> just typing about it. How immensely pee'd and dump'd on I feel. You guys
>>> put me in hospital more than once. And as 85% of my livelihood is dependant
>>> on LC it won't be long before ridiculousness like this put me back in.
>>> 
>>> Asking people to fill out a survey will only cause more of your users to
>>> become disappointed when 'their' extremely valid top 10 bugs get lost in
>>> the flood of other people's, probably only based on how many remember the
>>> same matching ones. When 'theirs' don't get fixed, it will only feed their
>>> despondency.
>>> 
>>> My advice is what we all have to follow on a day to day basis - fix all the
>>> base-level stuff like fields, buttons, graphic, groups and their
>>> inconsistencies. Then UX/IDE elements like the messed up script editor (so
>>> we don't have to use 3rd part ones), dictionary (so we don't have to use
>>> 3rd part ones!), user guide (so we don't have to use 3rd part ones!!),
>>> project browser (so we don't have to use 3rd part ones!!!) and property
>>> inspector (so we don't have to use 3rd part ones). THEN, move on to
>>> higher-level stuff in the language code and extensions.
>>> 
>>> You don't need a survey to work that out. Just get on with it! You want to
>>> know what the top bugs are - use your product for real-world stuff yourself
>>> and try to do it without having to use workarounds!
>>> 
 On Thu, 21 Oct 2021 at 16:45, Klaus major-k via use-livecode <
 use-livecode@lists.runrev.com > 
 wrote:
 
 Hi Heather,
 
> Am 21.10.2021 um 16:36 schrieb Heather Laine via use-livecode <
 use-livecode@lists.runrev.com >:
> 
> Dear list folks,
> 
> We've just sent out a survey to try and determine what our top 10 bug
 list should look like. We would ask you please not to discuss the bugs you
 enter in the survey on the list, the forums or in general. We want your own
 unbiased opinions based on your personal needs and experiences.
> 
> Thank you very much!
> 
> Warmest Regards,
> 
> Heather
 
 I did not receive any mails yet, but maybe this will take a little time.
 Just quoted this mail in the Facebook LC forum!
 
 
 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
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com 
>> Please visit 

Re: Some questions about Command-line argument parser library

2021-10-18 Thread matthias rebbe via use-livecode
Mark,

thank you very much for your explanations.

It works now.

Would  you please be so kind to also explain what for the argumentArray can be 
used?

GetOpt(grammar [, argumentArray])

Okay, i could use it for testing in the LC IDE, so i do not need to compile and 
execute the standalone. 
But is there another scenario where it would make sense to include that array 
in the call?

And while i am already asking... ;) 

The environment function can also return "development command line"
The dictionary says about that : The stack is running in the development 
environment with the "-ui" command line option.

So would i be able to run a stack by running the LC IDE with -ui, add the stack 
as parameter and add also command line options, which then could be parsed with 
getop()?

Regards,

Matthias



> Am 18.10.2021 um 16:30 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2021-10-18 15:14, matthias rebbe via use-livecode wrote:
>> Hello,
>> is there anyone who uses the Command-line argument parser library?
>> I am not sure how i can get the value that is attached as parameter
>> when the programm is started from the command-line
>> Let's say i call my program like this  ./myprogram -m=SomeParam
>> So how do i get the value SomeParam?I thought it is in the array after
>> getop() is called.
>> My code looks like this
>> put getopt("m,macadress") into tParams
>> if "macadress" is among the keys of tParams["options"]
>> then put tParams["options"]["macadress"] into tValue
> 
> You are using it correctly - but I think you've omitted a `=` from the end of 
> the option specification:
> 
> Each option specification can end with a `=`.  This indicates that
> the option expects an argument.  For example, with the grammar
> `-o,--output=`, the option can be specified like `-o file`, `-ofile`,
> `--output file`, or `--output=file`.
> 
> [ FWIW there is a 'typo' in the docs there the grammer being exhibited should 
> be `o,output=` I think! ]
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> 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


  1   2   3   4   5   6   7   8   9   10   >