localization/localisation/ of LC Community version's GUI?

2019-03-18 Thread Nicolas Cueto via use-livecode
In short, if my aim is to translate LC Community's GUI (for youngish
Japanese students learning to program) , where might I start?

Now, if something terrifyingly named "GitHub" should be part of the answer, all
I know about that is it's a discussion start-off point for LC "gurus", plus
a cue for me to leave the room.

And, of course the Forums got a thorough going-thru. Couldn't find much,
tho. One thing was, to emphasize that I am NOT after localization of the LC
script language. As confusingly happened to Forum thread "Multi-Lingual
LiveCode?
"
(Craig Newman, April 2014). Though that thread was nonetheless useful,
especially for its introduction of a multi-lingual translation project for
Telegram .

Also on the Forum, though unrelated to the GUI, was Forum topic "Android
app localization
"
(Max V, May 2013). Especially when the ever-helpful Brian Milby stepped  in,
advising to (or, at least, I think he was?) modify LC stack's themselves
(e.g., revSaveAsStandalone, revCommonLibrary). BUT that's not what I'm
after? or is it? I don't know. Like I say, all very new.

In either case, GitHub familiarization or LC stack modifications, please!!! a
lot of hand-holding and stating the obvious.

As always, thank you for any advise---perhaps including a mnemonic for
"advise [v.?] vs. advice [n.?]".
--
Nicolas Cueto
___
use-livecode mailing list
use-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: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-18 Thread Geoff Canyon via use-livecode
Late to the party, but the contextual menu in Navigator has a scripts
sub-menu:

Scripts
Count
Count with Behaviors
Count Enclosed
Count Enclosed with Behaviors
-
Copy
Copy with Behaviors
Copy Enclosed
Copy Enclosed with Behaviors

The counting options report looks like this:

The size of the scripts is:
10438 characters in
249 lines in
3 scripts in
6 objects.


stack "/Users/gcanyon/Documents/My
Livecode/Plugins/Navigator_Behaviors/rev_b_whichTarget.livecodescript"
stack "rev_b_whichTarget"
Script Line Count: 26 Script Length: 963

stack "/Users/gcanyon/Documents/My
Livecode/Plugins/Navigator_Behaviors/rev_b_whichCard.livecodescript"
stack "rev_b_whichCard"
Script Line Count: 42 Script Length: 1785

stack "/Users/gcanyon/Documents/My
Livecode/Plugins/Navigator_Behaviors/rev_b_pophandlers.livecodescript"
stack "rev_b_pophandlers"
Script Line Count: 181 Script Length: 7690


On Fri, Mar 15, 2019 at 7:38 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I can think of one use case. A developer might charge for lines of code
> instead of hours spent.
>
> Bob S
>
>
> > On Mar 14, 2019, at 08:10 , Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > So dear readers, please understand that I'm rather eager to produce
> exactly what you're looking for, if I can learn more specifically what it
> is you want and how it helps your development process.
> >
> > Consider this an open invitation to discuss the business case for
> project metrics, and which ones are especially valuable to your work and
> which one's aren't.
>
>
> ___
> use-livecode mailing list
> use-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: [off]sublimeText update

2019-03-18 Thread Geoff Canyon via use-livecode
Don't forget that you can iterate over the keys if you need them:

repeat for each key tStack in tStacks

or over the elements if you don't need the keys:

repeat for each element V in tStacks

On Mon, Mar 18, 2019 at 4:10 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 3/18/19 3:50 PM, Bob Sneidar via use-livecode wrote:
> > Nice little shortcut. I usually put the keys into a variable first so I
> can see what they are when debugging.
>
> I do too, but this was just a one-off proof of concept.
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.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: LiveCode Localization?

2019-03-18 Thread Phil Davis via use-livecode

I considered qualifying that phrase, but... nh.


On 3/18/19 3:52 PM, Bob Sneidar via use-livecode wrote:

The hell I am! ;-)

Bob S



On Mar 17, 2019, at 17:31 , Phil Davis via use-livecode 
 wrote:

