OT: change email address

2020-09-15 Thread JB via use-livecode
Will someone please tell  me how to change the email  address I am using to 
receive messages from the LiveCode lists?

I tried the run rev.com web link and the message I sent there failed and was 
returned.

thanks,
JB

___
use-livecode mailing list
use-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: Issue with dropbox

2020-09-10 Thread JB via use-livecode
Is it possible the app refers to folder B using
the path created when folder B was not in
the zipped or unzipped file therefore it can
not see folder B?

JB

> On Sep 10, 2020, at 3:42 PM, Charles Lachat via use-livecode 
>  wrote:
> 
> Hi everybody,
> 
> A friend has accepted to test my new desktop app. I upload the app to dropbox 
> and send a link, by e-mail, to my friend.
> 
> My app is in a folder "A" containing :
> 
> ** the app 
> ** a folder "B" containing several text files the app needs
> 
> The folder "A" is zipped before uploading.
> 
> After downloading (friend side) and unzipping, all the files are there but 
> the app behaves as if there were no folder "B".
> 
> Most of the time.
> 
> What am I doing wrong ? Any idee ?
> 
> 
> 
> 
> Thanks
> Charles Lachat
> 
> ===
> iMac 2019
> macOS 10.14
> Livecode 9.6.0
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: Cross Platform Font Layout - current workarounds

2020-08-25 Thread JB via use-livecode
Chill, dude?
ok, one of the cool things about LiveCode is instead of writing
your program in Swift, Jave, or C, etc. is that you can easily
include any of these languages in a LiveCode app.  I don’t
know of another programming tool that allows you to do that
and do it on various os’s.  Xcode allows you to mix objective-c
with Swift by bridging it but LiveCode does it better.

We can only work with what we have available, things are
changing fast and sometimes it is difficult to keep up no
matter how hard you work on it.

JB


> On Aug 25, 2020, at 8:39 PM, Stephen Barncard via use-livecode 
>  wrote:
> 
> Sean Cole
> 
> Still no apologies.
> Hey, you are starting to disrespect my friends and I’m not digging it. They
> have done nothing other than bend over backwards to try to help and your
> bad attitude and rudeness is crossing the line.
> 
> Remember the main rule here, no politics, religion or cheese and you,
> buddy, have gone full limburger.
> 
> Chill, dude.
> 
>> On Tue, Aug 25, 2020 at 17:51 Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Reminds me of HTML. All platform consistency in display… until Microsoft
>> and Netscape decided to do it “better”. It begs the question, is it better
>> to be consistent with everyone else’s standards, or better to be… well…
>> better?
>> 
>> 
>> 
>> Bob S
>> 
>> 
>> 
>> 
>> 
>> On Aug 25, 2020, at 5:40 PM, Richard Gaskin via use-livecode <
>> use-livecode@lists.runrev.com>
>> wrote:
>> 
>> 
>> 
>> Yes, we all remember the TrueType rollout, and the promise of a
>> single-file, cross-platform font definition.
>> 
>> 
>> 
>> But for that format to provide pixel-perfect matched rendering requires
>> all renderer implementers to use the same code.  And as you know, they
>> don't.
>> 
>> 
>> 
>> ___
>> 
>> use-livecode mailing list
>> 
>> use-livecode@lists.runrev.com
>> 
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> 
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> --
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Cross Platform Font Layout - current workarounds

2020-08-25 Thread JB via use-livecode
Well it sounds like some of them expected you to get off the ship,
and to do that by walking the plank.

JB

> On Aug 25, 2020, at 4:37 PM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> Of course I'm going to respond badly to this kind
> of bullying. What did you all expect!
> 
> Sean Cole
> *Pi Digital *
> 
> 
>> On Tue, 25 Aug 2020 at 23:04, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> I’ll toss this in. I was using a Mac font that had a Windows corollary (I
>> thought) but when I dug deeper I found that the Mac had individual type
>> faces whereas the Windows equivalent did not. This font was a BUILT-IN font
>> on both platforms!
>> 
>> The result is if I chose the bold version of the font for something like a
>> Header or a Label, it wouldn’t be either the font chosen OR bold in
>> Windows, although it looks absolutely fine on the Mac.
>> 
>> The Livecode devs CANNOT take liberties with this sort of thing! What can
>> they do?? Write code that guesses what it was the developer was trying to
>> do? It’s absurd to think this is even a problem that CAN be solved at the
>> application level.
>> 
>> THAT BEING SAID…
>> What I DID do successfully was find an app that was able to CONVERT the
>> Mac font type faces into WINDOWS font files, and then I was able to install
>> them in Windows and I got pretty much what I expected to get.
>> 
>> Bob S
>> 
>> 
>>> On Aug 25, 2020, at 10:51 AM, Andrew at MidWest Coast Media via
>> use-livecode  wrote:
>>> 
>>> Sean-
>>> 
>>> My degree is in TV/stage production and digital design. I’ve built web
>> sites (HTML, WordPress, LiveCode), produced/directed broadcast and
>> streaming programs, and delivered custom software on Mac/PC/Web (using
>> Director and Flash), and now Mac/PC/iOS/Android using LiveCode (because
>> you’re right, the HTML5 port isn’t ready for primetime).
>>> 
>>> Anyone who thinks pixel perfection across mediums is possible has never
>> worked on a web platform; this usually ends up being UI designers who only
>> work in theoreticals. That InDesign file they mocked up might look great
>> saved as a PDF or printed on a specific coated paper using Pantone inks,
>> but those CMYK colors and Post Script fonts are rendered using RGB and WOFF
>> in a web browser or desktop computer so they won’t look the same: and
>> there’s not a damn thing you can do about it (short of making everything an
>> image, but you still can’t make-up for the color gamut differences). The
>> WYSWIG hacks that sufficed in the 90s/00s to make things visually similar
>> were always shoddy at-best creating hundreds of additional lines of code
>> and won’t pass muster with current accessibility standards even if they did
>> "work".
>>> 
>>> Fonts have ALWAYS been one of the most difficult parts of app
>> development. Whether it’s getting legal fonts (the good ones aren’t cheap,
>> and the cheap ones aren’t good), or cross-platform fonts (not every OS
>> reads the same format, and not every font is available in multiple
>> formats). The closest I’ve come has been to run some scripts when
>> populating text fields to make sure they fit the dimensions allotted in the
>> design. Text doesn’t fit in box? Reduce the fontSize by 1 until it does.
>> Text doesn’t fill the space? Increase the fontSize by 1 until it does. It’s
>> a PITA, so I usually add this in at the end since the art department seems
>> to have another “small change” along the way.
>>> 
>>> Programming isn't a science as much as an art. With your broadcasting
>> background you understand that a projects aren’t “done” until the deadline:
>> there is ALWAYS something else you would have tweaked if you had more time
>> (2 weeks?!?). But I get it: producers are generally unreasonable eggplant
>> emojis that are notoriously difficult to please.
>>> 
>>> While LiveCode DOES require some if platform() conditionals, I can only
>> imagine coding this in Swift and Java (even for a unicorn proficient in
>> BOTH) would still take much longer and NOT give the pixel perfection you
>> are referring to. I say “imagine” because I don’t know, and never had to
>> learn, those languages since I could easily pick-up LiveCode from the
>> various programming environments I’ve previously developed for. My copy of
>> Microsoft Windows looks different on my iMac than it does on my Dell, and
>> it wasn’t a fireable offense for the development team.
>>> 
>>> —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: ProtonMail vs Apple

2020-08-10 Thread JB via use-livecode
Maybe she has never been to court.

JB

> On Aug 10, 2020, at 3:35 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 8/10/20 2:43 PM, J. Landman Gay via use-livecode wrote:
>> I forgot we had a lawyer in our midst. So is Apple a monopoly in the legal 
>> sense?
> 
> Ha! You used "legal" and "sense" in the same sentence!
> 
> -- 
> 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: ProtonMail vs Apple

2020-08-10 Thread JB via use-livecode
If you sell chocolate chip cookies and the majority of the people buy your
cookies, does that make you a monopoly?

If Ford designs a new car should they be forced to make companies like
Chevy be able to use Chevy parts on the Ford car?

Anyone can make cookies, cars, computers and mobile devices if they have
the desire and money.  Apple does not prevent you or others from making
software or computers.

My personal thought about the 30% fee Apple charges to sell your software
is that it’s a really good deal.  Apple list your product allowing many millions
of people to see and buy it.  They handle all the global sales and taxes plus
provide a way to download it.  If your software is making a lot of money part
of the money you are paying Apple would have been added in taxes due to
you making more profit.  If you have an app that many schools or other types
of business want to buy Apple can make that deal better than most small
developers.  To me that seems cheap compared to the increased sales that
Apple can make with large companies.  But each developer has their own
reasons for using Apple or not.

JB


> On Aug 10, 2020, at 2:45 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I forgot we had a lawyer in our midst. So is Apple a monopoly in the legal 
> sense?
> 
> 
>> On 8/10/20 3:45 PM, doc hawk via use-livecode wrote:
>> Jerry jesticulated,
>>> Are you sure? The W12 used in some Bentleys is made by VW, and many years 
>>> of Phantoms used a V12 of the proper displacement. Of course they don’t 
>>> talk about mundane stuff like that! 
>> But VW now makes “Bentley", while “Rolls” is now a BMW brand.
>> In either case, you don’t get the real thing, and the Rolls Royce 8 cylinder 
>> engine is now a bit of history . . .
>> (And for another odd quirk, Rolls once licensed the GM Turbo 400 
>> transmission for use n both, but made “improvements” in it.  That worked "so 
>> well” that within a couple of years they instead just bought them from GM . 
>> . .)
> 
> 
> -- 
> 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: Object naming

2020-07-28 Thread JB via use-livecode
That is really cool, Richard!
JB

Sent from my iPad

> On Jul 27, 2020, at 10:26 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Consider a simplified problem statement:
> 
> You have two objects of the same type in a container, and you want to tell 
> them apart but had given them the same name.
> 
> 
> 
>   Too Many Daves
>   by Dr. Seuss
> 
>   Did I ever tell you that Mrs. McCave
>   Had twenty-three sons and she named them all Dave?
>   Well, she did. And that wasn't a smart thing to do.
>   You see, when she wants one and calls out, "Yoo-Hoo!
>   Come into the house, Dave!" she doesn't get one.
>   All twenty-three Daves of hers come on the run!
>   This makes things quite difficult at the McCaves'
>   As you can imagine, with so many Daves.
>   And often she wishes that, when they were born,
>   She had named one of them Bodkin Van Horn
>   And one of them Hoos-Foos. And one of them Snimm.
>   And one of them Hot-Shot. And one Sunny Jim.
>   And one of them Shadrack. And one of them Blinkey.
>   And one of them Stuffy. And one of them Stinkey.
>   Another one Putt-Putt. Another one Moon Face.
>   Another one Marvin O'Gravel Balloon Face.
>   And one of them Ziggy. And one Soggy Muff.
>   One Buffalo Bill. And one Biffalo Buff.
>   And one of them Sneepy. And one Weepy Weed.
>   And one Paris Garters. And one Harris Tweed.
>   And one of them Sir Michael Carmichael Zutt
>   And one of them Oliver Boliver Butt
>   And one of them Zanzibar Buck-Buck McFate ...
>   But she didn't do it. And now it's too late.
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> 
>> Alex Tweedly alex at tweedly.net
>> Mon Jul 27 15:47:12 EDT 2020
>>Previous message (by thread): Object naming
>>Next message (by thread): Object naming
>>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote:
>>> There are many ways to refer to things.  The simplest is to use unambiguous 
>>> names for things that matter.
>>> 
>> Is there an unambiguous name in this case ? And if so, what is it :-) ?
>> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also 
>> contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it 
>> too will have a rectangle "R", and ).
>> There is an unambiguous name for the 'most nested' "R", but there doesn't 
>> seem to be for the other "R"s. I had expected (or perhaps just hoped) that 
>> using a long name would first try to find an exact match, and if that failed 
>> it would then find the closest inexact match - but that sadly was just a 
>> hope.
>> I could (and probably will) use IDs but that doesn't work for duplicating 
>> the group - you need to either go in and adjust a script / custom property 
>> OR have the group's script find the IDs.
>> Or - am I'm missing something ?
>> Alex.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: sorting lines by date

2020-07-10 Thread JB via use-livecode
Another idea might be to save it as seconds and
then convert it to a date when the user needs to
see the date.  That way you would save the time
converting all the dates in each sort.

JB


> On Jul 10, 2020, at 9:02 PM, Tom Glod via use-livecode 
>  wrote:
> 
> Yeah it will add some overhead, but it will work to do what you need. I'm
> sorry I'm not fluent in the syntax of sort . but I knew you can specify
> a date  I never needed to use it I always store the seconds or
> milliseconds.
> 
> Yup.Might as well convert to seconds and then sort numeric ascending or
> descending. Its very fast in my experience.
> 
> All the best.
> 
> Tom
> 
> On Fri, Jul 10, 2020 at 7:55 PM JB via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> If you are having problems with the date itself not being
>> sorted properly you might be able to accomplish it by
>> first converting the date to seconds and then sort the
>> data.  It will take more time but might work.
>> 
>> JB
>> 
>> 
>>> On Jul 10, 2020, at 3:06 PM, David V Glasgow via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Livecodeistas,
>>> 
>>> I am working with text files consisting of many thousands of lines, most
>> of which are in the format URL & Tab & Date - but a few don’t have a date.
>>> 
>>> So they look like this ...
>>> 
>>> http://1.lw6.blah/b7f3bd9e6b4d728a0f6d5883ed3a5ce/5326d47f?ss=152
>> 17/03/2014 9:55
>>> 
>> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107
>> 
>>> 
>> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107
>> 
>>> 
>> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107
>> 
>>> http://adomain/   27/06/2016 8:10
>>> http://adomain/   27/06/2016 8:10
>>> http://adomain/   27/06/2016 8:10
>>> http://adomain/   27/06/2016 8:10
>>> 
>> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>> 17/11/2013 22:18
>>> 
>> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>> 17/11/2013 22:18
>>> 
>> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>> 17/11/2013 22:18
>>> 
>> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>> 17/11/2013 22:18
>>> 
>> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>> 17/11/2013 22:18
>>> 
>>> I assumed I could sort the lines by date using the following:
>>> 
>>> set itemdel to tab
>>> sort lines of field "import" datetime by the last item of each
>>> 
>>> (I know I could speed this up using a variable, but I wanted to just see
>> the result first.)
>>> 
>>> I wasn’t sure what would happen to the lines with no date, but assumed
>> they would pile up at the beginning or the end of the field (which would be
>> fine).  However, what happens is that the script runs, and the order above
>> is generated.  I can’t see any meaningful ordering of the lines.
>>> 
>>> I have a horrible feeling that dates are more complicated than I
>> imagined, although I am sort of hoping  there something simple I just
>> haven’t grasped.  If so, what?
>>> 
>>> Best wishes,
>>> 
>>> David Glasgow
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe 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
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: sorting lines by date

2020-07-10 Thread JB via use-livecode
If you are having problems with the date itself not being
sorted properly you might be able to accomplish it by
first converting the date to seconds and then sort the
data.  It will take more time but might work.

JB


> On Jul 10, 2020, at 3:06 PM, David V Glasgow via use-livecode 
>  wrote:
> 
> Livecodeistas,
> 
> I am working with text files consisting of many thousands of lines, most of 
> which are in the format URL & Tab & Date - but a few don’t have a date.
> 
> So they look like this ...
> 
> http://1.lw6.blah/b7f3bd9e6b4d728a0f6d5883ed3a5ce/5326d47f?ss=152 
> 17/03/2014 9:55
> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107
> 
> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107
> 
> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107
> 
> http://adomain/   27/06/2016 8:10
> http://adomain/   27/06/2016 8:10
> http://adomain/   27/06/2016 8:10
> http://adomain/   27/06/2016 8:10
> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>17/11/2013 22:18
> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>17/11/2013 22:18
> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>17/11/2013 22:18
> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>17/11/2013 22:18
> http://adomain/?go=click=133=1=0=3=3841375=http%253A%252F%252Fadomain%somestuff-330835.html
>17/11/2013 22:18
> 
> I assumed I could sort the lines by date using the following:
> 
> set itemdel to tab
> sort lines of field "import" datetime by the last item of each
> 
> (I know I could speed this up using a variable, but I wanted to just see the 
> result first.)
> 
> I wasn’t sure what would happen to the lines with no date, but assumed they 
> would pile up at the beginning or the end of the field (which would be fine). 
>  However, what happens is that the script runs, and the order above is 
> generated.  I can’t see any meaningful ordering of the lines.
> 
> I have a horrible feeling that dates are more complicated than I imagined, 
> although I am sort of hoping  there something simple I just haven’t grasped.  
> If so, what?
> 
> Best wishes,
> 
> David Glasgow
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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 the heck? Writing and reading ios files??

2020-06-25 Thread JB via use-livecode
Glad to see you got it working!

JB

