Re: Shell - c Full Example

2017-07-06 Thread Sean Cole (Pi) via use-livecode
Hi
Is C# any different in terms of calls and compiling?

Thanks JB

Sean Cole
*Pi Digital Productions Ltd*

On 30 June 2017 at 15:35, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sow how would you do that? static char rev[MAX -1]?rev[i++] =
> *str & NULL?
> >
> >>
>
> Bob S
> >>
> > On Jun 29, 2017, at 20:20 , Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >> char* getReverse(char const str[]){
> >> static int i=0;
> >>  if(*str){
> >> getReverse(str+1);
> >> }
> >>  return rev;
> >> }
> >
> > Nice use of recursion, but note that you're susceptible to buffer
> overflow if you don't limit str to MAX-1 chars. And rev should be
> null-terminated.
> >
> > --
> > Mark Wieder
>
>
> ___
> use-livecode mailing list
> use-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: Augmented Earth now on the App Store!

2017-07-06 Thread Sean Cole (Pi) via use-livecode
Hi Jonathan,

I tried a shut down and reopen. I needed to let it sit on the open page for
a good 5mins or so and finally displayed the 'Hello' prompt. Closing it
down and restarting it then took only 3-4 seconds after the loading page.

In the registration page the 'Finish' button is off the bottom of the page
and I can't scroll to it. -
https://www.dropbox.com/s/b49nqjutuv236wz/IMG_DC61C94076A8-1.jpeg?dl=0

Also on the registration page, the other fields are greyed out so I can't
create a profile. Hitting return from the password (h) (what does h and
s mean?) field comes up with '[Error] Incorrect or inactive app user login
credentials'.

The text in the Done button is selectable as it all of the other text. It's
also smaller than the iOS recommended size for fingers (44x44 pixels lores,
88 (=44pts) retina). See https://designcode.io/iosdesign-guidelines down at
Buttons and Font Sizes

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 6 July 2017 at 15:36, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Well shoot - thanks Sean
>
> If you shut it down and reopen, it will probably go, but I need to figure
> that one out
>
> Sent from my iPhone
>
> > On Jul 6, 2017, at 10:21 AM, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Jonathan,
> >
> > Well done on getting this to store. I've just downloaded to my iPhone6
> > running iOS11b3 and it hangs on the opening page with the title and
> globe.
> > It doesn't appear to go beyond this just yet. It may be just that I'm on
> a
> > beta OS but thought I'd let you know.
> >
> > All the best
> >
> > Sean Cole
> > *Pi Digital Productions Ltd*
> >
> >
> > eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> > Productions Ltd is a UK registered limited company, no. 5255609
> >
> > On 6 July 2017 at 15:01, Jonathan Lynch via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Hi everyone,
> >>
> >> Version 1 of Augmented Earth is now live on the Apple App Store :)
> >>
> >> If you get a chance, please check it out. This is just a soft launch,
> but
> >> I am excited to have it out there. I won't start heavy promotion until
> >> version 1.5.
> >>
> >> I will be posting a map-only version on Livecode Share for explaining
> how
> >> to do 3D webgl Earth maps in LC, prior to my presentation at the
> September
> >> LC Global conference.
> >>
> >> All constructive feedback is welcome, I have much to improve.
> >>
> >> A big thanks to everyone here for all the helpful tips :)
> >>
> >> Here is the link, for iPhone/iPad users:
> >>
> >> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1=8
> >>
> >> Sent from my iPhone
> >> ___
> >> use-livecode mailing list
> >> use-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: IntelliSense - Intelligent code completion for LiveCode

2017-07-20 Thread Sean Cole (Pi) via use-livecode
Todd, this is what the community edition of LC was designed for, so that
people like you and I can code this ourselves and submit it for inclusion
into the whole package. That was the whole purpose of LC going to the
trouble of becoming Open Source. The power is in your hands. Make it
happen. This sort of stuff is not engine based, so write it in LiveCode. As
you know, LC excels in doing this kind of text based search and modify, so
is ideally suited to accomplish Intellisense. This kind of donation to the
community is worth far more than any subscription you might pay.

We all look forward to seeing what you come up with.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk


On 19 July 2017 at 21:22, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Forgot a setence.
>
> Maybe he is willing to share it.
>
> Matthias Rebbe
> +49 5741 31
> ‌matthiasrebbe.eu ‌
>
> > Am 19.07.2017 um 22:18 schrieb Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com >:
> >
> > Zryip created a little intellisense plugin some years ago.
> >
> > http://www.aslugontheroad.com/in-progress/9-intellisense-plugin <
> http://www.aslugontheroad.com/in-progress/9-intellisense-plugin> www.aslugontheroad.com/in-progress/9-intellisense-plugin <
> http://www.aslugontheroad.com/in-progress/9-intellisense-plugin>>
> >
> > It´s free for users of the Excel Library.
> >
> > Matthias
> >
> > Matthias Rebbe
> > +49 5741 31
> > ‌matthiasrebbe.eu   http://matthiasrebbe.eu/>>‌
> >
> >> Am 19.07.2017 um 22:10 schrieb Todd Fabacher via use-livecode <
> use-livecode@lists.runrev.com  > runrev.com>>>:
> >>
> >> One of the single largest problems we face is resistance to LiveCode in
> the
> >> corporate is developers. One, they are not eager to learn a new
> language.
> >> But once I show them LiveCode, they see the simple ease and simplicity
> and
> >> become open to the prospect. I even explain it as a way of prototyping
> >> their logic in an English format.
> >>
> >> But once they start coding, they outright reject it because of the
> complete
> >> lack of IntelliSense. These people will NOT BUDGE. There is no way we
> are
> >> going to convince them that they will have to remember the properties
> and
> >> function names.
> >>
> >> I saw in Kevin's demo of the latest version which showed that there was
> >> FINALLY a list of events to choose from. This should have been there
> years
> >> ago. You just need to look at LiveCode's competition to see progress.
> Xojo
> >> is one example. We needed to create a RasPi app as a test, so we
> purchased
> >> a license, and it's IDE was quite good. MUCH better than LiveCode. We
> also
> >> use Visual Studio, which has fantastic IntelliSense.
> >>
> >> Here is what they are looking for:
> >>
> >> 1. Function completion. As you type it starts to match a function name,
> all
> >> the functions so up in a list to choose from as I type.
> >>
> >> 2. Function parameters. once I type a function, I can mouse over it and
> all
> >> the parameters and a quick explanation show up.
> >>
> >> 3. I understand that properties are going to be a problem because
> LiveCode
> >> is NOT in an algebraic format like Object.Property = value. So setting
> the
> >> properties first is an issue. How about we put in a placeholder like:
> >>
> >> set the ? from field "test"
> >> set the ? from widget "map"
> >>
> >> Then...as soon as I put in the object type or object name for a widget,
> I
> >> would get a pop-up with a list of properties to select from.
> >>
> >>
> >> These functionalities may not be easy, but should not be difficult.
> Maybe
> >> an IntelliSense extension, done by the community can be done? It is a
> major
> >> barrier to entry for experienced developers to switch to. This is the #1
> >> reason we can not get coders in companies to agree to LiveCode. #2 was
> Git,
> >> but that seems to be solved with community involvement from Trevor.
> >>
> >> Just an idea,
> >>
> >> Todd Fabacher
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com 
>  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:
> > 

Re: What happened to LC version numbers?

2017-07-19 Thread Sean Cole (Pi) via use-livecode
Microsoft don't count ME or Vista. They were bug test releases that proved
to be more buggy than the bugs they were claiming to repair, so that
7,8,9,10 work consecutively from 1,2,3,95 (9-5=4),98 (v4+
(9-8)=5),XP(abs(ascii-x - ascii-P)=24;2+4=6)
;)

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 19 July 2017 at 18:12, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Why worry?
>
> When I release a new version of my Devawriter Pro I think of a number,
> multiply it by 3.3 recurring, subtract 7 and claim it
> was all the result of a mystical experience, and, so far, no one has
> complained.
>
> With the shining examples of Microsoft . . . as a kid said to me the other
> day: "How come that boy has just been given an old laptop by his
> Granddad that is running Windows 95 when mine only runs Windows 10?"
>
> and Apple:
>
> System 6, 7, 8, 9 and then "10" (whoops 'X') for the last 15 years,
>
> nobody should let seemingly illogical numbering systems fuss them.
>
> After all . . .  8.1.6 comes AFTER 8.1.5, and DP-8 comes AFTER DP-7, and
> RC-3 comes AFTER RC-2;
> which IS better than Windows 1, 2, 3, 95, 98, ME, Vista, XP, 7, 8, 10 [may
> have left out some there] in
> so many ways I cannot list them.
>
> When is Apple going to release System 11, if ever?
>
> Richmond.
>
> On 7/19/17 7:44 pm, Mark Wieder via use-livecode wrote:
>
>> On 07/19/2017 06:54 AM, Bob Hall via use-livecode wrote:
>>
>>> Why are we testing a new feature in a RELEASE CANDIDATE version #2? Why
>>> are significant features being added at all to the 8.x branch? What
>>> standard (if any) do Livecode version numbers follow?
>>>
>>
>> I was wondering along the same lines. I have previously been assured that
>> new "features" don't get rolled into release candidate builds, and the only
>> changes in successive rc builds are things that caused regression failures
>> in earlier builds. It seems that this policy has now changed to allow for
>> changes to see how new users will react.
>>
>>
> ___
> use-livecode mailing list
> use-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 happened to LC version numbers?

2017-07-19 Thread Sean Cole (Pi) via use-livecode
It's unlikely that there will be an 8.2.0 release unless they add in the
Obj-C/Java stuff into v8. Version numbers have been described in the past.
I can't find the post but, as I remember it, it is something like:

v8 = Major change to Engine and IDE that would cause current projects to
potentially no longer work due to additions or subtraction in functionality
or a change in workflow.
.1 = A major addition that will not affect previous projects but will add
to the functionality of the previous (sub)release.
.6 = A bug fix (more likely multiple bugs).
DP/RC = Previews to make sure that any bug fixes do not have a knock on
effect to other functionality. If it fails it moves up a DP/RC number till
it is deemed stable and can be released as such.

So, not too different to how it works in most software houses I think.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk


On 19 July 2017 at 14:54, Bob Hall via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > On Jul 19, 2017, at 4:55 AM, Mark Waddingham via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Admittedly, this was perhaps a slightly riskier test then something like
> the handler menu;
>
> I’ve been scratching my head of late with Livecode version numbers. They
> don’t seem to follow any rhyme or reason any longer. I’m sure they do to
> someone but I’m not quite sure what’s going on.
>
> Why are we testing a new feature in a RELEASE CANDIDATE version #2? Why
> are significant features being added at all to the 8.x branch? What
> standard (if any) do Livecode version numbers follow?
>
> So, here’s to looking forward to 8.2.0dp1 (which will be known as 8.1.6rc3
> in the real world :-)
>
> Bob
>
>
>
>
>
> ___
> use-livecode mailing list
> use-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: Feature Race: Pick Your Project

2017-07-06 Thread Sean Cole (Pi) via use-livecode
On 5 July 2017 at 19:04, Kevin Miller via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The reality is that we now need to look at what we are doing next and what
> is affordable. If we don¹t fund this project, the knock on effects for the
> platform will be very significant. We¹re already a very small team that
> punches well above our weight. We have the potential for a very bright
> future with the rather amazing stuff that you can now do. Check out Ali¹s
> blog post on Android and wait a few more days for more.
>

This is encouraging, Thanks, Kevin.
The real issue has definitely been the extremely low level of communication
regarding the project that would have appeased us a great deal, especially
when various walls were met that led to its delay, perceived or otherwise.
But it seems you and the team are learning from this. I agree with HH's
last comment, *"*I still think after having the results of Infinite
LiveCode such a sum would *be funded in one day.", *so maybe, redo the
campaign once Infinite is fully released. I was 'promised' obj-c by this
time last year! Tip: Don't make promises like that *ever* again! :)

Sean Cole
*Pi Digital Productions Ltd*

PS. I wasn't aware of this either:
J.L.Gay -
*Another reason may be the subject title. I'm not sure everyone understands
that this feature will improve much more than just datagrids. A subset of
users employ datagrids, but everyone needs smooth scrolling in a variety of
situations.*
___
use-livecode mailing list
use-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: Augmented Earth now on the App Store!

2017-07-06 Thread Sean Cole (Pi) via use-livecode
Hi Jonathan,

Well done on getting this to store. I've just downloaded to my iPhone6
running iOS11b3 and it hangs on the opening page with the title and globe.
It doesn't appear to go beyond this just yet. It may be just that I'm on a
beta OS but thought I'd let you know.

All the best

Sean Cole
*Pi Digital Productions Ltd*


eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 6 July 2017 at 15:01, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi everyone,
>
> Version 1 of Augmented Earth is now live on the Apple App Store :)
>
> If you get a chance, please check it out. This is just a soft launch, but
> I am excited to have it out there. I won't start heavy promotion until
> version 1.5.
>
> I will be posting a map-only version on Livecode Share for explaining how
> to do 3D webgl Earth maps in LC, prior to my presentation at the September
> LC Global conference.
>
> All constructive feedback is welcome, I have much to improve.
>
> A big thanks to everyone here for all the helpful tips :)
>
> Here is the link, for iPhone/iPad users:
>
> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1=8
>
> Sent from my iPhone
> ___
> use-livecode mailing list
> use-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 I lock screen over more than one handler?

2017-07-05 Thread Sean Cole (Pi) via use-livecode
Hi Tiemo,
The solution here is to call another lockScreen at the beginning of
handler2. You don't have to use the unlockScreen at the end of handler 1
and 2 as it will do that automatically but it is advisable to include the
command anyway. Is there a reason why you had an aversion to using a
lockScreen at the start of handler2?

All the best

Sean Cole
*Pi Digital Productions Ltd*

On 5 July 2017 at 14:09, Trevor DeVore via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >
> > Is this possible?
> >
> > on handler1
> >
> > lock screen
> >
> > -- do some stuff here
> >
> > send "handler2" in 0 milliseconds
> >
> > end handler1
> >
> >
> >
> > on handler2
> >
> > -- do some other stuff here
> >
> > unlock screen
> >
> > end handler2
> >
>
> No it is not. From the docs for `lock screen`:
>
> "When all pending handlers are finished executing, the lockScreen property
> is set back to false and the user sees the current state of stack windows
> on the screen."
>
> The use of the word "pending" is confusing because when you use `send` you
> end up with an entry in the `pendingMessages`. But the screen is going to
> be unlocked each time through the event loop. If `handler` called
> `handler2` directly (without using `send`) then you would not see the
> screen update. You should see the result you are looking for if you change
> your code to look like this:
>
> ```
> on handler1
>   lock screen
>
>   -- do some stuff here
>
>   handler2
> end handler1
> ```
>
> If you need to call `handler2` in time then you will need to figure out
> another approach to updating the screen. Perhaps all screen updates will
> need to happen in `handler2`.
>
> --
> 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
>
___
use-livecode mailing list
use-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: Momentum Scrolling Script

2017-06-28 Thread Sean Cole (Pi) via use-livecode
Jonathan,
I would also recommend using the var name prefixes as recommended by LC in
thier Tips for Writing Good Code when sharing publicly. Like this I mean:

Local sStartDrag
Local sAllowDrag
Local sStartDragMil
Local sCumulativeMomentum

on mousedown
   focus on nothing
   if word 1 of the name of the target = "button" or the isbutton of the
target = 1 then
  exit mousedown
   end if
   put (the mouseV)+(the vScroll of me) into sAllowDrag
   put the milliseconds into sStartDragMil
   put (the mouseV) into sStartDrag
   repeat with CM = 1 to 5
  put 0 into sCumulativeMomentum[CM]
   end repeat
   send momentumAccumulate to me in 0 milliseconds
end mousedown

on momentumAccumulate
local tTimeForLastMove, tCurrentMouseV, tLastDistanceCovered
   if mouse(1) <> "down" then
  exit momentumAccumulate
   end if
   put the milliseconds-sStartDragMil into tTimeForLastMove
   put (the mouseV) into tCurrentMouseV
   put tCurrentMouseV - sStartDrag into tLastDistanceCovered
   if tTimeForLastMove = 0 then
  put 1 into tTimeForLastMove
   end if
   repeat with CM = 5 down to 2
  put sCumulativeMomentum[CM-1] into sCumulativeMomentum[CM]
   end repeat
   put (tLastDistanceCovered*10) / tTimeForLastMove into
sCumulativeMomentum[1]
   put tCurrentMouseV into sStartDrag
   put the milliseconds into sStartDragMil
   send momentumAccumulate to me in 5 milliseconds
end momentumAccumulate

on mousemove
   if sAllowDrag <> empty then
  set the vScroll of me to sAllowDrag-(the mouseV)
   end if
end mousemove

on mouseup
local tCMTotal, tAverageMomentum, tRemainingDistance
   put empty into sAllowDrag
   put 0 into tCMTotal
   Repeat with CM = 1 to 5
  add sCumulativeMomentum[CM] to tCMTotal
   end Repeat
   put tCMTotal/5 into tAverageMomentum
   put tAverageMomentum * 30 into tRemainingDistance
   doMomentumScrolling tRemainingDistance,50
end mouseup

on doMomentumScrolling pRemainingDistance, pCount
local tDistanceToMove
   if pCount > 50 then
  exit doMomentumScrolling
   end if
   if mouse(1) is "down" then
  exit doMomentumScrolling
   end if
   put pRemainingDistance/15 into tDistanceToMove
   put the vScroll of me into tVScroll
   set the vScroll of me to tVScroll - tDistanceToMove
   put pRemainingDistance-tDistanceToMove into pRemainingDistance
   put pCount-1 into pCount
   send "doMomentumScrolling pRemainingDistance, pCount" to me in 5
milliseconds
end doMomentumScrolling


I hope this doesn't come across as patronising. You've obviously got some
years of skill behind you and I don't want to come across as demeaning.

Sean Cole
*Pi Digital Productions Ltd*

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609
___
use-livecode mailing list
use-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: Momentum Scrolling Script

2017-06-28 Thread Sean Cole (Pi) via use-livecode
This is excellent Jonathan, Thanks.

Another tip is to make sure that the Group object you wish to scroll the
contents of is not nested in any other groups as the will negate the
AcceleratedRendering. This is not documented in the API dictionary but is a
known functionality. The documentation will be changed to include this very
necessary information and there is word that acceleratedRendering will be
extended to include nested controls sometime in the future, but not just
yet.

Thanks again

Sean Cole
*Pi Digital Productions Ltd*
___
use-livecode mailing list
use-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: Completely OT - flat earth

2017-08-22 Thread Sean Cole (Pi) via use-livecode
Have you ever met/heard-of a 'Flat-Earth' pilot? Or geologist? Or
astrophysicist? Or plain physicist? Me neither.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 21 August 2017 at 21:17, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 8/21/17 2:53 PM, Jonathan Lynch via use-livecode wrote:
>
>> I just watched the eclipse where I live, while debating flat earth
>> believers online. Some irony there, I suppose.
>>
>
> I watched it too, dropped everything to do it. Amazing. We didn't get
> totality here but it was about 80%.
>
> I read recently that the flat-earther movement is growing. That's amazing
> too. Some people will believe anything.
>
>
> It reminded me of the time another programmer told me LiveCode was a toy.
>> Years later when asked by management to duplicate the functions of an app I
>> created so that those functionalities could be incorporated into that
>> team's main app, that same programmer concluded it would be impractical
>> because my app did way more than they realized.
>>
>
> They said the same thing about HyperCard back in the day, and HC wasn't
> nearly as advanced as LC is now. Some people will believe anything...
>
> --
> 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: Inconsistent comma requirements

2017-06-25 Thread Sean Cole (Pi) via use-livecode
On 24 June 2017 at 20:59, hh via use-livecode  wrote:

> Here's to all who didn't ignore the wonderful LC lessons for years!
>
> on mouseUp
>   I
> end mouseUp
>
> on I don't care
>answer I'm ("fan of it.")
> end I
>
> function I'm fan
>return "Beautiful LiveCode! I'm " & fan
> end I'm
>

Beautiful indeed

Sean Cole
___
use-livecode mailing list
use-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: Shell - argv parameter with SPACE

2017-06-25 Thread Sean Cole (Pi) via use-livecode
On 25 June 2017 at 04:12, JB via use-livecode  wrote:

> What the code provided does it it gives you the
> ability to use c, c++, objective-c, and Java code
> in your Livecode stacks.
>

This is really useful. Thanks JB

Sean Cole
___
use-livecode mailing list
use-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: Inconsistent comma requirements

2017-06-25 Thread Sean Cole (Pi) via use-livecode
On 24 June 2017 at 16:37, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Two questions:
>
> How many of you have never before known that commas are optional between
> definition arguments?
>
> For those who've known about this, were you confused to discover that this
> only works for definitions but not calls?
>

I was never confused. I chose to always use commas so there would never be
any added confusion. Although I have occasionally slipped up and not
bothered using the comma but then replace them when I review the code. It
was usually 'functions' where this happened, not so much with commands.

Sean Cole
___
use-livecode mailing list
use-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: put after

