Android App Bundle format.

2020-11-24 Thread Riko Abadi via use-livecode
Starting August 2021, the Google Play Console will require all new
apps to Publish with the Android App Bundle format.

https://android-developers.googleblog.com/2020/11/new-android-app-bundle-and-target-api.html

What do you think as a livecode developer?

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


Re: iOS notification app goes into background doesn't seem to work

2020-11-24 Thread Mark Smith via use-livecode
Hi Graham, figured it out. If I replace the app, and while developing I do that 
pretty frequently, the first “WillBecomeActive” does not get detected because 
the app has not yet registered for notifications. So over 48 hours I saw 3 such 
events and while I did not record the times I installed, if I replaced it 3 
times then this data would make perfect sense. I hope that is clear, and if not 
feel free to ask me to explain it better. But I think the data indicate that 
everything is working A-OK.

Sorry for any confusion I might have caused, but at least I got to the bottom 
of my own problem :)  I’ll send Elanor an email to confirm and let her know. 

Mark


> On Nov 25, 2020, at 1:00 AM, Mark Smith  wrote:
> 
> Thanks Graham,
> 
> Nope, just checked and my quotes are not curly. Over a 48 hour period of 
> testing, with multiple startups and shutdowns (33 in total, these were mostly 
> in/out of background not actual exits and restarts) I only saw 3 instances of 
> a double shutdown notification (applicationWillResignActiveNotification) 
> without an intervening startup (applicationDidBecomeActiveNotification) so 
> it’s evidently a very small problem (10% ?). I’ll send the log to Elanor to 
> let her know. From my perspective, not something I am going to fret about. 
> 
>> On Nov 24, 2020, at 10:18 PM, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> An very timely and helpful update from Elanor at the mother ship. My 
>> problems with mergNotify were there because the string representing the 
>> specific notification “UIApplicationWillResignActiveNotification” was in 
>> curly quotes! I literally didn’t see this, and the script editor didn’t 
>> report an error. It might have done something with the colorisation, but as 
>> I’m partly colour blind I never take much notice of this aspect of scripts. 
>> How the quotes got there is a mystery, as I thought I had simply copied 
>> these lines of script from an earlier mail by Henry Lowe, but apparently 
>> not. So, problem solved at the price of my red face.
>> 
>> The question about what being “in the background” actually means remains, 
>> and I hope to have an answer for that soon. If I get any info I will send it 
>> to the list as a new topic.
>> 
>> Elanor also said:
>> 
>>> I don't know if the issue Mark is seeing is the same one but if you are 
>>> replying on the list just ask him to contact Support and I'll take a look 
>>> at his stack too.
>> 
>> 
>> 
>> Graham
>> 
>>> On 23 Nov 2020, at 15:23, Graham Samuel via use-livecode 
>>>  wrote:
>>> 
>>> Thanks Mark
>>> 
>>> Well, it does seem to be a bug, but is it in iOS or LC? It is weird that 
>>> you get inconsistent results. Mine are more consistent, but still wrong. I 
>>> plan to write to the mother ship and ask their opinion.
>>> 
>>> I am also getting perhaps related inconsistencies in the use of 
>>> locationChanged messages to get GPS readings, or I think I am. It looks 
>>> like sometimes when the app goes into the background it switches off the 
>>> effect of
>>> mobileStartTrackingSensor "location"
>>> 
>>> which a script can only do by calling mobileStopTrackingSensor.
>>> 
>>> The apparent effect is that GPS readings just stop coming in, although 
>>> other activity (in my case, a stopwatch-like timer) continues without a 
>>> break. I am haunted by the idea that I’ve made some mistake in coding, of 
>>> course, but it I haven’t then I need to know somehow that the readings have 
>>> stopped and correct the situation before gaps appear in the record, i.e. 
>>> within about a second. Can’t do that if I’m not notified of the switch to 
>>> the background.
>>> 
>>> I have tried to look at the iOS SDK documentation but have become 
>>> terminally confused - it seems to suggest that apps that go into the 
>>> background are suspended and ‘do not receive events’. If that’s so, how do 
>>> timer and navigation apps work? They still seem to be doing stuff even 
>>> while the user is using another app to read the news, make a phone call or 
>>> whatever. There must be a state between being active and just sitting in 
>>> RAM and doing nothing. What is that state called and how does one invoke it?
>>> 
>>> Over my head...
>>> 
>>> Graham
>>> 
 On 22 Nov 2020, at 13:30, Mark Smith  wrote:
 
 Hi Graham,
 
 So, apparently not 100% accurate but here are the results of some late 
 hour testing yesterday (I was also interested in evaluating something I 
 needed to occur around the time the date changed, hence the late hour 
 testing.). But as you can see, I had 3 ResignActiveNotifications before 
 the first DidBecomeActive occurred. 
 
 2:33:58 PM UIApplicationWillResignActiveNotification detected in SS
 
 11:22:40 PM UIApplicationWillResignActiveNotification detected in SS
 
 11:25:50 PM UIApplicationWillResignActiveNotification detected in SS
 
 11:33:19 PM UIApplicationDidBecomeActiveNotification detected in SS
 
 