To add a new language, we clone an existing YAML file and translate it, and 
adjust the RTL/LTR training UI orientation settings as needed. Add the YAML 
file into the next build of the content editor and Bob's your uncle.


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




--
Phil Davis


___
use-livecode mailing list
use-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: [off]sublimeText update

2019-03-18 Thread Mark Wieder via use-livecode

On 3/18/19 3:50 PM, Bob Sneidar via use-livecode wrote:

Nice little shortcut. I usually put the keys into a variable first so I can see 
what they are when debugging.


I do too, but this was just a one-off proof of concept.

--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: Remain on First Card Whilst Sending Messages to Second Card

2019-03-18 Thread Bob Sneidar via use-livecode
That should not be happening simpy because you send a message to a card. 
Something must be going to the card. Lock screen will help but there are 
certain circumstances I have learned much to my dismay that unlocks all screen 
locks. 

Bob S


> On Mar 17, 2019, at 19:56 , Roger Guay via use-livecode 
>  wrote:
> 
> Hi Folks,
> 
> I have 2 cards with buttons on the first card sending message/handlers to the 
> second card. The trouble is that when the message is sent to the second, the 
> second card appears. What I want is to NOT leave the first card when the 
> handler/message is exercised on the second card. IOW, I never want to leave 
> the first card. Can that be done?
> 
> Thanks for your help!
> 
> 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


Re: LiveCode Localization?

2019-03-18 Thread Bob Sneidar via use-livecode
The hell I am! ;-)

Bob S


> On Mar 17, 2019, at 17:31 , Phil Davis via use-livecode 
>  wrote:
> 
> To add a new language, we clone an existing YAML file and translate it, and 
> adjust the RTL/LTR training UI orientation settings as needed. Add the YAML 
> file into the next build of the content editor and Bob's your uncle.


___
use-livecode mailing list
use-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: [off]sublimeText update

2019-03-18 Thread Bob Sneidar via use-livecode
Nice little shortcut. I usually put the keys into a variable first so I can see 
what they are when debugging. 

Bob S


> On Mar 16, 2019, at 10:21 , Mark Wieder via use-livecode 
>  wrote:
> 
>   repeat for each line tStack in the keys of tStacks


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

2019-03-18 Thread Bob Sneidar via use-livecode
hilarious. 

Bob S


> On Mar 16, 2019, at 10:44 , Mark Wieder via use-livecode 
>  wrote:
> 
> Some Saturday Unicode fun:
> 
> https://gizmodo.com/why-ji32k7au4a83-is-a-remarkably-common-password-1833045282
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.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


WANTED: Codecs for DirectShow and LC9xx

2019-03-18 Thread Paul Dupuis via use-livecode
WANTED: Recommendations for free to distribute and use codec for use 
with DirectShow and LiveCode 9xx under Windows.


I have found that the range of media formats DirectShow supports (out of 
the box) in LiveCode 9xx (when compared to earlier LC versions and 
Quicktime for Windows) to be staggeringly limited!


I love LiveCode, but cross-platform media playing is awful compared to 
say around the time of LC7 or 6


So, I am seeking any recommendations of free to distribute and use 
codecs for DirectShow/LiveCode 9xx under WIndows that expands the 
formats DirectShow can handle.


Mothership (i.e. LiveCode, Ltd.) you should watch this thread and if 
there are any, author and feature them in a prominent help article on 
your web site OR even better, add them into the Dictionary!



___
use-livecode mailing list
use-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: add file extension share for iOS app

2019-03-18 Thread Matthias Rebbe via use-livecode
Tried now yesterday and today eving, but without success.

I´ve created the ios standalone. copied the info.plist to the desktop and 
inserted this

CFBundleDocumentTypes
  
   
CFBundleTypeName
mrtest   
CFBundleTypeRole
Viewer
LSHandlerRank
Owner
LSItemContentTypes

tk.rebbe.mrtest.txt

   

UTExportedTypeDeclarations
   
   
UTTypeConformsTo

public.plain-text
public.text

UTTypeDescription
mrtest
UTTypeIdentifier
tk.rebbe.mrtest
UTTypeTagSpecification