> On Jun 25, 2020, at 3:25 PM, Prothero-ELS via use-livecode 
>  wrote:
> 
> JB,
> Thanks for the comment. Yes, I went back to my previous use of “_” in the 
> file name. All is working now. It was the difference between “l” and “L” in a 
> file name. Sheesh!
> Bill
> 
> William Prothero
> https://earthlearningsolutions.org
> 
>> On Jun 25, 2020, at 2:27 PM, JB via use-livecode 
>>  wrote:
>> 
>> I don’t think the underscore character “_” should cause any problems
>> in the pathname but if you use a space in the name you need to be
>> sure and enclose the pathname in quotes or it will fail.
>> 
>> JB
>> 
>>> On Jun 25, 2020, at 1:53 PM, Terry Judd via use-livecode 
>>>  wrote:
>>> 
>>> On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via 
>>> use-livecode" >> use-livecode@lists.runrev.com> wrote:
>>> 
>>>  Jacqueline:
>>>  Thanks for responding. I am really stuck on this. 
>>> 
>>>  I can write the file, and get a list of the files I write, but when I try 
>>> to read the file using the same code to create the filepaths, etc, the read 
>>> routine says the file doesn’t exist. It all works in the dev environment. I 
>>> had used a “_” char in the filenames, so I removed it. The read routine 
>>> can’t find the file. Very wierd.
>>> 
>>>  I’m going to try to make a very simple test case that I can run on my 
>>> phone and post it, but I’m going to take a break. I’ve posted my file 
>>> reading and writing code here, but there is probably too much to go 
>>> through. 
>>> 
>>>  Thanks for responding,
>>>  Bill
>>> 
>>> 
>>> Hi  Bill - here's an example script that I use cross-platform (desktop, iOS 
>>> and Android) for reading and writing a settings file using 
>>> specialFoderPath("documents") on mobile and specialFolderPath("support") on 
>>> desktop. In this case the 'settings' are an array that are stored in a 
>>> multipurpose global array (gData).
>>> 
>>> Terry... 
>>> 
>>> global gData
>>> 
>>> on setPaths
>>> switch environment()
>>>case "mobile"
>>>   put specialFolderPath("documents")&"/" into tFolder
>>>   break
>>>default
>>>   put specialFolderPath("support")&"/myAppName/" into tFolder
>>>   if not (there is a folder tFolder) then
>>>  create folder tFolder
>>>   end if
>>> end switch
>>> put tFolder&"settings.dat" into gData["paths"]["settings"]
>>> end setPaths
>>> 
>>> on loadSettings
>>> put gData["paths"]["settings"] into tPath
>>> put url ("binfile:") into tSettings
>>> if tSettings is not empty then
>>>put arrayDecode(tSettings) into tSettingsA
>>>if tSettingsA is an array then
>>>   put tSettingsA into gData["settings"]
>>>else
>>>   # invalid settings data
>>>end if
>>> else
>>># no settings file
>>> end if
>>> end loadSettings
>>> 
>>> on updateSettings
>>> put gData["paths"]["settings"] into tPath
>>> put gData["settings"] into tSettings
>>> put arrayEncode(tSettings) into tSettings
>>> put tSettings into url ("binfile:")
>>> end updateSettings
>>> 
>>> on clearSettings
>>> put gData["paths"]["settings"] into tPath
>>> if there is a file tPath then delete file tPath
>>> end clearSettings
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe 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: What the heck? Writing and reading ios files??

2020-06-25 Thread JB via use-livecode
I don’t think the underscore character “_” should cause any problems
in the pathname but if you use a space in the name you need to be
sure and enclose the pathname in quotes or it will fail.

JB

> On Jun 25, 2020, at 1:53 PM, Terry Judd via use-livecode 
>  wrote:
> 
> On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>Jacqueline:
>Thanks for responding. I am really stuck on this. 
> 
>I can write the file, and get a list of the files I write, but when I try 
> to read the file using the same code to create the filepaths, etc, the read 
> routine says the file doesn’t exist. It all works in the dev environment. I 
> had used a “_” char in the filenames, so I removed it. The read routine can’t 
> find the file. Very wierd.
> 
>I’m going to try to make a very simple test case that I can run on my 
> phone and post it, but I’m going to take a break. I’ve posted my file reading 
> and writing code here, but there is probably too much to go through. 
> 
>Thanks for responding,
>Bill
> 
> 
> Hi  Bill - here's an example script that I use cross-platform (desktop, iOS 
> and Android) for reading and writing a settings file using 
> specialFoderPath("documents") on mobile and specialFolderPath("support") on 
> desktop. In this case the 'settings' are an array that are stored in a 
> multipurpose global array (gData).
> 
> Terry... 
> 
> global gData
> 
> on setPaths
>   switch environment()
>  case "mobile"
> put specialFolderPath("documents")&"/" into tFolder
> break
>  default
> put specialFolderPath("support")&"/myAppName/" into tFolder
> if not (there is a folder tFolder) then
>create folder tFolder
> end if
>   end switch
>   put tFolder&"settings.dat" into gData["paths"]["settings"]
> end setPaths
> 
> on loadSettings
>   put gData["paths"]["settings"] into tPath
>   put url ("binfile:") into tSettings
>   if tSettings is not empty then
>  put arrayDecode(tSettings) into tSettingsA
>  if tSettingsA is an array then
> put tSettingsA into gData["settings"]
>  else
> # invalid settings data
>  end if
>   else
>  # no settings file
>   end if
> end loadSettings
> 
> on updateSettings
>   put gData["paths"]["settings"] into tPath
>   put gData["settings"] into tSettings
>   put arrayEncode(tSettings) into tSettings
>   put tSettings into url ("binfile:")
> end updateSettings
> 
> on clearSettings
>   put gData["paths"]["settings"] into tPath
>   if there is a file tPath then delete file tPath
> end clearSettings
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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 the heck? Writing and reading ios files??

2020-06-24 Thread JB via use-livecode
Another solution might be to copy and paste a file
or create a new file of any type and give it a name
like myPath or whatever.  Put that file in the same
location of the directory you expect your other file
to show up in.  You can use any method to get the
file path of your new file myPath and use the info
to validate the path you are providing for the file
you have been trying to create but cannot find.

There might be some hidden character etc that is
preventing the file showing up or even something
like a dot before the name making it invisible on a
mac.

JB

> On Jun 24, 2020, at 8:04 PM, prothero--- via use-livecode 
>  wrote:
> 
> Added info:
> I’ve tried putting the files in “cache”, in the “Documents” folder directly, 
> and using 
>> put URL ("file:") 
> to store the data. Didn’t change anything.
> I also looked at the lesson on reading and writing livecode files. Nothing 
> helps.
> 
> I’m using Livecode Business 9.6.0 on a Mac running 10.15.5
> 
> This is the last hurdle I have before am finished with this project. Any 
> suggestions would be mucho appreciated.
> 
> Best,
> Bill
> 
> William A. Prothero
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 
>> On Jun 24, 2020, at 5:35 PM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Folks:
>> I’m having a very weird problem writing then reading the same file on ios. I 
>> must be missing something very basic. I’ve checked the path to the file when 
>> it is written and it matches exactly to the path when I try to read it. In 
>> the read routine, I check for the file’s existence and it says it doesn’t. 
>> But when I write the file and immediately check for the file’s existence (in 
>> the same handler), it says it exists. I’ve checked the path with the 
>> debugger and the path it writes to is exactly the same as the path it looks 
>> for the file in.
>> 
>> I must be missing something very basic. It works on my dev system, but in 
>> the phone, it can’t find the files it just wrote. Is there some kind of 
>> permission needed? I’m stumped.
>> 
>> Please enlighten me. There must be some really, really basic thing I’m 
>> missing. 
>> 
>> Thanks,
>> Bill
>> 
>> --retrieves an arbitrary array from the waterdetective local storage folder
>> 
>> function getArrayFromLocal fName
>> 
>> put getPathToUserDocuments() into tFloc
>> 
>> put tFloc&"/"&"waterdetective/" into tFile
>> 
>> if the last char of tFile is cr then
>> 
>> delete the last char of tFile
>> 
>> end if
>> 
>> —It can’t find the file I just wrote
>> if there is a file tFile then
>> 
>> put URL ("binfile:") into temp
>> 
>> put base64decode(temp) into temp
>> 
>> put arrayDecode(temp) into tArray
>> 
>> else
>> 
>> return ""
>> 
>> end if
>> 
>> return tArray
>> 
>> end getArrayFromLocal
>> 
>> 
>> function getPathToUserDocuments
>> 
>> put specialFolderPath("Documents") into tPath
>> 
>> return tPath
>> 
>> end getPathToUserDocuments
>> 
>> on saveArrayToLocal fName,tArray
>> 
>> if fname contains "meterReadingsA" then
>> 
>> breakpoint
>> 
>> end if
>> 
>> --put tNameExt after fName
>> 
>> if the last char of fName is cr then
>> 
>> delete the last char of fName
>> 
>> end if
>> 
>> put getPathToUserDocuments() into tFloc
>> 
>> put tFloc&"/"&"waterdetective" into tFolder
>> 
>> checkCreateFolder tFolder
>> 
>> put tFolder&"/" into tDataFile
>> 
>> delete file tDataFile
>> 
>> put arrayEncode(tArray) into temp
>> 
>> put base64encode(temp) into tData
>> 
>> put tData into URL ("binfile:")
>> 
>> wait 2 seconds
>> 
>> if there is a file tDataFile then
>> 
>> put "Yes" into x   —on ios I get “Yes"
>> 
>> put tDataFile into theLocalPath
>> 
>> else
>> 
>> put "No" into x
>> 
>> end if
>> 
>> end saveArrayToLocal
>> 
>> William A. Prothero
>> Santa Barbara, CA. 93105
>> http://earthlearningsolutions.org/
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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 the heck? Writing and reading ios files??

2020-06-24 Thread JB via use-livecode
I didn’t test the code so I do not know what
is happening with the file.  But and idea to
test for problems is only write code that will
put something like :Hello world!” into the file
and see if you can locate the file on your
drive.  If you still have the problem at least
it can be fixed within that few lines of code
or it might be a bug of some sort.

JB


> On Jun 24, 2020, at 8:04 PM, prothero--- via use-livecode 
>  wrote:
> 
> Added info:
> I’ve tried putting the files in “cache”, in the “Documents” folder directly, 
> and using 
>> put URL ("file:") 
> to store the data. Didn’t change anything.
> I also looked at the lesson on reading and writing livecode files. Nothing 
> helps.
> 
> I’m using Livecode Business 9.6.0 on a Mac running 10.15.5
> 
> This is the last hurdle I have before am finished with this project. Any 
> suggestions would be mucho appreciated.
> 
> Best,
> Bill
> 
> William A. Prothero
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 
>> On Jun 24, 2020, at 5:35 PM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Folks:
>> I’m having a very weird problem writing then reading the same file on ios. I 
>> must be missing something very basic. I’ve checked the path to the file when 
>> it is written and it matches exactly to the path when I try to read it. In 
>> the read routine, I check for the file’s existence and it says it doesn’t. 
>> But when I write the file and immediately check for the file’s existence (in 
>> the same handler), it says it exists. I’ve checked the path with the 
>> debugger and the path it writes to is exactly the same as the path it looks 
>> for the file in.
>> 
>> I must be missing something very basic. It works on my dev system, but in 
>> the phone, it can’t find the files it just wrote. Is there some kind of 
>> permission needed? I’m stumped.
>> 
>> Please enlighten me. There must be some really, really basic thing I’m 
>> missing. 
>> 
>> Thanks,
>> Bill
>> 
>> --retrieves an arbitrary array from the waterdetective local storage folder
>> 
>> function getArrayFromLocal fName
>> 
>> put getPathToUserDocuments() into tFloc
>> 
>> put tFloc&"/"&"waterdetective/" into tFile
>> 
>> if the last char of tFile is cr then
>> 
>> delete the last char of tFile
>> 
>> end if
>> 
>> —It can’t find the file I just wrote
>> if there is a file tFile then
>> 
>> put URL ("binfile:") into temp
>> 
>> put base64decode(temp) into temp
>> 
>> put arrayDecode(temp) into tArray
>> 
>> else
>> 
>> return ""
>> 
>> end if
>> 
>> return tArray
>> 
>> end getArrayFromLocal
>> 
>> 
>> function getPathToUserDocuments
>> 
>> put specialFolderPath("Documents") into tPath
>> 
>> return tPath
>> 
>> end getPathToUserDocuments
>> 
>> on saveArrayToLocal fName,tArray
>> 
>> if fname contains "meterReadingsA" then
>> 
>> breakpoint
>> 
>> end if
>> 
>> --put tNameExt after fName
>> 
>> if the last char of fName is cr then
>> 
>> delete the last char of fName
>> 
>> end if
>> 
>> put getPathToUserDocuments() into tFloc
>> 
>> put tFloc&"/"&"waterdetective" into tFolder
>> 
>> checkCreateFolder tFolder
>> 
>> put tFolder&"/" into tDataFile
>> 
>> delete file tDataFile
>> 
>> put arrayEncode(tArray) into temp
>> 
>> put base64encode(temp) into tData
>> 
>> put tData into URL ("binfile:")
>> 
>> wait 2 seconds
>> 
>> if there is a file tDataFile then
>> 
>> put "Yes" into x   —on ios I get “Yes"
>> 
>> put tDataFile into theLocalPath
>> 
>> else
>> 
>> put "No" into x
>> 
>> end if
>> 
>> end saveArrayToLocal
>> 
>> William A. Prothero
>> Santa Barbara, CA. 93105
>> http://earthlearningsolutions.org/
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Externals Question from Stack Overflow

2020-05-14 Thread JB via use-livecode
Part of the question was;

Can someone tell me how to obtain the pointer to g_external_name and 
g_external_table? How LiveCode knows it when it loads a DLL with my external? 
Is it possible to obtain the mentioned variables dinamically after DLL loads?


I do not think you can get any pointers in LiveCode and even if you did get a 
pointer
you could only use the address from within the program that obtained the 
pointer.  To
access pointers each external or program will use its own memory mapping so the
pointer itself is only good for the program providing the pointer info.  If you 
can access
the g_external in LiveCode then you can pass that info to your external using 
command
line arguments.

JB


> On May 14, 2020, at 8:29 AM, Devin Asay via use-livecode 
>  wrote:
> 
> Once more, this time with the link.
> 
> 
> Hi all,
> 
> I came across a question on Stack Overflow from a sight-impaired user who is 
> trying to figure out how to write and test a LiveCode external. I am pretty 
> ignorant about externals in general, so I don’t think I can help in this 
> case. But if anyone here feels inclined, I think it would help this user, and 
> boost the number of responses to LC questions on Stack Overflow.
> 
> https://stackoverflow.com/questions/61782950/testing-livecode-external-in-python
> 
> Regards,
> 
> Devin
> 
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Not quite OT: Privacy Policy

2020-05-09 Thread JB via use-livecode
Even if Apple does read them you satisfied the reason
for Apple to inform people on how your app is used.  It
is not an intent of Apple to force you to use a lawyer or
require you to explain your app in legal mumbo jumbo.

Most people would rather read your honest explanation
than read the ones written by attorneys.

JB


> On May 9, 2020, at 8:38 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I wrote a very short paragraph saying the app had no internet connection and 
> no special permissions, that no data was ever sent, and that information was 
> only stored locally on the user's device. I think it was only two or three 
> sentences. I stuck it on my web site and it was fine. I kind of doubt Apple 
> ever reads those.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On May 9, 2020 5:04:01 PM Graham Samuel via use-livecode 
>  wrote:
> 
>> I find that to publish an app on the Apple App Store, or even reach the 
>> TestFlight stage, I need a Privacy Policy. This for an app that collects no 
>> personal data and doesn’t use the internet. Frankly I’m thinking of copying 
>> and adapting a PL from another app that is similarly simple, rather than 
>> using an overly complex generated one. How do others cope with this?
>> 
>> Graham
>> 
>> 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


Re: sqLite delete memory database

2020-05-01 Thread JB via use-livecode
I think SOLite intentionally fills the memory with
garbage as part of its secure deletion when the
database is closed.

JB


> On May 1, 2020, at 12:39 PM, Phil Davis via use-livecode 
>  wrote:
> 
> Is there an LC function that clears trash from memory? Does "hasMemory"? If 
> not, it seems like that would be a nice feature.
> 
> Phil Davis
> 
> 
> On 5/1/20 12:25 PM, Tom Glod via use-livecode wrote:
>> hmmmyou can try set the pragma to zero out flag (i am pretty sure there
>> is one) .. and drop all tables on close?
>> 
>> its strange that it does not 'delete' from memory.  Are we sure on
>> this?. is this dependent on the garbage collector in LC?
>> 
>> 
>> 
>> 
>> 
>> On Fri, May 1, 2020 at 7:14 AM JB via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I have been testing SQLite 3 using the command line interface and it
>>> looks to me like SQLite is designed to securely delete the memory of
>>> the database automatically after it closes the database.
>>> 
>>> I could be wrong but if you can’t read the memory it is probably already
>>> securely deleted when the database was closed.
>>> 
>>> JB
>>> 
>>> 
>>>> On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>> I can create memory databases, but how do I delete it once created?
>>> revdb_disconnect still leaves it in memory. revCloseDatabase is just a
>>> synonym of revdb_disconnect.
>>>> 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
>>> 
>> 
> 
> -- 
> Phil Davis
> 503-307-4363
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: sqLite delete memory database

2020-05-01 Thread JB via use-livecode
I have been testing SQLite 3 using the command line interface and it
looks to me like SQLite is designed to securely delete the memory of
the database automatically after it closes the database.

I could be wrong but if you can’t read the memory it is probably already
securely deleted when the database was closed.

JB


> On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I can create memory databases, but how do I delete it once created? 
> revdb_disconnect still leaves it in memory. revCloseDatabase is just a 
> synonym of revdb_disconnect. 
> 
> 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: sqLite delete memory database

2020-04-30 Thread JB via use-livecode
I am not saying I know how to do it but are
you able to read the memory like you can
with a regular variable?

If so maybe you can just assign each block
of memory a null character.  If you actually
can get the memory address of the data it
would be easy to delete it using C code.

JB


> On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I can create memory databases, but how do I delete it once created? 
> revdb_disconnect still leaves it in memory. revCloseDatabase is just a 
> synonym of revdb_disconnect. 
> 
> 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


** Livecode Ratings **

2020-04-26 Thread JB via use-livecode
In the past Richard Gaskin posted some info about Livecode
and its position in some programming ratings.  One of the
top languages was C and it appears the ratings are based
on search results.

If you are really concerned about Livecode ratings then you
can change them by posting C or other code that you access
from Livecode with a shell command.  When someone does
a search for that type of code they will see the C code and
how it is used with Livecode.  It certainly would not hurt the
ratings for Livecode.

JB


___
use-livecode mailing list
use-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: Maximum field height?

