Re: Multiple Displays and Screenrect

2021-03-18 Thread HENRY LOWE via use-livecode
In its plural form (screenRects) this function returns a list containing

the virtual co-ordinates of all the screens currently attached to the

system. The first line is always that of the primary display, and the

order of the rest are in an OS-specific order.


Henry

> On Mar 18, 2021, at 2:28 PM, Roger Guay via use-livecode 
>  wrote:
> 
> Can someone please tell me how to get the screenRect of multiple monitor 
> setup?
> 
> Thanks,
> Roger
> ___
> use-livecode mailing list
> use-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


Multiple Displays and Screenrect

2021-03-18 Thread Roger Guay via use-livecode
Can someone please tell me how to get the screenRect of multiple monitor setup?

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


How do I change the icon after sound is ready?

2021-03-18 Thread William de Smet via use-livecode
Hi there,

How do I change the icon back to "play" after the played sound is ready in
my script below?

if the iconPath of widget "dummy" is the iconPath of widget "play"
then
set the iconPath of widget "dummy" to the iconPath of widget "pause"
play specialFolderPath("documents") & slash & "recording1.wav"
else
set the iconPath of widget "dummy" to the iconPath of widget "play"
play empty
end if


Any suggestions are welcome.


greetings,

William
___
use-livecode mailing list
use-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 Screen resizing /EXACT FIT not working as before

2021-03-18 Thread Andrew at MidWest Coast Media via use-livecode
Found this old thread and forgot that I discovered my problem a few weeks ago, 
so thought I would post in-case it helps anyone else.

I was Copy Files including an info.plist because I had some special permissions 
needed for the app: THIS was the problem. 

Normally I would compile the app, then grab the newly packaged info.plist to 
modify the version/build number and save that back to be included in the app. 
[see https://quality.livecode.com/show_bug.cgi?id=19780 
 for details]
It was the old plist from pre-Storyboard build that was wreaking havoc. There 
was some property that was being copied in addition to the new Storyboard 
properties, but that old property was somehow dictating the device dimensions 
and reporting them wrong. As soon as I recompiled once WITHOUT including an old 
info.plist in the Copy Files for the Standalone, everything rendered in a 
reasonable manner.

YMMV, but this was an oddity that eluded me for far too many billable hours.

—Andrew Bell

On 11/2/20 1:30 PM, Lagi Pittas via use-livecode wrote:
> Hi,
> 
> On an IOS app we have been using the
> 
> setfullscreenmode of stack "XYZ" to exactfit.
> 
> Although it isn't perfect in the sense it doesn't try to use the "notch" it
> has been working well.
> 
> We have compiled with the latest livecode stable and the latest XCODE and
> now the there is
> a greater margin on either side and the top (especially on the iphone plus)
> 
> We did notice this happened randomly and very very rarely on the previous
> version of xcode and the previous stable livecode but it
> wasn't a "HARD" error and not on everybody's IPHONE 8 plus
> 
> Anybody have any ideas the best way to make the App resize well on all the
> new ones?
> 
> The dimensions of the stack are 414 by 736 (the logical resolution of the
> iphone 8 plus) .
> 
> To date it has scaled pretty well down and up but now on the iphone we have
> more of it is not scaling up properly.
> 
> Any suggestions for making this work SIMPLY ie we don't need it to bother
> too much about the notch  as long as it uses as much
> real estate for the different sizes. The App looked fine on the X as well
> even if it didn't go right down to the bottom.
> 
> I am not one to follow the latesdFads ghis is a business program so there
> is no dark mode or other stupid ideas to make
> people upgrade for no reason other than its different.
> 
> Any ideas or help appreciated.
> 
> 
> Lagi
> 

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


Android commissions

2021-03-18 Thread Andrew at MidWest Coast Media via use-livecode
In November 2020 I reported a similar story about Apple. It seems Android is 
following suit and cutting their take from 30% to 15% for small developers. 
This is GREAT for those of us selling under $1M worth of software annually!