public.filename-extension
txt

   


after line 20 of the info.plist file.

I´ve added the info.plist file in the copy section of the standalone settings 
and run a test on my iPhone.

I´ve opened an email on my iPhone  with an .txt attachment, but when opening 
the "dialog" in which one selects in which app the .txt shall be opened, my app 
is not listed.

What am i missing? 

Regards,

Matthias

Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de 
https://winsignhelper.dermattes.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: LC 9 and Externals

2019-03-18 Thread Mark Wieder via use-livecode

On 3/18/19 9:05 AM, Mark Waddingham via use-livecode wrote:

So - probably best to ensure that any apps which need to run on Mojave 
and future

macOS versions are built and work in 64-bit mode.


...and as a hint for applications:

open the Apple menu (upper left corner)
select "About This Mac"
click on "System Report..."
scroll down the list on the left to find "Software"
click on "Applications"

That will show you a list of the applications on your computer and 
whether each is a 64-bit application.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: Remain on First Card Whilst Sending Messages to Second Card

2019-03-18 Thread Roger Guay via use-livecode
Found it!! … Well, not exactly. I THINK I was seeing the result of a script 
error. Once I recognized that and fixed it, it stopped navigating to the second 
card. 

Thanks very much to Kee, Craig and Tom for your help and encouragement

Roger


> On Mar 18, 2019, at 8:11 AM, Kee Nethery  wrote:
> 
> I agree with Craig, somehow you are explicitly navigating to that card.
> 
> If you want to, send me the stack and I’ll see if I can figure it out today.
> 
> Kee Nethery
> 
>> On Mar 18, 2019, at 7:56 AM, Roger Guay via use-livecode 
>>  wrote:
>> 
>> What am I doing? Good question. I’m doing a lot of text editing and 
>> formatting in various fields of the second card from the first, and 
>> exporting them to rtfText files to the desktop. But there are definitely no 
>> scripts to navigate to the second card.
>> 
>> Roger
>> 
>>> On Mar 18, 2019, at 6:45 AM, dunbarxx via use-livecode 
>>>  wrote:
>>> 
>>> Hi.
>>> 
>>> There is no way that LC navigates to the other card at all, unless you have
>>> done something that tells it to.
>>> 
>>> I make a new stack with two cards, with a handler in the card script of cd
>>> 2. On cd 1 I have a button that sends a message to cd 2, invoking that
>>> handler, and I can see the results. All well and good. All happens with cd 1
>>> staring at me.
>>> 
>>> This is normal, always has been. There is no "automatic" navigation.
>>> 
>>> What are you doing?
>>> 
>>> Craig Newman
>>> 
>>> 
>>> 
>>> 
>>> --
>>> Sent from: 
>>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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 9 and Externals

2019-03-18 Thread Trevor DeVore via use-livecode
On Mon, Mar 18, 2019 at 11:05 AM Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> So - probably best to ensure that any apps which need to run on Mojave
> and future
> macOS versions are built and work in 64-bit mode.
>

I recently finished transitioning ScreenSteps to 64-bit on macOS. I decided
to move all externals that my company maintains to extensions written in
LiveCode Builder using the Foreign Function Interface. I didn't want to
have to worry about compiling them in XCode ever again. As a benefit, in
most of my cases I find it is easier to add new features to LCB code than
to externals. It was a bit of work but I'm glad I did it.

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


Re: LC 9 and Externals

2019-03-18 Thread Mark Waddingham via use-livecode

On 2019-03-18 16:59, Mark Wieder via use-livecode wrote:

On 3/18/19 8:43 AM, Mark Waddingham via use-livecode wrote:
... although if you're using the external in a stack you're shipping
to others, it may well be worthwhile to recompile it as a 64-bit
external. Especially keeping in mind that apparently Apple will soon
no longer support 32-bit applications.


Heh - yes I perhaps should have taken the opportunity to mention that...