Re: iOS notification app goes into background doesn't seem to work

2020-11-24 Thread Mark Smith via use-livecode
Thanks Graham,

Nope, just checked and my quotes are not curly. Over a 48 hour period of 
testing, with multiple startups and shutdowns (33 in total, these were mostly 
in/out of background not actual exits and restarts) I only saw 3 instances of a 
double shutdown notification (applicationWillResignActiveNotification) without 
an intervening startup (applicationDidBecomeActiveNotification) so it’s 
evidently a very small problem (10% ?). I’ll send the log to Elanor to let her 
know. From my perspective, not something I am going to fret about. 

> On Nov 24, 2020, at 10:18 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> An very timely and helpful update from Elanor at the mother ship. My problems 
> with mergNotify were there because the string representing the specific 
> notification “UIApplicationWillResignActiveNotification” was in curly quotes! 
> I literally didn’t see this, and the script editor didn’t report an error. It 
> might have done something with the colorisation, but as I’m partly colour 
> blind I never take much notice of this aspect of scripts. How the quotes got 
> there is a mystery, as I thought I had simply copied these lines of script 
> from an earlier mail by Henry Lowe, but apparently not. So, problem solved at 
> the price of my red face.
> 
> The question about what being “in the background” actually means remains, and 
> I hope to have an answer for that soon. If I get any info I will send it to 
> the list as a new topic.
> 
> Elanor also said:
> 
>> I don't know if the issue Mark is seeing is the same one but if you are 
>> replying on the list just ask him to contact Support and I'll take a look at 
>> his stack too.
> 
> 
> 
> Graham
> 
>> On 23 Nov 2020, at 15:23, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> Thanks Mark
>> 
>> Well, it does seem to be a bug, but is it in iOS or LC? It is weird that you 
>> get inconsistent results. Mine are more consistent, but still wrong. I plan 
>> to write to the mother ship and ask their opinion.
>> 
>> I am also getting perhaps related inconsistencies in the use of 
>> locationChanged messages to get GPS readings, or I think I am. It looks like 
>> sometimes when the app goes into the background it switches off the effect of
>>  mobileStartTrackingSensor "location"
>> 
>> which a script can only do by calling mobileStopTrackingSensor.
>> 
>> The apparent effect is that GPS readings just stop coming in, although other 
>> activity (in my case, a stopwatch-like timer) continues without a break. I 
>> am haunted by the idea that I’ve made some mistake in coding, of course, but 
>> it I haven’t then I need to know somehow that the readings have stopped and 
>> correct the situation before gaps appear in the record, i.e. within about a 
>> second. Can’t do that if I’m not notified of the switch to the background.
>> 
>> I have tried to look at the iOS SDK documentation but have become terminally 
>> confused - it seems to suggest that apps that go into the background are 
>> suspended and ‘do not receive events’. If that’s so, how do timer and 
>> navigation apps work? They still seem to be doing stuff even while the user 
>> is using another app to read the news, make a phone call or whatever. There 
>> must be a state between being active and just sitting in RAM and doing 
>> nothing. What is that state called and how does one invoke it?
>> 
>> Over my head...
>> 
>> Graham
>> 
>>> On 22 Nov 2020, at 13:30, Mark Smith  wrote:
>>> 
>>> Hi Graham,
>>> 
>>> So, apparently not 100% accurate but here are the results of some late hour 
>>> testing yesterday (I was also interested in evaluating something I needed 
>>> to occur around the time the date changed, hence the late hour testing.). 
>>> But as you can see, I had 3 ResignActiveNotifications before the first 
>>> DidBecomeActive occurred. 
>>> 
>>> 2:33:58 PM UIApplicationWillResignActiveNotification detected in SS
>>> 
>>> 11:22:40 PM UIApplicationWillResignActiveNotification detected in SS
>>> 
>>> 11:25:50 PM UIApplicationWillResignActiveNotification detected in SS
>>> 
>>> 11:33:19 PM UIApplicationDidBecomeActiveNotification detected in SS
>>> 
>>> 11:33:26 PM UIApplicationWillResignActiveNotification detected in SS
>>> 
>>> 1:21:48 AM UIApplicationDidBecomeActiveNotification detected in SS
>>> 
>>> 1:29:38 AM UIApplicationWillResignActiveNotification detected in SS
>>> 
>>> 
>>> 
 On Nov 21, 2020, at 11:33 PM, Mark Smith >>> > wrote:
 
 Graham, I think there might be a problem. I just re-enabled this code in 
 one of my applications and the only thing I am seeing is the 
 WillResignActiveNotification message, and not the 
 DidBecomeActiveNotification message. Odd also because it is the exact 
 opposite of what you are seeing, so we are both seeing half of the story, 
 just not the same half :) I’ll keep it enabled and see if I can spot any 
 patterns. 
 
 Mark
 
 