Blog story: 
https://www.engadget.com/google-play-store-fee-reduction-july-1-172359771.html 

 
Official PR: 
https://android-developers.googleblog.com/2021/03/boosting-dev-success.html 


LiveCode is already looking into how to better support our revenue stream @ 
https://quality.livecode.com/show_bug.cgi?id=23116 
 

—Andrew Bell
___
use-livecode mailing list
use-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 share a recorded sound on iOS?

2021-03-18 Thread William de Smet via use-livecode
Hi Matthias,

What I tried with mergPopActivity was a little different and it didn't work:
put specialfolderpath("documents") & "/" & "recording1.wav" into tPath

Now it does.
Thanks!



greetings,

William




Op do 18 mrt. 2021 om 00:27 schreef matthias rebbe via use-livecode <
use-livecode@lists.runrev.com>:

> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> > Am 18.03.2021 um 00:00 schrieb William de Smet via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi Matthias,
> >
> > Yes I want something like the standard share sheet on iOS.
> > And for instance I want to share the .WAV file with Apple Messages.
> >
> Now i understand.
>
> > Do I need to associate the .WAV file with other apps?
> > Then I have to use custom URL schemes, I think.
> > Is that what you mean?
> >
> The custom url scheme settings in the standalone builder is for the ios
> app itself, not for other apps on the iOS device.
>
> I just did a short test with mergPopActivity. I am able to send/share the
> .caf file located in the documents folder with Telegram, Signal and other
> apps installed on my iPhone, but not with messages.
>
> But i was able  to copy the file to the clipboard using mergPopActivity
> and then to paste it into Messages.
>
> Seems Messages does not support the .caf file type.
>
> I used this code for my test
>mergPopActivity "Share with...","" ,"file:" documents folder
> &"/output.caf"
>
>
>
> >
> > greetings,
> >
> > William
> >
> >
> >
> >
> > Op wo 17 mrt. 2021 om 23:29 schreef matthias rebbe via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >>
> >> Sorry, i do not get it.
> >> You want to record it on the iOS device and then you want to have access
> >> to it with an other app on the same iOS device?
> >> So the question is with what or whom do you want to share the
> recordings?
> >>
> >>
> >>> Am 17.03.2021 um 23:21 schrieb William de Smet via use-livecode <
> >> use-livecode@lists.runrev.com>:
> >>>
> >>> Hi Matthias,
> >>>
> >>> With sharing I mean like the iOS share sheet.
> >>> A bit like using the mergPop with mergPopActivity but then with .WAV
> >> files.
> >>>
> >>> I got it working with 'mobileComposeMail (with an attachment)' but in
> >> this
> >>> way you need to have an actived mailacoount on your iOS device.
> >>> And mailaccounts are not present on the iOS devices that will be used.
> >>>
> >>>
> >>>
> >>> greetings,
> >>>
> >>> William
> >>>
> >>>
> >>>
> >>>
> >>> Op wo 17 mrt. 2021 om 23:05 schreef matthias rebbe via use-livecode <
> >>> use-livecode@lists.runrev.com>:
> >>>
>  William,
> 
>  what do you mean with sharing?
> 
>  Do you want to connect your iOS device to iTunes on Win/Mac and want
> to
>  get access to that recorded files in iTunes?
>  If that's the case, then go to the Standalone Settings for your iOS
> >> stack,
>  switch to Requirements and check the "File Sharing" option.
>  This should allow iTunes to get access to the documents folder.
> 
>  If this is not what you want to do, then please explain it a little
> bit
>  more.
> 
> 
> 
>  -
>  Matthias Rebbe
>  Life Is Too Short For Boring Code
> 
> > Am 17.03.2021 um 19:51 schrieb William de Smet via use-livecode <
>  use-livecode@lists.runrev.com>:
> >
> > Hi there,
> >
> > I am developing a simple stack to record sounds with mergMicrophone.
> > Is there a way to share the recorded sounds which are located in
> > specialFolderPath("documents")?
> >
> >
> > Greetings,
> >
> > William
> > ___
> > use-livecode mailing list
> > use-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:
> >