32-bit support on Mac is very very near being terminated (it would seem) 
- whilst 32-bit apps
do still run in 10.14, they've made it virtually impossible to switch an 
app
which has both slices to run in 32-bit mode, and (perhaps worse) almost 
impossible
to switch an app which was previously marked to run in 32-bit mode back 
to running

in 64-bit mode!

So - probably best to ensure that any apps which need to run on Mojave 
and future

macOS versions are built and work in 64-bit mode.

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


Re: LC 9 and Externals

2019-03-18 Thread Mark Wieder via use-livecode

On 3/18/19 8:43 AM, Mark Waddingham via use-livecode wrote:


If this is a Mac external and it has not been rebuilt for a couple of years
(at least), then it is most likely that it does not have a 64-bit slice.
The 9 IDE (and standalones) build and run (by default) in 64-bit mode
on Mac - although you can still build standalones with a 32-bit slice and
(if you are not running 10.14) switch the IDE to run in 32-bit by using
Get Info on the LiveCode app bundle in Finder.


... although if you're using the external in a stack you're shipping to 
others, it may well be worthwhile to recompile it as a 64-bit external. 
Especially keeping in mind that apparently Apple will soon no longer 
support 32-bit applications.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: LC 9 and Externals

2019-03-18 Thread Dan Friedman via use-livecode
Mark,

Thank you for the reply!   Yes, it is a Mac External.  If I change the IDE to 
run at 32-bit, then I assume that it will produce apps that are 32-bit.  If 
that's true, then that's really not a solution as Apple is requiring that all 
apps be 64-bit.   I am probably going to have to have this external rebuilt, 
right?

-Dan


On 3/18/19, 8:44 AM, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

Hi Dan,

On 2019-03-18 16:35, Dan Friedman via use-livecode wrote:
> FYI, it's working in LC 8.X. -- the stack is closed when the external
> paths are set, I am verifying that the external exists, etc.  It's
> working in 8, what changed in 9?

If this is a Mac external and it has not been rebuilt for a couple of 
years
(at least), then it is most likely that it does not have a 64-bit slice.
The 9 IDE (and standalones) build and run (by default) in 64-bit mode
on Mac - although you can still build standalones with a 32-bit slice 
and
(if you are not running 10.14) switch the IDE to run in 32-bit by using
Get Info on the LiveCode app bundle in Finder.

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

Re: LC 9 and Externals

2019-03-18 Thread Mark Waddingham via use-livecode

Hi Dan,

On 2019-03-18 16:35, Dan Friedman via use-livecode wrote:

FYI, it's working in LC 8.X. -- the stack is closed when the external
paths are set, I am verifying that the external exists, etc.  It's
working in 8, what changed in 9?


If this is a Mac external and it has not been rebuilt for a couple of 
years

(at least), then it is most likely that it does not have a 64-bit slice.
The 9 IDE (and standalones) build and run (by default) in 64-bit mode
on Mac - although you can still build standalones with a 32-bit slice 
and

(if you are not running 10.14) switch the IDE to run in 32-bit by using
Get Info on the LiveCode app bundle in Finder.

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


LC 9 and Externals

2019-03-18 Thread Dan Friedman via use-livecode
Greetings!

I have been using an external in my projects for literally over 10 years.  I am 
updating a project from 8.1.5 to the latest version of LC, 9.0.3.  Suddenly, 
it's not working.  I tried it in 9.0.2, 9.0.1 and 9.0.0 same thing.  I tried it 
in the last version of 8 (8.1.9) and it worked perfectly.  Clearly, something 
changed in how externals are handled in LC 9.  Or, have they been retired?  
"Externals" still appears in the dictionary.  Does anyone have any insight to 
using externals in LC 9?

FYI, it's working in LC 8.X. -- the stack is closed when the external paths are 
set, I am verifying that the external exists, etc.  It's working in 8, what 
changed in 9?

-Dan

___
use-livecode mailing list
use-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: Remain on First Card Whilst Sending Messages to Second Card

2019-03-18 Thread dunbarxx via use-livecode
Roger.

Maybe make sure that screen locking is disabled everywhere, and step through
a few handlers that might be the culprit?