2020-04-05 Thread JB via use-livecode
It seems if Apple made the iOS compatible with the desktop it would
solve a lot of problems.

The question is why don’t they make them compatible?  Is their some
kind of FCC regulation that prevents Apple from using phone apps on
the desktop?  Back in the HyperCard days there was hyperDialer and
I really liked it a lot but I think the company was blocked from using it
by the phone companies or something like that.  Anyway there are no
replacements and I haven’t seen any others that survived so there is
a reason the desktop does not have simple phone capabilities.

JB


> On Apr 5, 2020, at 6:37 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> As I see it, there are 4 broad areas of problem for LC on mobile OSes.
> 
> The first two have been well described earlier in the thread and should just 
> be fixed.
> 
> 1. xTalk features just don't work, or work totally inadequately (e.g. 
> scrolling fields).
> 
> 2. Failure in cross-platform equivalence.
> 
> The other two are, I suspect, not truly solvable.
> 
> 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible 
> edit - compile (i.e. build a standalone) - test cycle.
> 
> 4. You still need to deal with the ugly issues of the SDKs and the app-store  
> requirements.
> 
> So, for me personally, even if LC Ltd. could fix (1) and (2), I would still 
> not even bother trying to build a mobile app; it's just not worth the hassle 
> or the learning curve.
> 
> OK - that's an easy decision for me - I don't do this for a living, I do it 
> for fun. And right now Mobile development is no fun.
> 
> The downside is, I've all but run out of reasons to develop in LC. I used to 
> write little (but useful) apps/games/utilities for myself, or my family, or 
> sometimes for friends. I don't think my wife's laptop has been switched on 
> this year - she uses her tablet and/or phone almost exclusively. And others 
> in the family are much the same.
> 
> So I think the right solution is for LC Ltd is to add *another* target 
> platform - PWAs. (This has the advantage that it also tackles the inadequacy 
> of the HTML platform).
> 
> LC Ltd should just pick a set of PWA components (I don't know which - maybe 
> Angular, Polymer, etc. I *really* don't know which - but just pick one for me 
> !!). Then they should identify a *subset* of LC script/UI features that can 
> be readily mapped to JS and a LC/JS library, and implement that.
> 
> Given the ability to re-load JS it should be feasible to be (fairly) 
> "Live"Code, without a full stand-alone build step.  It should produce 
> fast-loading, small "apps" that would allow many fairly straightforward apps 
> to be developed easily - bringing Mobile development back into the realm 
> where new / naive users (that includes me) can readily develop apps and run 
> them on the devices we all use these days.
> 
> And I'd get to stick to LC :-)
> 
> Alex.
> 
> On 05/04/2020 21:53, Curry Kenworthy via use-livecode wrote:
>> 
>> Agreed!!! I had grown weary of endless arguments previously pushing back 
>> against most LC critiques while the wagons were circled, so very glad to see 
>> this frankly discussed now.
>> 
>> "Live" Code. Meaning: WYSIWYG between dev and runtime, no edit-compile-run 
>> cycle, much more efficient. Remember the marketing? For us the Users, it 
>> wasn't just marketing. It was real, and it was the reason and the 
>> empowerment. We lived it and used it. Still do on desktop.
>> 
>> But LC has never been "Live" Code on mobile platforms. A big fail. Not just 
>> the UI, but also the mobileBlahBlah keywords that must be placed in if/then 
>> branches to avoid runtime errors on desktop whereas they should have been 
>> designed pan-platform. When these first appeared I was hoping they were 
>> temporary. Instead they've grown and multiplied, setting an arguably bad 
>> trend for the future.
>> 
>> That was a huge design flaw or design mistake/bad decision for a product 
>> called "Live" Code. LC Ltd needs to understand and embrace some key 
>> characteristics of its own product. It's not just marketing, and it's not a 
>> HyperCard "Boomer" fad that will (or should) die out demographically with 
>> younger coders. It's valid, there's a reason, and it's so important.
>> 
>> How's that for a "second"? :)
>> 
>> 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:
> 

Re: New Apple Developer iOS requirements beginning April 30

2020-03-05 Thread JB via use-livecode
Didn’t Apple say a while ago they were
going to make the ios compatible with
the desktop?

It seems they both use Objective-C the
same way.

JB

> On Mar 4, 2020, at 10:28 PM, Mark Waddingham via use-livecode 
>  wrote:
> 
> We replaced UIWebView with WKWebView in 9.6-DP-1.
> 
> Sent from my iPhone
> 
>> On 5 Mar 2020, at 02:11, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> I got a warning today, building with LC 9.5.1.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>>> On March 4, 2020 7:14:43 PM Ralph DiMola via use-livecode 
>>>  wrote:
>>> 
>>> UIWebView is being replaced by WKWebView. I think LC uses WKWebView or we
>>> would have been getting warnings on submissions since at least last August.
>>> 
>>> 
>>> 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 Richard Gaskin via use-livecode
>>> Sent: Wednesday, March 04, 2020 7:35 PM
>>> To: use-livecode@lists.runrev.com
>>> Cc: Richard Gaskin
>>> Subject: Re: New Apple Developer iOS requirements beginning April 30
>>> 
>>> Jacque wrote:
>>> 
 TMS-90809: Deprecated API Usage - Apple will stop accepting
 submissions of apps that use UIWebView APIs starting from April 2020 .
>>> 
>>> I'm not sure I understand the implications there.  Are they offering an
>>> alternative to  , or flat out forbidding anything that renders HTML?
>>> 
>>> --
>>> Richard Gaskin
>>> Fourth World Systems
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription
>>> preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Translate metadata to field content

2020-02-21 Thread JB via use-livecode
Yes, any additions are good to have.
I hope someone updates it.

JB

> On Feb 21, 2020, at 10:41 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Yes, that's it, but not sure if some of these recent gems are getting into 
> the library. 
> 
> Bob S
> 
> 
>> On Feb 21, 2020, at 10:22 , JB via use-livecode 
>>  wrote:
>> 
>> I thought Michael Doub was handling the Master Library or
>> are you talking about something else?
>> 
>> JB
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Translate metadata to field content

2020-02-21 Thread JB via use-livecode
I thought Michael Doub was handling the Master Library or
are you talking about something else?

JB

> On Feb 21, 2020, at 7:50 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Is anyone maintaining the MasterLibrary? Stuff like this really should be 
> added to it when the kinks are worked out. 
> 
> Bob S
> 
> 
>> On Feb 21, 2020, at 24:51 , Mark Waddingham via use-livecode 
>>  wrote:
>> 
>> On 2020-02-21 00:29, J. Landman Gay via use-livecode wrote:
>>> So glad you chimed in, Mark. This is pretty impressive. I'll need to
>>> use the "for each element" structure because my tags are not unique,
>>> but it still is much faster. When clicking a tag at the top of the
>>> document that links to the last anchor at the bottom of the text, I
>>> get a timing of about 25ms. If I omit the timing for loading the
>>> htmltext and the selection of the text at the end of the handler it
>>> brings the timing to almost 0. The test text is long, but not nearly
>>> as long as Bernd's sample.
>> 
>> Glad I could help - although to be fair, all I did was optimize what
>> Bernd (and Richard) had already proposed.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Littel Arrows

2020-01-10 Thread JB via use-livecode
Is the logic that if I touched on a line in a field and moved
that line up the lines would increment but if I clicked on
the upper arrow the lines would decrement?  If so then
the logic seems okay to me.

I do not have a mobile device so my thinking could be
completely wrong.

JB


> On Jan 10, 2020, at 12:40 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> I’m with you on that one. Apple calls the new way “Natural” (!). Not to me 
> after 35 years of the old way.
> .Jerry
> 
>> On Jan 10, 2020, at 12:08 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> 
>> When Apple decided to make us use fields like mobile apps do, the behavior 
>> reversed. I never did get used to that so I've kept my Mac scrollers the old 
>> way.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Littel Arrows

2020-01-10 Thread JB via use-livecode
Hi Klaus,

I just checked the little arrow scrollbar in version 4.6.  If I add a
field and then I add a little arrow scrollbar on the right side to
advance through the text then my first thought is to click on the
lower arrow to advance the lines of text and the upper arrow to
move the lines of text towards line one.

I must be confused on what you are saying so if it is not the
same for you just ignore my response.  Sorry about that.

JB


> On Jan 10, 2020, at 11:47 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 10.01.2020 um 20:39 schrieb JB via use-livecode 
>> :
>> 
>> I am not using the same version as you so I cannot see
>> the arrows
> 
> ???
> 
> This has been the case since version 1!
> 
>> but when I consider a text field with a lower
>> and upper arrow my first though is if I click the lower
>> arrow it will increment the lines in the text field and if
>> I click the upper arrow it will decrement the lines in the
>> text field.
> 
> Check the Inspector of any scrollbar to see a working example 
> of what I mean.
> 
>> Like I said I cannot see your arrows so this logic may
>> be illogical in the situation you are using.
>> 
>> JB
> 
> 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: Littel Arrows

2020-01-10 Thread JB via use-livecode
I am not using the same version as you so I cannot see
the arrows but when I consider a text field with a lower
and upper arrow my first though is if I click the lower
arrow it will increment the lines in the text field and if
I click the upper arrow it will decrement the lines in the
text field.

Like I said I cannot see your arrows so this logic may
be illogical in the situation you are using.

JB


> On Jan 10, 2020, at 11:35 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
> with "Litte Arrows" when you click the LOWER arrow, 
> the "scrollbarLineInc" is sent.
> 
> When you click the UPPER arrow, then the "scrollbarLineDec"
> message is sent. 
> 
> Does not seem logical to me. Shouldn't that be vice versa?
> 
> Any insight appreciated, thank you!
> 
> 
> 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: empty variable

2020-01-06 Thread JB via use-livecode
One of the problems with #3 and above is the people who
want your code will probably spend more money and time
figuring out a way to steal the uncompiled code than they
would spend trying to hack the code.

And they most likely have a lot of corrupt connections and
money to spend.

JB


> On Jan 6, 2020, at 7:52 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I agree. It's easy to imagine that one can acheive absolute security, but in 
> practice it is impossible by nature. Just someone standing over your shoulder 
> or putting a spy camera in place is all that would be needed. The idea then 
> is to make it as difficult and impractical as possible given the resources 
> you have. 
> 
> Bob S
> 
> 
>> On Jan 3, 2020, at 13:59 , Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> Inputs often pose a bigger risk than core dumps.
>> 
>> Where you ask:
>> "Any suggestions to make it as secure as possible?"
>> 
>> ...we might instead ask:
>> "Any suggestions to make it as secure as *practical*?"
>> 
>> ...or even:
>> "Any suggestions to make it as secure as *cost-effective*?"
>> 
>> There are always ways to make things more secure. The hard part is defining 
>> an appropriate level of effort relative to the importance of the secret.
>> 
>> Consider this scale of 1 to 5, in terms of how hard people work to keep 
>> things secret:
>> 
>> 1. My app's reg code
>> 2. A user-defined password
>> 3. A user's social security number
>> 4. Nuclear secrets
>> 5. Trump's tax returns
>> 
>> If it's #1 I wouldn't spend more than half an hour thinking about it, for so 
>> many reasons covered in this list before.
>> 
>> #2 is worth spending some time on, but better hashed than encrypted.
>> 
>> #3 or above will require an understanding of the system to provide useful 
>> guidance.
>> 
>> -- 
>> Richard Gaskin
>> Fourth World Systems
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: empty variable

2020-01-03 Thread JB via use-livecode
That is a very interesting question!

If the user enters the password or did I hardcode a password
so what follows can only be executed if it included the text I
put into the variable.

I am in this case hardcoding it in myself.  This could be text
that is encrypted but it is still there even before it is put into
the variable and that means it is in memory.

Any suggestions to make it as secure as possible?

JB


> On Jan 3, 2020, at 1:29 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> How does the password come into the variable?
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> JB wrote:
>> What if I have secure info like a password stored
>> in a local variable and then I clear that info by
>> putting empty into that local variable.
>> How secure is that procedure?  I understand a
>> local variable does not retain the info after the
>> code finishes but I am concerned about any
>> info left in memory.
>> In the c language to clear the memory you set
>> all of the blocks to null.  That is because it is
>> more secure than doing something like putting
>> empty into the variable.
>> So the question is when I put empty into a local
>> variable I know when you access that variable it
>> will return empty but if it has not been set to null
>> then is it possible for someone to read the blocks
>> of memory and get anything back.  In c if you set
>> all of the blocks to null and not just the first block
>> then you have eliminated the chance of someone
>> recovering the info.  Is there a secure way to clear
>> a variable in Livecode?
>> JB
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: empty variable

2020-01-03 Thread JB via use-livecode
It seems I really do not need to worry too much because
if I understood it correctly the memory of the variable at
the end of the execution of that code is not only released
but it is also deleted.  Since the variable I am concerned
about is used at the end of the code it does not exist after
I use it because the code is finished and the memory is
automatically freed and deleted.

JB


> On Jan 3, 2020, at 12:58 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Well its really about what is going on under the hood. Memory dump for Macs 
> is not trivial from what I read. Apparently it involves turning off system 
> integrity and then booting into a special mode. At that point I stopped 
> reading. Not something I care to do with a production system. 
> 
> Bob S
> 
> 
>> On Jan 3, 2020, at 11:58 , JB via use-livecode 
>>  wrote:
>> 
>> I have it figured out.
>> 
>> You use it to delete each element of the array and
>> that is the same as writing null to each element of
>> the variable.
>> 
>> I think they mean if you do not delete each element
>> using this method all you are doing is putting empty
>> into the variable and that would be the same as if
>> you only write a null to the first element of the array.
>> 
>> In other words putting empty into the variable is not
>> secure.
>> 
>> JB
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: empty variable

2020-01-03 Thread JB via use-livecode
I have it figured out.

You use it to delete each element of the array and
that is the same as writing null to each element of
the variable.

I think they mean if you do not delete each element
using this method all you are doing is putting empty
into the variable and that would be the same as if
you only write a null to the first element of the array.

In other words putting empty into the variable is not
secure.

JB
> On Jan 3, 2020, at 11:15 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I think a memory dump and search of the contents is about the only thing you 
> can do to be sure. 
> 
> Bob S
> 
> 
>> On Jan 3, 2020, at 11:11 , JB via use-livecode 
>>  wrote:
>> 
>> Hi Bob,
>> 
>> yeah,  I am not sure exactly what it means either.
>> Different ways of doing the same thing?
>> 
>> JB
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: empty variable

2020-01-03 Thread JB via use-livecode
Is there a easy way to do a memory dump in Livecode?
Can I read the blocks of only memory for that variable?
In c the blocks are a array numbered from 0 to the size
of the variable which would be the length of the variable
in Livecode and you can access individual blocks and
that is how you write a null character to each block.

If you need to dump all of the memory on your machine
that might help but it would be better to dump only the
memory you want to look at.

Another thing to consider about dumping the memory is
the result are not always predictable.  If you did not write
a null character to each block of that memory when you
dump the memory it may not show up one time but will
be there in another dump.  That is why in c if you want
to put empty into a variable you can set the first block
to null and when you check the variable it will be empty
but in a memory dump the memory may be empty and
it may have some or all of the info in that block range
except the first block which is the one you set to null.
So the secure method you use bzero or a similar way
to set every block to null.

JB


> On Jan 3, 2020, at 11:15 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I think a memory dump and search of the contents is about the only thing you 
> can do to be sure. 
> 
> Bob S
> 
> 
>> On Jan 3, 2020, at 11:11 , JB via use-livecode 
>>  wrote:
>> 
>> Hi Bob,
>> 
>> yeah,  I am not sure exactly what it means either.
>> Different ways of doing the same thing?
>> 
>> JB
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: empty variable

2020-01-03 Thread JB via use-livecode
Hi Bob,

yeah,  I am not sure exactly what it means either.
Different ways of doing the same thing?

JB


> On Jan 3, 2020, at 11:09 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I'm not sure what this means. When you use delete variable on a script local, 
> it clears the contents of the variable, but the variable still exists, that 
> is if you can use the Script Editor variable watcher as any kind of 
> irrefutable evidence. 
> 
> Bob S
> 
> 
>> On Jan 3, 2020, at 11:04 , JB via use-livecode 
>>  wrote:
>> 
>> You can't delete local or global variables, using delete you just put the 
>> value empty in them.
>> --
>> 
>> So it sounds to me from the last line above that putting empty into the 
>> variable is secure.
>> 
>> JB
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: empty variable

2020-01-03 Thread JB via use-livecode
Hi Tom,

Thanks for the fast reply & info!

That was an interesting link.  Here are a
few lines from the link,

--
The delete variable command not only removes the contents of the variable, but 
deletes it entirely from memory. If you delete a key from an array variable, 
that element of the array no longer exists as part of the variable.

Local variables that are used within a handler are automatically deleted when 
the handler in which they are used exits.

You can't delete local or global variables, using delete you just put the value 
empty in them.
--

So it sounds to me from the last line above that putting empty into the 
variable is secure.

JB


> On Jan 3, 2020, at 10:55 AM, Tom Glod via use-livecode 
>  wrote:
> 
> A memory dump can reveal everything stored in memory for a particular
> process.
> 
> the delete variable command is what you are looking for.
> 
> https://livecode.fandom.com/wiki/Delete_variable
> 
> 
> 
> On Fri, Jan 3, 2020 at 1:22 PM JB via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> What if I have secure info like a password stored
>> in a local variable and then I clear that info by
>> putting empty into that local variable.
>> 
>> How secure is that procedure?  I understand a
>> local variable does not retain the info after the
>> code finishes but I am concerned about any
>> info left in memory.
>> 
>> In the c language to clear the memory you set
>> all of the blocks to null.  That is because it is
>> more secure than doing something like putting
>> empty into the variable.
>> 
>> So the question is when I put empty into a local
>> variable I know when you access that variable it
>> will return empty but if it has not been set to null
>> then is it possible for someone to read the blocks
>> of memory and get anything back.  In c if you set
>> all of the blocks to null and not just the first block
>> then you have eliminated the chance of someone
>> recovering the info.  Is there a secure way to clear
>> a variable in Livecode?
>> 
>> JB
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Office:226-706-9339
> Mobile:226-706-9793
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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