> On Nov 20, 2020, at 

Moving files to Windows' Recycle Bin in LiveCode -- is it possible?

2020-11-24 Thread Martin Koob via use-livecode
Hi.

On the Mac I have a handler that can move a folder to the trash by using an 
AppleScript that I call with a shell command.

I have a custom property of the stack “Scripts" cDeleteMacFolderScript that 
contains a template script

tell application "Finder"

delete "**foldertodelete**"

end tell

Then I have the following handler

on deletemacOSfolder folderMacpath

put the cDeleteMacFolderScript  of stack  “Scripts" into thescript

replace "**foldertodelete**" with folderMacpath in thescript

do thescript as applescript

end deletemacOSfolder


It works a charm, run it and the folder ends up in the Trash Easy-peasy.


I have been trying to do the same thing with Windows and not having any luck.

First Challenge was finding the path to the recycle bin.   Using 
SpecialfolderPath() to get the path for the Recycle Bin did not work.  See the 
bug report here. https://quality.livecode.com/show_bug.cgi?id=22995 


I did manage write a script using the Windows shell commands to get a path to 
the user’s Recycle Bin and then move a directory to it using the LiveCode 
rename command.  The folder is actually moved to the user's Recycle Bin but 
when you Open the Recycle Bin in the Windows Explorer GUI you don’t see the 
folder.   
Here is the script I used.

on mouseUp pButtonNumber

answer folder "Select the folder to move to Recycle Bin folder."

put it into tFoldertoRecycle

if platform() is "win32" or platform() is "win64" then

MoveFolderToRecycleBin tFolderToRecycle

end if

end mouseUp


command MoveFolderToRecycleBin pFolderToMove

put SpecialFolderPath_RecycleBinFolder() into tRecycleBinPath

replace "/" with "\" in tRecycleBinPath

set the itemDelimiter to "\"

put the last item of pFolderToMove into tFolderName

put tRecycleBinPath & "\" & tFolderName into tRecycleBinPath