I have seen this in my travels over the years. It was always me.

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-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: Remain on First Card Whilst Sending Messages to Second Card

2019-03-18 Thread Roger Guay via use-livecode
What am I doing? Good question. I’m doing a lot of text editing and formatting 
in various fields of the second card from the first, and exporting them to 
rtfText files to the desktop. But there are definitely no scripts to navigate 
to the second card.

Roger

> On Mar 18, 2019, at 6:45 AM, dunbarxx via use-livecode 
>  wrote:
> 
> Hi.
> 
> There is no way that LC navigates to the other card at all, unless you have
> done something that tells it to.
> 
> I make a new stack with two cards, with a handler in the card script of cd
> 2. On cd 1 I have a button that sends a message to cd 2, invoking that
> handler, and I can see the results. All well and good. All happens with cd 1
> staring at me.
> 
> This is normal, always has been. There is no "automatic" navigation.
> 
> What are you doing?
> 
> Craig Newman
> 
> 
> 
> 
> --
> Sent from: 
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> 
> ___
> use-livecode mailing list
> use-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

Drag-and-Drop with Desktop files

2019-03-18 Thread R.H. via use-livecode
Sub-Subject: Detecting user selected files/folders in Windows and other
OSes.

I like to refer to the last message from -hh (see reference below)
regarding Windows possibility of detecting selected items (folders, files,
icons as such) on the Windows Desktop. The solution -hh already provided
when items are selected in any Windows Explorer. The Desktop is not part of
that and basically a special Windows ListView control.

It is correct that items selected on the Windows Desktop are deselected
when another window is becoming active. So, using LiveCode would not work
this way.

What could work though is a service that is running in Windows OS and
detects selected items of the Windows Desktop and their status of type,
selection and position, etc. The service could be started when opening
LiveCode and shut down when closing it. Data would be saved to a temporary
file.

So, switching focus to the LiveCode window would allow reading the temp
file with the list of selected items that have been selected BEFORE the
user activated the LiveCode window.

It is too much of a hassle at the moment for me writing such a program that
runs in the background. Nevertheless, for C/C++ and C# there are some code
fragments around that are public and doing just that.

For my clients, it is a very good solution to be enabled now to select
files/folders and read their path into LiveCode. For Desktop items in
Windows, I just tell them to move them into a folder and select them within
this folder (which is then an Explorer window). So, that works with scripts
-hh provided.

THIS IS MORE CONVENIENT THAN DRAG-AND-DROP of files/folders even though I
also support drag-and-drop plus the standard file/folders selection window.

Many thanks again. And I hope the same will work on MacOS and Linux as -hh
also provided solutions there, and I saw others providing. (I am not using
both others OSes since my clients are 100% Windows only.)

--Message: 16
--Date: Thu, 14 Mar 2019 21:33:32 +0100
--From: hh 

--But there is NO method to get the selectedItems from the virtual desktop
folder.
--Moreover, as you may notice, the selected items are deelected when you
activate
--another window (as for example a LC window or an explorer window).
--The only workaround I can see (besides using an answer file dialog or
dragDrop) is:

--1. launch document specialFolderPath("Desktop") --> open desktop folder
in explorer
--2. User should select the files in that window.
--3. Use the already working method for explorer windows.

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


[ANN] This Week in LiveCode 172

2019-03-18 Thread panagiotis merakos via use-livecode
Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #172 here: https://goo.gl/A9VTq3

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project. New issues will be
released weekly on Mondays. We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.


-- 
Panagiotis Merakos 
LiveCode Software Developer

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


Re: App rejected - add parental gate

2019-03-18 Thread Andrew Bell via use-livecode
I had a student submit an app that got rejected for the same reason.  
To gain approval he presented a grid of 9 random numbers  
(7,19,603,73,29,200,etc.) and asked the end-user to select values that  
were "multiples of 3" (603,29,etc.). This was deemed an appropriate  
age-gate for his audience and intended outside activity (post to  
Facebook).


He stopped developing and the app has been removed from the App Store  
(never was updated for iOS 11), so there isn't a good way to see his  
example.  
https://appadvice.com/app/the-adventures-of-marie-and-best-buddy-africa-part-1/935339249