empty variable

2020-01-03 Thread JB via use-livecode
What if I have secure info like a password stored
in a local variable and then I clear that info by
putting empty into that local variable.

How secure is that procedure?  I understand a
local variable does not retain the info after the
code finishes but I am concerned about any
info left in memory.

In the c language to clear the memory you set
all of the blocks to null.  That is because it is
more secure than doing something like putting
empty into the variable.

So the question is when I put empty into a local
variable I know when you access that variable it
will return empty but if it has not been set to null
then is it possible for someone to read the blocks
of memory and get anything back.  In c if you set
all of the blocks to null and not just the first block
then you have eliminated the chance of someone
recovering the info.  Is there a secure way to clear
a variable in Livecode?

JB


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

2019-12-18 Thread JB via use-livecode
I found that c code.  It is for a server-socket and client-socket.
Two separate programs which we could call from live code
with a shell command and give arguments if needed.

JB


> On Dec 18, 2019, at 12:56 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> On Dec 18, 2019, at 12:51 PM, JB via use-livecode 
>  wrote:
>> 
>> A year or so ago I was messing around with the terminal in c code
>> and found some code that opens two terminals and they talk to
>> each other.
>> 
>> Is that something I can use to communicate with live code too?
> 
> Conceivably, but you’re going to have to know how to launch Terminal with 
> options (and I haven’t a clue how to do that).
> 
> If you can open them so that they have a known socket, livecode can deal with 
> that.
> 
> Why the interest in Terminal for this?  It’s pretty straightforward to create 
> your own standalone if all you want to do is write to a second application 
> for output.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: using stdout

2019-12-18 Thread JB via use-livecode
Thank you very much!

I will be playing around with these a lot.

JB


> On Dec 18, 2019, at 1:20 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> On Dec 18, 2019, at 1:03 PM, JB via use-livecode 
>  wrote:
>> 
>> Actually as I said in the first post I do not really need it.  I was
>> reading the manual about something else which I have already
>> forgot and I ran across the code so I tried it.
> 
> Investigate “sockets” in the dictionary.
> 
>> 
>> But I am interested in messing around with writing to another
>> application if you have any examples.  Also if you needed
>> the c code let me know and I can probably dig it out for you.
>> 
> 
> I emailed you master and slave, since we can’t attach to the list.
> 
> It’s by no means an example of how to do it; it’s my partway-done experiment 
> from when I wanted a helper application to allow non-blocking database 
> actions.  Switching from mySQL to postgreSQL solved my problem far more 
> cleanly (I don’t know if it’s still the case, but LiveCode could only send a 
> single mySQL transaction at the time, and startup took several hundred 
> sequential commands . . .).  I may use it again someday, but not for now.
> 
> Anyway, it really doesn’t do much more than take something from the input 
> window in one application, encrypt it, and send it across a socket to the 
> other.
> 
> I *want* to say that master launches slave when it starts up, but it’s been a 
> few years.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: using stdout

2019-12-18 Thread JB via use-livecode
Actually as I said in the first post I do not really need it.  I was
reading the manual about something else which I have already
forgot and I ran across the code so I tried it.

But I am interested in messing around with writing to another
application if you have any examples.  Also if you needed
the c code let me know and I can probably dig it out for you.

JB


> On Dec 18, 2019, at 12:56 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> On Dec 18, 2019, at 12:51 PM, JB via use-livecode 
>  wrote:
>> 
>> A year or so ago I was messing around with the terminal in c code
>> and found some code that opens two terminals and they talk to
>> each other.
>> 
>> Is that something I can use to communicate with live code too?
> 
> Conceivably, but you’re going to have to know how to launch Terminal with 
> options (and I haven’t a clue how to do that).
> 
> If you can open them so that they have a known socket, livecode can deal with 
> that.
> 
> Why the interest in Terminal for this?  It’s pretty straightforward to create 
> your own standalone if all you want to do is write to a second application 
> for output.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: using stdout

2019-12-18 Thread JB via use-livecode
A year or so ago I was messing around with the terminal in c code
and found some code that opens two terminals and they talk to
each other.

Is that something I can use to communicate with live code too?

JB


> On Dec 18, 2019, at 12:47 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> On Dec 18, 2019, at 12:38 PM, JB via use-livecode 
>  wrote:
>> 
>> open process "/Applications/Utilities/Terminal.app" for write
>> write tMessage && the long time & return to stdout
> 
> *That* is the problem.
> 
> If you open a terminal from within livecode, that doesn’t turn it into 
> stdout, which already existed (even if null).
> 
> 
> In a terminal,
> 
> /Applications/LiveCode\ Business\ 9.5.0.app/Contents/MacOS/LiveCode-Business 
> 
> (Or whatever).
> 
> That terminal will be stdout for livecode, at which you can write to it.
> 
> There might be a way to open a terminal from lived ode to which it could 
> write, but it won’t become stdout.
> 
> If you look through the archives (or maybe it’s on the message board due to 
> attachments), you should be able to find my master/slave pair which open a 
> socket to one another and can talk.  It’s been a few years, though.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: using stdout

2019-12-18 Thread JB via use-livecode
So I run the following code in live code after
I have opened the terminal app. and from the
message box I enter,

open process "/Applications/Utilities/Terminal.app" for write
write tMessage && the long time & return to stdout

I get nothing.

JB


> On Dec 18, 2019, at 9:24 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 12/18/19 7:01 AM, JB via use-livecode wrote:
>> This isn’t something I need but I read in a older manual
>> you can write to the terminal using stdout.  It said the
>> terminal needs to  be open and you use code like
>> below to log or write to the terminal;
>> put "Hello world." into tMessage
>> write tMessage && the long time & return to stdout
>> When I run this code nothing happens even though
>> I have the terminal open.
>> Does anyone know how to use stdout with the terminal
>> from within a stack?
> 
> Works here, on linux at least.
> Launch LC from a commandline, then from the messagebox type
> write "hello, world" to stdout
> 
> -- 
> 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: using stdout

2019-12-18 Thread JB via use-livecode
I really don’t use the shell or terminal much.  When you
say it is awkward I suspect I did not do it right.  All I did
was open the terminal and use open with the path and
it opened live code.  Should I have written something
else?  Am I supposed to launch a process?

JB


> On Dec 18, 2019, at 11:25 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 12/18/19 9:49 AM, JB via use-livecode wrote:
>> Well I tried it on OS X 10.11 using Livecode 4.6.2
>> and the application launches then I create a new
>> main stack and use the message box to enter
>> your code and nothing happens.
> 
> I don't have anything that old to test with, but it works with OSX 10.14 and 
> LC 9.x. Granted, launching via commandline on OSX is a bit awkward.
> 
> -- 
> 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: using stdout

2019-12-18 Thread JB via use-livecode
Well I tried it on OS X 10.11 using Livecode 4.6.2
and the application launches then I create a new
main stack and use the message box to enter
your code and nothing happens.

JB


> On Dec 18, 2019, at 9:24 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 12/18/19 7:01 AM, JB via use-livecode wrote:
>> This isn’t something I need but I read in a older manual
>> you can write to the terminal using stdout.  It said the
>> terminal needs to  be open and you use code like
>> below to log or write to the terminal;
>> put "Hello world." into tMessage
>> write tMessage && the long time & return to stdout
>> When I run this code nothing happens even though
>> I have the terminal open.
>> Does anyone know how to use stdout with the terminal
>> from within a stack?
> 
> Works here, on linux at least.
> Launch LC from a commandline, then from the messagebox type
> write "hello, world" to stdout
> 
> -- 
> 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: using stdout

2019-12-18 Thread JB via use-livecode
I didn’t know you needed to launch it from
the command line.

Thanks,
JB


> On Dec 18, 2019, at 9:24 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 12/18/19 7:01 AM, JB via use-livecode wrote:
>> This isn’t something I need but I read in a older manual
>> you can write to the terminal using stdout.  It said the
>> terminal needs to  be open and you use code like
>> below to log or write to the terminal;
>> put "Hello world." into tMessage
>> write tMessage && the long time & return to stdout
>> When I run this code nothing happens even though
>> I have the terminal open.
>> Does anyone know how to use stdout with the terminal
>> from within a stack?
> 
> Works here, on linux at least.
> Launch LC from a commandline, then from the messagebox type
> write "hello, world" to stdout
> 
> -- 
> 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


using stdout

2019-12-18 Thread JB via use-livecode
This isn’t something I need but I read in a older manual
you can write to the terminal using stdout.  It said the
terminal needs to  be open and you use code like
below to log or write to the terminal;

put "Hello world." into tMessage
write tMessage && the long time & return to stdout

When I run this code nothing happens even though
I have the terminal open.

Does anyone know how to use stdout with the terminal
from within a stack?

JB


___
use-livecode mailing list
use-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: Standalones and the defaultFolder

2019-12-16 Thread JB via use-livecode
Thanks for the info!  I hope you solve the problem.

JB


> On Dec 16, 2019, at 7:55 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Thanks JB. Getting and setting the default folder was not the issue. The 
> issue is that in a wondows standalone, a stack in the same folder as the 
> executable could not be opened by script eg. open stack "Devices". This seems 
> to be a new development, as I am fairly certain this worked fine in the past. 
> ALL stack files in a standalone ought to be discoverable no matter what the 
> defaultFolder is. 
> 
> Bob S
> 
> 
>> On Dec 14, 2019, at 04:27 , JB via use-livecode 
>>  wrote:
>> 
>> I am not using Windows or the version of Livecode you are
>> using so I am not testing this but when it comes to using
>> paths you might want to make sure what path is being
>> provided.
>> 
>> If the path returned includes a file name then it might
>> not work properly for listing that directory because it
>> is trying to list the directory of the file name instead
>> of the folder the file is in.
>> 
>> This behavior could also cause your program to not
>> see something making you think the default folder
>> is not working properly when it might be the path
>> the default folder is using ends with the file name.
>> 
>> JB
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Standalones and the defaultFolder

2019-12-14 Thread JB via use-livecode
I am not using Windows or the version of Livecode you are
using so I am not testing this but when it comes to using
paths you might want to make sure what path is being
provided.

If the path returned includes a file name then it might
not work properly for listing that directory because it
is trying to list the directory of the file name instead
of the folder the file is in.

This behavior could also cause your program to not
see something making you think the default folder
is not working properly when it might be the path
the default folder is using ends with the file name.

JB


> On Dec 13, 2019, at 3:21 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Thanks for the confirmation Tom. I did see two places in my code that I have 
> to set the default folder, so I just reset it when I am done. Same thing, 
> getting list of files. There may have been some discussion in the past about 
> a files command where the path could be passed, but that's not close to any 
> priority. 
> 
> Bob S
> 
> 
>> On Dec 13, 2019, at 10:03 , Tom Glod via use-livecode 
>>  wrote:
>> 
>> I only use defaultfolder when I need to get a list of files in that
>> folder.  Otherwise its the kind of thing that comes back to haunt us
>> for no real reason.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Standalones and the defaultFolder

2019-12-14 Thread JB via use-livecode
If you know the path you need then put this code in
your stack;

   answer question effective filename of this stack
   answer question defaultFolder

after creating the standalone run the code above from
the app and see if either of the paths provided are the
path you are actually trying to use.

The first code line will provide a path to the executable
of your app.

The second code line will be a path where the app is
located.

JB


> On Dec 13, 2019, at 9:07 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Not sure. There have been threads in the past relating to the defaultFolder, 
> and how it can in certain cases cause other issues, so I think my strategy 
> for avoiding setting the defaultFolder is the way to go. I've been meaning to 
> for a while now. I just wanted to alert everyone in case they run into the 
> same issue. This is just with Windows BTW. I don't break out my stack files 
> on MacOS. 
> 
> Bob S
> 
> 
>> On Dec 13, 2019, at 08:56 , J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Would the stackfiles property help here?
>> --
>> 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: macOS, is my app active?

2019-11-23 Thread JB via use-livecode
Trevor, your code is written really nice!
Thanks for the links and code.

JB

> On Nov 23, 2019, at 5:24 PM, Trevor DeVore via use-livecode 
>  wrote:
> 
> On Sat, Nov 23, 2019 at 7:09 PM scott--- via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Trevor,
>> 
>> Those directions were awesome! I saw the security warning with the
>> AppleScript method. Your extension method avoided it. Thank you.
> 
> 
> You’re welcome Scott.
> 
> -- 
> 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: macOS, is my app active?

2019-11-23 Thread JB via use-livecode
That is what I did too!

Then I went to each line and deleted the
white space until I ended up on the line
above, after that I pressed return so the
text went to its own line and it reformatted
that line properly.  This process should be
done for each line.

JB

> On Nov 23, 2019, at 3:42 PM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 24.11.2019 um 00:27 schrieb JB via use-livecode 
>> :
>> 
>> Hi Klaus,
>> 
>> I did that and got a error but by reformatting
>> the code properly it worked.
> 
> what do you mean by "reformatting"?
> I copied this from a TXT file and "pasted unformatted" into my field.
> 
> Still -> execution error
> 
> I suspect this is a permission thing, maybe I need to grant LC, and my later 
> app,
> permissions in the macOS Settings panel.
> 
> So the, little more complex, solution Trevor proposed suddenly looks a lot 
> more appealing! :-D
> 
>> JB
>> ...
>>> 
>>>> This is fld "IN" (your snippet):
>>>> 
>>>> tell application "System Events"
>>>> set activeApp to name of first application process whose frontmost is true
>>>> return activeApp
>>>> end tell
>>>> 
>>>> on mouseUp
>>>> do fld "IN" as "applescript"
>>>> put the result into fld "OUT"
>>>> end mouseUp
>>>> 
>>>> yields in fld "OUT":
>>>> "Livecode-Community" or
>>>> "LiveCode-Indy" or
>>>> "LiveCode-Business"
> 
> 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: macOS, is my app active?

2019-11-23 Thread JB via use-livecode
Hi Klaus,

I did that and got a error but by reformatting
the code properly it worked.

JB

> On Nov 23, 2019, at 1:04 PM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hallo Hermann,
> 
>> Am 23.11.2019 um 17:16 schrieb hh via use-livecode 
>> :
>> 
>> MacOS 10.15.1
> 
> macOS 10.14.6 here, LC 9.5.1 rc1
> 
>> This is fld "IN" (your snippet):
>> 
>> tell application "System Events"
>> set activeApp to name of first application process whose frontmost is true
>> return activeApp
>> end tell
>> 
>> on mouseUp
>> do fld "IN" as "applescript"
>> put the result into fld "OUT"
>> end mouseUp
>> 
>> yields in fld "OUT":
>> "Livecode-Community" or
>> "LiveCode-Indy" or
>> "LiveCode-Business"
> 
> no, it doesn't unfortunately!
> 
> I wrote (this is in fact in my field 1):
>> -
>> tell application "System Events"
>>  set activeApp to name of first application process whose frontmost is 
>> true
>>  return activeApp
>> end tell
>> 
>> Works fine in the AppleScript Editor, but I get "execution error" when DOing 
>> this in LC!?
> 
> With DOing I meant of course your above mentioned procedere "on mouseup":
> 
> on mouseUp
>  do fld 1 as AppleScript
>  put the result into fld 2
> end mouseUp
> 
> But all I get in field 2 is -> execution error
> Clueless...
> 
> 
> 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: My old man vs LC Standalone

2019-10-22 Thread JB via use-livecode
And if you tell us what you are going to do
he will never catch on .. ..

JB

> On Oct 22, 2019, at 11:57 AM, Tom Glod via use-livecode 
>  wrote:
> 
> yeah... the key is to crank up the difficulty and time investment...much
> like decryption...sure...you can decrypt this in a billion years!
> 
> On Tue, Oct 22, 2019 at 2:49 PM JJS via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Everything is crackable.
>> 
>> There was once this version of Cubase 5.1 a audio/midi sequencer, very
>> popular among musicians.
>> 
>> People from H2O cracked it. It was protected by a USB dongle.
>> 
>> They used 1500 manhours for it. And most of the time was not in the
>> program itself, figuring out when it called the dongle, but on how
>> windows handled the dll's to communicate with it.
>> 
>> Eventually they wrote their own dll as software-matic dongle.
>> 
>> They also said that it was the only version they would crack, because of
>> the many hours they needed to do it.
>> 
>> 
>> Op 22-10-2019 om 20:27 schreef doc hawk via use-livecode:
>>> On Oct 21, 2019, at 8:02 PM, kee nethery via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
 My wife built a Hypercard stack standalone that was protected by a
>> dongle. But, every call to the dongle was something you could search for in
>> the scripts. So she had scripts that did hashes of the scripts that talked
>> to the dongle. And she had scripts that did hashes of the scripts that
>> checked the hashes of the scripts …
>>> 
>>> “Those who hashed the hasher, have been hashed!”  ???
>>> 
>>> Wait, that’s not quite how it goes . . . hmm . . .
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe 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
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Office:226-706-9339
> Mobile:226-706-9793
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Push Card

2019-10-22 Thread JB via use-livecode
That is nice to know!

Actually in my case I went down a path I never
should have anyway and writing the code so
it works better instead of using recent or push
is the way to go.

thanks,
JB