2017-09-11 Thread Sean Cole (Pi) via use-livecode
This is exactly what I'd expect as 'item' uses a delimiter. If you had
'space' as the delimiter you could then use:

set the itemdel to space; put "test" into tString; put "test3" into item 3
of tString; put tString
result: test  test3
(with 2 spaces between the two words)

now:
put the number of words in tString
result: 2

And this is still correct. Look at the definitions of item, word,

I would want LC to put "test3" directly after "test" even if I did for some
bizarre reason decide to put it after word 63556 of tString as this would
be expected behavior. I would not want it to throw back an error or place
several spaces between the two words.



Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 23:10, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Curiously then, you can have a string with 1 item, then put tWord into
> item 3 of tString, and it will happily create an empty item 2 so that there
> is an item 3 to put something into. ex.
>
> put "test" into tString;put "test3" into item 3 of tString;put tString
> produces: test,,test3
>
> put "test" into tString;put "test3" into word 3 of tString;put tString
> produces: testtest3
>
> Doesn't that seem like an anomaly to anyone?
>
> Bob S
>
> .
>
>
> > On Sep 11, 2017, at 15:05 , Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Actually that was a typo. Put tWord after word 2 of me is what I meant.
> >
> > Bob S
> >
> >
> >> On Sep 11, 2017, at 14:11 , Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> put tWord after word 2 of me into me
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-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: Phone Number Validation Function

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Read this:
https://stackoverflow.com/questions/123559/a-comprehensive-regex-for-phone-number-validation

You can then filter by these Regular Expressions (RegEx) really simply.
More importantly, it is one or two lines of code instead of 53.

Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 20:04, JB via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks Bob.
>
> JB
>
>
> > On Sep 11, 2017, at 11:20 AM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi all.
> >
> > Since I needed to write one, I thought I would share this phone number
> validation function. NOTE: it only works for phone numbers of the following
> format:
> >
> > -- pure numbers
> > nnn
> > nn
> >
> > -- formatted numbers
> > nnn-
> > nnn-nnn-
> > (nnn) nnn-
> >
> > It will also accept a space delimited extension so long as it begins
> with x, ex or ext.
> >
> > Anyone who wants to massage it into shape for European or other phone
> number formats can do so. The range checking is somewhat coarse, because I
> had difficulty determining what the lowest and highest area code and prefix
> can be, and also it may change in the future. Enjoy!
> >
> > Bob S
> >
> > function isPhoneNum pValue
> >   /*
> >   A phone number is a value whose raw numeric value is between 100
> and 999, or 10 and
> >   99, with an optional numeric value delimited by a space.
> Additionally, the first and fifth characters
> >   can be ( and ) respectively, in which case the 6th character must be a
> space and the tenth character must be
> >   a dash.
> >   */
> >   put pValue into tPhoneNumber -- preserve initial value
> >   put last word of tPhoneNumber into tExtension
> >
> >   if first char of tExtension is "x" or char 1 to 3 of tExtension is
> "ext" then
> >  delete last word of tPhoneNumber -- lose the extension
> >   else
> >  put empty into tExtension -- it's not a valid extension
> >   end if
> >
> >   -- range check
> >   put cleanAscii(tPhoneNumber, "numbers") into tPhnValue
> >
> >   if tPhnValue > 999 then
> >  if tPhnValue < 10 or tPhnValue > 99 then
> > return false
> >  end if
> >   else
> >  if tPhnValue < 100 then
> > return false
> >  end if
> >   end if
> >
> >   -- pure numbers are OK
> >   if tPhoneNumber = tPhnValue then return true
> >
> >   -- allowed characters
> >   if length(tPhnValue) = 7 then
> >  -- length must be 8 chars and char 4 must be a dash
> >  if length(tPhoneNumber) <> 8 or char 4 of tPhoneNumber is not "-"
> then
> > return false
> >  end if
> >   else
> >  -- length must be 14, 1st char must be (, 5th char must be ), 6th
> char must be space and 10th char must be -
> >  -- or else length must be 12, 4th char must be - and 8th char must
> be -
> >  if length(tPhoneNumber) <> 14 or length(tPhoneNumber) <> 12 then
> > return false
> >  end if
> >
> >  if length(tPhoneNumber) is 14 then
> > if char 1 of tPhoneNumber is not "(" or \
> >   char 5 of tPhoneNumber is not ")" or \
> >   char 6 of tPhoneNumber is not space or \
> >   char 10 of tPhoneNumber is not "-" then
> >return false
> > end if
> >  else
> > if char 4 of tPhoneNumber is not "-" or \
> >   char 8 of tPhoneNumber is not "-" then
> >return false
> > end if
> >  end if
> >   end if
> >   return true
> > end isPhoneNum
> > ___
> > use-livecode mailing list
> > use-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: put after

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Because a word is defined as 'a number of characters together in a string
separated either or both sides by a white space'. So it doesn't actually
count the white spaces but the number of actual strings of characters
separated by them. The actual glossary term is not fully expressive by
saying "A chunk of text that is delimited by spaces, tabs, or returns."

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 23:36, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Setting the itemdelimiter to space and using items instead of words would
> certainly work around it, thanks for that tip.
>
> But by way of discussion, when we talk about string manipulation in this
> list/forum, and how words are "delimited" we actually use the word
> "delimiter" to talk about the spaces, with the one difference that there is
> no wordDelimiter property that we can change, while there is for lines and
> items, so that:
>
> put "test" into tString;put "test3" into line 3 of tString;put tString
> produces:
> test
>
> test3
>
> As you would expect. I guess that means that spaces are the bastard
> children of the string manipulation world. :-)
>
> I will file a report anyway as requested.
>
> 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: Phone Number Validation Function

2017-09-11 Thread Sean Cole (Pi) via use-livecode
There are currently 342 expressions on the regexlibrary:
http://www.regexlib.com/Search.aspx?k=phone=1

Some eliminate erroneous numbers too like those begining with 123 or 555
and so on.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 23:33, Sean Cole (Pi)  wrote:

> Read this:
> https://stackoverflow.com/questions/123559/a-
> comprehensive-regex-for-phone-number-validation
>
> You can then filter by these Regular Expressions (RegEx) really simply.
> More importantly, it is one or two lines of code instead of 53.
>
> Sean Cole
> *Pi Digital Productions Ltd*
>
> 'Don't try to think outside the box. Just remember the truth: There is no
> box!'
> 'For then you realise it is not the box you are trying to look outside of,
> but it is yourself!'
>
> eMail Ts & Cs    Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609
>
> On 11 September 2017 at 20:04, JB via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Thanks Bob.
>>
>> JB
>>
>>
>> > On Sep 11, 2017, at 11:20 AM, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > Hi all.
>> >
>> > Since I needed to write one, I thought I would share this phone number
>> validation function. NOTE: it only works for phone numbers of the following
>> format:
>> >
>> > -- pure numbers
>> > nnn
>> > nn
>> >
>> > -- formatted numbers
>> > nnn-
>> > nnn-nnn-
>> > (nnn) nnn-
>> >
>> > It will also accept a space delimited extension so long as it begins
>> with x, ex or ext.
>> >
>> > Anyone who wants to massage it into shape for European or other phone
>> number formats can do so. The range checking is somewhat coarse, because I
>> had difficulty determining what the lowest and highest area code and prefix
>> can be, and also it may change in the future. Enjoy!
>> >
>> > Bob S
>> >
>> > function isPhoneNum pValue
>> >   /*
>> >   A phone number is a value whose raw numeric value is between 100
>> and 999, or 10 and
>> >   99, with an optional numeric value delimited by a space.
>> Additionally, the first and fifth characters
>> >   can be ( and ) respectively, in which case the 6th character must be
>> a space and the tenth character must be
>> >   a dash.
>> >   */
>> >   put pValue into tPhoneNumber -- preserve initial value
>> >   put last word of tPhoneNumber into tExtension
>> >
>> >   if first char of tExtension is "x" or char 1 to 3 of tExtension is
>> "ext" then
>> >  delete last word of tPhoneNumber -- lose the extension
>> >   else
>> >  put empty into tExtension -- it's not a valid extension
>> >   end if
>> >
>> >   -- range check
>> >   put cleanAscii(tPhoneNumber, "numbers") into tPhnValue
>> >
>> >   if tPhnValue > 999 then
>> >  if tPhnValue < 10 or tPhnValue > 99 then
>> > return false
>> >  end if
>> >   else
>> >  if tPhnValue < 100 then
>> > return false
>> >  end if
>> >   end if
>> >
>> >   -- pure numbers are OK
>> >   if tPhoneNumber = tPhnValue then return true
>> >
>> >   -- allowed characters
>> >   if length(tPhnValue) = 7 then
>> >  -- length must be 8 chars and char 4 must be a dash
>> >  if length(tPhoneNumber) <> 8 or char 4 of tPhoneNumber is not "-"
>> then
>> > return false
>> >  end if
>> >   else
>> >  -- length must be 14, 1st char must be (, 5th char must be ), 6th
>> char must be space and 10th char must be -
>> >  -- or else length must be 12, 4th char must be - and 8th char must
>> be -
>> >  if length(tPhoneNumber) <> 14 or length(tPhoneNumber) <> 12 then
>> > return false
>> >  end if
>> >
>> >  if length(tPhoneNumber) is 14 then
>> > if char 1 of tPhoneNumber is not "(" or \
>> >   char 5 of tPhoneNumber is not ")" or \
>> >   char 6 of tPhoneNumber is not space or \
>> >   char 10 of tPhoneNumber is not "-" then
>> >return false
>> > end if
>> >  else
>> > if char 4 of tPhoneNumber is not "-" or \
>> >   char 8 of tPhoneNumber is not "-" then
>> >return false
>> > end if
>> >  end if
>> >   end if
>> >   return true
>> > end isPhoneNum
>> > ___
>> > use-livecode mailing list
>> > use-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 license type

2017-09-13 Thread Sean Cole (Pi) via use-livecode
Wow, $79 is a really good price point I think, especially with those 5
mergExt plugins. The free version still exists which is excellent and Plus
is 6x cheaper than Indy, the next option up. It all adds up to fantastic
value for money to any startup or entrepreneur in my meager opinion.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 13 September 2017 at 23:03, Kay C Lan via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Thu, Sep 14, 2017 at 7:37 AM, Roger Guay via use-livecode
>  wrote:
> > How did I miss this? What new license type”?
>
> Yeah I thought I'd missed it too. Got the email about the new
> Autocomplete and Live Errors in LC 8.2 and there was the mention of LC
> Community Plus I know I've been extremely busy lately and haven't
> been able to spend time on the List (or with LC) as much as I'd like,
> but I still skim through the List and figured I couldn't miss
> something this big.
>
> I definitely like the idea and am sure it's a move in the right
> direction. $79 I'm not so sure about, but I don't have a marketing
> team behind me and Kevin does. Either way, down the track if it needs
> tweaking I'm sure that's exactly what will happen because one thing is
> quite clear, the LC Team listens to this community and it's customers
> and they respond on all the opinions and feedback; not just from the
> vocal minority.
>
> ___
> use-livecode mailing list
> use-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: Where is LiveCode

2017-10-05 Thread Sean Cole (Pi) via use-livecode
Hi Antti,

I wouldn't class LiveCode along with these Low-Code apps as LC requires a
lot more code than these offerings mentioned. A different kind of product.
But it was a good read so thanks for posting it.

regards

Sean Cole


On 5 October 2017 at 10:10, Antti Ilola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> http://sdtimes.com/low-code-tools-leading-digital-transformation/
>
>
> Antti
> ___
> use-livecode mailing list
> use-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: Apps monetizing

2017-09-11 Thread Sean Cole (Pi) via use-livecode
I 'was' working on a widget that runs MobFox (which acts as an agent to all
of the other ad providers), but had to abandon it as MobFox suddenly with
no warning removed their Javascript and CURL access so now you can only use
iOS and Android native SDKs. That would require more than LC8 can deliver,
it needs the new Language tools in LC9.

I've now been looking at propellerads.com. They have a DirectLink feature
that works on all platforms using browser tech and your own personalized
URL (or set-of for multiple clients). This seems one of the best options at
the moment. Here's how:


   1. Register (Use the Get Started button on their page)
   2. After registration is authorised you'll be taken to your account page
   and asked to enter your website. Ignore this and use the Direct Link button.
   3. In the first step for Direct Link there is only one option available
   at the moment, Native Direct Ads. Select it and go next.
   4. Give it a name and select next
   5. Use the https button to get a secure signed link. Copy/paste it
   somewhere safe like a constant var in your app.

It's not the best way but it is 'a' way to monetise for now. Until the
final release of LC9 with full Android and iOS native language integration.

All the best

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 9 September 2017 at 22:06, Jose Enrique Montero via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi experts, do you know if LIVECODE solved some way to monetize the
> app, using ads?
>
>
> best regards
>
> JE.Montero
> ___
> use-livecode mailing list
> use-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: Apps monetizing

2017-09-11 Thread Sean Cole (Pi) via use-livecode
I've also just found that Millenial Media uses Javascript too.
http://docs.onemobilesdk.aol.com/mmadlib/index.html
The link to the InMobi MobileWeb guide is
https://support.inmobi.com/monetize/mobile-web/

InMobi seems the most popular and bigger or the two with more features as
well.

To use either of these, you create a dummy html file using the javascript
code from the guides and store it within your app resources. Call it when
you create a browser to display the ad. It will need to be able to respond
to taps and other javascript calls. You'll also likely need to have some
sort of timeout features with a 'close browser' method of some sort so that
it can be manually or automatically removed somehow. You can set up a test
account to give it a play.

All the best

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 19:27, Pi Digital via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Exactly. Make sure that your widget has some sort of way for them to close
> it eventually. If you have it steered through your own website (rather than
> direct link) then you could set up banners for display in a smaller browser
> window. It depends on what suits you or your clients the most. There is a
> considerable amount of chatter about the morality of the adverts (a great
> number of them are for fitness pills or scamware) but those seem to be the
> only ones who are advertising. It’s very rare for the likes of Disney,
> Chanel or other big brands to advertise on these platforms.
>
> I just found that InMobi are still making available their JavaScript tags
> so they are an alternative. Their disclaimer is that “even though it is
> possible to use InMobi JavaScript tags with mobile applications instead of
> mobile websites, results may vary and InMobi will not be able to provide
> support.”
>
> Sean Cole
> Pi Digital
>
> > On 11 Sep 2017, at 18:51, Jose Enrique Montero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > after I had the link, how I can use it in the stack?
> >
> > With a browser  widget ?
> >
> >
> > Thanks again
> > JE
> >
> > 2017-09-11 8:16 GMT-04:00 Sean Cole (Pi) via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >> I 'was' working on a widget that runs MobFox (which acts as an agent to
> all
> >> of the other ad providers), but had to abandon it as MobFox suddenly
> with
> >> no warning removed their Javascript and CURL access so now you can only
> use
> >> iOS and Android native SDKs. That would require more than LC8 can
> deliver,
> >> it needs the new Language tools in LC9.
> >>
> >> I've now been looking at propellerads.com. They have a DirectLink
> feature
> >> that works on all platforms using browser tech and your own personalized
> >> URL (or set-of for multiple clients). This seems one of the best
> options at
> >> the moment. Here's how:
> >>
> >>
> >>   1. Register (Use the Get Started button on their page)
> >>   2. After registration is authorised you'll be taken to your account
> page
> >>   and asked to enter your website. Ignore this and use the Direct Link
> >> button.
> >>   3. In the first step for Direct Link there is only one option
> available
> >>   at the moment, Native Direct Ads. Select it and go next.
> >>   4. Give it a name and select next
> >>   5. Use the https button to get a secure signed link. Copy/paste it
> >>   somewhere safe like a constant var in your app.
> >>
> >> It's not the best way but it is 'a' way to monetise for now. Until the
> >> final release of LC9 with full Android and iOS native language
> integration.
> >>
> >> All the best
> >>
> >> Sean Cole
> >> *Pi Digital Productions Ltd*
> >> www.pidigital.co.uk
> >> 'Don't try to think outside the box. Just remember the truth: There is
> no
> >> box!'
> >> 'For then you realise it is not the box you are trying to look outside
> of,
> >> but it is yourself!'
> >>
> >> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> >> Productions Ltd is a UK registered limited company, no. 5255609
> >>
> >> On 9 September 2017 at 22:06, Jose Enrique Montero via use-livecode <
> >&g

Re: [OT] Hello World

2017-09-05 Thread Sean Cole (Pi) via use-livecode
Don't talk to strangers, always look before you cross, don't click the
link, don't drive down the railway tracks. All these rules. I feel
claustrophobic.

Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 5 September 2017 at 16:06, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I agree. I open links like this on an isolated vanilla VM that I keep just
> for that purpose.
>
> It was a good read. Congrats!
>
> 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 Bob Sneidar via use-livecode
> Sent: Tuesday, September 05, 2017 10:56 AM
> To: How to use LiveCode
> Cc: Bob Sneidar
> Subject: Re: [OT] Hello World
>
> I never click these links. I can never know if your account was hacked and
> someone is spamming the list with a drive by.
>
> I always advise people to have a little text signature so that people can
> tell who know you that the email came from you personally. My Dad used to
> use L/D for Love Dad. I use Bob S. Your full name won't do, that is
> something a spammer could easily put in the email themselves.
>
> I think if everyone on the list followed this practice, and we got used to
> seeing that signature in all your posts, we would be more inclined to do
> what we have always been taught to NEVER NEVER DO, and that is, click the
> link.
>
> Bob S
>
>
> > On Sep 1, 2017, at 12:16 , Richmond Mathewson via use-livecode
>  wrote:
> >
> > Page 71
> >
> >
> https://s3-eu-west-1.amazonaws.com/rpi-magazines/
> issues/full_pdfs/000/000/00
> 4/original/HelloWorld03.pdf?1504167546
> >
> > Richmond Mathewson.
>
>
> ___
> use-livecode mailing list
> use-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: put after

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Put "two" after word 1 of "word"

result: "wordtwo"

put "two" after word 2 of "word"

result: "wordtwo"

'after word' basically counts white space. eg, "word,word,word" is counted
as one word". "word   word" with several spaces counts as
two words. "word " still counts as one word. There is no word two
here so it will always append after the same as if it was 'after word 53'!

But when you use put x *after* word y of z *into* z, with z being "word", x
being "two" and y being 2, you are using after out of syntax because you
wouldn't use **after** and **into** in the same 'put' line

Sean Cole
*Pi Digital Productions Ltd*
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 22:11, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Okay so if a field only has 1 word, and I state
>
> put tWord after word 2 of me into me
>
> Shouldn't that create a second word? It doesn't it simply appends tWord to
> the end of word 1.
>
> 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: Apps monetizing

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Smaato was one of my early options because you can link it to AdMob and
DoubleClick accounts but they, like many others, only have native iOS and
Android SDKs which requires LC9 (which even now doesn't fully support iOS
Obj-C Frameworks just yet). https://wiki.smaato.com/display/IN/Ad+Tag

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 11 September 2017 at 20:48, Jose Enrique Montero via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks Sean, its work but I´m worried about the adverts themes.  Do you
> have try SMAATO.com ?
>
> best regards
> JE
>
> 2017-09-11 14:27 GMT-04:00 Pi Digital via use-livecode <
> use-livecode@lists.runrev.com>:
>
> > Exactly. Make sure that your widget has some sort of way for them to
> close
> > it eventually. If you have it steered through your own website (rather
> than
> > direct link) then you could set up banners for display in a smaller
> browser
> > window. It depends on what suits you or your clients the most. There is a
> > considerable amount of chatter about the morality of the adverts (a great
> > number of them are for fitness pills or scamware) but those seem to be
> the
> > only ones who are advertising. It’s very rare for the likes of Disney,
> > Chanel or other big brands to advertise on these platforms.
> >
> > I just found that InMobi are still making available their JavaScript tags
> > so they are an alternative. Their disclaimer is that “even though it is
> > possible to use InMobi JavaScript tags with mobile applications instead
> of
> > mobile websites, results may vary and InMobi will not be able to provide
> > support.”
> >
> > Sean Cole
> > Pi Digital
> >
> > > On 11 Sep 2017, at 18:51, Jose Enrique Montero via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > after I had the link, how I can use it in the stack?
> > >
> > > With a browser  widget ?
> > >
> > >
> > > Thanks again
> > > JE
> > >
> > > 2017-09-11 8:16 GMT-04:00 Sean Cole (Pi) via use-livecode <
> > > use-livecode@lists.runrev.com>:
> > >
> > >> I 'was' working on a widget that runs MobFox (which acts as an agent
> to
> > all
> > >> of the other ad providers), but had to abandon it as MobFox suddenly
> > with
> > >> no warning removed their Javascript and CURL access so now you can
> only
> > use
> > >> iOS and Android native SDKs. That would require more than LC8 can
> > deliver,
> > >> it needs the new Language tools in LC9.
> > >>
> > >> I've now been looking at propellerads.com. They have a DirectLink
> > feature
> > >> that works on all platforms using browser tech and your own
> personalized
> > >> URL (or set-of for multiple clients). This seems one of the best
> > options at
> > >> the moment. Here's how:
> > >>
> > >>
> > >>   1. Register (Use the Get Started button on their page)
> > >>   2. After registration is authorised you'll be taken to your account
> > page
> > >>   and asked to enter your website. Ignore this and use the Direct Link
> > >> button.
> > >>   3. In the first step for Direct Link there is only one option
> > available
> > >>   at the moment, Native Direct Ads. Select it and go next.
> > >>   4. Give it a name and select next
> > >>   5. Use the https button to get a secure signed link. Copy/paste it
> > >>   somewhere safe like a constant var in your app.
> > >>
> > >> It's not the best way but it is 'a' way to monetise for now. Until the
> > >> final release of LC9 with full Android and iOS native language
> > integration.
> > >>
> > >> All the best
> > >>
> > >> Sean Cole
> > >> *Pi Digital Productions Ltd*
> > >> www.pidigital.co.uk
> > >> 'Don't try to think outside the box. Just remember the truth: There is
> > no
> > >> box!'
> > >> 'For then you realise it is not the box you are trying to look outside
> > of,
> > >> but it is yourself!'
> > >>
> > >> eMail Ts & Cs <http://pidigital.co.uk/email