put pFolderToMove into line 1 of field 1

put tRecycleBinPath   into line 2 of field 1

rename folder pFolderToMove to tRecycleBinPath

end MoveFolderToRecycleBin


function SpecialFolderPath_RecycleBinFolder

put shell ("whoami /user") into tUserInformation

set the itemDelimiter to space

put item 2 of line 7 of tUserInformation into tUserSID

put "C:\$Recycle.Bin\" & tUserSID into tUserRecycleBinPath

return tUserRecycleBinPath

end SpecialFolderPath_RecycleBinFolder


















You can see that the folder was actually moved there by using the Windows 
Command Prompt program.   If you type:

C:\> cd \$Recycle.Bin
C: \$Recycle.Bin> dir /s /a

You will get a listing of the contents of the directory and the subdirectories 
including the one that contains the files in the logged in user’s recycle bin.  
- files or folders the user dragged there in the GUI are there (but their file 
names are not the same as their actual names)
- folders I moved there using the script above are also there (their folder 
names are the same as they were in their original location).

I have read a lot of posts and documentation on the Recycle Bin and know far 
more than I ever wanted to know about it but it seems that simply moving a file 
to the users directory for the user’s Recycle Bin does not actually put it in 
the “RecycleBin" as seen in the Windows Explorer GUI.  I found a post that says 
that here.

https://superuser.com/questions/1520290/how-to-access-another-windows-10-installations-recycle-bin-files-on-a-partition

This folder (Recycle Bin)  is a special folder, because if you double-click the 
folder within Explorer, it will open the Recycle Bin program, rather than show 
the contents of that folder. As a result, it will show you all files deleted in 
your current Windows Installation, and not what is actually inside that folder.

I don’t see any other way of Recycling a folder, or a file for that matter 
using the shell short of buying and installing one of a couple of utility 
programs that popped up in some of my searches. I can’t expect users to do that.

I know you can delete a folder and its contents using the revDeleteFolder 
Command.  This removes the folder and files instantly.   I was hoping there was 
a way to just move them the Recycle Bin but it does not appear to be possible 
from shell. However the fact that there are utilities that do it mean there 
must be some way programmatically.

Does anyone know of a way to accomplish this?

Thanks

Martin Koob
VideoLinkwell


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


Re: iOS notification app goes into background doesn't seem to work

2020-11-24 Thread Graham Samuel via use-livecode
An very timely and helpful update from Elanor at the mother ship. My problems 
with mergNotify were there because the string representing the specific 
notification “UIApplicationWillResignActiveNotification” was in curly quotes! I 
literally didn’t see this, and the script editor didn’t report an error. It 
might have done something with the colorisation, but as I’m partly colour blind 
I never take much notice of this aspect of scripts. How the quotes got there is 
a mystery, as I thought I had simply copied these lines of script from an 
earlier mail by Henry Lowe, but apparently not. So, problem solved at the price 
of my red face.

The question about what being “in the background” actually means remains, and I 
hope to have an answer for that soon. If I get any info I will send it to the 
list as a new topic.

Elanor also said:

> I don't know if the issue Mark is seeing is the same one but if you are 
> replying on the list just ask him to contact Support and I'll take a look at 
> his stack too.



Graham