All 3 of those examples that Apple gives seem pretty easy to script in  
LiveCode. Bigger problem may be determining what is age appropriate.


--Andrew Bell


Date: Sat, 16 Mar 2019 10:11:26 +0100
From: William de Smet 
Subject: App rejected - add parental gate

Hi there,

An app update was rejected due to the fact I ticked the ?Kids  
category? in the initial version of the app. In the app they can  
share an image outside the app. The current quidelines say I have to  
add a parental gate now.

Is there anyone who has an example on how to do this?
https://developer.apple.com/app-store/parental-gates/

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: Remain on First Card Whilst Sending Messages to Second Card

2019-03-18 Thread dunbarxx via use-livecode
Hi.

There is no way that LC navigates to the other card at all, unless you have
done something that tells it to.

I make a new stack with two cards, with a handler in the card script of cd
2. On cd 1 I have a button that sends a message to cd 2, invoking that
handler, and I can see the results. All well and good. All happens with cd 1
staring at me.

This is normal, always has been. There is no "automatic" navigation.

What are you doing?

Craig Newman




--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

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


AW: who has experience with mp4 videos on windows?

2019-03-18 Thread Tiemo Hollmann TB via use-livecode
Hello Hermann,

if I would start from the scratch today, it probably would be worth a try,
but I think I don't like the idea to reengineer my program with 20.000
videos and a lot of special functions related to the videos. It's just two
years ago I had to dump the QT player and re-code all videos :)

Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von hh via use-livecode
Gesendet: Montag, 18. März 2019 11:27
An: use-livecode@lists.runrev.com
Cc: hh 
Betreff: Re: who has experience with mp4 videos on windows?

Why not use the future: HTML5 video tag, in a browser widget or a HTML5
standalone?

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


AW: who has experience with mp4 videos on windows?

2019-03-18 Thread Tiemo Hollmann TB via use-livecode
Hello Nicolas,

thanks for your idea, but my app doesn't updates the codec.
But nevertheless, I just found a newer version of the LAV filters - worth a
try.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Nicolas Cueto via use-livecode
Gesendet: Montag, 18. März 2019 10:43
An: How to use LiveCode 
Cc: Nicolas Cueto 
Betreff: Re: who has experience with mp4 videos on windows?

Tiemo,

My advice is probably of no use but...

Could it be the solution is updating the codecs?

What you described reminded me very much of "MX Player" updates (a popular
video player for Android). Every time after an update, some videos open up
with no sound and a "This Audio Format AC3 Is Not Supported" error  message.
Updating the codecs is always the
(irksome!) solution; licensing issues, I think?

Anyway, my 3 yen's worth... which is what's hanging around in my wallet
now... and getting rid of 1-yen coins is only a little less of a pain than
Googling for the latest codecs.

--
Nicolas Cueto

On Mon, 18 Mar 2019 at 18:09, Tiemo Hollmann TB via use-livecode
 wrote:
>
> Hello,
>
> I still have trouble playing mp4-h.264 videos on some windows machines 
> since some time. I have installed the LAV-filters, which work fine for 
> h.264 on windows. Where my program can play my videos on most windows 
> machines without any problems, there are some single computers, where 
> the video screen just stays black and nothing happens. (tested 
> with/without buffering).
>
>
>
> This occurred with LC 8. Building a standalone with LC 9.0 my same 
> program could play the videos immediately. And now again, my same 
> program without any changes, build with LC 9.0.2 doesn't plays the 
> videos on some machines again anymore.
>
>
>
> This is very annoying for some of my customers, when they accept my 
> automatic update and the programs doesn't plays the videos anymore 
> after the update.(Playing videos is the essential task of my program)
>
>
>
> I discussed this already with Panos in Sep. 2018 and his guess where 
> two new header includes in w32-ds-player.cpp(d3d9.h and vmr9.h)in LC 9 
> what have made it work in LC 9. But now in LC 9.0.2 the videos are 
> broken again on some computers and I guess the headers are still 
> included. This is very hard to track down, because either Panos nor me
can't reproduce this issue.
>
>
>
> Is there anybody, who also works with mp4-h.264 videos on windows?
>
> Any experiences? Any ideas what to check for?
>
>
>
> Thanks for any ideas
>
> Tiemo
>
>
>
>
>
> ___
> use-livecode mailing list
> use-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: who has experience with mp4 videos on windows?