Re: Chipp Walters 3D object viewer stack

2017-09-25 Thread Sean Cole (Pi) via use-livecode
Hi

It only seems to display a flat image in 2d space.

Sean Cole


On 25 September 2017 at 23:02, Alejandro Tejada via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Found it in my backups! :-D
> After learning the stack name's, it was easy to find it
> in the mail list achives.
>
> This is Chipp's message:
> http://lists.runrev.com/pipermail/use-livecode/2007-October/103466.html
>
> This is Chipp's stack:
> http://www.gadgetplugins.com/chippstuff/3Dviewer.rev
>
> Al
>
>
> On Sat, Sep 23, 2017 at 7:37 PM, Alejandro Tejada 
> wrote:
>
> > Hi Colin,
> >
> > on Sunday Sep 24 2017, Colin Holgate wrote:
> > > It may be a different one, but is it this?:
> > > https://github.com/angerangel/LCR3D
> >
> > LCR3D is the work of Massimiliano Vessi (MaxV)
> > Chipp Walters stack is a different one.
> >
> > In the 90's, there was a HyperCard stack that
> > could open *.obj 3d models too.
> > Specifically, I remember an impressive
> > 3d whale model. Does anyone remembers
> > the name of this stack, too?
> >
> > On Sat, Sep 23, 2017 at 6:46 PM, Alejandro Tejada <
> capellan2...@gmail.com>
> > wrote:
> > >
> > > Hi All,
> > >
> > > I was looking in the mail list archives, the name of
> > > Chipp Walters Stack that could import and display
> > > 3d models in *.obj format, but could not find it.
> > >
> > > Does anyone remembers the name of this stack
> > > or could point me to the mail list message where
> > > Chipp posted it?
> > >
> > > I remember that Scott Rossi participated in that
> > > mail list thread too.
> > >
> > > Thanks in advance!
> > >
> > > Al
> >
> >
> ___
> use-livecode mailing list
> use-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] IPA Build Tool for iOS

2017-09-28 Thread Sean Cole (Pi) via use-livecode
It won't work as it will be an encrypted binary with a checksum of some
kind (right at the end of the xml stuff.

It's really easy to create the PPs, though, so I'm not sure what the
benefit would be in trying to edit it. Just go to your dev account, add in
the IDs and remake the profile. The old ones will still work on the other
machines that have been installed with them. The reason you have to do it
that way is so that Apple can keep a lid on a number of devices you are
providing for. If you need more than a hundred, set up another standard
account or upgrade to an Enterprise license.

The other sucky thing about the 100 is that it is per year. You can't just
take off ones you're not using and replace. You have to wait till your year
is up before you can swap them out. :(

Sean Cole

On 28 September 2017 at 17:48, William Prothero via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sean:
> I am curious if it is a reasonable idea to edit the provisioning profile
> directly using BBEdit to add UDID’s for beta testing, without going to the
> Apple Developer site to add beta testers. I see a lot of “?”  characters
> when I open the provisioning profile in BBEdit, so I wonder if it is safe
> to edit it using BBEdit. Or perhaps create a livecode app to add new UDID’s
> to a provisioning profile.
>
> What do you think?
>
> Thanks,
> Best,
> Bill P
>
> > On Sep 27, 2017, at 6:09 PM, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi William,
> >
> > As Ralph says, correct. I have an Enterprise account which was a really
> > difficult thing to get set up with Apple (took about 2 months). While it
> > costs $299/year, for me it's well worth it as I have published for
> several
> > hundred machines at once for some corporate events. MDM delivery over my
> > secure website is also a massive bonus for the TV Gameshow demo apps I
> put
> > together for my Broadcast clients. If it was only for beta testing I
> would
> > stay with the standard dev license.
> >
> > Sean Cole
> > *Pi Digital Productions Ltd*
> >
> > 'Don't try to think outside the box. Just remember the truth: There is no
> > box!'
> > 'For then you realise it is not the box you are trying to look outside
> of,
> > but it is yourself!'
> >
> > eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> > Productions Ltd is a UK registered limited company, no. 5255609
> >
> > On 27 September 2017 at 21:05, Ralph DiMola via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Correct, all testers UUIDs must be added to the provisioning profile.
> There
> >> a limit of 100/year. You can only delete old ones after your yearly
> >> developer renewal.
> >>
> >>
> >> 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 William Prothero via use-livecode
> >> Sent: Wednesday, September 27, 2017 3:55 PM
> >> To: Use-livecode Use-livecode
> >> Cc: William Prothero
> >> Subject: Re: [ANN] IPA Build Tool for iOS
> >>
> >> Sean:
> >> Thanks for the app. It should come in useful.
> >> I assume that the provisioning file created in the Apple Developer site
> >> (for
> >> beta testers) must contain the ID info of every device that it must run
> on,
> >> if it is not distributed through the app store?? I am writing several
> apps
> >> that will need significant beta testing, so I will be distributing them
> >> directly.
> >> Best,
> >> Bill P
> >>
> >>> On Sep 27, 2017, at 7:43 AM, Sean Cole (Pi) via use-livecode
> >> <use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Hi LC Community,
> >>>
> >>> I needed to create IPAs of my iOS software so that I could upload them
> >>> to my website for Enterprise distribution but all the old tools for
> >>> doing this have been deprecated by Apple. So I've created this simple
> >>> one to meet Apple's new standard way to produce them. Simply extract
> >>> it into your LiveCode plugins folder and you will be able to open it
> >>> from the LC menu,
> >>> Development>Plugins>IPA_Builder. Let me know if you have any problems
> >>> Development>Plugins>with
> >>> it.
> >>>
> >>> https://live

Re: [ANN] IPA Build Tool for iOS

2017-09-27 Thread Sean Cole (Pi) via use-livecode
I can repair for that. Thanks Matthias. Invaluable.

Sean

On 27 September 2017 at 20:51, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi again,
>
> seems this happens when the appname contains a space
>
> Regards,
> Matthias
> Matthias Rebbe
> +49 5741 31
> ‌wirmachen.software <http://wirmachen.software/>‌
>
> > Am 27.09.2017 um 21:23 schrieb Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> >
> > Hi Sean,
> >
> > thanks. I´ve just tried it, but is it possible that the plugin does
> forget to rename the zip file to ipa?
> >
> > At least here, the created file is a zip file instead of an ipa.
> >
> >
> > Matthias Rebbe
> > +49 5741 31
> > ‌wirmachen.software <http://wirmachen.software/ <
> http://wirmachen.software/>>‌
> >
> >> Am 27.09.2017 um 16:43 schrieb Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
> <mailto:use-livecode@lists.runrev.com <mailto:use-livecode@lists.
> runrev.com>>>:
> >>
> >> Hi LC Community,
> >>
> >> I needed to create IPAs of my iOS software so that I could upload them
> to
> >> my website for Enterprise distribution but all the old tools for doing
> this
> >> have been deprecated by Apple. So I've created this simple one to meet
> >> Apple's new standard way to produce them. Simply extract it into your
> >> LiveCode plugins folder and you will be able to open it from the LC
> menu,
> >> Development>Plugins>IPA_Builder. Let me know if you have any problems
> with
> >> it.
> >>
> >> https://livecode.pidigital.co.uk/IPA_Builder.zip <
> https://livecode.pidigital.co.uk/IPA_Builder.zip><https:/
> /livecode.pidigital.co.uk/IPA_Builder.zip <https://livecode.pidigital.
> co.uk/IPA_Builder.zip>>
> >>
> >> Sean Cole
> >> *Pi Digital Productions Ltd*
> >> www.pidigital.co.uk <http://www.pidigital.co.uk/>
> >> 'Don't try to think outside the box. Just remember the truth: There is
> no
> >> box!'
> >> 'For then you realise it is not the box you are trying to look outside
> of,
> >> but it is yourself!'
> >>
> >> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> >> Productions Ltd is a UK registered limited company, no. 5255609
> >> ___
> >> use-livecode mailing list
> >> use-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 <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: [ANN] IPA Build Tool for iOS

2017-09-27 Thread Sean Cole (Pi) via use-livecode
Hi William,

As Ralph says, correct. I have an Enterprise account which was a really
difficult thing to get set up with Apple (took about 2 months). While it
costs $299/year, for me it's well worth it as I have published for several
hundred machines at once for some corporate events. MDM delivery over my
secure website is also a massive bonus for the TV Gameshow demo apps I put
together for my Broadcast clients. If it was only for beta testing I would
stay with the standard dev license.

Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 27 September 2017 at 21:05, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Correct, all testers UUIDs must be added to the provisioning profile. There
> a limit of 100/year. You can only delete old ones after your yearly
> developer renewal.
>
>
> 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 William Prothero via use-livecode
> Sent: Wednesday, September 27, 2017 3:55 PM
> To: Use-livecode Use-livecode
> Cc: William Prothero
> Subject: Re: [ANN] IPA Build Tool for iOS
>
> Sean:
> Thanks for the app. It should come in useful.
> I assume that the provisioning file created in the Apple Developer site
> (for
> beta testers) must contain the ID info of every device that it must run on,
> if it is not distributed through the app store?? I am writing several apps
> that will need significant beta testing, so I will be distributing them
> directly.
> Best,
> Bill P
>
> > On Sep 27, 2017, at 7:43 AM, Sean Cole (Pi) via use-livecode
> <use-livecode@lists.runrev.com> wrote:
> >
> > Hi LC Community,
> >
> > I needed to create IPAs of my iOS software so that I could upload them
> > to my website for Enterprise distribution but all the old tools for
> > doing this have been deprecated by Apple. So I've created this simple
> > one to meet Apple's new standard way to produce them. Simply extract
> > it into your LiveCode plugins folder and you will be able to open it
> > from the LC menu,
> > Development>Plugins>IPA_Builder. Let me know if you have any problems
> > Development>Plugins>with
> > it.
> >
> > https://livecode.pidigital.co.uk/IPA_Builder.zip
> >
> > Sean Cole
> > *Pi Digital Productions Ltd*
> > www.pidigital.co.uk
> > 'Don't try to think outside the box. Just remember the truth: There is
> > no box!'
> > 'For then you realise it is not the box you are trying to look outside
> > of, but it is yourself!'
> >
> > eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> > Productions Ltd is a UK registered limited company, no. 5255609
> > ___
> > use-livecode mailing list
> > use-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: [ANN] IPA Build Tool for iOS

2017-09-27 Thread Sean Cole (Pi) via use-livecode
Hi Matthias,

I've made the change for filenames that include special characters. I've
also made changes to footprint as it was apparently too large on some
smaller screens.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 27 September 2017 at 20:23, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Sean,
>
> thanks. I´ve just tried it, but is it possible that the plugin does forget
> to rename the zip file to ipa?
>
> At least here, the created file is a zip file instead of an ipa.
>
>
> Matthias Rebbe
> +49 5741 31
> ‌wirmachen.software <http://wirmachen.software/>‌
>
> > Am 27.09.2017 um 16:43 schrieb Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> >
> > Hi LC Community,
> >
> > I needed to create IPAs of my iOS software so that I could upload them to
> > my website for Enterprise distribution but all the old tools for doing
> this
> > have been deprecated by Apple. So I've created this simple one to meet
> > Apple's new standard way to produce them. Simply extract it into your
> > LiveCode plugins folder and you will be able to open it from the LC menu,
> > Development>Plugins>IPA_Builder. Let me know if you have any problems
> with
> > it.
> >
> > https://livecode.pidigital.co.uk/IPA_Builder.zip <
> https://livecode.pidigital.co.uk/IPA_Builder.zip>
> >
> > Sean Cole
> > *Pi Digital Productions Ltd*
> > www.pidigital.co.uk
> > 'Don't try to think outside the box. Just remember the truth: There is no
> > box!'
> > 'For then you realise it is not the box you are trying to look outside
> of,
> > but it is yourself!'
> >
> > eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> > Productions Ltd is a UK registered limited company, no. 5255609
> > ___
> > use-livecode mailing list
> > use-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

[ANN] IPA Build Tool for iOS

2017-09-27 Thread Sean Cole (Pi) via use-livecode
Hi LC Community,

I needed to create IPAs of my iOS software so that I could upload them to
my website for Enterprise distribution but all the old tools for doing this
have been deprecated by Apple. So I've created this simple one to meet
Apple's new standard way to produce them. Simply extract it into your
LiveCode plugins folder and you will be able to open it from the LC menu,
Development>Plugins>IPA_Builder. Let me know if you have any problems with
it.

https://livecode.pidigital.co.uk/IPA_Builder.zip

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609
___
use-livecode mailing list
use-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: slow listserv

2017-08-28 Thread Sean Cole (Pi) via use-livecode
This doesn't seem to be affecting the dev list. Is that on a different
mail-list server?

Sean Cole


>>
>> On Aug 28, 2017, at 14:13 , Mark Wieder via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>
>>> It currently is taking forty minutes for my posts to appear after I send
>>> them. That's enough time to send my email to Mars and back. Runrev's
>>> servers must be pretty far away.
>>>
>>
> use-livecode mailing list
> use-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: OT: error messages

2017-08-28 Thread Sean Cole (Pi) via use-livecode
The one the president sees most often:
'Illegal Document Count'
___
use-livecode mailing list
use-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] Important: New release of LiveCode 8.1.6

2017-08-31 Thread Sean Cole (Pi) via use-livecode
Perfect! Myself and Kee Nethery were just going around in circles trying to
resolve this. There also seemed to be a regression in tsNet being added but
not signed properly (and not showing up in the externals folder). I'm
hoping this solves that now.

Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 31 August 2017 at 14:08, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I would like to thank Panos, Mark et al. This is the type of support that
> the big boys can't(or won't) give.
>
> 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 panagiotis merakos via use-livecode
> Sent: Thursday, August 31, 2017 6:43 AM
> To: How to use LiveCode
> Cc: panagiotis merakos
> Subject: [ANN] Important: New release of LiveCode 8.1.6
>
> Hi all,
>
> Since the week beginning 21st August 2017, LiveCode iOS apps are being
> rejected by iTunes Connect due to 'invalid binary'. It turns out that Apple
> have upgraded the tools they use to analyse binaries, and this has shown an
> error in the Mach-O structure of the 64-bit slice. The version of otool
> with Xcode 6.x (on 10.9) does not show a problem, but newer versions do.
>
> For this reason, we have built a new version of LiveCode 8.1.6 that
> addresses this issue.
>
> So if you have already installed the original LiveCode 8.1.6 and are
> affected by this issue, please visit now
>
> http://downloads.livecode.com/livecode/
>
> and download the latest 8.1.6 (STABLE), released on the 31st of August.
>
> Best regards,
> The LiveCode Team
> —
> ___
> use-livecode mailing list
> use-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: livecode changes image colors without being asked to do it

2017-08-30 Thread Sean Cole (Pi) via use-livecode
Hi Robert,

This is likely down to the colour space the images are embedded with.
Preview will respect the colour space whereas LC will not in some cases.
Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to maintain
the correct colour. And make sure it's not CMYK.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Not sure if it will make a difference, but you might want to-- set the
> resizequality of the img "imagename"  to "best"
>
> On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I have a stack that dynamically sets the image that is displayed on a
> card
> > using
> >
> > set the filename of img vImageName of stack vStackName to
> vFilePath
> >
> > I just encountered a problem with a new batch of jpeg files. Their colors
> > change when they are displayed in the stack. I mean that when I open them
> > in Preview, the color saturation and hue are different than when viewing
> > the same pic in a stack.
> >
> > Anything I can do to avoid that or anything I can tell the graphics
> person
> > to do differently when producing those files in AI?
> >
> > RObert
> > ___
> > use-livecode mailing list
> > use-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: [ANN] Important: New release of LiveCode 8.1.6

2017-08-31 Thread Sean Cole (Pi) via use-livecode
Put it to one side and use another version. That's about all you can do.

Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 31 August 2017 at 16:54, Colin Holgate via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is there anything that can be done in Xcode 8 to make it work for other
> versions of LiveCode?
>
>
> > On Aug 31, 2017, at 3:42 AM, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi all,
> >
> > Since the week beginning 21st August 2017, LiveCode iOS apps are being
> > rejected by iTunes Connect due to 'invalid binary'. It turns out that
> Apple
> > have upgraded the tools they use to analyse binaries, and this has shown
> an
> > error in the Mach-O structure of the 64-bit slice. The version of otool
> > with Xcode 6.x (on 10.9) does not show a problem, but newer versions do.
> >
> > For this reason, we have built a new version of LiveCode 8.1.6 that
> > addresses this issue.
> >
> > So if you have already installed the original LiveCode 8.1.6 and are
> > affected by this issue, please visit now
> >
> > http://downloads.livecode.com/livecode/
> >
> > and download the latest 8.1.6 (STABLE), released on the 31st of August.
> >
> > Best regards,
> > The LiveCode Team
>
>
> ___
> use-livecode mailing list
> use-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 changes image colors without being asked to do it

2017-08-31 Thread Sean Cole (Pi) via use-livecode
Hi Robert

I have looked at this and it is reacting this way because a correct
CMYK colorspace profile has not been embedded into the jpeg file.
LiveCode, therefore, has no idea how to interpret the colors and
handles them in an almost raw state oversaturating them. Adding the
closest profile to its natural state helps, in this instance, US Web
Coated (SWOP) v2.

I've attached another source jpg to test with which has this embedded profile.

http://quality.livecode.com/show_bug.cgi?id=20316


Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 1 September 2017 at 00:11, Robert Brenstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just tested this in LC 8.1.6 and it shows the same problem as 7.1.3. I
> filed a bug report for the team to check into this, including the files.
> Bug 20316.
>
> Robert
>
>
> On 31 Aug 2017, at 18:25, Mark Waddingham via use-livecode wrote:
>
> On 2017-08-31 18:22, Robert Brenstein via use-livecode wrote:
>>
>>> As Panos wrote: CMYK images should display correctly if you are using
>>> LC >=8.1.3:
>>> I am using 7.1.3. This is what I meant that this was a known problem.
>>> I just fetched 8.1.6 to check but I won’t habe time to do it until next
>>> week.
>>>
>>
>> Oops - I missed that email of Panos's - I thought something like this
>> sounded familiar.
>>
>> Anyway, keep us posted on how you get on - hopefully that fix will solve
>> the problem for you.
>>
>> 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
>
___
use-livecode mailing list
use-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: Does anybody know an "official" h.264 directShow filter for windows?

2017-08-29 Thread Sean Cole (Pi) via use-livecode
Hi Tiemo

WinXP: https://www.microsoft.com/en-us/download/details.aspx?id=507
Windows 7:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815(v=vs.85).aspx
Windows 8 N & KN:
https://www.microsoft.com/en-us/download/details.aspx?id=40744
Windows 10 N & KN:
https://www.microsoft.com/en-us/download/details.aspx?id=49919

The official Intel H.264 SDK:
https://software.intel.com/en-us/articles/mp4avc-decode-using-the-intel-media-sdk

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 29 August 2017 at 09:13, Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello,
>
> It is so frustrating after struggling for years with the Quicktime
> installer
> on windows, all my hope on the new "native" video player is lost.
>
> Since Windows doesn't support h.264 videos on its old directShow API, you
> have to install a h.264 codec/filter to playback h.264 videos with
> LiveCode.
>
> Up to now, I only have found the "LAV Filters" package, which includes an
> directShow mp4 filter. Generally this works fine, but I have customers with
> Windows 8.1 and 10 machines, who can't play my videos, the screen just
> keeps
> black without notice. Beside of the "K-Lite Mega Codec Pack", which at last
> only is a bundle for the LAV filters I didn't found any other directShow
> mp4/h.264 filter, not to mention any "official" installer. Has anybody
> found
> any other directShow mp4/h.264 filter yet?
>
> On the other hand, since this total black out only happens on certain
> machines, it could be anything from the video card driver to missing media
> components in windows. But here also I didn't found yet any hint or clue.
>
> Thanks for your experiences
>
> 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


Re: OT: Does anybody know an "official" h.264 directShow filter for windows?