> On 23 Nov 2020, at 15:23, Graham Samuel via use-livecode 
>  wrote:
> 
> Thanks Mark
> 
> Well, it does seem to be a bug, but is it in iOS or LC? It is weird that you 
> get inconsistent results. Mine are more consistent, but still wrong. I plan 
> to write to the mother ship and ask their opinion.
> 
> I am also getting perhaps related inconsistencies in the use of 
> locationChanged messages to get GPS readings, or I think I am. It looks like 
> sometimes when the app goes into the background it switches off the effect of
>   mobileStartTrackingSensor "location"
> 
> which a script can only do by calling mobileStopTrackingSensor.
> 
> The apparent effect is that GPS readings just stop coming in, although other 
> activity (in my case, a stopwatch-like timer) continues without a break. I am 
> haunted by the idea that I’ve made some mistake in coding, of course, but it 
> I haven’t then I need to know somehow that the readings have stopped and 
> correct the situation before gaps appear in the record, i.e. within about a 
> second. Can’t do that if I’m not notified of the switch to the background.
> 
> I have tried to look at the iOS SDK documentation but have become terminally 
> confused - it seems to suggest that apps that go into the background are 
> suspended and ‘do not receive events’. If that’s so, how do timer and 
> navigation apps work? They still seem to be doing stuff even while the user 
> is using another app to read the news, make a phone call or whatever. There 
> must be a state between being active and just sitting in RAM and doing 
> nothing. What is that state called and how does one invoke it?
> 
> Over my head...
> 
> Graham
> 
>> On 22 Nov 2020, at 13:30, Mark Smith  wrote:
>> 
>> Hi Graham,
>> 
>> So, apparently not 100% accurate but here are the results of some late hour 
>> testing yesterday (I was also interested in evaluating something I needed to 
>> occur around the time the date changed, hence the late hour testing.). But 
>> as you can see, I had 3 ResignActiveNotifications before the first 
>> DidBecomeActive occurred. 
>> 
>> 2:33:58 PM UIApplicationWillResignActiveNotification detected in SS
>> 
>> 11:22:40 PM UIApplicationWillResignActiveNotification detected in SS
>> 
>> 11:25:50 PM UIApplicationWillResignActiveNotification detected in SS
>> 
>> 11:33:19 PM UIApplicationDidBecomeActiveNotification detected in SS
>> 
>> 11:33:26 PM UIApplicationWillResignActiveNotification detected in SS
>> 
>> 1:21:48 AM UIApplicationDidBecomeActiveNotification detected in SS
>> 
>> 1:29:38 AM UIApplicationWillResignActiveNotification detected in SS
>> 
>> 
>> 
>>> On Nov 21, 2020, at 11:33 PM, Mark Smith >> > wrote:
>>> 
>>> Graham, I think there might be a problem. I just re-enabled this code in 
>>> one of my applications and the only thing I am seeing is the 
>>> WillResignActiveNotification message, and not the 
>>> DidBecomeActiveNotification message. Odd also because it is the exact 
>>> opposite of what you are seeing, so we are both seeing half of the story, 
>>> just not the same half :) I’ll keep it enabled and see if I can spot any 
>>> patterns. 
>>> 
>>> Mark
>>> 
>>> 
 On Nov 20, 2020, at 9:48 PM, Graham Samuel via use-livecode 
 mailto:use-livecode@lists.runrev.com>> 
 wrote:
 
 Thanks Mark
 
 I tried exactly your suggestion. For me, the second notification appears 
 exactly as you say, but the first one doesn’t. It’s likely that I made a 
 silly mistake but I can’t see what it is. I put other stuff in the log, so 
 it’s not just a case of the text being overwritten. Obviously the app does 
 go into the background, since it is detected coming back to the 
 foreground. This test was on the Xcode simulator, but I got essentially 
 the same results on a real iPhone.
 
 Strange.
 
 Graham
 
 
> On 20 Nov 2020, at 17:21, Mark Smith  

Re: MP3 ID3 tag writer

2020-11-24 Thread Jim Lambert via use-livecode
Thank you for this, Matthias.
Danke sehr.

Jim Lambert

> Matthias wrote:
> 
> Re: MP3 ID3 tag writer
> I just noticed, that the files are not available anymore.
> 
> I've uploaded a zip archive of those files here
> 
> https://dl.qck.nu/?dl=MarkSmith.zip 
> 
> 
> -
> Matthias Rebbe

___
use-livecode mailing list
use-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: Mac standalone install in menu bar

2020-11-24 Thread Ben Rubinstein via use-livecode

On 24/11/2020 16:01, matthias rebbe via use-livecode wrote:

On Mac there is the Mac Status Menu library available in  LC9.6 and lower.