> On Oct 22, 2019, at 10:40 AM, dunbarx--- via use-livecode 
>  wrote:
> 
> This goes back to 1987. The HC team assumed that most people would navigate
> like crazy, think rolodex, and being able to retrace ones history would be a
> very useful tool.
> 
> There should be a "clear recent" command, so that the piles of cards in that
> history can be eliminated. But LC has things that make this simple, the
> "recentCards" and "recentNames" properties.
> 
> Craig
> 
> 
> -Original Message-
> From: JB via use-livecode 
> To: How to use LiveCode 
> Cc: JB 
> Sent: Tue, Oct 22, 2019 12:28 pm
> Subject: Re: Push Card
> 
> Do you mean to also keep a track of my own card id’s and
> then eliminate the ones I do not want in the list?
> 
> That would probably work but I think I will just write the
> code differently for this program.  It is not a big problem
> but the ending up where I did not expect just needs to
> be fixed and is not going to be very difficult.
> 
> thanks for the help!
> 
> JB
> 
>> On Oct 22, 2019, at 9:14 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> One way to do this is to have a single function do the pushing and popping 
>> so it always knows where it is. 
>> 
>> Bob S
>> 
>> 
>>> On Oct 22, 2019, at 09:04 , JB via use-livecode 
>>>  wrote:
>>> 
>>> I don’t have very many cards but eventually I end
>>> up somewhere I didn’t expect and if I cleared the
>>> list it would take care of the problem.  But if I take
>>> the time to write the code better I can solve the
>>> problem without using push and pop.
>>> 
>>> JB
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe 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: My old man vs LC Standalone

2019-10-22 Thread JB via use-livecode
Well considering he writes assembly and other languages
and is communicating with other people he might be able
to do things that would surprise you.

JB

> On Oct 22, 2019, at 10:38 AM, Tom Glod via use-livecode 
>  wrote:
> 
> Funny, I just sat down to fire up LC to check on the encryption option.
> That will be the first thing I will do.
> 
> My dad will do this using a C++ / assembly debugger, and he finds the point
> at which the trial limitation is lifted or enforced, and does all his work
> there.  So he'll be looking at memory directly and will try to inject a
> 'simple' workaround.
> 
> I'm not sure about this, but probably the arrangement and sequence of
> variables in the applications' memory space will be different each time it
> starts?  I could be wrong but I believe cracks and patches often use a
> specific byte offsets to make changes to specific portions of the program,
> assuming their location is always the same within the applications
> memory.   This is where I think an LC standalone is different, but thats
> just speculation on my part.
> 
> With enough time sure...everything can be cracked..., I don't think
> it will be easy for him at all, given he's never seen LC.
> 
> On Tue, Oct 22, 2019 at 11:20 AM J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> That was my first thought too, password protecting the stack makes the
>> scripts unreadable. The hacker would have to read the memory directly and
>> I'm not sure what that would show, but I don't think it would be
>> particularly organized.
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On October 22, 2019 10:09:40 AM Bob Sneidar via use-livecode
>>  wrote:
>> 
>>> I'd be curious to know how well simply pass protecting the stacks does.
>>> Given the "hacker" doesn't know the key that was used for the
>> encryption,
>>> it shouldn't be possible.
>>> 
>>> Bob S
>>> 
>>> 
 On Oct 22, 2019, at 07:46 , Tom Glod via use-livecode
  wrote:
 
 JB, of course thats true, its just a matter of how long it takes and how
 skilled the cracker must be.  Its definitely not a reason not to try.
 
 Kee, that sounds like quite the scheme a self-destructing stack.  My
 initial instinct is to create some trap using hashing also.
 
 Thanks. :)
 
 On Mon, Oct 21, 2019 at 11:03 PM kee nethery via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> My wife built a Hypercard stack standalone that was protected by a
>> dongle.
> But, every call to the dongle was something you could search for in the
> scripts. So she had scripts that did hashes of the scripts that talked
>> to
> the dongle. And she had scripts that did hashes of the scripts that
>> checked
> the hashes of the scripts …
> 
> Plus, she broke up the calculations into various sections of other
>> code.
> When a script noticed stuff was being altered, it would start erasing
>> stuff
> in the app stack. And it would look for Hypercard itself on their disk
>> and
> start erasing stuff in it. It would hold on as long as possible doing
>> as
> much damage as possible.
> 
> Setting the code to do all this protection was a carefully scripted
> process because one false step and it would self destruct and damage
>> her
> Hypercard. It was pretty obvious to me when that happened because the
> cursing would be rather loud and prolonged.
> 
> She’d do things like add up all the chars in a script, do a modulo on
>> that
> number, and then go to script ID  to execute a line of
>> code in
> that script.
> 
> I’m sure someone could have eventually gotten past all that stuff but
> don’t think anyone ever did.
> 
> --
> 
> All that said, shareware authors would routinely hang out on crack
>> sites
> and seconds before releasing their app, they would post a crack. No one
> wants to be the second person to crack an app so the author would be
>> the
> only crack. That crack would allow someone to use the app for some
>> period
> of time (months) and then it would develop some kind of error. Users
>> would
> call in for support on XYZ error and the answer was, the more recent
> version fixes that. It’s a simple upgrade, here’s the URL for users
>> with
> this error. And those folks would become paid users.
> 
> Kee
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe 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 

Re: Push Card

2019-10-22 Thread JB via use-livecode
Do you mean to also keep a track of my own card id’s and
then eliminate the ones I do not want in the list?

That would probably work but I think I will just write the
code differently for this program.  It is not a big problem
but the ending up where I did not expect just needs to
be fixed and is not going to be very difficult.

thanks for the help!

JB

> On Oct 22, 2019, at 9:14 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> One way to do this is to have a single function do the pushing and popping so 
> it always knows where it is. 
> 
> Bob S
> 
> 
>> On Oct 22, 2019, at 09:04 , JB via use-livecode 
>>  wrote:
>> 
>> I don’t have very many cards but eventually I end
>> up somewhere I didn’t expect and if I cleared the
>> list it would take care of the problem.  But if I take
>> the time to write the code better I can solve the
>> problem without using push and pop.
>> 
>> JB
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Push Card

2019-10-22 Thread JB via use-livecode
I don’t have very many cards but eventually I end
up somewhere I didn’t expect and if I cleared the
list it would take care of the problem.  But if I take
the time to write the code better I can solve the
problem without using push and pop.

JB

> On Oct 22, 2019, at 8:49 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I have tried push and pop before but you really have to keep track of the 
> pushed cards or you end up somewhere unexpected. I'm still not sure what the 
> utility of having lots and lots of cards is, if that is what you are doing, 
> especially considering that the LC engine is not optimized to use that 
> paradigm. 
> 
> Bob S
> 
> 
>> On Oct 22, 2019, at 08:39 , JB via use-livecode 
>>  wrote:
>> 
>> Thank you for the info!
>> 
>> I think I am going to rewrite the code to work
>> better and eliminate using push card for this
>> instance.
>> 
>> JB
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Push Card

2019-10-22 Thread JB via use-livecode
Thank you for the info!

I think I am going to rewrite the code to work
better and eliminate using push card for this
instance.

JB

> On Oct 22, 2019, at 3:44 AM, hh via use-livecode 
>  wrote:
> 
>> JB wrote:
>> The list of pushed cards is cleared when you quit the application.
>> Is there a way to clear the list without quitting the application?
> 
> You could try
> 
> on mouseUp
>  put "home.livecodescript" into tA
>  repeat
>pop card into tB
>if tB ends with tA then exit repeat
>  end repeat
> end mouseUp
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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


Push Card

2019-10-21 Thread JB via use-livecode
The list of pushed cards is cleared when you quit the application.

Is there a way to clear the list without quitting the application?

JB

___
use-livecode mailing list
use-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: My old man vs LC Standalone

2019-10-21 Thread JB via use-livecode
rumor has it.. .. Anything Can Be CRACKED!

JB

> On Oct 21, 2019, at 7:39 PM, Tom Glod via use-livecode 
>  wrote:
> 
> Hi guys,
> 
> My father and I have gotten to talking recently and I shared with him the
> product I will the launching (shortly).  My dad father is a kind of white
> hat hacker and loves the challenge of it.
> 
> My software will have a 30 day trial.  He wants to help me by testing how
> hard it will be to produce a cracked version of my software.
> 
> He told me some hints about his approach.. he is an expert at assembly
> language and keeps it simple..he's kept up the skill even though he
> uses C++ and PHP for his work.
> 
> But he has never seen livecode before.
> 
> He challenged me to stop him. I know that if he spends enough hours, it
> can be done.
> 
> My target market is not people who would have the skill to hack the
> software.  THe price point is not worth the effort.My target market, in
> general, would not bother.  So I haven't bothered to go nuts in securing my
> trial mechanism.
> 
> But..I feel like I have to at least try and win. :D
> 
> I'm not asking for advice on how to do it, but my question is more general
> about LC. since its not widely known does it put me at a
> disadvantage or an advantage or neither?  Standalione will be 9.05 indy.
> 
> I'm having a great time so far ...lol..this is gonna be fun.
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Office:226-706-9339
> Mobile:226-706-9793
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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 there a command to display number of seconds as hrs:min:seconds?

2019-10-18 Thread JB via use-livecode
Here is a terminal example;

on mouseUp
  put shell( "date" ) into tData
  answer question tData
end mouseUp

JB

> On Oct 18, 2019, at 11:12 AM, Tom Glod via use-livecode 
>  wrote:
> 
> Let me throw my hat into the ring here...lolI wrote this function to
> display time in a specific format
> 
> function TimeDisplay HowManySeconds
>   local final_output = " days ::"
> 
>   local running_second_count
>   local next_calculation
> 
>   set itemdelimiter to "."  -- we are looking at boths sides of the
> decimal place
> 
>   // 86,400 seconds in an day
>   // 3600 in an hour
>   // 60 seonds in a minute
>   // replace counts as you go
> 
>   -- days
> 
>   put HowManySeconds / 86400 into next_calculation
> 
>   if next_calculation < 1 then
>  put HowManySeconds into running_second_count
>  replace "" with "0" in final_output
>   else
>  // how many days?
>  replace "" with  item 1 of next_calculation in final_output
>  put (HowManySeconds) - (item 1 of next_calculation * 86400) into
> running_second_count
>   end if
> 
>   -- hours
> 
>   put running_second_count / 3600 into next_calculation
> 
>   if next_calculation < 1 then
>  replace "" with "00" in final_output
>   else
>  // how many hours?
>  if the number of characters in item 1 of next_calculation = 1 then
> replace "" with "0" & item 1 of next_calculation in
> final_output
>  else
> replace "" with item 1 of next_calculation in final_output
>  end if
> 
>  put (running_second_count) - (item 1 of next_calculation * 3600) into
> running_second_count
>   end if
> 
> 
>   -- minutes
> 
>   put running_second_count / 60 into next_calculation
> 
>   if next_calculation < 1 then
>  replace "" with "00" in final_output
>   else
>  // how many minutes?
>  if the number of characters in item 1 of next_calculation = 1 then
> replace "" with "0" & item 1 of next_calculation in
> final_output
>  else
> replace "" with item 1 of next_calculation in final_output
>  end if
> 
>  put (running_second_count) - (item 1 of next_calculation * 60) into
> running_second_count
> 
>   end if
> 
>   -- seconds
> 
>   put running_second_count into next_calculation
> 
>  if next_calculation < 1 then
>  replace "" with "00" in final_output
>   else
>  // how many minutes?
>  if the number of characters in item 1 of next_calculation = 1 then
> replace "" with "0" & next_calculation in final_output
>  else
> replace "" with next_calculation in final_output
>  end if
>   end if
> 
>   return final_output
> end TimeDisplay
> 
> On Fri, Oct 18, 2019 at 11:55 AM Dar Scott Consulting via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I would +1 a deltaTime format, but we might not agree on hours over 24 and
>> fractions of a second.
>> 
>>> On Oct 17, 2019, at 10:25 PM, Bill Vlahos via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> All great suggestions.
>>> 
>>> I mostly wanted to see if there already was such a function - which
>> there obviously isn’t.
>>> 
>>> But it is great to see several easy ways to built your own.
>>> 
>>> Thanks all.
>>> 
>>> Bill Vlahos
>>> 
>>> 
 On Oct 17, 2019, at 8:51 AM, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
 
 The problem with one-liners is that the genius is implicit, not
>> explicit. ;-)
 
 Bob S
 
 
> On Oct 17, 2019, at 08:44 , J. Landman Gay via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
> 
> Show-off. :-)
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Office:226-706-9339
> Mobile:226-706-9793
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com

Re: LiveCode now #49 at TIOBE Index!

2019-10-05 Thread JB via use-livecode
Well you know searches could be based on many different
factors.  If a programming language does things in such a
way it needs a lot of different examples to really explain it
all and LiveCode allows the user to do it easier then the
search results would not be a good judge of how easy it
is to learn and program in that language.

And I am sure there are many other examples.

JB

> On Oct 5, 2019, at 6:01 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 10/5/19 4:57 PM, JB via use-livecode wrote:
>> Hi Mark,
>> I just visited the link Richard provided and it shows the following;
> 
> Hah! I missed a very important word in that sentence.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: LiveCode now #49 at TIOBE Index!

2019-10-05 Thread JB via use-livecode
Hi Mark,
I just visited the link Richard provided and it shows the following;

It is important to note that the TIOBE index is not about the best programming 
language or the language in which most lines of code have been written.

The index can be used to check whether your programming skills are still up to 
date or to make a strategic decision about what programming language should be 
adopted when starting to build a new software system. The definition of the 
TIOBE index can be found here 
.

Basically the calculation comes down to counting hits for the search query.

JB


> On Oct 5, 2019, at 3:59 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 10/5/19 3:36 PM, Richard Gaskin via use-livecode wrote:
> 
>> But this month LC broke new ground:
>> For the first time since I've been tracking TIOBE, LC IS NOW IN THE UPPER 
>> 50, ranked as the 49th most popular language:
>> https://www.tiobe.com/tiobe-index/
> 
> Great news!, I think... note that the TIOBE rating is based on lines of code 
> written, not popularity.
> 
> I'm not fond of metrics based on lines of code written. Since LiveCode packs 
> so much power into a single statement vs the number of line of code it takes 
> to do the same job in most other languages, I'd think that we're actually 
> much higher in the standings than a simple quantitative statistic would 
> indicate.
> 
> What did we knock out of place to get there? I see we're only 0.001% above 
> Crystal, whatever that is.
> 
> -- 
> 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: Recommended specs for Windows Development computer.

2019-10-03 Thread JB via use-livecode
Do you have a link for info on how to do that?
I will be wanting to test on Windows too and
was thinking I needed to use a emulator like
Parallels.

JB


> On Oct 3, 2019, at 10:54 AM, JJS via use-livecode 
>  wrote:
> 
> Why don't you create a dual boot of your mac?
> 
> Apple itself supports it and delivers the drivers to do so.
> 
> You only need a win10 license
> 
> 
> Op 3-10-2019 om 19:48 schreef Martin Koob via use-livecode:
>> Hi
>> 
>> I need to buy a new desktop PC to be used for LiveCode development including 
>> using the new camera control and the player as I am working on a cross 
>> platform application for Mac and Windows.
>> 
>> I have been developing the application  on on a Mac to this point but need 
>> to have the PC for testing and debugging in a Windows environment.
>> 
>> Being a Mac guy I am not sure what I should look for in a PC— processor, 
>> speed, RAM, etc. I bought a cheap desktop  PC, an Acer AXC-230 a year or so 
>> ago for that purpose but that is painfully slow. So I don’t want to make 
>> that mistake again.
>> 
>> With the comments on speed problems on Windows in the earlier thread I don’t 
>> want to get something underpowered.
>> 
>> Any suggestions? What are people using?
>> 
>> Thanks in advance.
>> 
>> Martin Koob
>> 
>> 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


Re: open process

2019-09-28 Thread JB via use-livecode
Okay, thank you!

JB

> On Sep 28, 2019, at 11:25 AM, Dar Scott Consulting via use-livecode 
>  wrote:
> 
> I'm glad that was helpful. For me, when using open process as a background 
> shell is knowing when things are done. In my example, I can wait for 
> non-empty read results and then wait for a few empty read results. There is 
> probably a better way.
> 
>> On Sep 28, 2019, at 11:57 AM, JB via use-livecode 
>>  wrote:
>> 
>> It works for me too, Thanks
>> 
>> Name  Mtu   Network   AddressIpkts IerrsOpkts Oerrs  Coll
>> lo0   16384  82239 082239 0 0
>> lo0   16384 localhost   ::1  82239 -82239 - -
>> lo0   16384 127   localhost  82239 -82239 - -
>> lo0   16384 localhost   fe80:1::182239 -82239 - -
>> gif0* 1280   0 00 0 0
>> stf0* 1280   0 00 0 0
>> en0   1500  34:15:9e:26:fa:60  1633080 0  1207358 0 0
>> en0   1500  jb.localfe80:4::3615:9eff  1633080 -  1207358 - -
>> en0   1500  192.168.0 192.168.0.2  1633080 -  1207358 - -
>> en1   1500  7c:6d:62:a4:64:ab0 00 0 0
>> fw0   4078  34:15:9e:ff:fe:26:fa:600 00 
>> 0 0
>> 
>> 
>> JB
>> 
>>> On Sep 28, 2019, at 10:24 AM, Dar Scott Consulting via use-livecode 
>>>  wrote:
>>> 
>>> This works for me, LC 9.5 Mac.
>>> 
>>> on mouseup
>>> set the cursor to watch
>>> put "netstat -i" into p
>>> put p -- flash
>>> open process p for read
>>> wait 1 seconds with messages
>>> read from process p until empty
>>> close process p
>>> put it
>>> end mouseup
>>> 
>>> 
>>>> On Sep 28, 2019, at 8:05 AM, JB via use-livecode 
>>>>  wrote:
>>>> 
>>>> In a shell command I can execute a external program
>>>> using the following code:
>>>> 
>>>> on mouseUp
>>>> set the defaultFolder to desktop
>>>> put “myPic.jpg" into tFILE1
>>>> put “myPic copy.jpg" into tFILE2
>>>> put shell( "./copy" && quote & tFILE1 & quote && quote & tFILE2 & quote) 
>>>> into pData
>>>> answer question pData  —will be success or failed
>>>> end mouseUp
>>>> 
>>>> The code above will execute a program that has two arguments which are
>>>> the source file and destination file.  It is a simple copy program.
>>>> 
>>>> I was reading about open process:
>>>> --open process appName [for [text|binary] {read | write | update | 
>>>> neither}]
>>>> 
>>>> I can open a process and execute the above mentioned external program
>>>> but I am not able to supply the arguments.
>>>> 
>>>> Is it possible using open process to execute a program with arguments
>>>> and if it is would it be better to use the shell command or open process?
>>>> 
>>>> I know if you use a shell command it takes control until it is done and
>>>> open process might run in the background which I do not really need
>>>> that I know of in this instance.
>>>> 
>>>> JB
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: open process