2019-03-18 Thread hh via use-livecode
Why not use the future: HTML5 video tag, in a browser widget
or a HTML5 standalone?

___
use-livecode mailing list
use-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: who has experience with mp4 videos on windows?

2019-03-18 Thread Nicolas Cueto via use-livecode
Tiemo,

My advice is probably of no use but...

Could it be the solution is updating the codecs?

What you described reminded me very much of "MX Player" updates (a
popular video player for Android). Every time after an update, some
videos open up with no sound and a "This Audio Format AC3 Is Not
Supported" error  message. Updating the codecs is always the
(irksome!) solution; licensing issues, I think?

Anyway, my 3 yen's worth... which is what's hanging around in my
wallet now... and getting rid of 1-yen coins is only a little less of
a pain than Googling for the latest codecs.

--
Nicolas Cueto

On Mon, 18 Mar 2019 at 18:09, Tiemo Hollmann TB via use-livecode
 wrote:
>
> Hello,
>
> I still have trouble playing mp4-h.264 videos on some windows machines since
> some time. I have installed the LAV-filters, which work fine for h.264 on
> windows. Where my program can play my videos on most windows machines
> without any problems, there are some single computers, where the video
> screen just stays black and nothing happens. (tested with/without
> buffering).
>
>
>
> This occurred with LC 8. Building a standalone with LC 9.0 my same program
> could play the videos immediately. And now again, my same program without
> any changes, build with LC 9.0.2 doesn't plays the videos on some machines
> again anymore.
>
>
>
> This is very annoying for some of my customers, when they accept my
> automatic update and the programs doesn't plays the videos anymore after the
> update.(Playing videos is the essential task of my program)
>
>
>
> I discussed this already with Panos in Sep. 2018 and his guess where two new
> header includes in w32-ds-player.cpp(d3d9.h and vmr9.h)in LC 9 what have
> made it work in LC 9. But now in LC 9.0.2 the videos are broken again on
> some computers and I guess the headers are still included. This is very hard
> to track down, because either Panos nor me can't reproduce this issue.
>
>
>
> Is there anybody, who also works with mp4-h.264 videos on windows?
>
> Any experiences? Any ideas what to check for?
>
>
>
> Thanks for any ideas
>
> Tiemo
>
>
>
>
>
> ___
> use-livecode mailing list
> use-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


who has experience with mp4 videos on windows?

2019-03-18 Thread Tiemo Hollmann TB via use-livecode
Hello,

I still have trouble playing mp4-h.264 videos on some windows machines since
some time. I have installed the LAV-filters, which work fine for h.264 on
windows. Where my program can play my videos on most windows machines
without any problems, there are some single computers, where the video
screen just stays black and nothing happens. (tested with/without
buffering).

 

This occurred with LC 8. Building a standalone with LC 9.0 my same program
could play the videos immediately. And now again, my same program without
any changes, build with LC 9.0.2 doesn't plays the videos on some machines
again anymore. 

 

This is very annoying for some of my customers, when they accept my
automatic update and the programs doesn't plays the videos anymore after the
update.(Playing videos is the essential task of my program)

 

I discussed this already with Panos in Sep. 2018 and his guess where two new
header includes in w32-ds-player.cpp(d3d9.h and vmr9.h)in LC 9 what have
made it work in LC 9. But now in LC 9.0.2 the videos are broken again on
some computers and I guess the headers are still included. This is very hard
to track down, because either Panos nor me can't reproduce this issue.

 

Is there anybody, who also works with mp4-h.264 videos on windows?

Any experiences? Any ideas what to check for?

 

Thanks for any ideas

Tiemo

 

 

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