Thank you Matthias - just what I needed.

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


Re: MP3 ID3 tag writer

2020-11-24 Thread Skip Kimpel via use-livecode
Also found this by Paul McClernan:
https://github.com/PaulMcClernan/id3lib

SKIP

On Tue, Nov 24, 2020 at 12:39 PM Skip Kimpel  wrote:

> Looking at that zip file, I don't see the library attached.  Also, does
> anybody have an idea if what ID3 version this is compatible with?
>
> SKIP
>
> On Tue, Nov 24, 2020 at 12:37 PM Skip Kimpel  wrote:
>
>> Thank you!
>>
>> SKIP
>>
>> On Tue, Nov 24, 2020 at 11:09 AM matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> I just noticed, that the files are not available anymore.
>>>
>>> I've uploaded a zip archive of those files here
>>>
>>> https://dl.qck.nu/?dl=MarkSmith.zip
>>>
>>>
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>>
>>> > Am 24.11.2020 um 16:59 schrieb matthias rebbe via use-livecode <
>>> use-livecode@lists.runrev.com>:
>>> >
>>> > The late Mark Smith (the Bass Player) had written a library.
>>> >
>>> > http://marksmith.on-rev.com/revstuff/files/libID3.zip
>>> >
>>> > Here's an overview of his rev stacks:
>>> >
>>> > http://marksmith.on-rev.com/revstuff/
>>> >
>>> > -
>>> > Matthias Rebbe
>>> > Life Is Too Short For Boring Code
>>> >
>>> >> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode <
>>> use-livecode@lists.runrev.com>:
>>> >>
>>> >> Has anybody written a library for this?  Looking to write ID3 tags
>>> for mp3
>>> >> files including the addition to mp3 artwork.
>>> >>
>>> >> Thoughts?
>>> >>
>>> >> SKIP
>>> >> ___
>>> >> use-livecode mailing list
>>> >> use-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: MP3 ID3 tag writer

2020-11-24 Thread Skip Kimpel via use-livecode
Looking at that zip file, I don't see the library attached.  Also, does
anybody have an idea if what ID3 version this is compatible with?

SKIP

On Tue, Nov 24, 2020 at 12:37 PM Skip Kimpel  wrote:

> Thank you!
>
> SKIP
>
> On Tue, Nov 24, 2020 at 11:09 AM matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> I just noticed, that the files are not available anymore.
>>
>> I've uploaded a zip archive of those files here
>>
>> https://dl.qck.nu/?dl=MarkSmith.zip
>>
>>
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>>
>> > Am 24.11.2020 um 16:59 schrieb matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >
>> > The late Mark Smith (the Bass Player) had written a library.
>> >
>> > http://marksmith.on-rev.com/revstuff/files/libID3.zip
>> >
>> > Here's an overview of his rev stacks:
>> >
>> > http://marksmith.on-rev.com/revstuff/
>> >
>> > -
>> > Matthias Rebbe
>> > Life Is Too Short For Boring Code
>> >
>> >> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >>
>> >> Has anybody written a library for this?  Looking to write ID3 tags for
>> mp3
>> >> files including the addition to mp3 artwork.
>> >>
>> >> Thoughts?
>> >>
>> >> SKIP
>> >> ___
>> >> use-livecode mailing list
>> >> use-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: MP3 ID3 tag writer

2020-11-24 Thread Skip Kimpel via use-livecode
Thank you!

SKIP

On Tue, Nov 24, 2020 at 11:09 AM matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just noticed, that the files are not available anymore.
>
> I've uploaded a zip archive of those files here
>
> https://dl.qck.nu/?dl=MarkSmith.zip
>
>
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> > Am 24.11.2020 um 16:59 schrieb matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > The late Mark Smith (the Bass Player) had written a library.
> >
> > http://marksmith.on-rev.com/revstuff/files/libID3.zip
> >
> > Here's an overview of his rev stacks:
> >
> > http://marksmith.on-rev.com/revstuff/
> >
> > -
> > Matthias Rebbe
> > Life Is Too Short For Boring Code
> >
> >> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> Has anybody written a library for this?  Looking to write ID3 tags for
> mp3
> >> files including the addition to mp3 artwork.
> >>
> >> Thoughts?
> >>
> >> SKIP
> >> ___
> >> use-livecode mailing list
> >> use-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: Strange bug