2019-09-28 Thread JB via use-livecode
It works for me too, Thanks

Name  Mtu   Network   AddressIpkts IerrsOpkts Oerrs  Coll
lo0   16384  82239 082239 0 0
lo0   16384 localhost   ::1  82239 -82239 - -
lo0   16384 127   localhost  82239 -82239 - -
lo0   16384 localhost   fe80:1::182239 -82239 - -
gif0* 1280   0 00 0 0
stf0* 1280   0 00 0 0
en0   1500  34:15:9e:26:fa:60  1633080 0  1207358 0 0
en0   1500  jb.localfe80:4::3615:9eff  1633080 -  1207358 - -
en0   1500  192.168.0 192.168.0.2  1633080 -  1207358 - -
en1   1500  7c:6d:62:a4:64:ab0 00 0 0
fw0   4078  34:15:9e:ff:fe:26:fa:600 00 0   
  0


JB

> On Sep 28, 2019, at 10:24 AM, Dar Scott Consulting via use-livecode 
>  wrote:
> 
> This works for me, LC 9.5 Mac.
> 
> on mouseup
>   set the cursor to watch
>   put "netstat -i" into p
>   put p -- flash
>   open process p for read
>   wait 1 seconds with messages
>   read from process p until empty
>   close process p
>   put it
> end mouseup
> 
> 
>> On Sep 28, 2019, at 8:05 AM, JB via use-livecode 
>>  wrote:
>> 
>> In a shell command I can execute a external program
>> using the following code:
>> 
>> on mouseUp
>> set the defaultFolder to desktop
>>  put “myPic.jpg" into tFILE1
>>  put “myPic copy.jpg" into tFILE2
>>  put shell( "./copy" && quote & tFILE1 & quote && quote & tFILE2 & quote) 
>> into pData
>>  answer question pData  —will be success or failed
>> end mouseUp
>> 
>> The code above will execute a program that has two arguments which are
>> the source file and destination file.  It is a simple copy program.
>> 
>> I was reading about open process:
>>  --open process appName [for [text|binary] {read | write | update | neither}]
>> 
>> I can open a process and execute the above mentioned external program
>> but I am not able to supply the arguments.
>> 
>> Is it possible using open process to execute a program with arguments
>> and if it is would it be better to use the shell command or open process?
>> 
>> I know if you use a shell command it takes control until it is done and
>> open process might run in the background which I do not really need
>> that I know of in this instance.
>> 
>> JB
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe 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: open process

2019-09-28 Thread JB via use-livecode
Thank you very much!

That is what I suspected but I wanted to
have someone clarify it for me.

thanks again,
JB


> On Sep 28, 2019, at 7:46 AM, Paul Dupuis via use-livecode 
>  wrote:
> 
> passing information (arguments, commands, etc.) to another program using 
> "open process" requires that the other program has a mechanism to listen to 
> interprocess messages. Most programs designed to accept a set of command-line 
> parameters do not have listeners for inter process communication (IPC), so 
> the general answer to your question is you probably can not provide arguments 
> via open process to the copy command.
> 
> 
> On 9/28/2019 10:05 AM, JB via use-livecode wrote:
>> In a shell command I can execute a external program
>> using the following code:
>> 
>> on mouseUp
>>   set the defaultFolder to desktop
>>put “myPic.jpg" into tFILE1
>>put “myPic copy.jpg" into tFILE2
>>put shell( "./copy" && quote & tFILE1 & quote && quote & tFILE2 & quote) 
>> into pData
>>answer question pData  —will be success or failed
>> end mouseUp
>> 
>> The code above will execute a program that has two arguments which are
>> the source file and destination file.  It is a simple copy program.
>> 
>> I was reading about open process:
>>--open process appName [for [text|binary] {read | write | update | 
>> neither}]
>> 
>> I can open a process and execute the above mentioned external program
>> but I am not able to supply the arguments.
>> 
>> Is it possible using open process to execute a program with arguments
>> and if it is would it be better to use the shell command or open process?
>> 
>> I know if you use a shell command it takes control until it is done and
>> open process might run in the background which I do not really need
>> that I know of in this instance.
>> 
>> JB
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe 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: open process

2019-09-28 Thread -=&gt;JB&lt;=- via use-livecode
I provided the wrong path in the code by setting
the default folder to desktop but the code has the
correct path and do not set defaultFolder using
desktop.

The question is still the same about supplying the
arguments to the executable.

JB

> On Sep 28, 2019, at 7:05 AM, JB via use-livecode 
>  wrote:
> 
> In a shell command I can execute a external program
> using the following code:
> 
> on mouseUp
>  set the defaultFolder to desktop
>   put “myPic.jpg" into tFILE1
>   put “myPic copy.jpg" into tFILE2
>   put shell( "./copy" && quote & tFILE1 & quote && quote & tFILE2 & quote) 
> into pData
>   answer question pData  —will be success or failed
> end mouseUp
> 
> The code above will execute a program that has two arguments which are
> the source file and destination file.  It is a simple copy program.
> 
> I was reading about open process:
>   --open process appName [for [text|binary] {read | write | update | neither}]
> 
> I can open a process and execute the above mentioned external program
> but I am not able to supply the arguments.
> 
> Is it possible using open process to execute a program with arguments
> and if it is would it be better to use the shell command or open process?
> 
> I know if you use a shell command it takes control until it is done and
> open process might run in the background which I do not really need
> that I know of in this instance.
> 
> JB
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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


open process

2019-09-28 Thread JB via use-livecode
In a shell command I can execute a external program
using the following code:

on mouseUp
  set the defaultFolder to desktop
   put “myPic.jpg" into tFILE1
   put “myPic copy.jpg" into tFILE2
   put shell( "./copy" && quote & tFILE1 & quote && quote & tFILE2 & quote) 
into pData
   answer question pData  —will be success or failed
end mouseUp

The code above will execute a program that has two arguments which are
the source file and destination file.  It is a simple copy program.

I was reading about open process:
   --open process appName [for [text|binary] {read | write | update | neither}]

I can open a process and execute the above mentioned external program
but I am not able to supply the arguments.

Is it possible using open process to execute a program with arguments
and if it is would it be better to use the shell command or open process?

I know if you use a shell command it takes control until it is done and
open process might run in the background which I do not really need
that I know of in this instance.

JB
___
use-livecode mailing list
use-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: Access Resource Files

2019-09-20 Thread JB via use-livecode
Hi Klaus,

Okay, the first version does the same thing as the others.  No icon
file size zero bytes.