2017-08-29 Thread Sean Cole (Pi) via use-livecode
Cisco has also made an open source decoder/encoder.
https://github.com/cisco/openh264http://www.openh264.org

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 29 August 2017 at 16:29, Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Sean,
>
> thank you for your links. I had already tested those links. The microsoft
> media feature packs are only for the stripped "N" and "KN" versions of
> windows to add those components, which are included in the standard windows
> systems. Those installers can't be installed on a normal windows.
> The intel link is a developer kit, if you plan to develop your own video
> player, unfortunately there is no installer for the filter only.
>
> Meanwhile I tested the LAV filter and the ffdShow filter, both are for
> playback h.264 videos on the directShow API. But the video can't be played
> and LiveCode still tells me " Could not create movie reference" Probably
> it's not the filter, but any deeper system component or incompatibility.
>
> Thanks for jumping in
> Tiemo
>
>
> -Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
> Auftrag
> von Sean Cole (Pi) via use-livecode
> Gesendet: Dienstag, 29. August 2017 16:48
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: Sean Cole (Pi) <s...@pidigital.co.uk>
> Betreff: Re: OT: Does anybody know an "official" h.264 directShow filter
> for
> windows?
>
> Hi Tiemo
>
> WinXP: https://www.microsoft.com/en-us/download/details.aspx?id=507
> Windows 7:
> https://msdn.microsoft.com/en-us/library/windows/desktop/
> dd797815(v=vs.85).a
> spx
> Windows 8 N & KN:
> https://www.microsoft.com/en-us/download/details.aspx?id=40744
> Windows 10 N & KN:
> https://www.microsoft.com/en-us/download/details.aspx?id=49919
>
> The official Intel H.264 SDK:
> https://software.intel.com/en-us/articles/mp4avc-decode-
> using-the-intel-medi
> a-sdk
>
> Sean Cole
> *Pi Digital Productions Ltd*
> www.pidigital.co.uk
> +44(1634)402193
> +44(7702)116447
> 'Don't try to think outside the box. Just remember the truth: There is no
> box!'
> 'For then you realise it is not the box you are trying to look outside of,
> but it is yourself!'
>
> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609
>
> On 29 August 2017 at 09:13, Tiemo Hollmann TB via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hello,
> >
> > It is so frustrating after struggling for years with the Quicktime
> > installer on windows, all my hope on the new "native" video player is
> > lost.
> >
> > Since Windows doesn't support h.264 videos on its old directShow API,
> > you have to install a h.264 codec/filter to playback h.264 videos with
> > LiveCode.
> >
> > Up to now, I only have found the "LAV Filters" package, which includes
> > an directShow mp4 filter. Generally this works fine, but I have
> > customers with Windows 8.1 and 10 machines, who can't play my videos,
> > the screen just keeps black without notice. Beside of the "K-Lite Mega
> > Codec Pack", which at last only is a bundle for the LAV filters I
> > didn't found any other directShow
> > mp4/h.264 filter, not to mention any "official" installer. Has anybody
> > found any other directShow mp4/h.264 filter yet?
> >
> > On the other hand, since this total black out only happens on certain
> > machines, it could be anything from the video card driver to missing
> > media components in windows. But here also I didn't found yet any hint or
> clue.
> >
> > Thanks for your experiences
> >
> > 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 visi

Re: New Books/Dictionary

2017-11-27 Thread Sean Cole (Pi) via use-livecode
Amazing, Thanks James

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 27 November 2017 at 13:15, James Hale via use-livecode <
use-livecode@lists.runrev.com> wrote:

> For those wanting to read the docs in an i-device Dash for iOS is FREE.
>
> I have posted some screenshots on the forum if you want to see how the
> docs look.
>
> http://forums.livecode.com/viewtopic.php?f=16=29745=160713#p160712 <
> http://forums.livecode.com/viewtopic.php?f=16=29745=160713#p160712>
>
>
> James
>
>
>
> ___
> use-livecode mailing list
> use-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: RESTful PUT error

2017-12-15 Thread Sean Cole (Pi) via use-livecode
Hi Andrew,