2020-11-24 Thread Bob Sneidar via use-livecode
I will attest to the fact that strange things happen with drag drop and not 
just with Livecode. For instance if I drag a PDF to a mounted share, often, but 
not every time, Mail becomes unresponsive and I have to quit it and relaunch 
it. Also when drag dropping files from the Finder onto a Livecode object I get 
the “snap back” visual, and then the next drag drop operation will not work 
until I click the title bar of the LC window I am dragging to, or else move the 
window in some way. 

Bob S


> On Nov 24, 2020, at 4:32 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
> FYI: I found a very strange and serious bug, if you have a minute, please 
> take a look:
> 
> A real showstopper in my opinion!
> 
> With an example stack (in my dropbox, my browser does not allow me to select 
> a file as attachment!?). Shows the problem clearly on a Mac.
> May probably work correctly on Windows, maybe not.
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> 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: MP3 ID3 tag writer

2020-11-24 Thread matthias rebbe via use-livecode
I just noticed, that the files are not available anymore.

I've uploaded a zip archive of those files here

https://dl.qck.nu/?dl=MarkSmith.zip


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.11.2020 um 16:59 schrieb matthias rebbe via use-livecode 
> :
> 
> The late Mark Smith (the Bass Player) had written a library.
> 
> http://marksmith.on-rev.com/revstuff/files/libID3.zip
> 
> Here's an overview of his rev stacks:
> 
> http://marksmith.on-rev.com/revstuff/
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode 
>> :
>> 
>> Has anybody written a library for this?  Looking to write ID3 tags for mp3
>> files including the addition to mp3 artwork.
>> 
>> Thoughts?
>> 
>> SKIP
>> ___
>> use-livecode mailing list
>> use-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: Mac standalone install in menu bar

2020-11-24 Thread matthias rebbe via use-livecode
On Mac there is the Mac Status Menu library available in  LC9.6 and lower.


Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.11.2020 um 15:24 schrieb Ben Rubinstein via use-livecode 
> :
> 
> Is it possible to create an using LC that once launched installs itself in 
> the menu bar?
> 
> 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: MP3 ID3 tag writer

2020-11-24 Thread matthias rebbe via use-livecode
The late Mark Smith (the Bass Player) had written a library.

http://marksmith.on-rev.com/revstuff/files/libID3.zip

Here's an overview of his rev stacks:

http://marksmith.on-rev.com/revstuff/

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode 
> :
> 
> Has anybody written a library for this?  Looking to write ID3 tags for mp3
> files including the addition to mp3 artwork.
> 
> Thoughts?
> 
> SKIP
> ___
> use-livecode mailing list
> use-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: Strange bug

2020-11-24 Thread Richmond via use-livecode

Yes, as described (LC 9.6.1, macOS 11.1 Beta).

On 24.11.20 14:32, Klaus major-k via use-livecode wrote:

Hi friends,

FYI: I found a very strange and serious bug, if you have a minute, please take 
a look:

A real showstopper in my opinion!

With an example stack (in my dropbox, my browser does not allow me to select
a file as attachment!?). Shows the problem clearly on a Mac.
May probably work correctly on Windows, maybe not.


Best

Klaus
--
Klaus Major
https://www.major-k.de
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


MP3 ID3 tag writer

2020-11-24 Thread Skip Kimpel via use-livecode
Has anybody written a library for this?  Looking to write ID3 tags for mp3
files including the addition to mp3 artwork.

Thoughts?

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


Mac standalone install in menu bar

2020-11-24 Thread Ben Rubinstein via use-livecode
Is it possible to create an using LC that once launched installs itself in the 
menu bar?


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