I tried answer specialfolderpath("engine”) and the dialog was
empty again.

But Klaus you are really GOOD!!

--This code works!  Klaus Major provided it.
   
   put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
   
   ## This is the runtime:
   put the effective filename of this stack into tSourceFile
   set itemdel to "/"
   put "mypic.jpg" into item -1 of tSourceFile
   if there is not a file tTargetfile then
   put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
   end if

THIS WORKS PERFECT!!!

THANK YOU!
JB


> On Sep 20, 2019, at 10:45 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 19:31 schrieb JB via use-livecode 
>> :
>> 
>> Thank you for the info.
>> 
>> I am using a earlier version and specialfolderpath("resources”) is not
>> available
> 
> ah, yes, I saw that specialfolderpath() codes have been introduced in LC 1.1
> but did no know that the RESOURCES folder came later.
> 
>> but specialfolderpath(“desktop”) and others are available.
>> I don’t think it is possible without specific code written by those who
>> made the app bundle.  Things like NSBundle etc seem to be built
>> for use by the app developer and the links don’t work for others
>> who are not accessing it at that level.
> 
> I think in older versions of LC the files got copied in to the same folder as 
> the runtime,
> so if -> specialfolderpath("engines") is already supported by your version of 
> LC you 
> could try that one:
> ...
> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
> put specialfolderpath("engine") & "/mypic.jpg" into tSourceFile
> if there is not a file tTargetfile then
>  put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
> end if
> ...
> 
> If not supported, the you need to do it manually:
> ...
> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
> 
> ## This is the runtime:
> put the effective filename of this stack into tSourceFile
> set itemdel to "/"
> put "mypic.jpg" into item -1 of tSourceFile
> if there is not a file tTargetfile then
>  put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
> end if
> ...
> 
> You get the picture...
> 
>> thanks again,
>> JB
>> 
>>> On Sep 20, 2019, at 10:10 AM, Niggemann, Bernd via use-livecode 
>>>  wrote:
>>> answer specialfolderpath("resources")
>>> ..
>>> in the standalone and check if that is the folder you manually copied the 
>>> file(s) to!
>>> specialfolderpath("resources") was introduced in LC 6.7.5 (from the 
>>> dictionary)
> 
> Which explains your empty dialog! :-)
> 
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
Thanks Klaus,

I will give it a try and then get back with
the details.

JB


> On Sep 20, 2019, at 10:45 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 19:31 schrieb JB via use-livecode 
>> :
>> 
>> Thank you for the info.
>> 
>> I am using a earlier version and specialfolderpath("resources”) is not
>> available
> 
> ah, yes, I saw that specialfolderpath() codes have been introduced in LC 1.1
> but did no know that the RESOURCES folder came later.
> 
>> but specialfolderpath(“desktop”) and others are available.
>> I don’t think it is possible without specific code written by those who
>> made the app bundle.  Things like NSBundle etc seem to be built
>> for use by the app developer and the links don’t work for others
>> who are not accessing it at that level.
> 
> I think in older versions of LC the files got copied in to the same folder as 
> the runtime,
> so if -> specialfolderpath("engines") is already supported by your version of 
> LC you 
> could try that one:
> ...
> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
> put specialfolderpath("engine") & "/mypic.jpg" into tSourceFile
> if there is not a file tTargetfile then
>  put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
> end if
> ...
> 
> If not supported, the you need to do it manually:
> ...
> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
> 
> ## This is the runtime:
> put the effective filename of this stack into tSourceFile
> set itemdel to "/"
> put "mypic.jpg" into item -1 of tSourceFile
> if there is not a file tTargetfile then
>  put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
> end if
> ...
> 
> You get the picture...
> 
>> thanks again,
>> JB
>> 
>>> On Sep 20, 2019, at 10:10 AM, Niggemann, Bernd via use-livecode 
>>>  wrote:
>>> answer specialfolderpath("resources")
>>> ..
>>> in the standalone and check if that is the folder you manually copied the 
>>> file(s) to!
>>> specialfolderpath("resources") was introduced in LC 6.7.5 (from the 
>>> dictionary)
> 
> Which explains your empty dialog! :-)
> 
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
Thank you for the info.

I am using a earlier version and specialfolderpath("resources”) is not
available but specialfolderpath(“desktop”) and others are available.
I don’t think it is possible without specific code written by those who
made the app bundle.  Things like NSBundle etc seem to be built
for use by the app developer and the links don’t work for others
who are not accessing it at that level.

thanks again,
JB


> On Sep 20, 2019, at 10:10 AM, Niggemann, Bernd via use-livecode 
>  wrote:
> 
> 
> answer specialfolderpath("resources")
> ..
> in the standalone and check if that is the folder you manually copied the 
> file(s) to!
> 
> 
> 
> specialfolderpath("resources") was introduced in LC 6.7.5 (from the 
> dictionary)
> 
> 
> Kind regards
> 
> Bernd
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: Access Resource Files

2019-09-20 Thread JB via use-livecode
Thanks again for your help!

JB

> On Sep 20, 2019, at 3:29 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> 
> 
>> Am 20.09.2019 um 12:24 schrieb JB via use-livecode 
>> :
>> 
>> The MacOs folder is there and the file gets added
>> to it automatically.  As for what version I am using
>> it is Revolution Enterprise 4.5.0.  I needed to use
>> some things in the Enterprise version that are
>> only in a commercial version of LiveCode.  When
>> I get some more money I will upgrade to LiveCode
>> commercial version but for now pretty much every
>> thing I want to do with this small program will work
>> with the version I am using.
>> 
>> If I ever get it working correctly I willl let you know.
> 
> fine, thanks, since I am out of ideas in the moment... 8-)
> 
>> Thanks for the help!
>> JB
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
The MacOs folder is there and the file gets added
to it automatically.  As for what version I am using
it is Revolution Enterprise 4.5.0.  I needed to use
some things in the Enterprise version that are
only in a commercial version of LiveCode.  When
I get some more money I will upgrade to LiveCode
commercial version but for now pretty much every
thing I want to do with this small program will work
with the version I am using.

If I ever get it working correctly I willl let you know.

Thanks for the help!
JB


> On Sep 20, 2019, at 3:19 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB
> 
>> Am 20.09.2019 um 12:10 schrieb JB via use-livecode 
>> :
>> 
>> Now this is interesting!
>> 
>> I added the code snipped you just gave me and put
>> it above your other code.
>> 
>> When I clicked the button it worked like a charm as
>> far as copying the file to the desktop.  That is great!
>> 
>> But for some reason the answer dialog appeared
>> like it should but it was empty.  How did adding
>> this before the other code make a difference and
>> how can I make it work without it?
> 
> made a test on my own with the same script and with "Copy files",
> the resulting file on my desktop has an icon and is an exact copy of 
> the original file.
> ..
> answer specialfolderpath("resources")
> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
> put specialfolderpath("resources") & "/3d3.jpg" into tSourceFile
> if there is not a file tTargetfile then
>  put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
> end if
> ..
> 
> And MY answer dialog showed the correct path!?
> What version of LC are you using on what macOS version?
> 
> specialfolderpath("resources") in a standalone gave me:
> (my desktop folder)/el_testo.app/Contents/Resources/_MacOS
> 
> Maybe you need to create that _MacOS folder when copying your
> files manually into the standalone.
> 
>> Thank you very much!
>> JB
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
It only worked correctly that one time and now it is
back to no icon zero bytes.

JB


> On Sep 20, 2019, at 3:02 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 11:54 schrieb JB via use-livecode 
>> :
>> 
>> I used your code as it was and changed the name of the file
>> to match your code.
>> 
>> I did not use Copy files and added it on my own after it
>> was built.  
> 
> as I wrote:
> .. IF you copy your files to the correct folder inside of the APP package.
> 
> Cannot tell which one that is out of my head.
> 
>> I will try adding it to Copy files and see if that makes a difference.
> 
> Let you:
> ..
> answer specialfolderpath("resources")
> ..
> in the standalone and check if that is the folder you manually copied the 
> file(s) to!
> 
>> Thanks again!
>> JB
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
Now this is interesting!

I added the code snipped you just gave me and put
it above your other code.

When I clicked the button it worked like a charm as
far as copying the file to the desktop.  That is great!

But for some reason the answer dialog appeared
like it should but it was empty.  How did adding
this before the other code make a difference and
how can I make it work without it?

Thank you very much!
JB


> On Sep 20, 2019, at 3:02 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 11:54 schrieb JB via use-livecode 
>> :
>> 
>> I used your code as it was and changed the name of the file
>> to match your code.
>> 
>> I did not use Copy files and added it on my own after it
>> was built.  
> 
> as I wrote:
> .. IF you copy your files to the correct folder inside of the APP package.
> 
> Cannot tell which one that is out of my head.
> 
>> I will try adding it to Copy files and see if that makes a difference.
> 
> Let you:
> ..
> answer specialfolderpath("resources")
> ..
> in the standalone and check if that is the folder you manually copied the 
> file(s) to!
> 
>> Thanks again!
>> JB
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
Hi Klaus,

Okay, I tried it again.  This time I added the file using Copy Files
in the StandAlone Settings.  After creating the standAlone the
file was there in the macOs folder not the Resources folder but
that is fine with me and the file was a copy of the original.

I used your code as it is in a button by itself and the same thing
happened.  A file was created with the same name & extension
but it has no icon and is zero bytes.

Thanks for the help again,
JB

> On Sep 20, 2019, at 2:52 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 11:45 schrieb JB via use-livecode 
>> :
>> 
>> Hi Klaus,
>> 
>> That worked but the file that appeared on the desktop had
>> no icon like was there before and the size is zero K.
> 
> hm, I have been working this way since the old Metacard days, so no idea 
> what's wrong.
> Did you use my exact syntax? If not, please post your code.
> 
> Did you create a standalone and added the pic via "Copy files"?
> 
>> JB
>> 
>> 
>>> On Sep 20, 2019, at 2:30 AM, Klaus major-k via use-livecode 
>>>  wrote:
>>> 
>>> Hi JB,
>>> 
>>>> Am 20.09.2019 um 11:11 schrieb JB via use-livecode 
>>>> :
>>>> 
>>>> Hi Klaus,
>>>> 
>>>> Thanks for the info!  A file path alone does not work for me.
>>>> Here is what I have tried.
>>>> In the Stack Script;
>>>> global dirName
>>>> on openStack
>>>> put the defaultFolder into dirName
>>>> end openStack
>>>> —From a button on a card;
>>>> 
>>>> global dirName
>>>> 
>>>> on mouseUp
>>>> --/Users/JB/Desktop/Buss X-82/Buss X-82.app/Contents/Resources/myPic.jpg
>>>> put dirName & "/Buss X-82.app/Contents/Resources/myPic.jpg/" into fPath
>>>> put fPath
>>>> end mouseUp
>>>> 
>>>> That is how I can get a file path but using this path will not work if the 
>>>> path
>>>> directs to a bundle but it will work if the file is not in a bundle.
>>> 
>>> that's why LC gave us the specialfolderpath() codes! 
>>> No need to mess around with DEFAULTFOLDER etc. on different platforms 
>>> anymore.
>>> Especially if Apple likes to change things out of a sudden again! :-D
>>> 
>>>> That being said how do I go about copying this file with 
>>>> specialfolderpath() ?
>>> 
>>> See below...
>>> 
>>>> Do I need to go to the standalone settings and add the file using copy 
>>>> files
>>>> section and then from within my app I can copy that file
>>> 
>>> Yes, that's the way you should work.
>>> 
>>>> but if I add it my self after the .app is made I will not be able to copy 
>>>> it?
>>> 
>>> specialfolderpath("resources") will also work IF you copy your files 
>>> to the correct folder inside of the APP package.
>>> 
>>>> Are you saying this will return the path to my resource in my app and let
>>>> me copy it to the desktop?  Do you have some more examples of copying
>>>> the file with this procedure?
>>> ...
>>> ## Copy your pic inside of the APP package to the Desktop folder:
>>> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
>>> put specialfolderpath("resources") & "/mypic.jpg" into tSourceFile
>>> if there is not a file tTargetfile then
>>> put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
>>> end if
>>> ...
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
I used your code as it was and changed the name of the file
to match your code.

I did not use Copy files and added it on my own after it
was built.  I will try adding it to Copy files and see if that
makes a difference.

Thanks again!
JB


> On Sep 20, 2019, at 2:52 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 11:45 schrieb JB via use-livecode 
>> :
>> 
>> Hi Klaus,
>> 
>> That worked but the file that appeared on the desktop had
>> no icon like was there before and the size is zero K.
> 
> hm, I have been working this way since the old Metacard days, so no idea 
> what's wrong.
> Did you use my exact syntax? If not, please post your code.
> 
> Did you create a standalone and added the pic via "Copy files"?
> 
>> JB
>> 
>> 
>>> On Sep 20, 2019, at 2:30 AM, Klaus major-k via use-livecode 
>>>  wrote:
>>> 
>>> Hi JB,
>>> 
>>>> Am 20.09.2019 um 11:11 schrieb JB via use-livecode 
>>>> :
>>>> 
>>>> Hi Klaus,
>>>> 
>>>> Thanks for the info!  A file path alone does not work for me.
>>>> Here is what I have tried.
>>>> In the Stack Script;
>>>> global dirName
>>>> on openStack
>>>> put the defaultFolder into dirName
>>>> end openStack
>>>> —From a button on a card;
>>>> 
>>>> global dirName
>>>> 
>>>> on mouseUp
>>>> --/Users/JB/Desktop/Buss X-82/Buss X-82.app/Contents/Resources/myPic.jpg
>>>> put dirName & "/Buss X-82.app/Contents/Resources/myPic.jpg/" into fPath
>>>> put fPath
>>>> end mouseUp
>>>> 
>>>> That is how I can get a file path but using this path will not work if the 
>>>> path
>>>> directs to a bundle but it will work if the file is not in a bundle.
>>> 
>>> that's why LC gave us the specialfolderpath() codes! 
>>> No need to mess around with DEFAULTFOLDER etc. on different platforms 
>>> anymore.
>>> Especially if Apple likes to change things out of a sudden again! :-D
>>> 
>>>> That being said how do I go about copying this file with 
>>>> specialfolderpath() ?
>>> 
>>> See below...
>>> 
>>>> Do I need to go to the standalone settings and add the file using copy 
>>>> files
>>>> section and then from within my app I can copy that file
>>> 
>>> Yes, that's the way you should work.
>>> 
>>>> but if I add it my self after the .app is made I will not be able to copy 
>>>> it?
>>> 
>>> specialfolderpath("resources") will also work IF you copy your files 
>>> to the correct folder inside of the APP package.
>>> 
>>>> Are you saying this will return the path to my resource in my app and let
>>>> me copy it to the desktop?  Do you have some more examples of copying
>>>> the file with this procedure?
>>> ...
>>> ## Copy your pic inside of the APP package to the Desktop folder:
>>> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
>>> put specialfolderpath("resources") & "/mypic.jpg" into tSourceFile
>>> if there is not a file tTargetfile then
>>> put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
>>> end if
>>> ...
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
Hi Klaus,

That worked but the file that appeared on the desktop had
no icon like was there before and the size is zero K.

JB


> On Sep 20, 2019, at 2:30 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 11:11 schrieb JB via use-livecode 
>> :
>> 
>> Hi Klaus,
>> 
>> Thanks for the info!  A file path alone does not work for me.
>> Here is what I have tried.
>> In the Stack Script;
>> global dirName
>> on openStack
>>  put the defaultFolder into dirName
>> end openStack
>> —From a button on a card;
>> 
>> global dirName
>> 
>> on mouseUp
>> --/Users/JB/Desktop/Buss X-82/Buss X-82.app/Contents/Resources/myPic.jpg
>> put dirName & "/Buss X-82.app/Contents/Resources/myPic.jpg/" into fPath
>> put fPath
>> end mouseUp
>> 
>> That is how I can get a file path but using this path will not work if the 
>> path
>> directs to a bundle but it will work if the file is not in a bundle.
> 
> that's why LC gave us the specialfolderpath() codes! 
> No need to mess around with DEFAULTFOLDER etc. on different platforms anymore.
> Especially if Apple likes to change things out of a sudden again! :-D
> 
>> That being said how do I go about copying this file with specialfolderpath() 
>> ?
> 
> See below...
> 
>> Do I need to go to the standalone settings and add the file using copy files
>> section and then from within my app I can copy that file
> 
> Yes, that's the way you should work.
> 
>> but if I add it my self after the .app is made I will not be able to copy it?
> 
> specialfolderpath("resources") will also work IF you copy your files 
> to the correct folder inside of the APP package.
> 
>> Are you saying this will return the path to my resource in my app and let
>> me copy it to the desktop?  Do you have some more examples of copying
>> the file with this procedure?
> ...
> ## Copy your pic inside of the APP package to the Desktop folder:
> put specialfolderpath("desktop") & "/mypic.jpg" into tTargetFile
> put specialfolderpath("resources") & "/mypic.jpg" into tSourceFile
> if there is not a file tTargetfile then
>  put url("binfile:" & tSourceFile) into url("binfile:" & tTargetFile)
> end if
> ...
> 
>> JB
> 
> 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: Access Resource Files

2019-09-20 Thread JB via use-livecode
Hi Klaus,

Thanks for the info!  A file path alone does not work for me.

Here is what I have tried.

In the Stack Script;

global dirName

on openStack
   put the defaultFolder into dirName
end openStack

—From a button on a card;

global dirName

on mouseUp
  --/Users/JB/Desktop/Buss X-82/Buss X-82.app/Contents/Resources/myPic.jpg
  put dirName & "/Buss X-82.app/Contents/Resources/myPic.jpg/" into fPath
  put fPath
end mouseUp

That is how I can get a file path but using this path will not work if the path
directs to a bundle but it will work if the file is not in a bundle.

That being said how do I go about copying this file with specialfolderpath() ?
Do I need to go to the standalone settings and add the file using copy files
section and then from within my app I can copy that file but if I add it my
self after the .app is made I will not be able to copy it?

Are you saying this will return the path to my resource in my app and let
me copy it to the desktop?  Do you have some more examples of copying
the file with this procedure?

JB

> On Sep 20, 2019, at 1:46 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi JB,
> 
>> Am 20.09.2019 um 10:34 schrieb JB via use-livecode 
>> :
>> 
>> Does anyone know of a way to access resource files
>> in the StandAlone .app bundle?
>> 
>> Let’s say I want to include a jpg file in my .app bundle
>> & then copy that file to the desktop at various times.
>> 
>> From what I understand if you write a external to copy
>> source file to destination file it will work unless they
>> are in the .app bundle.
>> 
>> I do not want to include a file saved in a different url.
>> This will be a file located in the .app bundle and then
>> saved to the desktop or a user chosen location that
>> is not in a bundle.
>> 
>> My guess is it cannot be done but I would love it if
>> someone proved me wrong.
>> 
>> JB
> 
> everything you add to your standalone via:
> Standalone Application Settings -> Copy files
> can be found in the standalone in:
> specialfolderpath("resources") & "/your wonderful pic.jpg"
> 
> If that is what you mean.
> 
> That specialfolderpath() does also work in the IDE!
> In that case it returns the path to the folder containing the current stack.
> 
> 
> 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


Access Resource Files

2019-09-20 Thread JB via use-livecode
Does anyone know of a way to access resource files
in the StandAlone .app bundle?

Let’s say I want to include a jpg file in my .app bundle
& then copy that file to the desktop at various times.

From what I understand if you write a external to copy
source file to destination file it will work unless they
are in the .app bundle.

I do not want to include a file saved in a different url.
This will be a file located in the .app bundle and then
saved to the desktop or a user chosen location that
is not in a bundle.

My guess is it cannot be done but I would love it if
someone proved me wrong.

JB
___
use-livecode mailing list
use-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: Catalina - the end of ad hoc & in-house development?

2019-09-12 Thread JB via use-livecode
I am still on macOS 10.11.6  so I don’t know much about what
is happening but I was wondering if you transferred the file with
a secure connection like CyberDuck does the download bit get
changed?  Another question that might be a work around is if
you zip the file and then zip the zip of that file does it change
the download bit?

JB

> On Sep 12, 2019, at 1:19 AM, Phil Jimmieson via use-livecode 
>  wrote:
> 
> From experiments that I’ve done, it’s the downloading bit which flags an App 
> as needing special treatment by the OS. If you build it and transfer it via a 
> USB stick (or CD), then it’s ok. It’s when you download it - either as the 
> app itself, or as a zipped version. I think the zip file is flagged as 
> potentially dangerous, and when unzipped, it’s contents similarly flagged. If 
> you share it via a shared Dropbox folder, that also works (but not 
> downloading it from a Dropbox link).
> 
> 
>> On 12 Sep 2019, at 08:26, Richmond via use-livecode 
>>  wrote:
>> 
>> I wonder if downloading-qua-downloading is the problem?
>> 
>> Possibly downloading some sort of compressed file (.zip, .7zx, other type) 
>> and
>> then decompressing it on the target machine will allow installation?
>> 
>> Richmond.
>> 
>> On 12.09.19 8:05, Rick Harrison via use-livecode wrote:
>>> That behavior does not sound any different from
>>> what we have experienced in older versions of
>>> macOS such as High Sierra.  Perhaps it won’t
>>> get worse until later versions of Catalina?
>>> 
>>> Thanks for the test Marty!
>>> 
>>> Rick
>>> 
 On Sep 11, 2019, at 8:43 PM, Marty Knapp via use-livecode 
  wrote:
 
 Just tried my previous tests with non-signed, non-notarized apps with the 
 Catalina beta 8 (just released today) with the same result as beta 7. I 
 also  zipped an app, transferred it to the Catalina machine via thumb 
 drive, then unzipped and ran without complaint or warning. So it would 
 appear that  downloaded apps are what triggers the warning.
 
 Marty
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe 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
> 
> --
> Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976 
> 983164
> Computer Science Dept., Liverpool University, Ashton Building, Ashton Street
> Liverpool L69 3BX  http://intranet.csc.liv.ac.uk/~phil/
> I used to sit on a special medical board... ...but now I use this ointment.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: OSX File Extension

2019-09-07 Thread JB via use-livecode
Thanks for the info!  I guess I will just start
using what I want and see if it catches on.

JB

> On Sep 7, 2019, at 10:39 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Apple no longer maintains a file type code registry.Richard GaskinFourth 
> World Systems
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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


OSX File Extension

2019-09-07 Thread JB via use-livecode
Years ago you could create a file type or extension like jpeg, zip, pict etc.
and then you would need to register that extension with Apple.

If I create a new file extension do I need to register that extension with
Apple or just start using it.

The reason I am asking is I am creating a new form of compression for
files and similar to zip files I want my own extension after the file name.
The compression is not zip or any other and no other program will be
able to expand it.

JB

___
use-livecode mailing list
use-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: Checking the host OS

2019-09-01 Thread JB via use-livecode
On OS X in the terminal you can type:  sysctl hw.machine
and it will display the machine architecture.

I don’t use the shell commands much but it looks like you
can get the info without compiling code by using the code
below.

on mouseUp
   put shell( "sysctl hw.machine" ) into pData
   put pData
end mouseUp

JB


> On Aug 30, 2019, at 8:41 PM, Devin Asay via use-livecode 
>  wrote:
> 
> On Aug 30, 2019, at 9:10 PM, Mark Wieder via use-livecode 
>  wrote:
>> 
>>> On 8/30/19 12:22 PM, Devin Asay via use-livecode wrote:
>>> 
>>> Now that we can build both 32 and 64 bit applications for Windows, it’s 
>>> important to be able to tell whether the host OS is 32 or 64 bit.
>> 
>> Why? If the 64-bit application won't run on the 32-bit system you won't get 
>> as far as your scripted test. Am I missing something?
> 
> No, I’m just toying with the idea of having a 32-bit launcher that would 
> examine the host OS, then launch the proper executable based on whether it is 
> 32 or 64 bit. Sort of like a poor man’s universal app like we used to create 
> for MacOS. It’s possible I’m use way overthinking this. 
> 
> -D
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Checking the host OS

2019-08-31 Thread JB via use-livecode
Below is some c code that will return the architecture on
OS X.

/*  Determine the machine name, e.g. "x86_64". */

#include 
#include 
#include 
#include 

int main(int argc, const char * argv[]) {
size_t size;
sysctlbyname("hw.machine", NULL, , NULL, 0);  // Get size of data to 
be returned.
char *name = malloc(size);
sysctlbyname("hw.machine", name, , NULL, 0);

// Do stuff...
printf("%s\n", name);
free(name);

return 0;
}


/*
 Output:
 
 x86_64
 Program ended with exit code: 0
*/

Compile the above code and access it with a shell command.

JB


> On Aug 30, 2019, at 8:41 PM, Devin Asay via use-livecode 
>  wrote:
> 
> On Aug 30, 2019, at 9:10 PM, Mark Wieder via use-livecode 
>  wrote:
>> 
>>> On 8/30/19 12:22 PM, Devin Asay via use-livecode wrote:
>>> 
>>> Now that we can build both 32 and 64 bit applications for Windows, it’s 
>>> important to be able to tell whether the host OS is 32 or 64 bit.
>> 
>> Why? If the 64-bit application won't run on the 32-bit system you won't get 
>> as far as your scripted test. Am I missing something?
> 
> No, I’m just toying with the idea of having a 32-bit launcher that would 
> examine the host OS, then launch the proper executable based on whether it is 
> 32 or 64 bit. Sort of like a poor man’s universal app like we used to create 
> for MacOS. It’s possible I’m use way overthinking this. 
> 
> -D
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: My sticky fingers

2019-06-10 Thread JB via use-livecode
The keyboard might be worn out.

JB


> On Jun 10, 2019, at 8:05 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> This sounds like the system's key repeat rate is set too fast.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On June 10, 2019 3:44:57 AM Richmond via use-livecode 
>  wrote:
> 
>> Everyyytime I try to type
>> someting m figerrs
>> get stuuuck on the keys to
>> long . . .
>> 
>> Especially in LiveCode (!)
>> 
>> So?
>> 
>> on keyDown
>>  do something
>>  get me the hell out of this so it doesn't happen more than once
>> end keyDown
>> 
>> ?
>> 
>> Richmond.
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe 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: Apple Video Foundation (AVF) and .mpg files

2019-03-26 Thread JB via use-livecode
On OS X 10.11 you can use the shell command with afinfo

JB:desktop JB$ afinfo /Users/JB/Desktop/myFile.mp3
File:   /Users/JB/Desktop/myFile.mp3
File type ID:   MPG3
Num Tracks: 1

Data format: 2 ch,  44100 Hz, '.mp3' (0x) 0 bits/channel, 0 
bytes/packet, 1152 frames/packet, 0 byte
s/frame
no channel layout.
estimated duration: 244.166500 sec
audio bytes: 5859996
audio packets: 9347
bit rate: 192000 bits per second
packet size upper bound: 1052
maximum packet size: 627
audio data file offset: 39692
optimized
——

The above info was returned from a mp3 file using the terminal.

JB


> On Mar 26, 2019, at 1:32 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Livecode 9.x.x uses Apple Video Foundation (AVF) for the LC Player object 
> under OSX.
> AVF supports MPEG-1 video but not MPEG-2 video.
> Both MPEG-1 and MPEG-2 use the .mpg file extenstion.
> 
> Question for any media geniuses on this list: Is there a way in LiveCode to 
> tell a MPEG-1 .mpg file from a MPEG-2.mpg file?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Apple Video Foundation (AVF) and .mpg files

2019-03-26 Thread JB via use-livecode
If you use a shell with linux and maybe mac os since it is unix
and a lot of linux commands work you can try the solutions
on this site;

https://superuser.com/questions/595177/how-to-retrieve-video-file-information-from-command-line-under-linux

The above solutions will show you all kinds of info about the file 
including file type and data rate.

JB


> On Mar 26, 2019, at 1:32 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Livecode 9.x.x uses Apple Video Foundation (AVF) for the LC Player object 
> under OSX.
> AVF supports MPEG-1 video but not MPEG-2 video.
> Both MPEG-1 and MPEG-2 use the .mpg file extenstion.
> 
> Question for any media geniuses on this list: Is there a way in LiveCode to 
> tell a MPEG-1 .mpg file from a MPEG-2.mpg file?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: Mac App Store step by step instructions just updated.

2019-02-21 Thread JB via use-livecode
One thing I have noticed with some software is if I upgrade
to another drive and OS X then a message is shown that
says it does not recognize I purchased it from the Mac App
store and I am asked to log in with my user info to activate
the program.  I don’t know if they check for serial numbers
of the drive or if this is automatic from Apple.

JB

> On Feb 21, 2019, at 2:35 PM, kee nethery via use-livecode 
>  wrote:
> 
> I agree that my software does not need copy protection.
> 
> I’m still interested in seeing if I can add it to my app, just to figure out 
> how it works.
> 
> Kee
> 
>> On Feb 21, 2019, at 2:18 PM, JB via use-livecode 
>>  wrote:
>> 
>> With the low price of software is it really even worth it
>> to copy protect your program?  Most software is not
>> very expensive and it would be like trying to copy
>> protect a song.  People do not want songs to be
>> copy protected.
>> 
>> The majority of software I see on the App store does
>> not have copy protection and I am glad.
>> 
>> Any copy protection you provide can be defeated and
>> it just becomes a hassle for the honest people who did
>> purchase it.  Look at all of the music sold.  Even though
>> some of it is pirated most people will pay for it instead.
>> 
>> If you provide serial numbers don’t you have to spend
>> time on every item sold to give them a unique number?
>> The more you sell the more problems and then you
>> need to let users contact you if they lose the number
>> so they can use their software.
>> 
>> JB
>> 
>> 
>>> On Feb 21, 2019, at 2:06 PM, Matthias Rebbe via use-livecode 
>>>  wrote:
>>> 
>>> I can run it w/o a problem.
>>> 
>>> If i´ve understand it correctly than the developer has to take care about 
>>> the copy protection.
>>> https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573
>>>  
>>> <https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573>
>>> 
>>> Regards,
>>> 
>>> Matthias
>>> 
>>> Matthias Rebbe
>>> 
>>> free tools for Livecoders:
>>> https://instamaker.dermattes.de <https://instamaker.dermattes.de/>
>>> https://winsignhelper.dermattes.de <https://winsignhelper.dermattes.de/>
>>> 
>>>> Am 21.02.2019 um 22:42 schrieb kee nethery via use-livecode 
>>>> mailto:use-livecode@lists.runrev.com>>:
>>>> 
>>>> 
>>>> 
>>>>> On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode 
>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>> wrote:
>>>>> 
>>>>> Kee,
>>>>> 
>>>>> thanks for this great step by step doc. 
>>>>> But i am wondering how  you´ve solved the copy protection? I mean, how 
>>>>> will you take care that the app is not shared and used by an other user 
>>>>> with an other Apple ID? 
>>>>> Do you use any 3rd party tools for it in your app?
>>>> 
>>>> That’s not something I’ve worried about. I thought, perhaps mistakenly, 
>>>> that the App Store handled that. I’ll buy a copy of my paid app and email 
>>>> it to you. You can see if you can run it and we’ll have some idea as to 
>>>> whether the App Store provides copy protection.
>>>> 
>>>> Kee
>>>> 
>>>>> 
>>>>> Matthias
>>>>> 
>>>>> 
>>>>> Matthias Rebbe
>>>>> 
>>>>> free tools for Livecoders:
>>>>> https://instamaker.dermattes.de 
>>>>> <https://instamaker.dermattes.de/><https://instamaker.dermattes.de/ 
>>>>> <https://instamaker.dermattes.de/>>
>>>>> https://winsignhelper.dermattes.de 
>>>>> <https://winsignhelper.dermattes.de/><https://winsignhelper.dermattes.de/ 
>>>>> <https://winsignhelper.dermattes.de/>>
>>>>> 
>>>>>> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode 
>>>>>> >>>>> <mailto:use-livecode@lists.runrev.com><mailto:use-livecode@lists.runrev.com
>>>>>>  <mailto:use-livecode@lists.runrev.com>>>:
>>>>>> 
>>>>>> Signing and Uploading apps to the Mac App Store
>>>>>> 

Re: Mac App Store step by step instructions just updated.

2019-02-21 Thread JB via use-livecode
With the low price of software is it really even worth it
to copy protect your program?  Most software is not
very expensive and it would be like trying to copy
protect a song.  People do not want songs to be
copy protected.

The majority of software I see on the App store does
not have copy protection and I am glad.

Any copy protection you provide can be defeated and
it just becomes a hassle for the honest people who did
purchase it.  Look at all of the music sold.  Even though
some of it is pirated most people will pay for it instead.

If you provide serial numbers don’t you have to spend
time on every item sold to give them a unique number?
The more you sell the more problems and then you
need to let users contact you if they lose the number
so they can use their software.

JB


> On Feb 21, 2019, at 2:06 PM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> I can run it w/o a problem.
> 
> If i´ve understand it correctly than the developer has to take care about the 
> copy protection.
> https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573
>  
> 
> 
> Regards,
> 
> Matthias
> 
> Matthias Rebbe
> 
> free tools for Livecoders:
> https://instamaker.dermattes.de 
> https://winsignhelper.dermattes.de 
> 
>> Am 21.02.2019 um 22:42 schrieb kee nethery via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> 
>> 
>>> On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> Kee,
>>> 
>>> thanks for this great step by step doc. 
>>> But i am wondering how  you´ve solved the copy protection? I mean, how will 
>>> you take care that the app is not shared and used by an other user with an 
>>> other Apple ID? 
>>> Do you use any 3rd party tools for it in your app?
>> 
>> That’s not something I’ve worried about. I thought, perhaps mistakenly, that 
>> the App Store handled that. I’ll buy a copy of my paid app and email it to 
>> you. You can see if you can run it and we’ll have some idea as to whether 
>> the App Store provides copy protection.
>> 
>> Kee
>> 
>>> 
>>> Matthias
>>> 
>>> 
>>> Matthias Rebbe
>>> 
>>> free tools for Livecoders:
>>> https://instamaker.dermattes.de 
>>> >> >
>>> https://winsignhelper.dermattes.de 
>>> >> >
>>> 
 Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode 
 >>> >>:
 
 Signing and Uploading apps to the Mac App Store
 http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store
  
 >
 
 Have gone through the app revision process and my app was reviewed and 
 published so as of yesterday, the step by step instructions are correct. 
 
 Kee Nethery
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com 
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com 
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com 
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing 

Re: LC-apps for HC

2019-01-15 Thread JB via use-livecode
It is too late . . . I already noticed it.
Some things you just can’t change.

JB


> On Jan 15, 2019, at 3:37 PM, Alejandro Tejada via use-livecode 
>  wrote:
> 
> Please dismiss these stray words at
> the end of my previous message:
> 
>> but
>> notice that
> 
> 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: Repeat for each line of a variable or field?

2019-01-12 Thread JB via use-livecode
It is faster to use version 1 because accessing the
lines in a variable is faster than accessing lines in
a field.

JB


> On Jan 12, 2019, at 8:01 AM, David Epstein via use-livecode 
>  wrote:
> 
> I've done a little bit of speed testing showing extremely slight differences, 
> but wonder if anyone who understands the "engine" can advise on this:
> 
> Is there a difference between these two approaches?
> 
> (1) put fld 1 into txt; repeat for each line k in txt; etc.
> 
> and
> (2) repeat for each line k in fld 1; etc.
> 
> For no very good reason, I tend to do (1), but have begun to wonder:  for a 
> very lengthy field 1, does my writing to a variable use up more RAM, and so 
> perhaps injure performance?  Or is the engine in effect writing to a variable 
> either way?  Is a variable read more quickly than a field?  
> 
> Many thanks.
> David Epstein
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Seeking OSX Code signing consultant... [ANSWER]

2018-12-13 Thread JB via use-livecode
That is good!

So, what is the process of selling with Apple?

1.  Pay for a developers license
2.  Create standalone
3.  Get a certificate
4.  Strip out all of the 32-bit files
5.  Code sign the app with terminal or another app
6.  Place app on the app store or wherever

JB


> On Dec 13, 2018, at 1:42 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> For anyone interested, my OSX Code Signing nightmare has been resolved.
> 
> Only one person contacted me with an offer of consulting on an online 
> meeting, Sean Cole of Pi Digital Products Ltd.
> 
> A huge thank you to Sean. Our online meeting lasted 15 minutes. As I 
> expected, in a few minutes he noticed that I was missing an Intermediate 
> Certificate. Once that have been downloaded and installed in my Keychain, I 
> could regenerate and reinstall my app and installer signing certificates from 
> the Apple Developer site and XCode and was able to sign OSX apps again in 
> about another hour of refreshing things after our online meeting was done.
> 
> Should I have probably been able to discover the missing Intermediate 
> Certificate on my own. Well sure, eventually. However, that is the difference 
> between someone who sets up code signing perhaps every 4 years (or more as I 
> noticed by regenerated certificates don't expire until 2023)! It probably 
> would have taken me another couple of DAYS to solve on my own, or I might 
> have figured it out in another few hours. However, some one who has the 
> technical details of code signing fresh on their mind was able to help in 
> minutes.
> 
> Due to the quickness of the resolution Sean was kind enough to offer this aid 
> gratis, but you can bet that the next time Researchware has need of for pay 
> supplemental development assistance, we'll be talking to him again.
> 
> Paul Dupuis
> 
> Researchare
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Xcode for El Capitan

2018-12-07 Thread JB via use-livecode
I am using El Capitan 10.11.6 and my Xcode is
version 8.2.1.  It is possible I missed a later
version but if it was upgraded automatically
then that is the latest version that will work
on my El Capitan.

JB


> On Dec 7, 2018, at 1:22 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Is there any way or place to download Xcode for El Capitan? I think this is 
> Xcode 9?
> 
> The MacOS app store only has Xcode 10.1 (or I can only find 10.1 which 
> requires OSX 10.13+ (High Sierra)
> 
> Any advice would be welcome.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Issues with app delivery!

2018-11-28 Thread JB via use-livecode
That is really nice to know!

thanks,
JB


> On Nov 28, 2018, at 1:39 AM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Another and more comfortable way would be to use App Wrapper 3, in case you 
> own it.
> 
> App Wrapper has a feature called Architecture Cleanup to make Intel 64-Bit or 
> Intel 32-Bit only.
>   
> http://www.ohanaware.com/appwrapper/
> 
> Regards,
> 
> Matthias
> 
> 
> Matthias Rebbe
> 
> free tools for Livecoders:
> https://instamaker.dermattes.de
> https://winsignhelper.dermattes.de
> 
>> Am 28.11.2018 um 09:20 schrieb panagiotis merakos via use-livecode 
>> :
>> 
>> Hello all,
>> 
>> Yes, it seems we have to make sure that the code applied to externals for
>> removing unneeded arch is also applied to revsecurity. Here are detailed
>> instructions on how to do this manually from the terminal (the instructions
>> are for tsNet - just change the path to the one of revsecurity):
>> 
>> See comment 6 in
>> https://quality.livecode.com/show_bug.cgi?id=20946
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Wed, Nov 28, 2018 at 7:07 AM Brian Milby via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Yes, that is the section of code that I was referring to.  So you should be
>>> able to:
>>> lipo revsecurity.dylib -remove i386 -output revsecurity.dylib
>>> 
>>> After changing to the directory containing the file in the terminal.
>>> 
>>> 
 
 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe 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: Issues with app delivery!

2018-11-27 Thread JB via use-livecode
That sounds like the solution.

JB


> On Nov 27, 2018, at 4:44 PM, Rick Harrison via use-livecode 
>  wrote:
> 
> Hi JB,
> 
> I had the build for Mac OS X 64-bit box checked in the
> Standalone Application Settings for my stack.
> 
> I am running High Sierra and so far LiveCode does
> not yet that I know of support Mojave.  I do however
> think that yes this is Apple forcing things forward as
> per usual.
> 
> I believe the team at LiveCode probably just needs
> to recompile revsecurity.dylib to be a 64 bit library
> and everything should work correctly. 
> 
> Rick
> 
>> On Nov 27, 2018, at 4:56 PM, JB via use-livecode 
>>  wrote:
>> 
>> I have never submitted an app on the apple store but
>> I googled i386 and here is what I get.
>> 
>> x86_64 is for 64 bit processors. i386 is for 32 bit processors.
>> 
>> So the question I wonder is does this have something to do with
>> Mojave OS?  From what I have read they will be eliminating the
>> 32 bit programs very soon and i386 is 32 bit.
>> 
>> Is there an option that allows you to select only 64 bit because
>> it sounds like that is what you need.
>> 
>> JB
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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: Issues with app delivery!

2018-11-27 Thread JB via use-livecode
I have never submitted an app on the apple store but
I googled i386 and here is what I get.

x86_64 is for 64 bit processors. i386 is for 32 bit processors.

So the question I wonder is does this have something to do with
Mojave OS?  From what I have read they will be eliminating the
32 bit programs very soon and i386 is 32 bit.

Is there an option that allows you to select only 64 bit because
it sounds like that is what you need.

JB



> On Nov 27, 2018, at 9:27 AM, Rick Harrison via use-livecode 
>  wrote:
> 
> Here is the problem:
> 
> lipo -info /Users/…(PathToMyAppContents)…/Contents/MacOS/revsecurity.dylib 
> are: i386 x86_64
> 
> Notice that at the end it says i386
> 
> That is what apple is complaining about.
> 
> This is clearly a serious LiveCode revsecurity.dylib problem, and without it 
> fixed
> no one can submit a Macintosh App to the Apple App Store.
> 
>> i386 (in com.(..myappname..).app/Contents/MacOS/revsecurity.dylib)
>> App sandbox not enabled - The following executables must include the 
>> "com.apple.security.app-sandbox" entitlement with a Boolean value of true in 
>> the entitlements property list. Refer to the App Sandbox 
>> > > page for more 
>> information on sandboxing your app.
> 
> 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: [ANN] animationEngine is free now

2018-10-02 Thread JB via use-livecode
Thanks for them many years of info, Malte.

JB


> On Oct 2, 2018, at 10:20 AM, Malte Pfaff-Brill via use-livecode 
>  wrote:
> 
> Hey all!
> 
> Thanks for the kind words! And please excuse I did not reply earlier. Rather 
> busy setting up the Promo stuff at the moment.
> 
> I’ll surely keep lurking on the lists. :-) There still will be an OSS project 
> I am stewarding using liveCode, so I'll be in the boat for a while. I just 
> feel that I can not cope with the changed markets for end user software any 
> more. End users expectations seem to be to receive everything at no or very 
> low cost. I blame mobile devices for that. Add to that the permanent struggle 
> with licenses and you have a mix that frustrates me perfectly. With the 
> Kickstarter stuff I like to test the waters if the “new times” still leave 
> opportunities for niche developers, to at least break even on developing 
> something that is not coded as a service / under contract. I hope you do not 
> mind if I post under [OT] label once it goes live (Sunday).
> 
> Cheers,
> 
> Malte
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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

shell - memory

2018-02-22 Thread JB via use-livecode
If I use a shell that calls a external
and it does something like read a
2 GB file into memory but it is not
put into a Livecode variable or any
field etc. does that used memory
get connected to Livecode memory
limits since a Livecode shell called
the external?

JB












'

___
use-livecode mailing list
use-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] self-expanding archives in Mac Classic

2018-02-14 Thread JB via use-livecode
That is good!

JB


> On Feb 14, 2018, at 1:21 PM, Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Actually I managed to find a way to get Stuffit expander 3.5 on Mac OS 9 to 
> do the job :)
> 
> Richmond.
> 
> On 14/2/2018 8:53 pm, JB via use-livecode wrote:
>> What type of self expanding archive?
>> There are different versions of stuffit
>> expander and it might be a disk image
>> that needs to be mounted.
>> 
>> Macintosh Garden has expanders and
>> image mounters for just about any type
>> of archive.  They have a search engine
>> that will show a lot of applications and
>> I think they are your best solution.
>> 
>> Without more info thats all I can do.
>> 
>> JB
>> 
>> 
>>> On Feb 14, 2018, at 4:54 AM, Richmond Mathewson via use-livecode 
>>> <use-livecode@lists.runrev.com> wrote:
>>> 
>>> I have just downloaded a phonetic font I used in 1994 on Mac OS 7.1 when I 
>>> was
>>> doing a Masters degree at SIUC Carbondale. It comes as a .cpt.hqx file.
>>> 
>>> On my iMac PPC G5 running Mac OS 10.4.11 and Classic 9.1.2 it expands with 
>>> Stuffit Expander for Mac OS 9 3.5
>>> into a self-expanding archive, at which point I am quite unable to get it 
>>> to expand.
>>> 
>>> Can anyone help me in this respect?
>>> 
>>> Richmond.
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe 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] self-expanding archives in Mac Classic