I've been doing a whole heap of this just recently so have gained more
experience in this than I would have hoped for :(  In other words, I had
hoped it would have been easier. especially working with oAuth procedures
which ended up as a rolling nightmare for me these last few weeks. Here's
what I notice first off. And not wanting to jump to any conclusions, I have
checked the PipeDrive site too. (I'm working on a library for the new Adobe
Sign API using oAuth which I am converting from the previous SOAP method we
used to use)

Their API, under Request Format states:

 In order to do a proper JSON-formatted request, make sure you provide
Content-Type:
> application/json as part of your HTTP request.

So your header would require this also. Ordinarily, it would be recommended
to put your access token in your header too for security reasons (even if
it IS via https). But, they require you add it as a query in your uri. So
you should now have something like:

Put "{'phone':'555-555-'}" into tJSON

replace "'" with quote in tJSON

Put "https://api.pipedrive.com/v1/persons/1?api_token=; & tToken into tURL

Set the httpheaders to "Content-Type: application/json" & "Accept:
application/json"

Post tJSON to tURL


So, really it's only this Content-Type that's holding you back as otherwise
it is wondering what you are sending it and you have to be explicit.

That's it really. The only characters that tend to cause me trouble are
misplaced quotes, hashes, pound sign (£), slashes and new lines. But these
you either provide ascii alternatives or backslash escape them. But you
have used everything appropriately. It just doesn't recognise you've sent
it any JSON formatted content.

All the best.

Sean Cole
*Pi Digital Productions Ltd*


On 15 December 2017 at 17:19, Andrew Bell via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I tried suggestions from several users (on and off the list), but nothing
> has worked for me. After contacting Pipedrive tech support, I got the
> typical IT response of "it works for us" as they blamed LiveCode. They
> suggested that somehow using regex would fix the issue, but I'm not sure
> how that would even apply here (their API is telling me the characters are
> disallowed, not LC). Using tsNet calls gave me the same errors as libURL
> from LC (8.2dp2 and 9.0dp10).
>
> httpHeaders: {"Accept":"application/json"}
> JSON being POSTed (not PUT as their API requests): {"phone":"555-555-"}
> URL being POSTed to (includes my API key for a test account):
> https://api.pipedrive.com/v1/persons/1?api_token=ce95ed7f11e
> 167194b0b4a6f6f1032df4fa13792
>
> Reply from their support team:
> I checked with our engineers regarding the "Disallowed Key Characters"
> message, and they believe this is related to your code editor of choice.
> Some additional programming may be necessary to include these "disallowed"
> characters. They also tested updating the phone value themselves via API,
> and were successful.
>
> For more reference on this issue, they also recommend the following
> resources:
> https://stackoverflow.com/questions/4197976/codeigniter-disa
> llowed-key-characters
> http://www.darwinbiler.com/disallowed-key-characters-in-codeigniter/
>
>
> --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
>
___
use-livecode mailing list
use-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: RESTful PUT error

2017-12-15 Thread Sean Cole (Pi) via use-livecode
Actually, your json needs to also include the name as a requirement,
looking at the post format for 'Persons'. So it would be something like:

Put "{ 'name': 'John Smith' " & lf & " 'phone': '555-555-' }" into tJSON

replace "'" with quote in tJSON
Put "https://api.pipedrive.com/v1/persons/1?api_token=; & tToken into tURL

Set the httpheaders to "Content-Type: application/json" & "Accept:
application/json"
Post tJSON to tURL


'Put' you would use if you were only sending a query which can be added
after the main url. But because you have other data to send you need to use
'Post' so you can transmit other data to the queried uri.

I hope this helps.

Sean Cole
*Pi Digital Productions Ltd*


On 16 December 2017 at 01:27, Sean Cole (Pi)  wrote:

> Hi Andrew,
>
> I've been doing a whole heap of this just recently so have gained more
> experience in this than I would have hoped for :(  In other words, I had
> hoped it would have been easier. especially working with oAuth procedures
> which ended up as a rolling nightmare for me these last few weeks. Here's
> what I notice first off. And not wanting to jump to any conclusions, I have
> checked the PipeDrive site too. (I'm working on a library for the new Adobe
> Sign API using oAuth which I am converting from the previous SOAP method we
> used to use)
>
> Their API, under Request Format states:
>
>  In order to do a proper JSON-formatted request, make sure you provide 
> Content-Type:
>> application/json as part of your HTTP request.
>
> So your header would require this also. Ordinarily, it would be
> recommended to put your access token in your header too for security
> reasons (even if it IS via https). But, they require you add it as a query
> in your uri. So you should now have something like:
>
> Put "{'phone':'555-555-'}" into tJSON
>
> replace "'" with quote in tJSON
>
> Put "https://api.pipedrive.com/v1/persons/1?api_token=; & tToken into tURL
>
> Set the httpheaders to "Content-Type: application/json" & "Accept:
> application/json"
>
> Post tJSON to tURL
>
>
> So, really it's only this Content-Type that's holding you back as
> otherwise it is wondering what you are sending it and you have to be
> explicit.
>
> That's it really. The only characters that tend to cause me trouble are
> misplaced quotes, hashes, pound sign (£), slashes and new lines. But these
> you either provide ascii alternatives or backslash escape them. But you
> have used everything appropriately. It just doesn't recognise you've sent
> it any JSON formatted content.
>
> All the best.
>
> Sean Cole
> *Pi Digital Productions Ltd*
>
>
> On 15 December 2017 at 17:19, Andrew Bell via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> I tried suggestions from several users (on and off the list), but nothing
>> has worked for me. After contacting Pipedrive tech support, I got the
>> typical IT response of "it works for us" as they blamed LiveCode. They
>> suggested that somehow using regex would fix the issue, but I'm not sure
>> how that would even apply here (their API is telling me the characters are
>> disallowed, not LC). Using tsNet calls gave me the same errors as libURL
>> from LC (8.2dp2 and 9.0dp10).
>>
>> httpHeaders: {"Accept":"application/json"}
>> JSON being POSTed (not PUT as their API requests):
>> {"phone":"555-555-"}
>> URL being POSTed to (includes my API key for a test account):
>> https://api.pipedrive.com/v1/persons/1?api_token=ce95ed7f11e
>> 167194b0b4a6f6f1032df4fa13792
>>
>> Reply from their support team:
>> I checked with our engineers regarding the "Disallowed Key Characters"
>> message, and they believe this is related to your code editor of choice.
>> Some additional programming may be necessary to include these "disallowed"
>> characters. They also tested updating the phone value themselves via API,
>> and were successful.
>>
>> For more reference on this issue, they also recommend the following
>> resources:
>> https://stackoverflow.com/questions/4197976/codeigniter-disa
>> llowed-key-characters
>> http://www.darwinbiler.com/disallowed-key-characters-in-codeigniter/
>>
>>
>> --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
>>
>
>
___
use-livecode mailing list
use-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: OAuth over localhost findings.

2017-12-12 Thread Sean Cole (Pi) via use-livecode
Hey Monte,

The really interesting thing that we could utilise within the OAuth lib,
regardless of whether the redirect is set to secure or insecure, once the
navigation occurs we can capture the parameters returned from the URL. It
would be unreasonable to expect all of our app customers (especially as
many of these are not techie people) to set up a secure server on their
machines just to create a signable a document. For now, I have written my
own library that does work with any secure site, especially as yours is not
available for anything created in less than LC9.

Thanks for reading though. It was an observation I thought you might like.

Sean Cole
*Pi Digital *

On 11 December 2017 at 22:10, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Sean
>
> The HTTPS redirect uri requirement does make things a little trickier. A
> quick search indicates that a local HTTPS server is possible (Adobe’s Java
> SDK for sign uses one). I would need to research on the feasibility of
> implementing such a thing in LC though. At a minimum I suspect we would
> need to be able to accept secure connections which we can’t presently.
>
> Cheers
>
> Monte
> ___
> use-livecode mailing list
> use-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: LiveCodeStars

2017-12-03 Thread Sean Cole (Pi) via use-livecode
Hey Herman,

That's fun! A Star Wars style crawler. Perhaps you could put more of a
description of what it does on the Share page so people know what you've
done.

All the best

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 3 December 2017 at 23:53, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> My end-of-this-year gift to the community is dedicated to the LC Team,
> especially to the makers of the browser widget.
>
> **LiveCodeStars**
>
> It is a hybrid of LC animation and (via javascript) CSS transforms.
> see "Sample Stacks" or
> http://livecodeshare.runrev.com/stack/853/
>
> [ Find some additional info to platforms and LC versions here
> http://forums.livecode.com/viewtopic.php?p=161032#p161032 ].
>
>
> ___
> use-livecode mailing list
> use-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: Interview wtth inventor of hypercard Bill Atkinson

2017-10-20 Thread Sean Cole (Pi) via use-livecode
A lot of what he is talking about here is what they are now calling Machine
Learning. I didn't 'fully' understand how this worked. But a few paragraphs
from Mr Atkinson here helped me immensely. I'm all the better for it.
Thanks, Bill, on so many levels.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 20 October 2017 at 20:29, Alejandro Tejada via use-livecode <
use-livecode@lists.runrev.com> wrote:

> By the way, according to this article, we already knew
> which could be the next breakthrough in technological
> progress... but, we don't know who will pour their blood,
> sweat and tears to build and sell it to the people.
>
> https://zurb.com/blog/the-next-big-innovation-it-s-already-10-o
>
>
> On Fri, Oct 20, 2017 at 2:20 PM, Alejandro Tejada 
> wrote:
>
> > Hi All,
> >
> > Being English my second language, frequently I have to
> > read again (and reread some time after) many of the
> > messages that I post in the mail list and in the forum.
> >
> > In the forum, we could simply edit, reedit and edit again
> > any message until it means what we meant... but in the
> > mail list that is not possible.
> >
> > After reading again my message about the origin of HyperCard,
> > I found that it's easy, very easy, to understand that in my
> > message I am dismissing Bill Atkinson's breakthrough as
> > an intentional copy of previous works.
> >
> > That was NOT my intention. If Bill Atkinson says the he
> > invented HyperCard under the effects of LSD, then we have
> > to believe him... but when you read about any topic, it's logical
> > and necessary to learn and analyze other people's opinions.
> >
> > I already written about Walter Cooke and Paul Helckel opinions,
> > so here is my own opinion:
> >
> > HyperCard was so successful as an innovative breakthrough
> > because it followed the natural path of technological
> > progress. Hypercard was the next step in
> > computer advancement.
> >
> > Who is credited with the conceptual foundation of HyperText?
> > Vannevar Bush with his description of the "Memex":
> > http://www.archivejournal.net/notes/as-we-may-now-think/
> >
> > While Vannever Bush described a mechanical device,
> > electronic engineers where already creating the foundations
> > of computer science and demonstrating that numbers could
> > represent and store texts, images and sounds:
> > http://royal.pingdom.com/2008/04/08/the-history-of-computer-
> > data-storage-in-pictures/
> >
> > After the creation of text-only hypertext systems,
> > https://en.wikipedia.org/wiki/Hypertext
> > Which was the next logical step in technological
> > progress?
> >
> > The creation of an Image and Text hypertext system.
> > On Macintosh, it's name was HyperCard.
> >
> > Al
> >
> >
> >
> >
> ___
> use-livecode mailing list
> use-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: Was: URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-25 Thread Sean Cole (Pi) via use-livecode
Dear All


This is going to be a long one so I’ll break it down into sections to make
it easier to read and get the points across (hopefully).

// Thanks //
First off, a great deal of thanks has to go out to everyone who contacted
both during and after the incident on May 2nd. It is overwhelming to see
the attempts of support offered over the last couple of weeks. Thank you,
each one of you.


// GoFundMe //
This, too, is overwhelming. A little disturbing too as it was embarked on
by people who know very little about me or the facts behind the situation.
Indeed, some of those provided here and on the GFM site were distorted from
the truth of the matter. I would never have asked for this or expected
it... but the generosity demonstrated by so many in the community is so
very much appreciated.

It is necessary, though, to set a few matters straight to make sure all
understand what actually took place and why things got the way they did.


// Background //
On a personal note, I’ve suffered from clinical depression, diagnosed and
medicated since ‘03. During that time I have had 5 serious mental (nervous)
breakdowns. Only one of these had been work-related. What I suffered this
time was only a half breakdown it transpires and has been ‘easier’ to
recover from. My wife, Judith, has been a major contributing factor in this.

The project is one that if been working on since April ‘17 on and off, a
few weeks at a time. It’s for a tv production company that produces game
shows in the UK who required a working prototype of a game for development,
testing, production and pitching purposes. This is the second one I was
producing for them. The last stage of its production started around
February with final tweaks and bug fixes along with a couple of new
features. It all went well and the client had planned to set up a day to
film a working pilot episode. I continued to bug fix leading up to the day
till the 2nd of May 3am, the morning of the gig. I went to bed at that time
happy that everything was working fine.

/*
Bear in mind that somewhere in the middle of April 2018, Adobe had also
changed their policy for oAuth which had repercussions on another client’s
software who codes in LC5.0.2 (because he prefers to ‘own’ software rather
than ‘rent’ it). I created a library for him to access Adobe Sign but
failed from 5.0.2 because it only uses TLS1.0 and Adobe require TLS1.1 or
1.2. I was able to fix this with a mini hack of LC5.0.2.
*/


// The Incident //
It turns out, however, that at 00:01 PDT (8am BST I think) of May 2nd
Google changed something key to the App. Due to various security risks,
Google had decided to deprecate the use of webviews for authenticating
oAuth entry. Our app used GoogleSheets as a simple way to enable the client
to update key features of the app live, specifically, questions, categories
and running orders. The App, which would run live and display on the
projected screen in front of the contestants, would call on the GSheet with
updated data through the demo.

From between 8am and 10am UK time when I eventually woke up, the client had
evidently been desperately texting, emailing and trying to call me to let
me know the App wasn’t working anymore. It had been working at first then
suddenly wasn’t. They would only get a screen that said it could no longer
authenticate entry and login to Google services. This, of course, baffled
me as it had all been working fine up to just 7hrs before.

As the desktop version appeared not to be affected (as I had found after a
lot of testing that morning) so I used it to create an up to date database
internally in the app and upload as an enterprise app for them to install.
This gave them the ability to at least start using it although without the
ability to update and change the order of events dynamically using the
Google Sheets method. This was a key part of making it work.


// The Repercussions //
Once I got to the studio it was evident how much this had affected
production. It had all become very clunky with little to no fluidity or
slickness we would have had if it were working properly. The
director/producer was understandably perplexed and irritated. It now meant
that every time an answer was given and a step through the game occurred we
had to rebuild the application with manually updated data and get each
device to download the latest version of the app. The game is usually very
fast paced but this had brought it to a near standstill taking all of the
excitement out of it.

The longer it went on the worse and worse I felt. I had little to no time
to come up with an alternative solution and just needed it fixed. But with
Monte 12hrs away and LiveCode £600-£1000 away with only the likely response
of “Nothing we can do till Monte wakes up”, I knew the likelihood of a fix
was 100% not going to come.

To give an idea of what was affected, an hours show like this would usually
take about 2-3hrs to film. This took them 6-7hrs. Considerations are the
studio 

Re: Windows 10 and LC9.0

2018-05-25 Thread Sean Cole (Pi) via use-livecode
Tool Palette - BROKEN
Script Editor - BROKEN
Project Browser - BROKEN
Geometry Manager - BROKEN
Inspector - BROKEN
Message Box - BROKEN
Dictionary/Guide - USELESS
LiveCode = UNFIT FOR PURPOSE

Is there ANY part of this Freakin' software that actually frakin works??

KEVIN! Stop adding 'new' stuff and FIX THE DAMNED PROGRAM!! Don't release
stuff as 'STABLE' things that don't actually work and then expect us to
keep paying for it. You're affecting other peoples livelihood and stability
here! I should be a clear example to you of that very fact!

It's no wonder I went frekin mental! £^&%**^@(*@&^%£%@%@...

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 25 May 2018 at 23:13, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 05/25/2018 12:05 PM, John Burtt via use-livecode wrote:
>
> Also fixed is the bug that it was almost impossible to place new controls
>>> from the Tools palette to the IDE stack using drag-and-drop. It had been
>>> an
>>> uncontrollable trial-and-error thing. Often enough I had to try several
>>> times to "hit" the stack window and place the control So, I am happy
>>> about
>>> the fix very much.
>>>
>>
>> Not fixed on a Mac. Totally unreliable.
>> I don't even try anymore. Have to use the menu.
>>
>
> Ouch. That's depressing. I wasn't aware of that, but it's been many years
> now since I've used the tools palette. May I suggest PowerTools?
>
> http://www.ahsoftware.net/PowerTools/PowerTools.lc
>
> --
>  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: Was: URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-26 Thread Sean Cole (Pi) via use-livecode
Thank you, Richmond! You have cheered me up a lot. You make some very good
points and it's good to know I'm not alone in my feelings about so much of
it. Ju and I have been discussing it and what I might focus on instead.
Unfortunately, that means I'd be leaving you guys in the cesspool as I drag
myself to shore. But I'll probably still watch on from the sidelines to see
how things turn out and chime in if necessary.

Thanks very much, again.

Sean

On 26 May 2018 at 11:19, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> 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


Re: Windows 10 and LC9.0

2018-05-26 Thread Sean Cole (Pi) via use-livecode
On Sat, 26 May 2018 at 22:09, AndyP via use-livecode <
use-livecode@lists.runrev.com> wrote:


> If for example you are using LC on Mac which I have used in the past and
> was a pleasure to behold.. it just works!
>
When I wrote the list of things that were broken I was writing specifically
about Mac. I very rarely code on Windoze. The Mac ‘just works’, true. But
LC on a Mac is ‘just flawed’. And from the catalogue of faults I’ve binge
read from the last couple of weeks posts it seems it’s a cross platform
issue.

LC 9 is simply not ready, is still Beta and is an embarrassment. Any new
customer that would come their way would immediately abandon LC based on
frustration and limitation. There seems no sense to it. Did they not
actually test it for real before they released it? I have a feeling they
put far too much trust in their automated tests and don’t do nearly enough
manual real world testing to see how their dev env works. Especially the
script editor for goodness sake, the very heart of the coding environment!


-- 
Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-02 Thread Sean Cole (Pi) via use-livecode
Hi

Apparently, google stopped using their old method of oAuth and started
deprecation from 1March 2017. As of Apr 20 2018 it no longer works. My
clients rely on this feature and are shooting a pilot today (as in NOW!).
And the features built in no longer work as google docs no longer works.
Months in the making and preparation, and Google choose today of all days
to disallow it's use. FAB!!!


Why oh why oh why was this not addressed in the months leading up to this??
I am screwed and will not get paid now! I am sick and tired of how behind
Livecode gets. Off to find a cliff to jump from as this obviously wont get
fixed in time and I wont have any money to pay my bills as all of it went
it to putting this together! I'm as good as homeless. THANKS A MILLION!!


Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk


eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609
___
use-livecode mailing list
use-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: URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-02 Thread Sean Cole (Pi) via use-livecode
If he had then it would also be in 8.1.10 or 8.2 (but it is not). v9 is
basically still a beta (a GM beta!) as is incredibly buggy and virtually
unusable for client projects. I wouldn't dare touch it yet till it is
actually fully operational.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 2 May 2018 at 14:28, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Sean,
>
> I feel your pain really!
>
> Just a question wouldn't the Oauth2 that is built in to LC9 work - maybe
> that's the reason it wasn't updated but i'm sure Monty wouldn't be
> dismissive - he was once at the coal face (no pun intended).
>
>
> Regards Lagi
>
> On 2 May 2018 at 14:00, Pi Digital via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > They would not be able to sort it in the next 1hr by which time our slot
> > is over. They’ve had two years to sort this. Fortunately, in London there
> > are plenty of trains and cars to run in front of as I can’t face another
> > day of this. I’ve lost a huge client, a tonne of work and any chance of
> > being paid. And LC won’t care a jot! Last time I had something similar I
> > was told I’d have to pay their extortionate support fee (for their
> bug!!).
> > So screw it and screw everyone. There’s no way of pulling this back.
> >
> > Sean Cole
> > Pi Digital
> >
> > > On 2 May 2018, at 13:52, Mike Kerner via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Perhaps rather than you and I chasing each other on multiple lists we
> > could
> > > keep the conversation to one list.  Have you tried contacting LC?  I'm
> > > pretty sure when Monte was writing mergGoogle for me, he was up a few
> > > nights.
> > >
> > > On Wed, May 2, 2018 at 8:49 AM Pi Digital via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > >> It works fine on OSX but not on ios. Google have been documenting,
> > >> apparently, for the last two years that they would be dropping support
> > from
> > >> using non-browser oAuth on iOS and Android devices. 1st May 2018 was
> > >> apparently their cut off day. We now get this on iPads:
> > >>
> > >> https://www.dropbox.com/s/dpx8jv56crgzj91/IMG_6446.JPG?dl=0
> > >>
> > >> Sucks to be me. The tv game show pilot took months to set up and cost
> me
> > >> personally £1000’s and it has all fallen to pieces around me. I’ve got
> > very
> > >> angry people staring at me. I certainly have no money left to get LC
> > >> support and Monte, the only one who could do anything about it, will
> be
> > in
> > >> bed by now. I am so totally screwed because I put my trust in LC. And
> > not
> > >> for the first time!
> > >>
> > >> Sean Cole
> > >> Pi Digital
> > >>
> > >>> On 2 May 2018, at 13:43, Mike Kerner via use-livecode <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>>
> > >>> See the thread on the other list.  It appears to be working for me
> just
> > >>> fine.
> > >>>
> > >>> On Wed, May 2, 2018 at 6:56 AM Sean Cole (Pi) via use-livecode <
> > >>> use-livecode@lists.runrev.com> wrote:
> > >>>
> > >>>> Hi
> > >>>>
> > >>>> Apparently, google stopped using their old method of oAuth and
> started
> > >>>> deprecation from 1March 2017. As of Apr 20 2018 it no longer works.
> My
> > >>>> clients rely on this feature and are shooting a pilot today (as in
> > >> NOW!).
> > >>>> And the features built in no longer work as google docs no longer
> > works.
> > >>>> Months in the making and preparation, and Google choose today of all
> > >> days
> > >>>> to disallow it's use. FAB!!!
> > >>>>
> > >>>>
> > >>>> Why oh why oh why was this not addressed in the months leading up to
> > >> this??
> > >>>> I am screwed and will not get paid now! I am sick and tired of how
> > >> behind
> >

Re: URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-02 Thread Sean Cole (Pi) via use-livecode
It's all too late now. I'm walking with egg on my face. No response from LC
still. despite being marked as urgent. To use the browser widget I would
have had to write the whole wrapper from scratch rather than use merg
dependance. If it had been written properly in the first place it would not
have been an issue. Had it had a warning on it (and not suppressed) I would
have been aware. Now my life is over. Worst Day Ever! Miserable. Rained on
and soaked through. Insurance doesn't cover for events like this and not
one person at LC or on here will be able to help me out of this hole. I
guess this is goodbye.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 2 May 2018 at 15:00, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I wonder if using the browser widget would be a temporary workaround so
> that you get the flow the way google is asking for it.
>
> On Wed, May 2, 2018 at 9:38 AM Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > If he had then it would also be in 8.1.10 or 8.2 (but it is not). v9 is
> > basically still a beta (a GM beta!) as is incredibly buggy and virtually
> > unusable for client projects. I wouldn't dare touch it yet till it is
> > actually fully operational.
> >
> > Sean Cole
> > *Pi Digital Productions Ltd*
> > www.pidigital.co.uk
> > +44(1634)402193
> > +44(7702)116447
> > 'Don't try to think outside the box. Just remember the truth: There is no
> > box!'
> > 'For then you realise it is not the box you are trying to look outside
> of,
> > but it is yourself!'
> >
> > eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> > Productions Ltd is a UK registered limited company, no. 5255609
> >
> > On 2 May 2018 at 14:28, Lagi Pittas via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hi Sean,
> > >
> > > I feel your pain really!
> > >
> > > Just a question wouldn't the Oauth2 that is built in to LC9 work -
> maybe
> > > that's the reason it wasn't updated but i'm sure Monty wouldn't be
> > > dismissive - he was once at the coal face (no pun intended).
> > >
> > >
> > > Regards Lagi
> > >
> > > On 2 May 2018 at 14:00, Pi Digital via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > They would not be able to sort it in the next 1hr by which time our
> > slot
> > > > is over. They’ve had two years to sort this. Fortunately, in London
> > there
> > > > are plenty of trains and cars to run in front of as I can’t face
> > another
> > > > day of this. I’ve lost a huge client, a tonne of work and any chance
> of
> > > > being paid. And LC won’t care a jot! Last time I had something
> similar
> > I
> > > > was told I’d have to pay their extortionate support fee (for their
> > > bug!!).
> > > > So screw it and screw everyone. There’s no way of pulling this back.
> > > >
> > > > Sean Cole
> > > > Pi Digital
> > > >
> > > > > On 2 May 2018, at 13:52, Mike Kerner via use-livecode <
> > > > use-livecode@lists.runrev.com> wrote:
> > > > >
> > > > > Perhaps rather than you and I chasing each other on multiple lists
> we
> > > > could
> > > > > keep the conversation to one list.  Have you tried contacting LC?
> > I'm
> > > > > pretty sure when Monte was writing mergGoogle for me, he was up a
> few
> > > > > nights.
> > > > >
> > > > > On Wed, May 2, 2018 at 8:49 AM Pi Digital via use-livecode <
> > > > > use-livecode@lists.runrev.com> wrote:
> > > > >
> > > > >> It works fine on OSX but not on ios. Google have been documenting,
> > > > >> apparently, for the last two years that they would be dropping
> > support
> > > > from
> > > > >> using non-browser oAuth on iOS and Android devices. 1st May 2018
> was
> > > > >> apparently their cut off day. We now get this on iPads:
> > > > >>
> > > > >> https://www.dropbox.com/s/dpx8jv56crgzj91/I

Re: URGENT: MergGoogle no longer works on iOS: CLIENTS VERY UNHAPPY

2018-05-02 Thread Sean Cole (Pi) via use-livecode
It's all too too too late. I had no money to get a support contract. Spent
it all getting the project running. It was working up until this morning so
I had no idea that it would be an issue. My client was incredibly p'd. I
have no way to redeem myself. I really couldn't care less if you can or
cannot fix it now. I am £1000's down and well out of pocket. I will never
get it back. I have/will-have lost everything. I don't think I can come
back from this. My life is worth £0, especially to you guys. I'm like
abandon-ware. Your failure cost someone their life (not to mention his wife
and two boys who may well miss him but will be better off without him for
making the mistake of using LC and all things LC!).

Bye


On 2 May 2018 at 16:29, Kevin Miller via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Sean,
>
> I¹m very sorry to hear your demo went wrong today.
>
> If its any consolation I¹ve been there and probably most of us have been
> in that situation at some point in our careers. Even Steve Jobs had the
> occasional demo that didn¹t work out! How you recover from that situation
> is probably more important than the fact that it happened. Most customers
> and clients understand that tech demos are fraught with potential issues
> and will accept that if you can keep a level head and talk to them. One of
> the techniques I have for doing demos - in common with many in this
> industry - is to practice the whole thing 3 times the day before from
> beginning to end. As this change occurred 20th April that would have given
> us a few hours to respond Š rather than it being ³too late² now.
>
> Could we have done a better job here? Possibly. We have hundreds and
> hundreds of components in LiveCode and we generally try to maintain
> compatibility within a couple of weeks of major upgrades and changes. For
> whatever reason this change wasn¹t flagged by the processes we use to stay
> on top here - and as a result we can review that process going forward. At
> present Monte is asleep - yes even he needs sleep sometimes - and as he
> wrote this component we really need him to chime in here and take a look
> at what needs to be updated.
>
> Generally its faster post to support than this list, though we do require
> a support contract in place to help you. Nonetheless given how important
> this is for you we will look at this issue when Monte gets up.
>
> Kind regards,
>
> Kevin
>
> Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
> LiveCode: Develop Yourself
>
>
>
___
use-livecode mailing list
use-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: multiple cameraControls possible?

2018-01-29 Thread Sean Cole (Pi) via use-livecode
Hi Alan. Is this for iOS, Android or desktop? Based on the dev api for both
iOS and Roid it should be possible to access both cameras simultaneously.
It doesn't appear to be so simple with external cameras. Desktop is a
different story. Either way, cameraControl would need modifying to enable
it.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 30 January 2018 at 01:21, Alan via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I've been testing out the cameraControl a bit more and trying to make more
> than 1 at a time. It is possible but only seems to have one of them active
> at a time (i.e. updating). Though if the second one is then deleted, the
> first one becomes active again.
>
> Is it possible to have more than 1 active? i.e. to have both front + rear
> cameras updating?
>
> Additionally, I have an external (thermal) camera and would like to use
> that, but it didn't appear in the devices available to the cameraControl. I
> was assuming it should - is this a bug or just expected? Or do I need to
> allow access to the external camera for my app perhaps?
>
> Thanks for any help!
>
> cheers
>
> Alan
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Livecode.com server down

2018-02-14 Thread Sean Cole (Pi) via use-livecode
Hi all,

Just tried activating the latest version of LC but the server is apparently
down. Needed to urgently create an iOS standalone for XCode 9.2 but stopped
in my tracks. The downloads page and the whole livecode.com site is not
responding. Sigh. Now need to explain this to my client.

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


mergAVPlayerCreateFromURL in IDE

2018-02-22 Thread Sean Cole (Pi) via use-livecode
Hi,

Is there any way to get mergAVPlayerCreateFromURL to work within the IDE? I
would like to test it without building a standalone for bug locating.

Thanks
Sean Cole
*Pi Digital *
___
use-livecode mailing list
use-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 8.1.9

2018-02-16 Thread Sean Cole (Pi) via use-livecode
Hi,
I was having an issue building standalones for iOS when I up'd to 8.1.9 and
Xcode 9.2. I tried with an empty stack and everything then learnt that a
setting within XCode was the issue. In preferences>Locations there is a
selector for 'Command Line Tools'. I had to select the latest version to
make it work. This is just a heads up for anyone who runs into the same
issue.

Sean Cole
*Pi Digital *

On 10 February 2018 at 01:03, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> "Jazz is not dead, it just smells funny"
>   Frank Zappa
>
> 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 Mark Wieder via use-livecode
> Sent: Friday, February 09, 2018 7:01 PM
> To: Ralph DiMola via use-livecode
> Cc: Mark Wieder
> Subject: Re: [ANN] Release 8.1.9
>
> On 02/09/2018 09:07 AM, Ralph DiMola via use-livecode wrote:
>
> > ...\Roaming\...
>
> Hah! I was listening to Ornette's "Rambling" when that email arrived.
>
> --
>   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
>
___
use-livecode mailing list
use-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: mergAVPlayerCreateFromURL in IDE

2018-02-22 Thread Sean Cole (Pi) via use-livecode
Ok, weird. So, after working out that mergAVPlayerCreateFromURL needs to
use a 'put' command as a function, the video would play but not be
visible despite that property being set to true. Further investigation
showed that the rect when set to 0,0,1024,768 would read back (using
mergAVPlayerGet) as 0,-768,1024,768. If I set it to 0,0,512,384, it returns
0,-384,512,384. Setting to 0,200,512,384 returns 0,-384,512,184.


Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 22 February 2018 at 22:14, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Yes it should work on Mac in the IDE. I don’t know if it has ever been
> used much because player objects make more sense on desktop. Looks like you
> need to set the visible to true after creating it but on iOS that probably
> isn’t required...
>
> Cheers
>
> Monte
>
> > On 23 Feb 2018, at 3:20 am, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi,
> >
> > Is there any way to get mergAVPlayerCreateFromURL to work within the
> IDE? I
> > would like to test it without building a standalone for bug locating.
> >
> > Thanks
> > Sean Cole
> > *Pi Digital *
> > ___
> > use-livecode mailing list
> > use-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: mergAVPlayerCreateFromURL in IDE

2018-02-23 Thread Sean Cole (Pi) via use-livecode
The reason for using this as opposed to the engine/mobile controls is CODE
ONCE. mergAV works for both Mac AND iOS which are the two platforms my
client requires it for. According to the dictionary, the player object is
only for Mac, Windows and Linux still. So I would have to set up a heap of
conditionals for iOS and then Mac. But, seeing as this bug won't get fixed
anytime soon and my client is waiting for this new feature to be added I'm
going to have to go down this route anyway. This is the issue I face all
too often with LiveCode. Hunting for hours for the reason why something
small doesn't do what it's supposed to (this has taken 8hrs to track down!
) and then coming to the realisation that the bug fix cycle is too damned
long compared to the quick turnarounds I have with my clients (often
between a few days to a couple of weeks) so end up spending more time
coming up with workarounds.

Here's a recipe:


   1. New stack and card with a single button.
   2. mouseUp handler in button to call showMedia
   3. Card script contain:

local sPlayerID

on showMedia

put 0,0,512,384 into tRect

put mergAVPlayerCreateFromURL("
https://livecode.pidigital.co.uk/HappyClip.mp4;) into sPlayerID

mergAVPlayerSet sPlayerID, "visible", "true"

mergAVPlayerSet sPlayerID, "rect", tRect

mergAVPlayerSet sPlayerID,"visible","true"

mergAVPlayerSet sPlayerID, "rect", tRect

put mergAVPlayerGet(sPlayerID,"rect") into tRect2

put mergAVPlayerGet(sPlayerID,"rate") into tRate

put mergAVPlayerGet(sPlayerID,"visible") into tVis

put mergAVPlayerGet(sPlayerID,"duration") into tDuration

put mergAVPlayerGet(sPlayerID,"current time") into tCurr

put (sPlayerID & gMedia & tRect & tRect2 & tVis & tRate &
cr& tDuration & tCurr)

mergAVPlayerDo sPlayerID, "play"

end showMedia


on AVPlayerItemDidPlayToEndTimeNotification pPlayerID

mergAVPlayerRelease pPlayerID

end AVPlayerItemDidPlayToEndTimeNotification


Notice what happens when you delete the last line that sets the Rect.
Setting the Visible property has no effect but the order of Visible and
Rect setters have an effect on the Rect value. On an iOS device and the
simulator, it works fine either way. Mac and IDE it does not.


Have fun. I'll copy paste this into a bug report. Then get on to making the
workaround so my client can finally get what he could have had yesterday!
#LCneverFitForPurpose




Sean Cole
*Pi Digital *


On 23 February 2018 at 03:07, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hmm… that seems unpleasant. Unfortunately it probably hasn’t been used
> much before on mac so if you can post a bug report with your issues that
> would be good. What was the reason you are using mergAVPlayer instead of
> the engine player/mobile control options?
>
> Cheers
>
> Monte
>
> > On 23 Feb 2018, at 1:34 pm, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Ok, weird. So, after working out that mergAVPlayerCreateFromURL needs to
> > use a 'put' command as a function, the video would play but not be
> > visible despite that property being set to true. Further investigation
> > showed that the rect when set to 0,0,1024,768 would read back (using
> > mergAVPlayerGet) as 0,-768,1024,768. If I set it to 0,0,512,384, it
> returns
> > 0,-384,512,384. Setting to 0,200,512,384 returns 0,-384,512,184.
> >
> >
> > Sean Cole
> > *Pi Digital Productions Ltd*
> > www.pidigital.co.uk
> > +44(1634)402193
> > +44(7702)116447
> > 'Don't try to think outside the box. Just remember the truth: There is no
> > box!'
> > 'For then you realise it is not the box you are trying to look outside
> of,
> > but it is yourself!'
> >
> > eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> > Productions Ltd is a UK registered limited company, no. 5255609
> >
> > On 22 February 2018 at 22:14, Monte Goulding via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >>
> >> Yes it should work on Mac in the IDE. I don’t know if it has ever been
> >> used much because player objects make more sense on desktop. Looks like
> you
> >> need to set the visible to true after creating it but on iOS that
> probably
> >> isn’t required...
> >>
> >> Cheers
> >>
> >> Monte
> >>
> >>> On 23 Feb 2018, at 3:20 am, Sean Cole (Pi) via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Hi,
> >>>
> >>> Is there any way to get mer

Re: Voice Comparison in LiveCode?

2017-12-28 Thread Sean Cole (Pi) via use-livecode
Hi Peter,

I'm going to recommend to you this code source from CMUSphinx. Head for the
main Github source and look at the Android build (link also below). Because
this is in Java, you should be able to write something using the FFS in
LCB. Ignore all the Gradle stuff. Just load in
the pocketsphinx-android/src/main/java/)edu/cmu/pocketsphinx files and bind
to the 'SpeechRecognizer' class and then the various handlers. Also check
out the Sphinx4 project, particularly the allPhone stuff (
https://github.com/cmusphinx/sphinx4/tree/master/sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/allphone
)

https://cmusphinx.github.io/wiki/phonemerecognition/

https://github.com/cmusphinx/pocketsphinx-android/

Sean Cole
*Pi Digital Productions Ltd*



> > i'm developing an app for cheap Android tablets (e.g. Amazon Fire 7in)
> that allows a user to practice speaking a set of words.  The app plays a
> sample of a word and the user then tries to say the same word.  So far the
> app can play sample words and capture the user's attempts for the same
> words.  The sample words and user attempts are uncompressed WAV files.
> >
> > I'm trying to find the code to do the comparison of 2 WAV files.
> Ideally, the code will be in the following formats (best first):
> >
> > 1. LiveCode
> > 2. Pseudocode
> > 3. Other code (Python, Java, C++ etc.)
> > 4. Academic papers
> >
> > I'm considering 2 general methods:
> >
> > a. Compare 2 voice clips directly
> > b. Convert 2 voice clips to text (using voice-to-text) and then compare
> the words in text format
> >
> > Note that Ali Lloyd from the LiveCode team has developed various things
> to help.  However I've hit problems as follows:
> >
> > a. Ali has wrapped a standard Android sound library that compares 2 WAV
> files and gives a percentage match. However the comparison is either far
> too forgiving or far too strict, i.e. highly unreliable.
> >
> > b. Ali has wrapped a standard Android voice-to-text library which works
> well with the devices he's tried it on.  However, the Amazon tablets do not
> support this Android library!
> >
> > Given the two developments from Ali both relied on preformed blackbox
> code (Android Java libraries), i may have to implement a comparison
> algorithm from scratch. A solution that's completely in LiveCode would have
> several benefits:
> >
> > i. it may work!
> > ii. it may work cross-platform
> > iii. it may be understandable!
> >
> > General reading around this subject produces recommendations such as
> using FFTs (Fast Fourier Transforms), MFCCs (Mel Frequency Cepstral
> Coefficient), etc. but I can't find anything that gives an end-to-end
> method, from sound in to comparative score out!
> >
> > Any help with this would be gratefully received!
> >
> > Peter
> > --
> > Peter Reid
> > Loughborough, UK
> ___
> use-livecode mailing list
> use-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: Callbacks fail

2018-03-12 Thread Sean Cole (Pi) via use-livecode
Hi Peter

325625625 is only 32.5sec of video. 552892592040 would be 55290 seconds,
which is 921 mins, which is 15.35hrs! If it was 55 billion, that would make
more sense. Can you just recheck your numbers and also let us know what
format video you are using, codec, wrapper, etc. Also, which version of LC
are you using?

Cheers

Sean Cole
*Pi Digital *

On 11 March 2018 at 20:15, Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi,
>
> I’m working on a project that has a 1-1/2 hour video playing. I’m using
> callbacks to display subtitle text in a field. When a callback is sent from
> the player, the appropriate text is shown.
>
> This work great on Mac, not so good on Windows. On Windows, the callbacks
> seem to stop arriving after about a minute, and the player stops
> functioning correctly. The player timeScale and subsequent callbacks are
> set up:
>
> Mac timeScale = 2997, last callback in the video = 16661913
> Win timeScale = 10,000,000, last callback in the video = 552892592040
>
> So, should I be surprised that in Windows a callback of 552 billion might
> not work? The callbacks seem to stop coming around 325625625.
>
> Peter
> ArtsInteractive
> ___
> use-livecode mailing list
> use-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: name resolution stinker

2018-04-12 Thread Sean Cole (Pi) via use-livecode
put the id of tCurrentCard into tCardID
put (there is a group id (the id of group tDataGrid of card id tCardID)
into tGroupExists
if not tGroupExists then next repeat

Sean Cole
*Pi Digital Productions Ltd*

On 12 April 2018 at 13:14, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I think the problem here is that you are mixing up to methods of
> referencing controls...
>
> You can either do:
>
>   there is a group tGroupName of ...
>
> As syntax *or* :
>
>   there is a tLongIdOfGroup
>
> The 'group' chunk expects a string which is a name of a group - it isn't
> the same as putting 'group' in front of the string.
>
> Try making tGridLongName with the word 'group' at the front (I think
> someone else suggested this) then that should work.
>
> Warmest Regards,
>
> Mark.
>
> Sent from my iPhone
>
> > On 11 Apr 2018, at 17:08, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Ok here is a real stinker.
> >
> > put quote & tDataGrid & quote && "of" && tCurrentCard into tGridLongName
> > put (there is a group tGridLongName) into tGroupExists
> > if not tGroupExists then next repeat
> >
> > tGridLongName resolves to:
> > "dgsites" of card id 1002 of stack "Sites" of stack
> "/Users/bobsneidar/Documents/Livecode Projects/Forms Generator 8/Forms
> Generator 8.livecode"
> >
> > When in the message box I type:
> > put there is a group "dgsites" of card id 1002 of stack "Sites" of stack
> "/Users/bobsneidar/Documents/Livecode Projects/Forms Generator 8/Forms
> Generator 8.livecode"
> >
> > I get true.
> >
> > But the code:
> > put (there is a group tGridLongName) into tGroupExists
> >
> > returns false. tGridLongName is not resolving in this statement.
> >
> > Is this another use case for DO?
> >
> > 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: regex url validator?

2018-10-23 Thread Sean Cole (Pi) via use-livecode
>
> Maybe the documentation needs a tweak.


Will do...

Sean


On Tue, 23 Oct 2018 at 15:04, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 
>
> I originally used
>
> filter the lines of my_container with myregex
>
> or filter my_container with myregex
>
> none of the expressions worked. just blanked out.
>
> When I used the same form as Steve...it worked.
>
> filter my_container with regex pattern myregex   into my_variable
>
> So is that a bug in the filter command? literally lost hours on this.
>
>
>
> Thank you all . onto some working code. :)
>
>
> On Tue, Oct 23, 2018 at 9:27 AM Stephen MacLean via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi Tom,
> >
> > Don’t know if you found a solution yet, but this is from the rsIsValid
> > suite I put together a few years back.
> >
> > http://forums.livecode.com/viewtopic.php?f=16=26653=138698#p138698 <
> > http://forums.livecode.com/viewtopic.php?f=16=26653=138698#p138698>.
> > https://github.com/renegadesteve/rsIsValid <
> > https://github.com/renegadesteve/rsIsValid>
> >
> >
> > Below is the LCS version:
> > function rsIsValidURL pURL
> >
> > put pURL into tCC
> >
> > // get scheme
> >
> > put "^(?[a-z][a-z0-9+\-.]*):" into tSchemeRegex
> >
> > get matchText(tCC, tSchemeRegex,tScheme)
> >
> > // check scheme for http, https, ftp, ftps, mailto, nntp, news, or file
> >
> > if it <> true then return false
> >
> > if tScheme = "mailto" then
> >
> > //get the email address from the URL and then validate it
> >
> > delete char 1 to 7 of tCC
> >
> > return rsIsValidEmail_LC(tCC)
> >
> > else
> >
> > // setup the regex pattern
> >
> > put "^(?:http://|https://|ftp://
> |ftps://|nntp://|news://)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\x{00a1}-\x{}0-9]-*)*[a-z\x{00a1}-\x{}0-9]+)(?:\.(?:[a-z\x{00a1}-\x{}0-9]-*)*[a-z\x{00a1}-\x{}0-9]+)*(?:\.(?:[a-z\x{00a1}-\x{}]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$"
> > into tURLRegex
> >
> > // run filter against regex pattern and set result to true if it matches.
> >
> > filter tCC with regex pattern tURLRegex into tMatch
> >
> > if tMatch <> empty then
> >
> > return true
> >
> > else
> >
> > return false
> >
> > end if
> >
> > end if
> >
> > end rsIsValidURL
> >
> >
> > Best,
> >
> > Steve MacLean
> >
> > > On Oct 22, 2018, at 10:07 PM, Tom Glod via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Hi peeps,
> > >
> > > I'm trying to use regex to validate a list of URLs
> > >
> > > I've tried 4 or 5 different "regular" expressions that supposedly work
> > > . but LC does not give me anything back.  None of them work,
> > >
> > > Like for example ... this one.
> > >
> > >
> >
> ^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$
> > >
> > > or this one
> > >
> > > /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/
> > >
> > > or this one just to make sure
> > >
> > > (https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)
> > >
> > > Does anyone know how to get these or others to work in LC?
> > >
> > > Thanks,
> > >
> > > 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
> ___
> use-livecode mailing list
> use-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: Autocomplete Problem

2018-10-23 Thread Sean Cole (Pi) via use-livecode
Hi Rick,

With the script editor live, go to the menu for it and to Edit>Options> and
turn off Autocomplete. There was an option to use F1 to disable but I don't
seem to be able to get this to work on my Mac

Sean


On Tue, 23 Oct 2018 at 15:23, Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Greetings LiveCoders,
>
> I am having a problem with Autocomplete.
> It keeps interfering with what I’m trying to type,
> and I find it to be very annoying.
>
> I’m trying to turn the feature off in the Preferences
> under Script Editor and have unchecked the
> Auto Format box and that seems to have no
> effect at all.  (Under LC 9.0.1)
>
> Is there some other way to turn it off perhaps
> with a command in the message box?
>
> Where is Autocomplete documented?
> I really wasn’t able to find much about it
> when I looked around.
>
> 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: regex url validator?

2018-10-23 Thread Sean Cole (Pi) via use-livecode
Tom,
I've looked at the docs and I'm not sure how to make it much clearer.
Perhaps you have a suggestion?
The examples given are:

local tVar put the propertyNames into tVar filter tVar with "[az]*" -- tVar
contains all property names beginning with a or z

This one is NOT a regular expression (regEx) but is the same as specifying
it to be a wildcard pattern.

-- Filtering a string literal causes the filtered string to be placed in
the it variable filter items of "apple,banana,cherry" with regex pattern
"b.*" -- it contains "banana"

This one is and is clearly indicated.

Perhaps we could move things about a bit.
The description say:

The filter...without form and the filter...not matching form discard the
lines, items, keys or elements that do not contain a match for the
specified filterPattern.

This could possibly be written better to read:

The 'filter...without' form and the 'filter...not matching' form discard
the lines, items, keys or elements that do not contain a match for the
specified filterPattern.

This could then be followed by the 'Wildcard pattern' description which is
NOT regEx. It's the same as not specifying a pattern. That would mean
putting the RegEx description further towards the end making it obvious to
be something different from *filter x with/without [wildcard pattern]*

What does everyone think?

Sean


On Tue, 23 Oct 2018 at 16:51, Sean Cole (Pi)  wrote:

> Maybe the documentation needs a tweak.
>
>
> Will do...
>
> Sean
>
>
> On Tue, 23 Oct 2018 at 15:04, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> 
>>
>> I originally used
>>
>> filter the lines of my_container with myregex
>>
>> or filter my_container with myregex
>>
>> none of the expressions worked. just blanked out.
>>
>> When I used the same form as Steve...it worked.
>>
>> filter my_container with regex pattern myregex   into my_variable
>>
>> So is that a bug in the filter command? literally lost hours on this.
>>
>>
>>
>> Thank you all . onto some working code. :)
>>
>>
>> On Tue, Oct 23, 2018 at 9:27 AM Stephen MacLean via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > Hi Tom,
>> >
>> > Don’t know if you found a solution yet, but this is from the rsIsValid
>> > suite I put together a few years back.
>> >
>> > http://forums.livecode.com/viewtopic.php?f=16=26653=138698#p138698
>> <
>> > http://forums.livecode.com/viewtopic.php?f=16=26653=138698#p138698
>> >.
>> > https://github.com/renegadesteve/rsIsValid <
>> > https://github.com/renegadesteve/rsIsValid>
>> >
>> >
>> > Below is the LCS version:
>> > function rsIsValidURL pURL
>> >
>> > put pURL into tCC
>> >
>> > // get scheme
>> >
>> > put "^(?[a-z][a-z0-9+\-.]*):" into tSchemeRegex
>> >
>> > get matchText(tCC, tSchemeRegex,tScheme)
>> >
>> > // check scheme for http, https, ftp, ftps, mailto, nntp, news, or file
>> >
>> > if it <> true then return false
>> >
>> > if tScheme = "mailto" then
>> >
>> > //get the email address from the URL and then validate it
>> >
>> > delete char 1 to 7 of tCC
>> >
>> > return rsIsValidEmail_LC(tCC)
>> >
>> > else
>> >
>> > // setup the regex pattern
>> >
>> > put "^(?:http://|https://|ftp://
>> |ftps://|nntp://|news://)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\x{00a1}-\x{}0-9]-*)*[a-z\x{00a1}-\x{}0-9]+)(?:\.(?:[a-z\x{00a1}-\x{}0-9]-*)*[a-z\x{00a1}-\x{}0-9]+)*(?:\.(?:[a-z\x{00a1}-\x{}]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$"
>> > into tURLRegex
>> >
>> > // run filter against regex pattern and set result to true if it
>> matches.
>> >
>> > filter tCC with regex pattern tURLRegex into tMatch
>> >
>> > if tMatch <> empty then
>> >
>> > return true
>> >
>> > else
>> >
>> > return false
>> >
>> > end if
>> >
>> > end if
>> >
>> > end rsIsValidURL
>> >
>> >
>> > Best,
>> >
>> > Steve MacLean
>> >
>> > > On Oct 22, 2018, at 10:07 PM, Tom Glod via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> > >
>> > > Hi peeps,
>> > >
>> > > I'm trying to use regex to validate a list of URLs
>> > >
>> > > I've tried 4 or 5 different "regular" expressions that supposedly work
>> > > . but LC does not give me anything back.  None of them work,
>> > >
>> > > Like for example ... this one.
>> > >
>> > >
>> >
>> ^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$
>> > >
>> > > or this one
>> > >
>> > > /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/
>> > >
>> > > or this one just to make sure
>> > >
>> > > (https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)
>> > >
>> > > Does anyone know how to get these or others to work in LC?
>> > >
>> > > Thanks,
>> > >
>> > > Tom
>> > > ___
>> > > use-livecode mailing list
>> > > use-livecode@lists.runrev.com
>> > > Please 

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Sean Cole (Pi) via use-livecode
Hi Matthias,
This is, without any doubt, a permissions issue and definitely nothing to
do with sandboxing. You need to unlock the folder you are saving to. The
recommended form is to have a folder within the preferences folder named
[domain].[appName] (ie, com.mycompany.myapp), and store your prefs files in
there. But you need to make sure that the permissions for both the main
Preferences folder and your app prefs folder are set to read/write for
either 'admin' AND/OR 'user'. Check also the permissions for the pref file
itself.

The Apple Dev Docs say this about the /Library/Preferences/ folder:

> You should not create files in this directory yourself. Instead, use the
> NSUserDefaults class or CFPreferences API to get and set preference values
> for your app.

Use of NSUserDefaults has not yet been set up for LC apps. You should be
okay to write there as long as the permissions are correct. You may have to
use a terminal command to find out for sure what the permissions are or to
change them using chmod or something.

All the best

Sean


On Tue, 30 Oct 2018 at 11:36, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Tried here now with a standard  user and an admin account.
> It works with both account types  w/o problems.
>
> I will have to contact the customer again.  A big problem is that he´s
> Italian and does not speak english. At least his first emails were in
> Italian unless i mentioned that i had to translate his email to English and
> also my answer to Italian with Google Translate. After that he used Google
> Translate also.
>
> I just can hope, that Google does its job good and i do not send offending
> messages to him. ;)
>
> Regards,
> Matthias
>
>
> Matthias Rebbe
>
> free tools for Livecoders:
> https://instamaker.dermattes.de
> https://winsignhelper.dermattes.de
>
> > Am 30.10.2018 um 00:09 schrieb Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > I wonder if they are looged in as administrators?
> >
> > Bob S
> >
> >
> >> On Oct 29, 2018, at 16:05 , Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> I´ve setup a VM with Mojave and my app was able to write the
> registration data to the preferences folder without a problem.
> >>
> >> So i am not sure what´s going on  on the machine of the customer. But
> at least i know now that my app is able to access that folder.
> >>
> >> Regards
> >>
> >> 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 <
> 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: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Sean Cole (Pi) via use-livecode
Hi Matthias,
The quote from Apple was in reference to the Library/Preferences folder in
the User directory, not the one in the root. To make it even more
abundantly clear this is what was meant, this page specifically references
~/...
https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html

This is definitely a permissions issue. Resolve the permissions problem
(despite Bobs 'non-starter' comment), and your client can start using your
app again. The fact it works on your machine and clean VMs shows that it is
specific to his system and needs fixing.

Trevors link is exceptionally helpful. Big thumbs up. We could do with that
in the main app in the iOS standalone settings.

All the best to you all.

Sean

On Tue, 30 Oct 2018 at 18:12, Trevor DeVore via use-livecode <
use-livecode@lists.runrev.com> wrote:

> >
> > The Apple Dev Docs say this about the /Library/Preferences/ folder:
> >
> > > You should not create files in this directory yourself. Instead, use
> the
> > > NSUserDefaults class or CFPreferences API to get and set preference
> > values
> > > for your app.
> >
> > Use of NSUserDefaults has not yet been set up for LC apps. You should be
> > okay to write there as long as the permissions are correct. You may have
> to
> > use a terminal command to find out for sure what the permissions are or
> to
> > change them using chmod or something.
> >
>
> Levure has a Preferences Helper that uses NSUserDefaults through an LCB
> file in LC9 and an external in versions prior to LC9.
>
> For those lucky souls using Levure you just have to activate the helper in
> your project file. Others could grab the helper files from the Levure repo
> and work them into their own project.
>
>
> https://github.com/trevordevore/levure/tree/develop/framework/helpers/preferences
>
> --
> 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
>
___
use-livecode mailing list
use-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/macOS App Store

2018-11-11 Thread Sean Cole (Pi) via use-livecode
The release notes for 9.0.0 stable state otherwise as quoted below
referring directly to the IDE, not Standalones.
> To quote:
>> The *IDE* is now 64-bit by default on Mac

I also checked on my versions here and it is definitely 64bit so I’m not
sure why your machine is not saying the same.

Try this script for the file path to your LC ide in the terminal.

lipo -info /Applications/LiveCode\ Indy\ 9.0.2\ \(rc\
1\).app/Contents/MacOS/LiveCode-Indy


For me it shows:

are: i386 x86_64

Demonstrating both 32 and 64 bit.
The IDE itself is just a rev script that runs within the LC overall
environment so would not be 64 or 32 bit itself.

Sean


On Sun, 11 Nov 2018 at 11:25, JJS via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yes i know the standalone can be 64bit.
>
> I also know how to check in Macos if a program is 64bit.
>
> I was talking about the IDE itself. That's 32-bit.
>
>
> Op 10-11-2018 om 22:41 schreef Pi Digital via use-livecode:
> >
> https://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0.pdf#page32
> >
> > To quote:
> >> The IDE is now 64-bit by default on Mac
> >> Moreover, the "Build for Mac OS X 64-bit" is checked by default on
> newly created stacks in the standalone settings for OS X. Existing stacks
> will retain their current settings.
> >
> > Check your settings perhaps. You can double check by going to
> Apple>AboutThisMac>SystemReport(button)>Software>Applications>LiveCode
> 9.0.2> and look at 64-bit to see if it says yes. If it does, nothing to
> worry about.
> >
> > Sean Cole
> > Pi Digital
> >
> >> On 10 Nov 2018, at 19:45, JJS via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> By the way.
> >>
> >> In Mojave i got a a message "you are running a 32bit program" (the
> livecode ide).
> >>
> >> Within a certain amount of time it's going to "force"  to use 64bit
> programs
> > ___
> > use-livecode mailing list
> > use-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: Regex replacements (\1, \2) not matching

2018-11-11 Thread Sean Cole (Pi) via use-livecode
Hey Kaveh,

To break down your request you are searching if the string "one two"
matches the pattern "(.+) (.+)" which it does as there are two word with a
space between that can have at least 2 characters per word (. = any
character, + = and extra character of that type, in this case 'any'). As it
does match that pattern, replaceText simply swaps out the "one two" for
exactly the string you have asked it to replace it with, namely "\2 \1"
verbatim.

The replacement string cannot itself be a regex pattern which is what I
think you are trying to do here. The regEx part in the middle of the
function is just a pattern to match to and not a method to reorganise the
content of the search string, which is unfortunate. You would need a
slightly longer script to achieve this. A repeat loop using 'put "2,1" into
tSortOrder'; put trueword (item x of tSortOrder) of tOldString into word x
of tNewString' would do what you want in simple terms.

Sean


On Sun, 11 Nov 2018 at 09:40, Kaveh Bazargan via use-livecode <
use-livecode@lists.runrev.com> wrote:

> What am I missing? I put in message box:
>
> put replacetext("one two", "(.+) (.+)", "\2 \1")
>
> I get result:
>
> "\2 \1"
>
> rather than:
>
> "two one"
>
>
>
> --
> Kaveh Bazargan
> Director
> River Valley Technologies  • Twitter
>  • LinkedIn
> 
> ___
> use-livecode mailing list
> use-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 9.0.4 RC-1

2019-03-28 Thread Sean Cole (Pi) via use-livecode
It's not broken, Mark. It's now only a privilege of Business Licence
holders. I don't understand their reasoning but I'm sure they have a good
one other than trying to bleed more money out of us for all the other
unnecessary nonsense just so we can help them (and that is what it should
be there for, so we can help!) beofre they release. But, we do get this
opportunity to get it now. They often have an RC2 and even an RC3 once.


Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609


On Thu, 28 Mar 2019 at 21:44, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 3/28/19 2:21 PM, Clarence Martin via use-livecode wrote:
> > I am preparing to file a bug report because of the lack of performance in
> > LiveCode 9.0.4 RC - 1.
> > Some of the problems that I have encountered:
> > The "Right Click" context menu locks open and is non-responsive.
> > The options from the "Main Menu Buttons" can be unresponsive. So, at
> times
> > the save and exit buttons Do Not work.
> > I made sure that this version of LiveCode have permissions with my
> "Active
> > Protection" software.
> > This even worse than the earlier problems that I had with my previous Bug
> > Report.
> > I have reverted back to LC 9.03 RC - 2 and it works just fine.
>
> Verified here. Sometimes the contextual menu works, sometimes it
> doesn't. I have also reverted back to 9.0.3 to get any work done.
>
> In the past we used to get dp releases in order to test stuff like this
> before ever getting to the release candidate stage. That release cycle
> has been broken for some time now.
>
> --
>   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: identifying macOS folders that are considered to be files?

2019-06-17 Thread Sean Cole (Pi) via use-livecode
https://stackoverflow.com/questions/121147/determine-if-a-directory-is-a-bundle-or-package-in-the-mac-os-x-terminal

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609


On Tue, 28 May 2019 at 23:18, Trevor DeVore via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Tue, May 28, 2019 at 4:31 PM kee nethery via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Wow, way more complicated than I imagined.
> >
> > From:
> >
> https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html
>
>
> The macOS API I wrapped in the extension should take all of the into
> account.
>
> --
> Trevor DeVore
> ScreenSteps
> ___
> use-livecode mailing list
> use-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.5 DP 1 Unadorned - LayerMode - Container

2019-05-23 Thread Sean Cole (Pi) via use-livecode
Sounds like a lot of guesswork going on. Brahm is right, it needs
documenting with full clarity.

Sean Cole
*Pi Digital Productions Ltd*

eMail Ts & Cs 


On Thu, 23 May 2019 at 17:10, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 5/23/19 8:39 AM, Monte Goulding via use-livecode wrote:
> >
> >
> >> On 23 May 2019, at 8:01 am, Trevor DeVore via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> On Thu, May 23, 2019 at 7:30 AM Sannyasin Brahmanathaswami via
> use-livecode
> >>  wrote:
> >>
> >>> 9.5 looks exciting.
> >>>
> >>> But we need a "lexicon"  (or Kognition) for the dictionary.
> >>> It is still written in "deep-in-the-engine-jungle-geek-speak"
> >>>
> >>> For us lay people, we need a few more words. E.g.
> >>>
> >>> layerMode
> >>>
> >>> What does "unadorned"  mean?
> >>
> >>
> >> My understanding is that the group must have showborder set to false and
> >> opaque set to false.
> >>
> >
> > Also no graphic effects, blendMode etc.
>
> Also no label. I wasn't aware opacity mattered.
>
> --
> 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: name vs short name

2019-07-04 Thread Sean Cole (Pi) via use-livecode
Klaus,

you are right! The dictionary entry is wrong.

It would not make logical sense to be able to set the short name of
something just as it is not logical to set the long or abbreviated name of
it. Hence why we have ONLY set the name of it. The 'short' keyword would be
superfluous.

But the dictionary should have the examples the other way round.

Sean Cole
*Pi Digital*


On Thu, 4 Jul 2019 at 11:03, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> this is on my mind for a very long time.
>
> put the name of img 1 -> image "xyz"
> put the short name of img 1 -> xyz
>
> However:
> set the short name of img 1 to "xyz2" -> compilation error, see below...
>
> We have to:
> set the name of img 1 to "xyz2"
>
> This does not seem logical at all to me!?
>
> Can someone please explain in a comprehensible (sic!) way why this is so?
> :-)
>
> BTW:
> Looks like the dictionary is wrong here (or am I missing something
> obvious?)
> Entry about name:
> ...
> set the [{ long | abbreviated | short }] name of object to string
> ...
> ?
>
> I tried:
> set the long name of btn 1 to "hello sailor!"
> set the abbreviated name of btn 1 to "hello sailor!"
> set the short name of btn 1 to "hello sailor!"
>
> And got "Compilation error: can't set this property..." in all three cases.
>
> Thanks a lot in advance!
>
>
> 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: name vs short name