Re: LC9.6.2rc build issues?

2020-11-24 Thread Paul Dupuis via use-livecode

On 11/24/2020 8:54 AM, Paul Dupuis via use-livecode wrote:
I have to try making changes again and see if I can get the issue to 
repeat itself. 


Now trying to repeat the build issue in LC962rc1, I made an edit to a 
button script. Applied the change, closed the substack window (getting 
prompted to save my changes), and the LC just exited.


Then trying a 3rd time, everything worked as expected.

Maybe it was a bad preferences file that fixed itself or  gremlins!



___
use-livecode mailing list
use-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: LC9.6.2rc build issues?

2020-11-24 Thread Paul Dupuis via use-livecode
okay, this did not happen the next time I tried. The first time I have 
made a number of changes to two substacks in the mainstack (and saved) 
and then tried building the standalone and got the errors and loop.


The second time I made no changes. I just opened the mainstack (and let 
the app startup) and then build the standalones using 962rc1 and it worked.


I have to try making changes again and see if I can get the issue to 
repeat itself.



On 11/24/2020 8:44 AM, Paul Dupuis via use-livecode wrote:
So, I have a large applications. Under 9.6.1 STABLE I open the main 
stack and build the standalone (Windows and macOS) without issue.


I just tried it under 9.6.2rc1 and I get an infinite loop of 
"duplicate stacks" errors and it keeps trying to reload the app over 
and over?!?!? I had to force quit (on Windows 10).


Any one else have any problems?

___
use-livecode mailing list
use-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


LC9.6.2rc build issues?

2020-11-24 Thread Paul Dupuis via use-livecode
So, I have a large applications. Under 9.6.1 STABLE I open the main 
stack and build the standalone (Windows and macOS) without issue.


I just tried it under 9.6.2rc1 and I get an infinite loop of "duplicate 
stacks" errors and it keeps trying to reload the app over and over?!?!? 
I had to force quit (on Windows 10).


Any one else have any problems?

___
use-livecode mailing list
use-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: Strange bug

2020-11-24 Thread Klaus major-k via use-livecode
Hi Matthias,

> Am 24.11.2020 um 14:02 schrieb Klaus major-k :
> 
> Hi Matthias,
> 
>> Am 24.11.2020 um 13:46 schrieb improve-revolution-010...@m-r-d.de:
>> 
>> May this is because the drapDrop message is still processed or how this is 
>> called in english.
> 
> yes, that is what I think, too.
> 
>> As a workaround couldn't you use something like this
>> send "importMe" && pURL&&",Rental M1" to me in 50 milliseconds 
>> in the DragDrop handler instead of calling importMe directly?
> 
> thank you, will try this.
> 
> I already tried this as first line in the importme handler:
> -> wait 1 secs with messages
> But that did not help.
> 
>> Matthias Rebbe

YES, that did the trick, thanks a lot! :-)
Will add this as a comment to the bug report.


Best

Klaus

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


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


Re: Strange bug

2020-11-24 Thread Klaus major-k via use-livecode



> Am 24.11.2020 um 13:32 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> FYI: I found a very strange and serious bug, if you have a minute, please 
> take a look:
> 
> A real showstopper in my opinion!
> 
> With an example stack (in my dropbox, my browser does not allow me to select 
> a file as attachment!?). Shows the problem clearly on a Mac.
> May probably work correctly on Windows, maybe not.
> 
> 
> Best
> 
> Klaus

just tested, this is also already happening in LC 5.02!?

--
Klaus Major
https://www.major-k.de
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


Strange bug

2020-11-24 Thread Klaus major-k via use-livecode
Hi friends,

FYI: I found a very strange and serious bug, if you have a minute, please take 
a look:

A real showstopper in my opinion!

With an example stack (in my dropbox, my browser does not allow me to select 
a file as attachment!?). Shows the problem clearly on a Mac.
May probably work correctly on Windows, maybe not.


Best

Klaus
--
Klaus Major
https://www.major-k.de
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