2018-02-14 Thread JB via use-livecode
I have not used Classic OS 9 in years but since he
is using it why won’t it work in that?

JB


> On Feb 14, 2018, at 11:12 AM, Bob Sneidar via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> It's an OS 9 executable. Unless you can open it in SheepShaver or some 
> emulator, I think you will have to open it in a computer running OS 9. 
> 
> Bob S
> 
> 
>> On Feb 14, 2018, at 10:53 , JB via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>>> On my iMac PPC G5 running Mac OS 10.4.11 and Classic 9.1.2 it expands with 
>>> Stuffit Expander for Mac OS 9 3.5
>>> into a self-expanding archive, at which point I am quite unable to get it 
>>> to expand.
>>> 
>>> Can anyone help me in this respect?
>>> 
>>> Richmond.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe 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] self-expanding archives in Mac Classic

2018-02-14 Thread JB via use-livecode
What type of self expanding archive?
There are different versions of stuffit
expander and it might be a disk image
that needs to be mounted.

Macintosh Garden has expanders and
image mounters for just about any type
of archive.  They have a search engine
that will show a lot of applications and
I think they are your best solution.

Without more info thats all I can do.

JB


> On Feb 14, 2018, at 4:54 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> I have just downloaded a phonetic font I used in 1994 on Mac OS 7.1 when I was
> doing a Masters degree at SIUC Carbondale. It comes as a .cpt.hqx file.
> 
> On my iMac PPC G5 running Mac OS 10.4.11 and Classic 9.1.2 it expands with 
> Stuffit Expander for Mac OS 9 3.5
> into a self-expanding archive, at which point I am quite unable to get it to 
> expand.
> 
> Can anyone help me in this respect?
> 
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


  1   2   >