2019-07-04 Thread Sean Cole (Pi) via use-livecode
It is possible to make it an optional keyword though.
set the [short] name of  to 

Sean Cole


On Thu, 4 Jul 2019 at 13:29, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> > Am 04.07.2019 um 14:22 schrieb Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi Paul,
> >
> >> Am 04.07.2019 um 14:12 schrieb Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> No it is not consistent, but some of the syntax was baked into Metacard
> long ago,
> >> often in response to some specific customer asking for a way to do some
> specific thing.
> >> Remember, Metacard was effectively a product of a single person.
> >
> > Yes, I am using Dr. Raneys wonderful piece of software since 1999. :-)
> >
> >> For LiveCode to change it now would break far fr too many existing
> stacks
> >
> > Au contraire, mon ami!
> >
> > Simply because this (being able to set the SHORT name of an object) is
> not allowed until now,
> > but would make a lot of sense!
> >
> > So this would be an addition and nothing that might break older syntax.
>
> Of course I did not mean to replace:
> set the name of img 1 to "xxx"
> with
> set the short name of img 1 to "xxx"
>
> I just wanted to be able to ALSO use that (way more logical) syntax.
>
>
> 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: Script Editor CTD

2019-06-27 Thread Sean Cole (Pi) via use-livecode
For those who have been encountering CutThroatDesparados while stepping
through the script editor,
For those who have been encountering CodingTooDeeply while stepping through
the script editor,
For those who have been encountering CustomToolboxDevelopment while
stepping through the script editor,
For those who have been encountering CuriousTerminalData while stepping
through the script editor,

Ooo, I didn't realize there was a list. I've been collecting a few of them
just in case though. I've been getting it more than ten times a day. I
thought it was a conflict in timings because the widget spinner never stops
even when hidden. But it is probably more than this judging by the reports
themselves.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609


On Thu, 27 Jun 2019 at 15:33, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Duly posted.
>
> Bob S
>
>
> > On Jun 26, 2019, at 18:09 , J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Here:
> > https://quality.livecode.com/show_bug.cgi?id=22130
> >
> > I have 4 more I haven't uploaded yet, three just from this afternoon.
> >
> > --
> > 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: Script Editor CTD

2019-06-28 Thread Sean Cole (Pi) via use-livecode
Or you can create a custom version of the widget and change line 88 from
being a constant to a parameter we can set and then we can make it slower
or faster as we wish. Don't forget to change the refresh code in line 163.

Sean Cole



On Fri, 28 Jun 2019 at 10:52, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > JLG wrote:
> > Hm. I'm also using a widget spinner. Anyone else? How do we
> > know it keeps going when hidden?
>
> See the LCB code:
> The spinner widget updates every 0.3 seconds, whether
> visible or not.
>
> Instead of hiding you could delete it when done.
>
> ___
> use-livecode mailing list
> use-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: DataGrid v1 vs DataGrid v2...

2019-07-09 Thread Sean Cole (Pi) via use-livecode
Hi Paul.

It gets upgraded automatically. If it is in a Form style, the swipe actions
are turned off by default to avoid ruining your old versions. Practically
all of the old code works as it did before. As it's just the engine that
changes it's basically a straight forward swap-out that's done when you
open in 9.0.5>. I just happened to be watching the video by Michael at the
California2019 conference last night :)

All the best
Sean Cole
*Pi Digital *


On Tue, 9 Jul 2019 at 13:09, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> QUESTION:
>
> If I have a stack with a Datagrid in it that was made in LiveCode 6.x.x.
> and I have now opened and saved this stack from LiveCode 9.0.5rc1 in the
> current (v7.0) stack format. Does the Datagrid get converted from a
> version1 data grid to a version 2 datagrid?
>
> Or, if I want/need the version 2 data grid, must I create a new datagrid
> under LC9.0.x?
>
> ___
> use-livecode mailing list
> use-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 for redo/undo text?

2019-07-09 Thread Sean Cole (Pi) via use-livecode
Curry,

Hehe, you are, of course, right and I'd be inclined to do it the 'non' way
too.

In simple terms, in the 'non' way you only store the changes (like SVC)
rather than the whole field. But it's far harder to explain in detail and
infinitesimally so when you think about the many possible scenarios your
text goes through while editing - and then thinking about it you realise
you've only thought about the top of the iceberg that's sitting above the
water.

(Is that your thinking too, Curry, or did you have an even better way in
mind)

Oh, the headache has started again. I'm going back to my HTML5 {slightly}
less painfull headaches. :)

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609


On Tue, 9 Jul 2019 at 13:29, Curry Kenworthy via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Sean:
>
>  > The likely method for a WP-like unlimited Un/Re-do is to work
>  > with chunks. It's going to be a major memory-whore for large text
>  > but the most practical, easy way.
>
> And then there's the, um, NON-memory-whore approach. Always my fave.
>
> (I'm picky like that when it comes to the whole code "morality" thing
> and corresponding app performance.) :D
>
> Best wishes,
>
> Curry Kenworthy
>
> Custom Software Development
> "Better Methods, Better Results"
> 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: script for redo/undo text?

2019-07-09 Thread Sean Cole (Pi) via use-livecode
Hi Nicolas,

After reviewing my code, I don't think it will suffice for your needs. As I
said, mine was more character/word based which would be overkill on a large
document. More suited to a small text field where lot's of changes to
characters or words will happen. That's not the same as with something
like, say, a word-processor.

The likely method for a WP-like unlimited Un/Re-do is to work with chunks.
It's going to be a major memory-whore for large text but the most
practical, easy way.

You need to setup a global array (gFldTxtA) to store the entire field for
each state you want to return to, index-based (1 to n). You'll also need a
script local (sFldTxtCurrIndex) to store your current array index number.
Each time a key is pressed update gFldTxtA[sFldTxtCurrIndex] with the field
content (all of it). (Note: if it gets really large you may have to just
add a char at a time to it). Any time the returnKey, deleteKey, arrowKey,
pasteKey, cutKey, copyKey, backspaceKey or tabKey is pressed you want to
catch this and add 1 to your sFldTxtCurrIndex and store your new field
content into that for safe-keeping.

Now your undo and redo buttons shift through the array updating the
sFldTxtCurrIndex as it goes. Once the user starts typing or adding more
text again, all indices of gFldTxtA after the current index need to be
wiped (in keeping with common practice) and the current index set. If you
want them to undo redo's as well you will need another script local var to
keep track of these - but will get brain-twistingly complex.

Undo/redo truly is one of the biggest implementation, testing and
maintenance headaches for any sized application. It's no wonder it took
until iOS3 for it to be added to iPhones (badly) along with copy/paste
(which can be equally as distressing when you realise the shear mass of
'types' there are). It's easily underestimated and taken for granted.

I hope this helps in some way. All the best.

Sean Cole
Pi Digital


On Tue, 9 Jul 2019 at 10:24, Pi Digital via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Nicolas
>
> It becomes quite the memory hoarder as the document goes on (as you can
> imagine) but I created one that is basically an indexed svc-like array. It
> can be char or word based.
>
> I also created (although it wouldn’t suit your purpose) a very complex
> undo/redo for a number of prototype game show apps that covered anything
> that happened. It twists your brain working out the infinite possibilities
> but is doable. It often just takes a bit of research and planning -
> especially if you are breaking new ground.
>
> I’ll post up a simplified script in a bit.
>
> Sean Cole
> Pi Digital Prod Ltd
>
> > On 9 Jul 2019, at 04:05, Nicolas Cueto via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Good day eh.
> >
> > To quote a post from "User Experience Stack Exchange
> >  >":
> >
> > " undo/redo is one of the biggest implementation, testing and
> > maintenance headaches   in any significantly sized application"
> >
> > And yet I ask...
> >
> > Would someone care to volunteer a redo/undo script that works on text in
> a
> > text-field object? ... especially a script that provides (almost) full
> undo
> > history?
> >
> > (Note: Just changes to text. Not to LC objects themselves.)
> >
> > Ta.
> > --
> > 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
> ___
> use-livecode mailing list
> use-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: Rename object

2019-07-04 Thread Sean Cole (Pi) via use-livecode
local tList
repeat with rImgNum = 1 to the number of images [in card "x"]
if the short name of img rImgNum is among the lines of tList then
set the name of img rImgNum to the name of tImg rImgNum & "x"
end if
put the short name of img rImgNum into line rImgNum of tList
end repeat
-- Done!

Sean Cole
*Pi Digital Productions Ltd*
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'


On Thu, 4 Jul 2019 at 09:30, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Richmond,
>
> > Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > I've lost this . . . having done it several times before . . .
> >
> > So: I duplicate an object, let's call it img "XXX", so I end up with
> > 2 objects called "XXX" (which is problematic), and I wish to
> > rename the new version of "XXX" . . .
> > err . . .
> > set the name of the last/recent/latest/headache
>
> ...
> set the name of last img to "XXX_2"
> ...
>
> > Richmond.
>
> 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: CTD meaning?

2019-06-28 Thread Sean Cole (Pi) via use-livecode
Well, I wasn't expecting the Scripting, Edit, Save, Crash question.

Hahaa! Nobody suspects the Scripting, Edit, Save, Crash question.

Our chief weapon is SURPRISE...surprise and FEAR...fear and surprise
Our two weapons are fear and surprise...and RUTHLESS EFFICIENCY
Our *three* weapons are fear, surprise, and ruthless efficiency...and an
almost fanatical devotion to the CODE
Our *four*...no... *AMONGST* our weapons Amongst our weaponry...are
such elements as fear, surp
I'll come in again.


On Fri, 28 Jun 2019 at 18:50, Tore Nilsen via use-livecode <
use-livecode@lists.runrev.com> wrote:

> What good have the crashes ever done to us?
>
> Tore Nilsen
>
> > 28. jun. 2019 kl. 19:40 skrev Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > On 6/28/19 10:21 AM, J. Landman Gay via use-livecode wrote:
> >> Too funny. While I'm not so fond of either management or Crash, I'm
> glad I started this thread.
> >> On the whole though, freah crashes are better than canned.
> >
> > Every crash is sacred.
> >
> > --
> > 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
>
___
use-livecode mailing list
use-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: Polyglot and CodeRunner

2019-08-02 Thread Sean Cole (Pi) via use-livecode
The trouble with this and Peppermint is they are only for MacOS. So it
doesn't really fall into the LC 'code once for all' bracket. Not that it
isn't useful for some individual projects. But it would be even better if
there was a code runner that was PC, Linux and Windows (and even mobile)
friendly. But I definitely see the advantages for it.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609


On Fri, 2 Aug 2019 at 14:21, David Bovill via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Does anyone combine Livecode with different programming languages - would
> be interesting to share any experiences. I mainly create wrappers for
> command line tools in Livecode. Sometimes interface with Javascript which I
> want to improve my workflow with.
>
> I was thinking of of extending the way I work with command line tools -
> then saw how https://coderunnerapp.com/ does it - so thought I'd see if we
> can get Livecode to work with CodeRunner first - has anyone done this?
>
>
> *How can I add my own languages to CodeRunner?*CodeRunner's run system is
> based on simple terminal commands, and therefore if you know the terminal
> commands involved in running/compiling code in your language, you can
> easily add it to CodeRunner. To add languages, go to Preferences ->
> Languages, and click the "+" button. In the "Run Command" text box, enter
> the command you use to run the language from the terminal. E.g. if the
> interpreter is called mylang, you would enter mylang $filename here.
>
> If your language uses several commands to run, you can use a CodeRunner
> compile script. Check the box "Language uses compile script" and click the
> "Edit Script..." button. This will open the compile script in the
> CodeRunner editor. The script will contain a further explanation of how to
> use 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


[no subject]

2019-08-21 Thread Sean Cole (Pi) via use-livecode
Hi All

I posted this up on the HTML5 forum. Perhaps someone on here can help me
out.

Faster DataGrid Performance
The number one feature we get asked for is to improve performance of
complex DataGrids on mobile. We will improve performance in two ways.
First, we will rework the DataGrid code to be more efficient in the way
that it creates, removes and caches objects.
Faster Graphics on All Platforms
We will add new features to the engine to support accelerated rendering
within groups. This will benefit LiveCode’s graphic performance in a
variety of real-world situations, on all platforms including mobile,
desktop and web.

That's a quote from the old 2017 backers campaign for DG2 just to put
things into perspective of my expectations. I hope this doesn't come over
as whiny or over-demanding .

I have acceleratedRendering set to true for the IDE, desktop and HTML5. But
a DG2 Form with only 3 short fields, a rounded-rect grc and the background
rect and only 233 records still struggle to scroll anywhere near smoothly.
Even with the bkgnd and grc removed leaving only 3 simple text fields it
still struggled just as much.

Is there something I am missing that can speed/smooth this up. Using a
table view DG worked moderately better but doesn't have the required
features the form view has for customising.

Many thanks

Sean Cole
*Pi Digital *
___
use-livecode mailing list
use-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: Datagrid2 Form view slow down.

2019-08-22 Thread Sean Cole (Pi) via use-livecode
Monte,

Here's a list of the properties of the Row Template 0001 from my grid. Bear
in mind I have not manually adjusted anything other that the rect of the
group.

rect 24,151,755,180
toolTip
hScroll 0
vScroll 0
boundingRect
bottomColor
hScrollbar false
visible true
sharedBehavior false
topColor
textStyle
borderWidth 0
backPattern
tabGroupBehavior false
shadowPattern
dontSearch false
dropShadow
topPattern
label
selectGroupedControls true
backColor
radioBehavior true
cantSelect false
lockLoc true
foreColor
hilitedButton 0
hilitePattern
forePattern
showFocusBorder true
layerMode dynamic
showName false
shadowOffset 4
backgroundBehavior false
focusPattern
shadowColor
opaque false
scrollbarWidth 20
innerGlow
ink srcCopy
clipsToRect false
showBorder false
name group "Row Template 0001"
textSize
cantDelete false
textFont
unboundedVScroll false
disabled false
unboundedHScroll false
colorOverlay
altId 0
hiliteColor
behavior button id  of stack "Data Grid Templates 1563330294005"
borderColor
innerShadow
bottomPattern
borderPattern
outerGlow
id 83861
blendLevel 0
traversalOn true
vScrollbar false
focusColor
threeD true
margins 0
layer 17

Are you able to spot anything there that flags up as an adornment?

I've taken my understanding of adornment from a post by Mark Waddingham
back in June 2017 (!) during the proposition of DG2 where he states:

You can already use acceleratedRendering to do this but it currently
> only works for top-level groups and your groups have to be 'unadorned' -
> meaning that you have turned off all properties of the group which mean
> the group itself renders something (e.g. borders, scrollbars).
>

Mark there was referring to what acceleratedRendering could already do back
then, so it is only the concept of 'unadorned' that I am referencing. This
is about the ONLY description I can find for this ANYWHERE on the web!

Thanks again
Sean.
___
use-livecode mailing list
use-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: Datagrid2 Form view slow down.

2019-08-22 Thread Sean Cole (Pi) via use-livecode
Thanks Bob,

You don't need to invoke DG2. All old DGs are 'converted' (for want of a
better word) to v2. The engine handles this.

Faster DataGrid Performance: As stated, that was a quote from the original
kickstarter (or whatever) campaign just as background to show that it was
intended to improve performance for HTML5 as well as mobile and desktop (as
html5 is my main area of concern at the moment), not mobile alone (although
it was mainly requested for mobile). So, by default, performance for DG
should go up for ALL platforms because of bringing up the efficiency of
"the way it creates, removes and caches objects". This stands to reason.

Note: None of the new features are included in the Guide as yet so you need
to refer to the release notes for 9.0, 9.0.5 and 9.5 to get an
understanding of these. Although the notes do not make it completely clear
about all of the features as yet. Hopefully soon they will employ a
dedicated copywriter who loves making dictionaries and guides to bring it
all up to date.

Still, hopefully an understanding of 'adornments' (as the dictionary seems
to shed no light on this) will help answer this.

Sean


On Thu, 22 Aug 2019 at 15:35, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I think it was this part:
>
> Faster DataGrid Performance
> The number one feature we get asked for is to improve performance of
> complex DataGrids on mobile. We will improve performance in two ways.
> First, we will rework the DataGrid code to be more efficient in the way
> that it creates, removes and caches objects.
>
> The datagrid performance is for Mobile, not all platforms.
>
> BTW do I have to invoke DG2 when creating one? Or all DGs now v2?
>
> Bob S
>
> > On Aug 22, 2019, at 07:27 , Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Monte,
> >
> > Many thanks for your response. I don't know how I had inferred that I was
> > using mobile as this is ONLY for PC Desktop and HTML5 emscripten running
> in
> > Chrome on a PC Desktop (which will be the final intended platform). I'm
> > confused about what I said that caused Herman and yourself to assume I
> was
> > talking about mobile. I thought the HTML5 forum was for Desktop Web only.
> >
> > I checked in dglist for the effective layermode of the Row Templates in
> my
> > form and they are coming up as 'static' (set layermode is 'dynamic'). So
> > there must be some incompatible adornment. But, as Henry asked, what
> > adornments would cause this? I don't even know what is meant by the term
> > 'adornments'.
> >
> > All I have in my template is 3 standard text fields with no adjustments,
> > the standard background graphic (no adjustment) and a single rounded
> > rectangle graphic that sits underneath one of the fields (the only
> > adjustment I have tried on this is turning off antialiasing just to see
> if
> > it made a difference). Is a rounded rectangle classed as an 'adornment'?
> > But even without this added it still shows as being effective 'static'.
> If
> > we can't use simple text fields and a simple rect graphic without
> affecting
> > the effective layerMode then Form view is near useless.
> >
> > I look forward to being educated about adornments? Thanks again.
> >
> > Henry,
> >
> > you need to use...
> >
> > put the effective layermode of grp "Row Template 0001" of grp "dglist"
> > of grp "DG_Browse"
> >
> >
> > Sean
> >
> >
> >>
> > ___
> > use-livecode mailing list
> > use-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: Datagrid2 Form view slow down.

2019-08-22 Thread Sean Cole (Pi) via use-livecode
Hi Monte,

Many thanks for your response. I don't know how I had inferred that I was
using mobile as this is ONLY for PC Desktop and HTML5 emscripten running in
Chrome on a PC Desktop (which will be the final intended platform). I'm
confused about what I said that caused Herman and yourself to assume I was
talking about mobile. I thought the HTML5 forum was for Desktop Web only.

I checked in dglist for the effective layermode of the Row Templates in my
form and they are coming up as 'static' (set layermode is 'dynamic'). So
there must be some incompatible adornment. But, as Henry asked, what
adornments would cause this? I don't even know what is meant by the term
'adornments'.

All I have in my template is 3 standard text fields with no adjustments,
the standard background graphic (no adjustment) and a single rounded
rectangle graphic that sits underneath one of the fields (the only
adjustment I have tried on this is turning off antialiasing just to see if
it made a difference). Is a rounded rectangle classed as an 'adornment'?
But even without this added it still shows as being effective 'static'. If
we can't use simple text fields and a simple rect graphic without affecting
the effective layerMode then Form view is near useless.

I look forward to being educated about adornments? Thanks again.

Henry,

you need to use...

put the effective layermode of grp "Row Template 0001" of grp "dglist"
of grp "DG_Browse"


Sean


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


[no subject]

2019-08-20 Thread Sean Cole (Pi) via use-livecode
Hi all,

What are the benefits and disadvantages of using the new 'minimal layout'
property in DataGrid2? The release note says:

When this property is true, a row template will only receive the
LayoutControl message if its data or its width or height has changed as
opposed to every time its rect changes (e.g. due to scrolling).


But what is the impact of this when used, - such that it has not been made
the default behaviour?

Many thanks.

Sean Cole
*Pi Digital *

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609
___
use-livecode mailing list
use-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: Datagrid2 Form view slow down.

2019-08-27 Thread Sean Cole (Pi) via use-livecode
Hi Mark,

Thank you for you very comprehensive response. It does help me understand a
great deal more about the innards of the data grid.

However, I have been running my grid in an 800x600 window. I had restarted
fresh with a new template stack and new row template. The template has the
original BG untouched. The original field renamed, and repositioned, and
two others copied from it and repositioned. (Later I had a rounded
rectangle added which sits behind the last field but this made no
difference to performance). The row height is set to 30. No layout control
other than for the data content. Minimal layout set to true. I kept it
basic as it could be. But it still stutters on scroll with or without
Accelerated rendering on. So, in my very humble opinion, something is still
'up'! I don't know what it is but Form view is definitly not operating up
to par for some reason.

As suggested, I have had to spend considerable more time coding my own data
grid. This has held us up no end as a result. Again. Especially as, because
HTML5 deployment is broken so much, that I have to manually code nearly all
key and mouse operations that come in (delete, backspace, escape, arrows,
mouse-scroll, double-click, cut, copy, paste, - anything other than a-Z,0-9
pretty much). And geometry doesn't work either for HTML5 so I have to code
resize for almost every object manually. It is getting tiresome and tedious
just how much in LC does not work! I'm am very nearly at burnout stage from
it - Again! LC almost killed me last year and it is trying really hard to
do it to me again it seems.

Try it, see for yourself!

Thanks (semi-hysterically) again.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609
___
use-livecode mailing list
use-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: Another list test

2019-08-29 Thread Sean Cole (Pi) via use-livecode
Was it bouncing the messages? How can we check if a message was
sent/received during this time? Is there an archive we can view?

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609


On Thu, 29 Aug 2019 at 16:26, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The list was down for 2 days due to the server move so there won't be any
> mail to restore. I think we all suffered from withdrawal symptoms. I
> myself
> was forced to read Twitter during the interim and I fear for my health now.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On August 29, 2019 9:35:44 AM Graham Samuel via use-livecode
>  wrote:
>
> > For me there is a gap for 25 and 26 August - absolutely nothing. Will
> posts
> > from those dates reappear?
> >
> > Graham
> >
> >> On 27 Aug 2019, at 12:35, R.H. via use-livecode
> >>  wrote:
> >>
> >> I am still not receiving any message through email since last week.
> >>
> >> 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
> >
> >
> > ___
> > use-livecode mailing list
> > use-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: OT: I just bought one of these

2019-08-29 Thread Sean Cole (Pi) via use-livecode
I've watched some reviews since and it's not that great actually as it
can't run linux itself. It's not quite a raspberry pi and something more
than a Micro controller. But, even worse than that is the support. The
instructions are near non-existent and in some form of Chinglish. Plus,
unlike RP and Arduino, they'll drop support once they bring out the v3.
It's a kickstarter type thing where they cash in then drop it. It's fun to
play with but not sure it's worth the hassle for anything more than a toy.
Unfortunately! Coz it does look like it could be amazing! By the time
you've added on all of the cables and external devices to make it
worthwhile though, it negates the form factor.

Sean


On Thu, 29 Aug 2019 at 17:06, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 8/24/19 3:58 AM, Pi Digital via use-livecode wrote:
> > Wow! What an amazing form factor. It’s beautiful. The only down side is
> it’s only got 128MB of memory. That means it’s going to be flip-flopping on
> virtual memory all the time. So make sure you use a micro U3 SDXC >150Mbps
> card. I’ve seen a hack to mount it inside the case.
>
> No worries. It can handle up to 2TB storage. I'm looking forward to
> getting my hands on this thing.
>
> --
>   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: Maintenance forever?

2019-08-29 Thread Sean Cole (Pi) via use-livecode
Hehe. I feel your pain. Daily. Dang their lack of resources and staff. I am
pretty much working entirely with workarounds at the moment to really,
really, insanely, inanely basic, stuff. Like keys other than a-Z,0-9
actually functioning! or datagrids going faster than a x386 displaying 8k!

I'm just tired and sick of being sick and tired. But, like you, I don't
expect to see any change, not while their friends at FM are 'effectively'
calling the shots, overriding any other priorities with their own (likely).
Everything else is effectively on hold for now.

Sean


On Thu, 29 Aug 2019 at 16:22, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> To do the same things twice or three times is OK if some people have
> difficulties to do their job.
>
> But that's going too far now.
>
> After close to a week the "maintenance" people are still exercising only.
>
> Many posts are lost in forums and use-list. No upload to livecodeshare is
> possible. Nearly no progress in other LC fields but LCFM.
>
> I say goodbye until next year, perhaps it is done until then?
>
>
___
use-livecode mailing list
use-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: Datagrid2 Form view slow down.

2019-08-29 Thread Sean Cole (Pi) via use-livecode
Hi Mark Waddingham,

This message didn't get through befroe, apparently, due to your servers
being down (just another thing to cause us stress...). So here's what I sent


Thank you for you very comprehensive response. It does help me understand a
great deal more about the innards of the data grid.

However, I have been running my grid in an 800x600 window. I had restarted
fresh with a new template stack and new row template. The template has the
original BG untouched. The original field renamed, and repositioned, and
two others copied from it and repositioned. (Later I had a rounded
rectangle added which sits behind the last field but this made no
difference to performance). The row height is set to 30. No layout control
other than for the data content. Minimal layout set to true. I kept it
basic as it could be. But it still stutters on scroll with or without
Accelerated rendering on. So, in my very humble opinion, something is still
'up'! I don't know what it is but Form view is definitely not operating up
to par for some reason.

As suggested, I have had to spend considerable more time coding my own data
grid. This has held us up no end as a result. Again. Especially as, because
HTML5 deployment is broken so much, that I have to manually code nearly all
key and mouse operations that come in (delete, backspace, escape, arrows,
mouse-scroll, double-click, cut, copy, paste, - anything other than a-Z,0-9
pretty much). And geometry doesn't work either for HTML5 so I have to code
resize for almost every object manually. It is getting tiresome and tedious
just how much in LC does not work! I'm am very nearly at burnout stage from
it - Again! LC almost killed me last year and it is trying really hard to
do it to me again it seems.

Try it, see for yourself!

Thanks (semi-hysterically) again.


Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609


On Tue, 27 Aug 2019 at 15:10, Sean Cole (Pi)  wrote:

> Hi Mark,
>
> Thank you for you very comprehensive response. It does help me understand
> a great deal more about the innards of the data grid.
>
> However, I have been running my grid in an 800x600 window. I had restarted
> fresh with a new template stack and new row template. The template has the
> original BG untouched. The original field renamed, and repositioned, and
> two others copied from it and repositioned. (Later I had a rounded
> rectangle added which sits behind the last field but this made no
> difference to performance). The row height is set to 30. No layout control
> other than for the data content. Minimal layout set to true. I kept it
> basic as it could be. But it still stutters on scroll with or without
> Accelerated rendering on. So, in my very humble opinion, something is still
> 'up'! I don't know what it is but Form view is definitly not operating up
> to par for some reason.
>
> As suggested, I have had to spend considerable more time coding my own
> data grid. This has held us up no end as a result. Again. Especially as,
> because HTML5 deployment is broken so much, that I have to manually code
> nearly all key and mouse operations that come in (delete, backspace,
> escape, arrows, mouse-scroll, double-click, cut, copy, paste, - anything
> other than a-Z,0-9 pretty much). And geometry doesn't work either for HTML5
> so I have to code resize for almost every object manually. It is getting
> tiresome and tedious just how much in LC does not work! I'm am very nearly
> at burnout stage from it - Again! LC almost killed me last year and it is
> trying really hard to do it to me again it seems.
>
> Try it, see for yourself!
>
> Thanks (semi-hysterically) again.
>
> Sean Cole
> *Pi Digital Productions Ltd*
> www.pidigital.co.uk
> +44(1634)402193
> +44(7702)116447
> 'Don't try to think outside the box. Just remember the truth: There is no
> box!'
> 'For then you realise it is not the box you are trying to look outside of,
> but it is yourself!'
>
> eMail Ts & Cs    Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609
>
___
use-livecode mailing list
use-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 Speed Woes

2019-08-29 Thread Sean Cole (Pi) via use-livecode
Just for your future reference, MarkWs excellent description about AccRend:
http://lists.runrev.com/pipermail/use-livecode/2017-May/236782.html

Sean



> > On 29 Aug 2019, at 21:24, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have tried it with and without acceleratedRendering.  Actually, with
> acceleratedRendering enabled it took longer, m=558.
> >
> > I have it setup like this:
> > Card "calendar"
> >   Group "newEventG"  --> layerMode set to "Container"
> >  Group "ne_mainControls"  --> layerMode set to "Dynamic"
> >  Group " ne_repeatG"  --> layerMode set to "Dynamic"
> >
> > Any thoughts or advice?  Most other functions are working within
> acceptable ranges/speeds.
> >
> > -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
>
___
use-livecode mailing list
use-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: Datagrid2 Form view slow down.

2019-08-22 Thread Sean Cole (Pi) via use-livecode
Ah yes, that's well hidden. Thanks for that, Jaqueline.

I would assume, based on Marks old post, that anything that needs to be
rendered on the container itself (not it's contents) would be classified an
adornment.

As you can see from my parameters though, the template does not have any
borders or scrollbars but still has an effective layerMode of 'Static'
while having a setting of 'dynamic'. So there is an anomaly with this I
think.

Thanks
Sean Cole


On Thu, 22 Aug 2019 at 18:28, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 8/22/19 10:58 AM, Sean Cole (Pi) via use-livecode wrote:
> >   This
> > is about the ONLY description I can find for this ANYWHERE on the web!
>
> The dictionary has a partial (or full?) explanation in the layerMode
> entry: no borders, no scrollbars.
>
> But that's all it says. I assume graphic effects are also a no-no.
>
> --
> 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: Multiple windows in HTML5

2019-08-27 Thread Sean Cole (Pi) via use-livecode
Fantastic work. Thanks H

Sean Cole
*Pi Digital*
___
use-livecode mailing list
use-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: Datagrid2 Form view slow down.

2019-08-22 Thread Sean Cole (Pi) via use-livecode
Thanks, Monte, for responding.

So, the fact that some of those parameters are set to something but that I
did not do this, does that mean there is something wrong in the engine that
is setting them when it should not? Does that make sense? I've not even
attempted changing any parameter on the template group and only gone in to
edit it's contents as usual. I may have had the inspector up and that may
have displayed the settings before I clicked the 'edit group' button but
that is all.

And, to clarify, should things like opaque, which is currently set to
false, really be set to empty and likewise for all the others?

All the best, as always.

Sean Cole
*Pi Digital *


On Fri, 23 Aug 2019 at 01:58, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> > On 23 Aug 2019, at 12:27 am, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Monte,
> >
> > Many thanks for your response. I don't know how I had inferred that I was
> > using mobile as this is ONLY for PC Desktop and HTML5 emscripten running
> in
> > Chrome on a PC Desktop (which will be the final intended platform). I'm
> > confused about what I said that caused Herman and yourself to assume I
> was
> > talking about mobile. I thought the HTML5 forum was for Desktop Web only.
>
>
> Sorry, my mistake so skip that bit ;-)
>
> >
> > I checked in dglist for the effective layermode of the Row Templates in
> my
> > form and they are coming up as 'static' (set layermode is 'dynamic'). So
> > there must be some incompatible adornment. But, as Henry asked, what
> > adornments would cause this? I don't even know what is meant by the term
> > 'adornments’.
>
> The following must not be set on the group for it to work as a container
> or scrolling layermode:
>
> - opaque
> - showBorder
> - showname
> - hScrollbar
> - vScrollbar
> - dropShadow
> - innerShadow
> - outerGlow
> - innerGlow
> - colorOverlay
>
> Yes these should be listed in the docs for layerMode instead of just `(no
> borders, no scrollbars)`. If someone would like to create a docs bug report
> about that and even better submit a patch that would he helpful for
> everyone I think.
>
> >
> > All I have in my template is 3 standard text fields with no adjustments
>
> The issue is more likely with the properties of the main datagrid group
> rather than your row template
>
> Cheers
>
> Monte
> ___
> use-livecode mailing list
> use-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: Datagrid2 Form view slow down.

2019-08-22 Thread Sean Cole (Pi) via use-livecode
>
> Did you read this bit of my response? ;-)
> > The issue is more likely with the properties of the main datagrid group
> rather than your row template


Hmm, so this now confuses me further. Are you saying that the properties of
the main datagrid group also should not have their properties set? So we
cannot turn on or off the border or scrollbars for these either in the MAIN
datagrid group?? Is that documented anywhere?  Does this make sense?

Here are the properties of my *main datagrid group*:
rect 24,151,755,654
toolTip
hScroll 0
vScroll 0
boundingRect
bottomColor
*hScrollbar false*
visible true
sharedBehavior false
topColor
textStyle
borderWidth 0
backPattern
tabGroupBehavior false
shadowPattern
dontSearch false
*dropShadow*
topPattern
label
selectGroupedControls false
backColor
radioBehavior true
cantSelect false
lockLoc false
foreColor
hilitedButton 0
hilitePattern
forePattern
showFocusBorder true
layerMode container
*showName false*
shadowOffset 4
backgroundBehavior false
focusPattern
shadowColor
opaque false
scrollbarWidth 20
*innerGlow*
ink srcCopy
clipsToRect false
*showBorder false*
name group "O2AccountsGrid"
textSize
cantDelete false
textFont
unboundedVScroll false
disabled false
unboundedHScroll false
*colorOverlay*
altId 0
hiliteColor
behavior button id 1005 of stack "revDataGridLibrary"
borderColor 64,64,64
*innerShadow*
bottomPattern
borderPattern
*outerGlow*
id 51592
blendLevel 0
traversalOn true
vScrollbar false
focusColor
threeD false
margins 0
layer 7


On Fri, 23 Aug 2019 at 02:23, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> > On 23 Aug 2019, at 11:14 am, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > So, the fact that some of those parameters are set to something but that
> I
> > did not do this, does that mean there is something wrong in the engine
> that
> > is setting them when it should not? Does that make sense? I've not even
> > attempted changing any parameter on the template group and only gone in
> to
> > edit it's contents as usual. I may have had the inspector up and that may
> > have displayed the settings before I clicked the 'edit group' button but
> > that is all.
>
> Did you read this bit of my response? ;-)
> > The issue is more likely with the properties of the main datagrid group
> rather than your row template
>
> >
> > And, to clarify, should things like opaque, which is currently set to
> > false, really be set to empty and likewise for all the others?
>
> For boolean properties in that list you want them false.
>
> Cheers
>
> Monte
>
> ___
> use-livecode mailing list
> use-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: Datagrid2 Form view slow down.

2019-08-23 Thread Sean Cole (Pi) via use-livecode
Ok. Good. So, back to my OP:

I have acceleratedRendering set to true for the IDE, desktop and HTML5. But
a DG2 Form with only 3 short fields, a rounded-rect grc and the background
rect and only 233 records still struggle to scroll anywhere near smoothly.

Is there something I am missing that can speed/smooth this up. Using a
table view DG worked moderately better but doesn't have the required
features the form view has for customising.

Sean

On Fri, 23 Aug 2019 at 08:23, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

> OK, sounds like the issue is not acceleratedRendering.
>
> > On 23 Aug 2019, at 5:03 pm, Pi Digital via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > My apologies, that was with acceleratedrendering set to false. With it
> true, the row templates are dynamic and the main grid is container for both
> effective and actual layerMode. But it has not improved or indeed made any
> difference to the speed of rendering.
> >
> > Sean Cole
> > Pi Digital Prod Ltd
> >
> > On 23 Aug 2019, at 07:51, Pi Digital via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >>> With acceleratedRendering true for the stack just double-check the
> effective layermode of the main datagrid group and any parent groups.
> >>
> >>
> >> The layermode of my DataGrid is ‘container’ and the effective layermode
> is ‘static’. This would make sense to me as the DataGrid layer itself
> should not be moving. My DataGrid is not in any other container so sits
> directly on the card. And it has all of the properties listed in my
> previous mail.
> >>
> >> Sean Cole
> >> Pi Digital Prod Ltd
> >>
> >>> On 23 Aug 2019, at 03:36, Monte Goulding via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>>
> >>>
> >>>>> On 23 Aug 2019, at 11:48 am, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>>>
> >>>>>
> >>>>> Did you read this bit of my response? ;-)
> >>>>>> The issue is more likely with the properties of the main datagrid
> group
> >>>>> rather than your row template
> >>>>
> >>>>
> >>>> Hmm, so this now confuses me further. Are you saying that the
> properties of
> >>>> the main datagrid group also should not have their properties set? So
> we
> >>>> cannot turn on or off the border or scrollbars for these either in
> the MAIN
> >>>> datagrid group?? Is that documented anywhere?  Does this make sense?
> >>>
> >>>
> >>> Yes so the datagrid group needs to be able to use the container
> layerMode so that means the properties of it and all its owner groups must
> be checked. With acceleratedRendering true for the stack just double-check
> the effective layermode of the main datagrid group and any parent groups.
> >>>
> >>>>
> >>>> Here are the properties of my *main datagrid group*:
> >>>> rect 24,151,755,654
> >>>> toolTip
> >>>> hScroll 0
> >>>> vScroll 0
> >>>> boundingRect
> >>>> bottomColor
> >>>> *hScrollbar false*
> >>>> visible true
> >>>> sharedBehavior false
> >>>> topColor
> >>>> textStyle
> >>>> borderWidth 0
> >>>> backPattern
> >>>> tabGroupBehavior false
> >>>> shadowPattern
> >>>> dontSearch false
> >>>> *dropShadow*
> >>>> topPattern
> >>>> label
> >>>> selectGroupedControls false
> >>>> backColor
> >>>> radioBehavior true
> >>>> cantSelect false
> >>>> lockLoc false
> >>>> foreColor
> >>>> hilitedButton 0
> >>>> hilitePattern
> >>>> forePattern
> >>>> showFocusBorder true
> >>>> layerMode container
> >>>> *showName false*
> >>>> shadowOffset 4
> >>>> backgroundBehavior false
> >>>> focusPattern
> >>>> shadowColor
> >>>> opaque false
> >>>> scrollbarWidth 20
> >>>> *innerGlow*
> >>>> ink srcCopy
> >>>> clipsToRect false
> >>>> *showBorder false*
> >>>> name group "O2AccountsGrid"
> >>>> textSize
> >>>> cantDelete false
>

Re: OT: Catalina - the end of ad hoc & in-house development?

2019-09-11 Thread Sean Cole (Pi) via use-livecode
On Wed, 11 Sep 2019 at 09:25, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Would it be feasible for these ad hoc apps to be built using the Community
> Edition?I have an idea...Richard GaskinFourth World Systems
> ___
>

This is a really good point, Peter. Let LC do all the 'hoop-jumping' and
have your family and friends run your small one-off apps as an LC stack
inside the community edition.

Alternatively, boycott Apple if your distaste for them has increased so
much and just leave that issue between them and the larger developers who
don't seem so bothered about it.

>From *my* standpoint, I LIKE (nay, Love!!) the idea that they are making it
harder for hackers to hack our beloved Macs and increase the divide between
them and crappy Windoze and Hemeroid devices. Linux is the other option if
you really hate yourself and want to put yourself and your family/friends
through that level of pain ( I use it because I have to but wouldn't wish
it on others).

I hope you find a solution that works for you and you find some level of
peace.

Pi
___
use-livecode mailing list
use-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] This Week in LiveCode 186

2019-07-22 Thread Sean Cole (Pi) via use-livecode
Only two contributors this week. Where is everyone?

Sean Cole
*Pi*
___
use-livecode mailing list
use-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   >