Re: App fails to launch after code signing

2021-04-25 Thread Peter Bogdanoff via use-livecode
Also, you don’t want to test the app/installer before signing it—that could 
cause things to fail.

Peter

> On Apr 25, 2021, at 4:44 PM, scott--- via use-livecode 
>  wrote:
> 
> Thanks for that pointer, Phil. It is suggestive of where I should start 
> digging first.
> 
> —
> Scott
> 
>> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode 
>>  wrote:
>> 
>> Hi Scott,
>> 
>> I had something similar with an app that uses revZip. Have a look at this 
>> discussion on livecode’s bug reporter site:
>> 
>> 
>> https://quality.livecode.com/show_bug.cgi?id=23176
>> 
>> Sent from my iPhone
>> 
>> On 25 Apr 2021, at 11:38, scott--- via use-livecode 
>>  wrote:
>> 
>> I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 
>> (rc 5) which is what I had been using. And it worked… which is great but I 
>> have no idea why.
>> 
>> —
>> Scott
>> 
>> 
>> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
>>  wrote:
>> 
>> I have created a standalone Mac app. It launches and works as expected. The 
>> problem is that after code signing it (though it throws a few errors they 
>> seem to all be ones that are generally regarded as bogus error messages) the 
>> app fails to launch.
>> 
>> It reports success for code signing, notarization and staplication.
>> I’m using a lightly modified version of  Matthias Rebbe’s great  < 
>> mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. 
>> Checking with the terminal shows:
>> 
>> "valid on disk”
>> "satisfies its Designated Requirement"
>> 
>> When I look in the console I see this happens when the app tries to launch:
>> 
>> "AddInstanceForFactory: No factory registered for id  
>> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
>> 
>> This app uses the following inclusions (added manually)
>>  tsNet
>>  mergJSON
>>  Revolution Zip
>>  Internet
>>  DataGrid
>> 
>> The Googles seem to indicate that it is associated with AV stuff (primarily 
>> audio) but my app doesn’t do anything like that. Any ideas what this might 
>> mean?
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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


Typing Text Into a Locked Field -- Win Surface

2021-04-20 Thread Peter Bogdanoff via use-livecode
Hi,

I have a customer (in China) who is reporting that she is able to type text 
into a locked field on a Windows Surface device.

Context: a LC 9.6.1 runtime application installed on a Windows Surface computer 
(appears to be a laptop).

Field settings:
lockText = true
transversalOn = true
autoHilite = true


Video sent to me:
https://webfiles-pb.s3.us-east-1.amazonaws.com/video/TypeTextInLockedField.mp4 


Another user in China with a standard Windows computer cannot reproduce that.

I don’t have a Surface to try it out, but my Windows in Parallels installation 
of the app shows it functioning normally.

Does anyone with a Surface see that happen?

Peter Bogdanoff
ArtsInteractive


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


Re: Another question about multiple stack projects

2021-02-16 Thread Peter Bogdanoff via use-livecode
Also, if you are going to notarize the application package after code signing 
in macOS, the files need to be where the standalone maker puts them. Otherwise 
it will fail Apple’s notarization service.

I found this out after trial and error. Previously I had manually put them into 
the package where I liked them to be, which is OK for simple code signing and 
creating and signing the DMG. But not for notarization.

Peter Bogdanoff
ArtsInteractive

> On Feb 16, 2021, at 10:57 AM, William Prothero via use-livecode 
>  wrote:
> 
> What I should have done is search the help files first, but I somehow chose 
> unhelpful search terms, so didn’t see this until this morning. Sorry.
> 
> So it appears that the only purpose of the “Stacks” setting is to set 
> properties for each stack that locates them within the particular app 
> directory. Very convenient.
> 
> For example, suppose one line of the stackfiles property is, by extracting a 
> line from “the stackfiles of this stack":
> appNavigation-Lib,resources/libStacks/appNavigation-Lib.livecodescript(= 
> theSelectedLine)
> 
> put specialFolderPath("resources”)&”/“&(item 2 of theSelectedLine) into 
> tFilePath
> start using tFilePath
> 
> I see, in the IDE, anyway, that no matter where I am in the multiple stacks 
> in the project, that if I do:
> "put the stackfiles of this stack”, I get the list of stackfiles that was 
> entered from the settings.
> 
> Best.
> Bill
> 
> 
>> On Feb 16, 2021, at 8:45 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Listing them in the stack files gives LC the ability to find them when you 
>> refer to them by name only (as opposed to the full path.) In the case of 
>> script only Libraries, you can start using them at any time before you make 
>> a call to them. For instance, I have a database setup card that configures 
>> the database connection when the card is opened. I start using my database 
>> library on openCard. 
>> 
>> Bob S
>> 
>> 
>>> On Feb 15, 2021, at 9:40 PM, William Prothero via use-livecode 
>>>  wrote:
>>> 
>>> Folks:
>>> I have a question about multiple stack projects. My project starts with a 
>>> splash stack. In the standalone preferences of this stack, I list all 
>>> stacks the project uses, including script only stacks I use as libraries. 
>>> Should I do a “Start using” on all of these stacks at this point? But I 
>>> could have just done a “start using” for the required stacks for each of 
>>> the other component stacks when they were first accessed, and got the same 
>>> result?
>>> 
>>> I guess my question is: how does the build process make use of the list of 
>>> stacks in the splash stack? Are they all built into the project in some way 
>>> that doesn’t happen otherwise? I still seem to be required to “Start using” 
>>> each of the library stacks anyway.
>>> 
>>> Best,
>>> Bill
>>> 
>>> William Prothero
>>> waproth...@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
> 
> William Prothero
> waproth...@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: Sign a Mac App, also sign the DMG?

2021-02-04 Thread Peter Bogdanoff via use-livecode
To avoid the unidentifiable developer warning in recent macOS versions, you do 
need it signed. If your market is consumers, that is what they will have.

DropDMG is great.

Peter 

> On Feb 4, 2021, at 8:49 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Paul,
> 
>> Am 04.02.2021 um 17:46 schrieb Paul Dupuis via use-livecode 
>> :
>> 
>> If the App is Signed and Notarized, it is actually best NOT to sign the DMG.
>> Older versions of MacOS (like Mavericks, etc.) have a problem with signed 
>> DMGs
> 
> thank you very much, very helpful!
> 
>>> On 2/4/2021 11:40 AM, Klaus major-k via use-livecode wrote:
>>> Hi friends,
>>> 
>>> quick question, now we have a Mac app, signed and notarized
>>> and what not, is it also neccessary for the DMG we create from
>>> that app for distribution?
>>> 
>>> Thanks for any insight!
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> 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: Spring 2021 xAPI Cohort starts this week -- How to Join -- Was: xAPI Cohort Resources & xAPI in LiveCode

2021-02-02 Thread Peter Bogdanoff via use-livecode
Hi Martin, I’ll be traveling part of the time, but I’ll attend.

Peter

> On Feb 1, 2021, at 12:29 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi to any LiveCode users interested in deploying their solutions in a 
> training environment  
> 
> You may have wanted to make your app available to educators but they need 
> something that will integrate with their Learning Management System (LMS) or 
> store learning activities in their Learning Record Store (LRS)  using the 
> Experience API (xAPI).  
> A group of LiveCoders has formed that will be joining the Spring 2021 xAPI 
> Cohort to learn more about those technologies and work together as a team to 
> see how they could be implemented using LiveCode.
> 
> On the xAPI cohort website https://xapichort.com  it 
> describes the cohort as follows:
> 
> "The xAPI Learning Cohort is a free, vendor-neutral, 12-week 
> learning-by-doing project-based
> team learning experience about the Experience API. “
> 
> The Spring semester of xAPI cohort starts this week so we will have a pre 
> meeting for LiveCoders and then there will be the initial session of the 
> cohort.  See the details below.
> 
> LiveCoders Pre meeting
> Tues Feb 2, 1:00 - 3:00  pm EST.
> If you are interested and want to find out more or want to get involved we 
> are having meeting for people interested on Tues Feb 2, 1:00 - 3:00  pm EST.  
> Respond to this thread if you want to attend and we will send you the Zoom 
> link.
> 
> Spring 2021 xAPI Cohort 
> Thursday Feb 4 2:00 pm to 3:00 pm.
> 
> The first session of the the cohort will happen on Thursday Feb 4, 2021 from 
> 2:00 pm to 3:00 pm.  To attend and get access to the resources available sign 
> up here: https://xapicohort.com/ .  
> Also sign up to their Slack workspace https://xapi-cohort.slack.com/ 
>  to get more information.  Once in the Slack 
> Channel you can join the  #discuss-dev-livecode channel.
> 
> Martin Koob (sending this out on behalf of Brian Duck and the rest of the 
> group)
> ___
> use-livecode mailing list
> use-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: Text field in Windows standalone not receiving keyboard focus

2021-01-29 Thread Peter Bogdanoff via use-livecode
Andrew, are you using Parallels/Windows for testing?

I just saw something somewhat similar where I suddenly couldn’t paste into a 
field; typing did work (Windows 10 running in Parallels, in IDE, not runtime). 
I went to Parallels’ settings for Windows, unchecked and rechecked “Share 
clipboard” and it now worked—could paste text.

Peter Bogdanoff

> On Jan 29, 2021, at 2:48 PM, Andrew at MidWest Coast Media via use-livecode 
>  wrote:
> 
> 
>> - add a keydown handler in the field. Is it received?
> This is received under the same circumstances described before. I can’t add a 
> breakpoint because the Remote Debugger will take focus from the standalone, 
> which is one of the known workarounds. If I add an answer “foo” the focus is 
> properly shifted to the field after the modal.
> 
>> - add a keydown handler in the card. Who's the target?
> The card also doesn’t receive this message until the focus issue is resolved 
> as described before… interesting. 
> 
>> - any front script or other library intercepting keystrokes?
> Nope
> 
>> - any behaviors?
> Datagrid, but not on this field or parent group.
> 
>> And if the normal culprits are exonerated, don't forget the more obscure 
>> and exotic possibilities:
>> 
>> - white text, or textshift?
> Nope, standard text that displays as soon as focus is properly received.
> 
>> - text added but clipped by a tabstop?
> No tabs
> 
>> - does all your startup code get executed? (And preopencard/stack code?)
> No errors thrown
> 
>> - is this a real Windows machine or virtualized setup?
> Win10 Boot Camp install running through Parallels, but the client who 
> complained is on native Win10 box.
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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 Friendly customers....

2021-01-28 Thread Peter Bogdanoff via use-livecode
The customers are friendly. The developers are grouchy.

> On Jan 28, 2021, at 5:12 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Why am I still seeing this? 
> 
> Bob S
> 
> 
>> On Jan 28, 2021, at 4:21 PM, Curry Kenworthy via use-livecode 
>>  wrote:
>> 
>> 
>> Stephen:
>> 
>>> forgive me that last post was supposed to be for Curry only
>> 
>> Stephen, I want to thank you for providing verification of the kind of hate 
>> speech/harrassment you were sending offline.
>> 
>> And for the record, I didn't attack you - I mentioned the FBI's lack of 
>> action when commenting on the proliferation of scams. Didn't start that 
>> thread, nor that topic. Didn't promote politics; stated my position AGAINST 
>> politicizing institutions, so that real crime can be addressed.
>> 
>> Nor did I mention Trump or a political position.
>> 
>> You ILLOGICALLY jumped to the conclusion that I was talking about this 
>> year's political situation (ignoring the details, including the dates that 
>> clearly preceded the situation you have in mind) and decided to mentally 
>> place me into a category of people that you hate.
>> 
>> Then you proceeded to attack ME (based on irrational reasoning) and send me 
>> hateful messages. Along with creepy demands to know which "team" I'm on.
>> 
>> You proactively mentioned Trump and your own brand of politics.
>> I didn't mention any political position to you.
>> 
>> I couldn't care less about your political opinions or proclivities.
>> I'm not bothered if you have "zero respect" or hate me based on your 
>> prejudices and illogical thinking.
>> 
>> I do find it disturbing when I see hatred, but it doesn't bother me 
>> personally when it's directed at me. I'll sleep just fine!
>> 
>> Rest assured that I'm definitely not on your "team."
>> You can keep all that offlist - and remember, I'm not your offlist.
>> Start a hate blog, or talk to your buddies about it.
>> 
>> But I do care about logic. Look at the years: you messed up.
>> All that ranting and raving, interrupting a thread with attacks, all based a 
>> false premise: assuming that I was talking about this year's events. 
>> Congratulations!
>> 
>> Now, can we get back to LC or not?
>> 
>> I've stated that I am AGAINST politicizing organizations including this 
>> list. Nor do I want your offlist rants. LC only please!
>> 
>> Best wishes,
>> 
>> Curry Kenworthy
>> 
>> Custom Software Development
>> "Better Methods, Better Results"
>> LiveCode Training and Consulting
>> http://livecodeconsulting.com/
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

2021-01-18 Thread Peter Bogdanoff via use-livecode
That’s where a image that is not part of the group is useful; it’s only on that 
card. Otherwise you would have to set the background image dynamically on 
preOpenCard based on stored data about that image/card combination.

Peter Bogdanoff

> On Jan 18, 2021, at 4:44 PM, Tim Selander via use-livecode 
>  wrote:
> 
> Right, which is why this is so confusing. I do not want a 'shared text' image.
> Each card should keep it's own unique image, but when I change the image on 
> one card, all the cards end up with the same image. That is what I want to 
> fix.
> 
> Tim Selander
> 
> On 2021.01.19 3:21, Klaus major-k via use-livecode wrote:
>> Hi Tim,
>> 
>>> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode 
>>> :
>>> 
>>> This is driving me nuts.
>>> 
>>> Have a 'background' group with an image. If I change the filename of an 
>>> image on one card, ALL the cards change to that image. Yet a field in the 
>>> same group properly will take unique values for each card.
>>> 
>>> I know I've done this before... what setting am I missing??
>>> Dropbox link to test stack: 
>>> https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0
>> 
>> fields can have a "sharedtext" property, so they can hold different text on 
>> each card if part of a group.
>> Images can NOT!
>> 
>>> Any help appreciated!
>>> 
>>> Tim Selander
>>> Tokyo, Japan
>> 
>> 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


___
use-livecode mailing list
use-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: Threads in LC

2021-01-07 Thread Peter Bogdanoff via use-livecode
Maybe. Maybe not. In spite of all events, this may be the most challenging, 
nay, inscrutable question I have seen this year.

Peter

> On Jan 7, 2021, at 3:07 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> JeeJeeStudio wrote:
> 
> > So what i actually meant is multiprocessing, would that give
> > advantage?
> 
> Maybe.
> 
> Does your Pi_gpio_output function use file I/O calls to the virtual file 
> system in /run, or call an LCB or external using a lower-level interface for 
> GPIO?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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: Encrypting Stack Breaks Field References

2020-12-13 Thread Peter Bogdanoff via use-livecode
Hi Ron,

About ‘it’ — is that supposed to be the name of the new field or something 
else? You can always use “last” to refer to a new control, “the last field” is 
“any object whose number property is equal to the number of objects of that 
type." ‘It’ might have been changed to something else in the meantime…

Peter

> On Dec 13, 2020, at 12:15 PM, Ron Noice via use-livecode 
>  wrote:
> 
> My program (built with LC 9.6.1 Indy Windows) contains a large number of 
> references to fields by variables. For example, instead of refering to [fld 
> "abc"] I refer to [fld tName] where tName is a variable containing "abc" (no 
> quotes).
> 
> This has worked perfectly until I *encrypted* the stack (through the 
> standalone settings). The standalone itself works with no problem; only when 
> I encrypt it does it fight back. Here's a simplified example of what I'm 
> doing:
> 
> create group "grpTree"
> ...
> copy fld "baseBox" to grp "grpTree"
> set the name of it to tName
> set the visible of fld tName to true
> ...
> 
> This gives me a "no such object" error on the "set the visible" line. Through 
> testing, I've determined that
> - tName holds the correct value 
> - a field named with the value of tName has been correctly created
> - but it still seems to be the reference to [fld tName] that is the problem
> 
> This is about building family trees on-the-fly. The largest I've worked with 
> so far has over 450 boxes (fields) in the tree all with connecting lines and 
> all based on the ability to use variables to refer to the fields. At the 
> moment I'm just leaving the stack unencrypted. But inquiring minds would like 
> to know what the problem is. I know others have used this syntax for naming 
> and am sure some of them must have encrypted their stacks. Clearly I'm 
> missing something. 
> 
> Thanks for any brilliant suggestions you may have.
> 
> ... Ron
> ___
> use-livecode mailing list
> use-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: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Peter Bogdanoff via use-livecode
Yesterday I had LC hang when using the red dot on the same line as the 
breakpoint command. LC 9.5.1

Peter



> On Oct 23, 2020, at 5:33 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> It was a hardcoded breakpoint in this form.
> 
> If x<0 then breakpoint
> 
> I wonder if inadvertently triggered "red dot" breakpoints when exiting can 
> cause the same hang?
> 
> 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 Martin Koob via use-livecode
> Sent: Thursday, October 22, 2020 7:53 PM
> To: How to use LiveCode
> Cc: Martin Koob
> Subject: Re: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group 
> in Windows 10)
> 
> Hi Ralph
> 
> I generally experience IDE hang when exiting in all versions of LC 9.x i have 
> used so far (using a Mac however). I haven’t had time to delve into figuring 
> out a recipe I could report as a bug. I just force quit and relaunched 
> LiveCode.  That is just part of my work flow now.  Sometimes it does quit 
> with no hang.  Some things I have tried is closing the script editor, or 
> close and remove from memory before quitting.  I still don’t get consistent 
> results from this though.
> 
> It happens with various stacks I work on from simple to complex.  I thought 
> it may be an extension I have installed that ties up the IDE during the 
> quitting process.  I plan one day to remove all extensions to a bare minimum 
> and see if it still happens.
> 
> Interesting idea about the breakpoint.  Is it a ‘red dot’ soft breakpoint or 
> hard coded ‘breakpoint’ in a line of the script?
> 
> The behaviour of the soft breakpoints I have found inconsistent.   Sometimes 
> they don’t trigger unless I have the script open for at least the first 
> breakpoint I want to trigger. Again I have never really tried to get to the 
> cause, just did workarounds.
> 
> I probably have way to many breakpoints left sitting around.  Maybe I should 
> just delete all breakpoints and start fresh.
> 
> Thanks for the idea.  Maybe that will solve the other problem I am having 
> with the DataGrid.
> 
> Martin
> 
>> On Oct 22, 2020, at 7:32 PM, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> Martin,
>> 
>> I don’t have an answer for that but this post perked my interest in a hang I 
>> was getting. I just found out why the IDE hangs in an apparently tight loop 
>> when it's closing. This happened only on one card of the stack. It had a 
>> closeCard handler in the behavior. A "breakpoint" statement triggered. It 
>> was from early debugging and does not get triggered anymore. It only 
>> triggers if all is not well. There is reference to a property in the main 
>> stack. Could that stack already be closed and the property returns as empty? 
>> Because that would trigger the breakpoint.
>> 
>> Is this a bug or user error?
>> 
>> Win 10
>> LC 9.6.1
>> 
>> Thanks for pushing me(more like  a poke) to finally solve this annoyance.
>> 
>> 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 Martin Koob via use-livecode
>> Sent: Thursday, October 22, 2020 5:19 PM
>> To: use-livecode list
>> Cc: Martin Koob
>> Subject: Can't edit scripts in DataGrid group in Windows 10
>> 
>> Hi all
>> 
>> Maybe this is not good practice but I have DataGrids with script in the 
>> group that contains the DataGrid in addition to the behaviour script of the 
>> DataGrid.   So to edit the script in the DataGrid group I just select the 
>> Datagrid group I right click on the DataGrid and select the ‘Edit Script’ 
>> menu item.   
>> 
>> This works fine on the mac.I just tried this on Windows 10 with LiveCode 
>> 9.6 and when I try to open the same DataGrid following the same process the 
>> script editor opens but it does not load the script.  In fact LiveCode 
>> becomes unresponsive. The script editor dims as if disabled and the cursor 
>> when hovering over the script editor or any other LiveCode windows  is the 
>> hour glass cursor.
>> 
>> If I click on the ‘x’ to close the LiveCode project I get the dialog that 
>> says.
>> 
>>   LiveCode for Windows is not responding
>>   If you close the program, you might lose information.
>>   —>Close the Program
>>   —>Wait for the program to respond.
>> 
>> Eventually I just select ‘Close the program’ since the program never 
>> responds.
>> 
>> I created a test stack with just a DataGrid on it and a button and opened 
>> the group script and was able to add a handler and then save it and reopen 
>> it so it does work in a simple scenario.
>> 
>> In my application I have two dataGrids that have code in the group script.  
>> On has 290 lines the other has about 480 lines.   So it seems the longer 
>> code is a contributing factor.
>> 
>> Has anyone else experienced 

Re: Interface Resolution

2020-10-15 Thread Peter Bogdanoff via use-livecode
Hi John,

I haven’t done this myself, but I suppose you could create a Livecode plugin 
that runs the needed code:

https://livecode.fandom.com/wiki/Creating_a_livecode_plugin

which is basically a LC stack that lives in your local plugins folder. Under 
the IDE Development menu are plugin settings, which includes an option, “Open 
plugin when: ‘LiveCode starts up.’” The plugin stack would have an openStack 
handler that calls the sizing handler.

Or, you could have a script internal to your project that checks the 
environment property so it runs only when in the IDE.

You might want to have a failsafe in case you have to run LC on a smaller 
monitor that would check the size of the monitor—the screenRect property—then 
size down the IDE elements appropriately.

Peter



> On Oct 14, 2020, at 10:09 PM, John McKenzie via use-livecode 
>  wrote:
> 
> 
> Peter, thank you for the information about changing the scale of the
> IDE user interface.
> 
> You mentioned that if I put a script somewhere to affect the IDE
> stacks that it should work. I looked up the IDE stacks as per your
> directions. Thanks for those.
> 
> I do not know where a good somewhere to put such a script would be. Is
> there a directory that gets its scripts execute upon running the IDE?
> Or can I put it anywhere and take other action to have it run with the
> IDE startup?
> 
> Thanks.
> 
> ___
> use-livecode mailing list
> use-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: Interface Resolution

2020-10-13 Thread Peter Bogdanoff via use-livecode
Hi,

You could use scaleFactor to resize the IDE elements, such as:
set the scalefactor of stack "revtools" to 2


If you type into the message box:
put the stacks

you’ll get a list of the IDE stacks:
/Applications/LiveCode Business 
9.5.1.app/Contents/Tools/Toolset/palettes/message box/revmessagebox.8.rev

/Applications/LiveCode Business 
9.5.1.app/Contents/Tools/Toolset/palettes/menubar/revmenubar.livecodescript

/Applications/LiveCode Business 
9.5.1.app/Contents/Tools/Toolset/palettes/tools/revtools.livecodescript

Having a script somewhere that sets the scaleFactor for each should do the 
trick.

Peter Bogdanoff


> On Oct 13, 2020, at 3:40 PM, John McKenzie via use-livecode 
>  wrote:
> 
> 
> Hello, all.
> 
> I do not want to be asking this as it seems like something I can
> easily look up, and it is a simple thing, but I am asking because I just
> could not find out on my own despite trying. Trying allot at that.
> 
> 
> The interface for the Livecode IDE is too small on my fancy, new 4k
> monitor. I have changed OS settings to help with other programs and
> it has for most of them. Some of the unaffected ones had built in
> features to help with the interface resolution and others are still a
> problem for me.
> 
> Livecode is unaffected by everything. Would someone please tell me if
> Livecode has anything inside it to change the IDE interface resolution
> or if I have to depend on my operating system to take care of it?
> 
> Livecode 9.6 build 15516
> Kubuntu 18.04.1
> 
> 
> Every reference I find talks about making your livecode stacks/apps
> look better in 4k while all I care about right now is getting the IDE
> to look legible at 4k.
> 
> Thanks for any help provided. Sorry to ask something like this on the
> list.
> 
> 
> ___
> use-livecode mailing list
> use-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: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Peter Bogdanoff via use-livecode
If the field “Src" contains:

My Trek to Siva
Magical Abodes

Join the author on a tour of ancient Siva temples

then:

set the htmlText of field "Src" to field "Src"

will show HTML-formatted text.


Peter


> On Sep 17, 2020, at 5:41 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Ralph,
> 
> So this did not work. I have 
> 
> [ fld "Src" ]
> 
> My Trek to Siva
> Magical Abodes
> 
> Join the author on a tour of ancient Siva temples
> --
> [ fld "Dest" ]
> 
> My Trek to Siva
> Magical Abodes
> 
> Join the author on a tour of ancient Siva temples
> ---
> It same for both fields. Neither one displays the htmltext text .
> 
> ??
> set the htmltext of fld "checkHTML" to the htmlText of fld "mainText"
> BR
> 
> 
> 
> Ralph DiMola wrote:
> 
>set the htmltext of fld "Dest" to the htmlText of fld "Src"
> 
> ___
> use-livecode mailing list
> use-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: How to get layer for group

2020-09-17 Thread Peter Bogdanoff via use-livecode
I believe this is one of the commands/properties that require you to be on that 
card—it must be open—for completion.

Others are formattedText, etc.

Peter

> On Sep 17, 2020, at 12:09 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> f the layer of fld "checkHtml" > 3 then
>  set the layer of fld "checkHtml" to 3
>   else
>  set the layer of fld "checkHtml" to 20   
>   end if
> 
> # do not work.
> 
> stack "SlideShowSetUp": execution error at line 107 (Object: can't set layer 
> (card not open, or control in group)), char 1
> 
> ??
> 
> ___
> use-livecode mailing list
> use-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: text manipulation with Chinese characters (unicode): guide?

2020-09-09 Thread Peter Bogdanoff via use-livecode
I’ve been working with simplified Chinese for some time now. You can indeed 
move and manipulate the characters quite straightforwardly.

I do see some odd line breaks that show mostly in narrow fields.

If you are working with cross-platform (Mac/Windows) text, you won’t 
necessarily get uniformity between them. Windows text is rendered slightly 
wider. If you’re working on a Mac and setting some text to a particular font, 
the same text that is displayed can be bad if you don’t have the font installed 
on the Windows machine. Font substitution happens, which will look odd. Fonts 
in Chinese are somewhat of a black hole.

Peter Bogdanoff

> On Sep 9, 2020, at 5:37 AM, Paul Dupuis via use-livecode 
>  wrote:
> 
> As mentions, Unicode in a field just works (there is a known issue with Thai 
> word breaks and another with printing Hindi)
> 
> If you want to get Chinese (traditional or simplified) into a field, you can:
> 
> 1)  get the text from a Utf8 ot utf16 text file and textDecode it i.e put url 
> ("file:") into tContent; put textDecode(tContent,"utf8") into fld 
> "someField"
> 2) get the text from an RTF file, like the above, but set the rtfText of the 
> field to the imported rtf data
> 3) use a 3rd party library, like Wordlib (see the livecode store) to read 
> Microsoft Word .docx or Open Office .odt files
> 
> 
> On 9/8/2020 11:55 PM, Eric A. Engle via use-livecode wrote:
>> Hi!
>> 
>> I would like to be able to copy and paste into fields and scripts Chinese 
>> characters, which are of course unicode and then manipulate the resulting 
>> strings.
>> 
>> Is this possible in livecode? How? Are there any good Recent guides to 
>> working with unicode in 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: Cross Platform Font Layout - current workarounds

2020-08-25 Thread Peter Bogdanoff via use-livecode
I’ll chime in on this issue — for the benefit of others who may be wondering 
what is going on in this list.

All existing bugs in LiveCode going back to the distant past could possibly be 
fixed, and display discrepancies resolved, if LiveCode the company dramatically 
increased its revenue from getting a gazzilion more users, tuppling license 
fees, and maybe dramatically cutting expenses by firing all its employees to 
hire programmers in India. Until that happens, we use LiveCode’s flexibility to 
come up with solutions to problems. This is done all the time.

And LC advertises one code base. Technically this is true. “If the platform is 
Mac then do this, if it is Windows then do that.” That works for me as one code 
base for Mac and Windows without creating different code versions.

I have a text-heavy application where font appearance is critical for both 
English and Chinese characters. Just now I added a routine to change in Windows 
Chinese:

1.  modify the HTMLtext of a field to replace instances of Songti SC Regular 
(Mac) with SimSun (Windows)
2. remove paragraph indentions of 8 space characters of Songti SC Regular text 
and instead set the firstIndent of the line to 34
3. set the spaceBelow of each line to match the Mac line spacing

all on the fly as the text loads from an array for each page turn. It’s fast 
and the Chinese translator in China says that it now looks beautiful, when 
before it looked like garbage.

I could curse the darkness, or just program a light bulb and move on.

Peter Bogdanoff


> On Aug 25, 2020, at 8:53 PM, JB via use-livecode 
>  wrote:
> 
> 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


___
use-livecode mailing list
use-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: Quick question: player object callbacks still working?

2020-06-27 Thread Peter Bogdanoff via use-livecode
David,

Specifically what is not working? Setting the callbacks, the callbacks message 
not being sent or received?

Sometimes I’ve seen that the interval between callbacks is so great, that the 
message is never sent before the player ends. That is highly dependent on the 
timeScale of the player. Put in the message box after the file is loaded into 
the player:

put the timeScale of player “”

to see if the numbers make sense. Some files will have very different 
timeScales (a Mac file with 600/second may have a Windows equivalent of a 
number in the millions).

Peter Bogdanoff

> On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode 
>  wrote:
> 
> I’ve been testing an idea for an app - and I can’t get the callbacks property 
> sending of messages. Does it still work with 9.6 MacOS?
> ___
> use-livecode mailing list
> use-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: ADA Compliency

2020-05-29 Thread Peter Bogdanoff via use-livecode
Hi Curry,

Back to your original answer… Thanks for this. I’ve benefited over the years 
from your work and advice.

I’m currently working on adding accessibility to my text and media-heavy music 
application. In trying to find actual information about doing this in a way 
that is both “compliant” and also good UI—I find very little data online. While 
trying to find out what someone in the sight-impared spectrum would consider 
good UI, I only hear “I can only tell you what’s bad, not what you should do.” 
Resources online refer to the WCAG standard which deals primarily with web 
pages and Javascript and only tangently to non-web applications. Also, “hire a 
consultant” meaning only certify compliance so you don’t get sued.

Certain things are easy, like adding subtitles to video/audio for the hearing 
impaired. For the visually impaired, changing the contrast and size of text is 
doable. However, for the visually impaired, making LiveCode compatible with 
screen readers (software that navigates other software by key commands) is out 
of the question for me, so I have to come up with my own design of a navigation 
by keyboard control with a voice prompts system along with text to speech. How 
do I get on the right track with this without “hiring a consultant” or 
interviewing and testing with numbers of people with various disabilities, 
including physical mobility?

It’s a tough one without having buckets of money to put into the 
project—something that may get me compliant but not necessarily more sales. I 
still want to do it, however.

So if the big tech companies with their resources have mixed results, how well 
can small guys expect to do?

I do see accessibility as an issue that will only become more important.

Peter Bogdanoff
ArtsInteractive



> On May 29, 2020, at 10:09 AM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Rick:
> 
> > I have a couple of questions for you.
> 
> Thanks Rick! I do appreciate the concern. But in my post, your questions were 
> already either answered or otherwise addressed before you asked. I 
> anticipated them; I know what makes people tick! So I'll "re-answer" partly 
> by quoting myself.
> 
> But when certain memes are burned so deep into community psyche that answers 
> bounce right off, I feel like we're heading back toward the old failed group 
> think. The same old patronizing ideas and faulty assumptions, while actually 
> ignoring both the main point and the details of what I posted about UI.
> 
> Somehow we have to SHOUT louder than those old memes to get through!
> 
> > Is a trackpad or a trackball any better of an experience for you?
> 
> Heck no! Emphatically no. Much, much worse. Much more difficult. That's why I 
> emphasized my mouse use already, to avoid precisely this type of inevitable 
> question. Just be aware that the old oh handicap people should use blah blah 
> mindset - the memes are sometimes true, but more often not.
> 
> Mouse = good. For handicap man too!
> Trashing a UI to replace scientific arrangement with lickable = bad.
> 
> I said: "I'm very comfortable using the mouse if set up correctly. I switched 
> to Windows for my main work, and that helped save energy and improve 
> accuracy."
> 
> Thus, problem mostly solved on my end, at least when using apps and web sites 
> with non-crappy UI. Pretty easy solution. Handicap man happy.
> 
> But problem not solved on Apple's end. Handicap man sad for Apple!
> It really was a lousy move, destroying a once superior interface.
> 
> > Have you tried using the mac OS voice commands or controls?
> 
> Strike two! Think carefully about the implications of what I said: "I can 
> only say a few words without getting out of breath."
> 
> For people with good breathing, this is a very good thing for typing or for 
> no-hands computer use. But imagining it would be more efficient than mouse 
> for the ability levels I described - and imagining I'm suffering here because 
> I just haven't tried trackpad or voice recognition (I've built Mac apps with 
> voice recognition) - no way. Totally unrealistic!
> 
> Now, a mental interface might be good, that's another story. Some interest 
> there, for the future. But I'm not anywhere near ready for that yet. Privacy 
> concerns etc, plus very importantly - use it or lose it. Without that 
> exercise, the fingers are toast, and I need those guys. Maybe when I'm 80. 
> Maybe I'll design it myself now and use it then.
> 
> > Apple has the money and resources to do it.
> 
> No, probably they don't. They can't. They don't have the brains (or the 
> paradigm) to allow them to do it, not anymore. Not for any amount of money; 
> mental assets are the most crucial. It's sad. I was a huge fan.
> 
> But enough about Apple - as I said, this is a pretty-much universal problem. 
> Only using them as a small example of the problems:
> 
> - Binary thinking about physical abilities
> - Trotting out the same faulty memes and assumptions
> - Placing form above function, 

Re: Special Paste

2020-05-28 Thread Peter Bogdanoff via use-livecode
Hi Charles,

Is this what you’re looking for?:

put the clipboardData["html"] into tStoredData
put the fullClipboardData["text"] into tData
set the clipboardData to tData
paste
set the clipboardData["html"] to tStoredData

Peter Bogdanoff


> On May 28, 2020, at 7:04 AM, Charles Szasz via use-livecode 
>  wrote:
> 
> Both Apple's Pages and Microsoft’s Word software have key commands for 
> pasting text into an existing document to match the current formatting 
> (font). How do you script to accomplish this when copying text to the 
> clipboard in a button so the user does not have to use keyboard commands?
> 
> Sent from my iPad
> ___
> use-livecode mailing list
> use-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: Integrating Desktop or mobile application with LMS using LTI 1.3

2020-05-25 Thread Peter Bogdanoff via use-livecode
Hi Martin,

I’ve just begun looking into this myself, so I’m also interested in what 
anybody knows about this.

Peter Bogdanoff
ArtsInteractive


> On May 25, 2020, at 3:05 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi list
> 
> I have been researching how to integrate a desktop application created with 
> LiveCode with a learning Management system (LMS) like Brightspace by D2L, 
> Moodle, Canvas etc.  Last time I looked at this SCORM was the standard with 
> TinCan( aka xAPI) as a potential successor.   This time around I found those 
> seem to have been  superseded by LTI 1.1  going to LTI 1.3.
> 
> In the documents I have found I see that one of the advantages of LTI 1.3 is 
> that it can be used with desktop and mobile apps.  LTI 1.1 only worked with 
> web based applications.
> 
> " Mobile Ready—The model is independent of web browsers, a better solution 
> for server-to-server, native desktop and mobile applications.”
> https://www.imsglobal.org/why-platforms-and-tools-should-adopt-lti-13 
> 
> 
> I am looking for examples of people doing this but have not found any 
> online.(I don’t want to spend time on idly ddl  I looks like it would be 
> possible to use it in an LiveCode application.  It uses oAuth 2 for 
> authentication and JSON for messages both of which are available on the the 
> latest version of LiveCode.
> 
> First I just want to confirm it has been done for a desktop application in 
> general so I know that is a viable approach for integrating an App into an 
> LMS.
> 
> Second I wonder if people have done it using LiveCode.
> 
> Thanks
> 
> 
> 
> Martin Koob
> 
> ___
> use-livecode mailing list
> use-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: Linking to a LC desktop app with a URL

2020-05-21 Thread Peter Bogdanoff via use-livecode
This is great! Thank you Trevor!


> On May 20, 2020, at 5:01 PM, Trevor DeVore via use-livecode 
>  wrote:
> 
> On Wed, May 20, 2020 at 5:12 PM Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Has anyone worked on the idea of accessing a LiveCode application from a
>> web browser, such as happens with Zoom? With a URL link to a zoom.us
>> page, the webpage shows a dialog:
>> 
>> “Do you want to allow this page to open ‘zoom.us’?”
>> 
>> which then opens the local app zoom.us.
>> 
>> My use for this would be for enabling a user using an online LMS (learning
>> management system) to directly access a location in my application on their
>> local machine.
>> 
>> I see a few methods described online, but was wondering if anyone has
>> experience with this.
>> 
> 
> ScreenSteps uses this technique for sending actions from our web app to our
> desktop. Extensive testing has been done on macOS and Windows. The Levure
> framework has the file_system helper which does most of the work for you
> on Windows, macOS, and iOS so you can look at that code for guidance. You
> can find the source code at the link below. I will link to specific code
> examples below as well.
> 
> https://github.com/trevordevore/levure/tree/develop/framework/helpers/file_system
> 
> There are three parts that make up a working solution - registration,
> processing requests, and triggering requests. Here is a description of
> each. Hopefully I'm not missing anything. I coded this a long time in
> Levure and haven't had to think about it much since.
> 
> 1. Tell the operating system your app can handle a url protocol.
> 
> ## Windows
> 
> You will need to modify the registry. Here is a link to the command that
> updates the registry in the file_system helper:
> https://github.com/trevordevore/levure/blob/develop/framework/helpers/file_system/file_system.livecodescript#L193
> 
> The command uses levureStandaloneFilename(), a framework function that
> returns the full path to the standalone application. Just replace that with
> a similar function so that you can add the full path to your app to the
> registry.
> 
> This command can be called each time your application launches if you want
> to make sure that the version the user just launched is the one the OS will
> send a url request to.
> 
> ## macOS and iOS
> 
> Add the URL protocol you want to add to your Info.plist file. It will look
> something like this (taken from the ScreenSteps Info.plist file) :
> 
> 
>  http://www.apple.com/DTDs/PropertyList-1.0.dtd;>
> 
> 
> ... OTHER STUFF
>  
>
>  CFBundleURLName
>  ScreenSteps URL
>  CFBundleURLSchemes
>  
>x-screensteps-app
>screensteps
>screensteps-4
>  
>
>  
> 
> 
> 2. Process URL requests sent by the OS to your app
> 
> ## Windows
> Process `relaunch` command, extract command line arguments looking for url.
> 
> `relaunch` is handled within main Levure script:
> https://github.com/trevordevore/levure/blob/develop/framework/levure.livecodescript#L46
> 
> The file_system helper processes the parameters though:
> https://github.com/trevordevore/levure/blob/develop/framework/levure.livecodescript#L46
> 
> ## macOS
> Process the appleEvent with pClass "GURL" AND pID "GURL".
> 
> https://github.com/trevordevore/levure/blob/develop/framework/helpers/file_system/file_system.livecodescript#L111
> 
> ## iOS
> Process `urlWakeUp`.
> 
> https://github.com/trevordevore/levure/blob/develop/framework/helpers/file_system/file_system.livecodescript#L65
> 
> 3. Triggering requests
> 
> Triggering requests is as simple as using your custom protocol in an 
> tag in your web page.
> 
> Click me
> 
> Hopefully this helps you implement the behavior in your own app.
> 
> -- 
> Trevor DeVore
> ScreenSteps - https://www.screensteps.com
> Levure App Framework for LiveCode - https://github.com/trevordevore/levure/
> LiveCode Repos -
> https://github.com/search?q=user%3Atrevordevore+topic:livecode
> LiveCode Builder Repos -
> https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
> ___
> use-livecode mailing list
> use-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


Linking to a LC desktop app with a URL

2020-05-20 Thread Peter Bogdanoff via use-livecode
Hi,

Has anyone worked on the idea of accessing a LiveCode application from a web 
browser, such as happens with Zoom? With a URL link to a zoom.us page, the 
webpage shows a dialog:

“Do you want to allow this page to open ‘zoom.us’?” 

which then opens the local app zoom.us.

My use for this would be for enabling a user using an online LMS (learning 
management system) to directly access a location in my application on their 
local machine.

I see a few methods described online, but was wondering if anyone has 
experience with this.

Peter Bogdanoff
ArtsInteractive 





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


Re: Sad truth about iOS apps

2020-05-15 Thread Peter Bogdanoff via use-livecode
Hi Graham,

You might want to look at these kinds of articles:

How to install Catalina on older Mac, update macOS on an old MacBook
https://www.macworld.co.uk/how-to/mac-software/install-catalina-old-mac-3654960/


Peter

> On May 15, 2020, at 9:02 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> As many of you will know, I have been struggling to create an iPhone app - 
> very unfamiliar territory for  me. It’s been an education. Without help from 
> this list and the mother ship I would have been dead in the water long ago. 
> Finally I can see the (beta version of) the app running on my iPhones - 
> yipee! The next step is to get it out there via TestFlight so that a few 
> friends can mess with it.
> 
> I just went through all the hoops with the Apple App Store to reach the magic 
> TestFlight stage, using the XCode Application Loader. Things looked good 
> until this:
> 
>> ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 12.1 
>> SDK. New apps for iPhone or iPad must be built with the iOS 13 SDK or later.”
> 
> My iMac can only run High Sierra, and High Sierra can only run XCode 10.1, 
> and AFAIK that version of XCode only runs SDK 12.1. I think that means I get 
> a new Mac or give up.
> 
> Please tell me if I’m wrong.
> 
> Graham
> 
> PS I would really like a new Mac, but the budget is the problem!
> ___
> use-livecode mailing list
> use-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


Accessibility in LC projects

2020-04-30 Thread Peter Bogdanoff via use-livecode
Hi,

I’m looking at modifying my Music in the Air application to enhance its 
accessibility, specifically for the sight impaired. I would be using text to 
speech to make it what is called in the accessibility world-- “self voicing.” 
The goal is to not only speak the text (which is the easy part in LiveCode), 
but allow the user to identify and control the UI elements by a combination of 
keyboard strokes and speech-to-text identification of the semantic hierarchy of 
objects on the LC card.

Does anyone have experience with this before I jump in and try to invent the 
wheel?

There are screen reader applications, including the built-in VoiceOver on 
MacOS, and a couple of applications for Windows that work with web browsers and 
certain common applications. But as far as I know, I have to script everything 
to emulate a screen reader with a LC application.

Any insight would be much appreciated!

Peter Bogdanoff
ArtsInteractive



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


Re: Groups placed on cards

2020-04-24 Thread Peter Bogdanoff via use-livecode
In testing with a new stack, I see that what I am asking for actually does 
happen. The various placements of the group do  have the same ID and 
configuration. So, I’ll work with my stack to make it happen that way.

Thanks all for your help!

Peter


> On Apr 24, 2020, at 1:43 PM, Brian Milby via use-livecode 
>  wrote:
> 
> Is the group getting a new object ID?  With the place command it should not 
> and you only really have one group.  It will appear on each card that it is 
> placed on.  You do not need to select background behavior, you just need to 
> make the group shared.
> 
> Thanks,
> Brian
> On Apr 24, 2020, 4:01 PM -0400, Peter Bogdanoff via use-livecode 
> , wrote:
>> On the contrary, I want each instance of the group to be exactly the same. 
>> I’m not seeing that when I place a group—it now seems to be a new object.
>> 
>> Peter
>> 
>>> On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode 
>>>  wrote:
>>> 
>>> Peter.
>>> If you have a stack with one card, create a group, and set the 
>>> backGroundBehavior of the group, then any new card you create will 
>>> automatically contain a copy of the group.
>>> If you already have a stack with multiple cards, and create a group 
>>> somewhere, then if you want to copy it to other cards it to be done with 
>>> the "place" command.
>>> You can always add or delete groups with LC gadgetry.
>>> What you really asked, though, was whether the same group that appears on 
>>> multiple cards can each have unique scripts based on the particular 
>>> instance of any of them. I am not sure that group scripts can be so 
>>> compartmentalized. That is why I invited others to chime in. The workaround 
>>> I mentioned is just that, a workaround, unless some combination of 
>>> properties will allow the "same" group to hold its own unique script.
>>> Craig
>>> 
>>> 
>>> -Original Message-
>>> From: Peter Bogdanoff via use-livecode 
>>> To: How to use LiveCode 
>>> Cc: Peter Bogdanoff 
>>> Sent: Fri, Apr 24, 2020 3:22 pm
>>> Subject: Re: Groups placed on cards
>>> 
>>> Thanks Craig,
>>> 
>>>> On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode 
>>>>  wrote:
>>>> 
>>>> Hi.
>>>> You can certainly create a group and set its backgroundbehjavior, then 
>>>> "place" it on any or all existing cards. This assumes that the group comes 
>>>> after the multi-card stack.
>>> 
>>> “...comes after the multi-card stack” Do you mean have the group on its own 
>>> card, then place it elsewhere after that?
>>> 
>>> 
>>>> Then any changes to the physical structure of your group will appear in 
>>>> all instances.
>>>> But I am not sure how you would separate the scripts of such a group. 
>>>> Others may know better.
>>>> You can always, however, tailor the group script to detect the card it is 
>>>> on, and execute only what is pertinent to that card. In the group script:
>>>> on mouseUp switch the number of this cd case 1 answer random(999) break 
>>>> case 2 answer any item of "cat, dog,42" break end switchend mouseUp
>>>> Craig
>>>> 
>>>> 
>>>> -Original Message-
>>>> From: Peter Bogdanoff via use-livecode 
>>>> To: How to use LiveCode 
>>>> Cc: Peter Bogdanoff 
>>>> Sent: Fri, Apr 24, 2020 2:07 pm
>>>> Subject: Groups placed on cards
>>>> 
>>>> Hi,
>>>> 
>>>> I have a stack with multiple cards (not part of a background) and I want 
>>>> to place a group on each card—the same group--AND be able to edit a single 
>>>> group script. And ideally, I would be able to configure as needed the 
>>>> controls of all instances of the group from a single location.
>>>> 
>>>> For example, I have a glossary in a separate stack in another window, but 
>>>> now want to incorporate that stack to display as a pop-down in the main 
>>>> stack window on each (non-background) card.
>>>> 
>>>> In testing, I’m seeing each placement of the group now as a new object.
>>>> 
>>>> This is for both Mac and Windows.
>>>> 
>>>> What would be my options to manage this?
>>>> 
>>>> Thanks,
>>>> 
>>>> Peter Bogdanoff
>>>> _

Re: Groups placed on cards

2020-04-24 Thread Peter Bogdanoff via use-livecode
On the contrary, I want each instance of the group to be exactly the same. I’m 
not seeing that when I place a group—it now seems to be a new object.

Peter 

> On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode 
>  wrote:
> 
> Peter.
> If you have a stack with one card, create a group, and set the 
> backGroundBehavior of the group, then any new card you create will 
> automatically contain a copy of the group.
> If you already have a stack with multiple cards, and create a group 
> somewhere, then if you want to copy it to other cards it to be done with the 
> "place" command.
> You can always add or delete groups with LC gadgetry.
> What you really asked, though, was whether the same group that appears on 
> multiple cards can each have unique scripts based on the particular instance 
> of any of them. I am not sure that group scripts can be so compartmentalized. 
> That is why I invited others to chime in. The workaround I mentioned is just 
> that, a workaround, unless some combination of properties will allow the 
> "same" group to hold its own unique script.
> Craig 
> 
> 
> -Original Message-
> From: Peter Bogdanoff via use-livecode 
> To: How to use LiveCode 
> Cc: Peter Bogdanoff 
> Sent: Fri, Apr 24, 2020 3:22 pm
> Subject: Re: Groups placed on cards
> 
> Thanks Craig, 
> 
>> On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode 
>>  wrote:
>> 
>> Hi.
>> You can certainly create a group and set its backgroundbehjavior, then 
>> "place" it on any or all existing cards. This assumes that the group comes 
>> after the multi-card stack.
> 
> “...comes after the multi-card stack” Do you mean have the group on its own 
> card, then place it elsewhere after that?
> 
> 
>> Then any changes to the physical structure of your group will appear in all 
>> instances.
>> But I am not sure how you would separate the scripts of such a group. Others 
>> may know better.
>> You can always, however, tailor the group script to detect the card it is 
>> on, and execute only what is pertinent to that card. In the group script:
>> on mouseUp  switch the number of this cd    case 1  answer random(999)   
>>breakcase 2  answer any item of "cat, dog,42"  break  end 
>> switchend mouseUp
>> Craig  
>> 
>> 
>> -Original Message-
>> From: Peter Bogdanoff via use-livecode 
>> To: How to use LiveCode 
>> Cc: Peter Bogdanoff 
>> Sent: Fri, Apr 24, 2020 2:07 pm
>> Subject: Groups placed on cards
>> 
>> Hi,
>> 
>> I have a stack with multiple cards (not part of a background) and I want to 
>> place a group on each card—the same group--AND be able to edit a single 
>> group script.  And ideally, I would be able to configure as needed the 
>> controls of all instances of the group from a single location.
>> 
>> For example, I have a glossary in a separate stack in another window, but 
>> now want to incorporate that stack to display as a pop-down in the main 
>> stack window on each (non-background) card. 
>> 
>> In testing, I’m seeing each placement of the group now as a new object.
>> 
>> This is for both Mac and Windows.
>> 
>> What would be my options to manage this?
>> 
>> Thanks,
>> 
>> Peter Bogdanoff
>> ___
>> use-livecode mailing list
>> use-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: Groups placed on cards

2020-04-24 Thread Peter Bogdanoff via use-livecode
Thanks Craig, 

> On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode 
>  wrote:
> 
> Hi.
> You can certainly create a group and set its backgroundbehjavior, then 
> "place" it on any or all existing cards. This assumes that the group comes 
> after the multi-card stack.

“...comes after the multi-card stack” Do you mean have the group on its own 
card, then place it elsewhere after that?


> Then any changes to the physical structure of your group will appear in all 
> instances.
> But I am not sure how you would separate the scripts of such a group. Others 
> may know better.
> You can always, however, tailor the group script to detect the card it is on, 
> and execute only what is pertinent to that card. In the group script:
> on mouseUp  switch the number of this cdcase 1  answer random(999)
>   breakcase 2  answer any item of "cat, dog,42"  break  end 
> switchend mouseUp
> Craig  
> 
> 
> -Original Message-
> From: Peter Bogdanoff via use-livecode 
> To: How to use LiveCode 
> Cc: Peter Bogdanoff 
> Sent: Fri, Apr 24, 2020 2:07 pm
> Subject: Groups placed on cards
> 
> Hi,
> 
> I have a stack with multiple cards (not part of a background) and I want to 
> place a group on each card—the same group--AND be able to edit a single group 
> script.  And ideally, I would be able to configure as needed the controls of 
> all instances of the group from a single location.
> 
> For example, I have a glossary in a separate stack in another window, but now 
> want to incorporate that stack to display as a pop-down in the main stack 
> window on each (non-background) card. 
> 
> In testing, I’m seeing each placement of the group now as a new object.
> 
> This is for both Mac and Windows.
> 
> What would be my options to manage this?
> 
> Thanks,
> 
> Peter Bogdanoff
> ___
> use-livecode mailing list
> use-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


Groups placed on cards

2020-04-24 Thread Peter Bogdanoff via use-livecode
Hi,

I have a stack with multiple cards (not part of a background) and I want to 
place a group on each card—the same group--AND be able to edit a single group 
script.  And ideally, I would be able to configure as needed the controls of 
all instances of the group from a single location.

For example, I have a glossary in a separate stack in another window, but now 
want to incorporate that stack to display as a pop-down in the main stack 
window on each (non-background) card. 

In testing, I’m seeing each placement of the group now as a new object.

This is for both Mac and Windows.

What would be my options to manage this?

Thanks,

Peter Bogdanoff
___
use-livecode mailing list
use-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: Go to card has become slow

2020-04-02 Thread Peter Bogdanoff via use-livecode
Also, any audio/video files that load?


> On Apr 2, 2020, at 1:46 PM, Pi Digital via use-livecode 
>  wrote:
> 
> Hi Terry
> 
> Are there any big images on the first card? Any layer effects or blend modes? 
> Anything graphic based that could be attributed to the slow down. 
> 
> Sean Cole
> Pi
> 
>> On 2 Apr 2020, at 20:27, Terence Heaford via use-livecode 
>>  wrote:
>> 
>> I have a project that opens at a particular card.
>> 
>> When I go to another card (any card) it’s very snappy.
>> 
>> When I return to the original card (from any card) I have noticed a second 
>> or two delay before it happens.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: DataGrid question...

2020-03-30 Thread Peter Bogdanoff via use-livecode
Does anyone have a link to obtain Bernd's modTableField ?

Peter Bogdanoff


> On Mar 30, 2020, at 1:07 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> In modTableField there’s a function for that:
> mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName
> 
>> On Mar 30, 2020, at 3:49 AM, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> I don't know of a simple way to do it.
>> 
>> However, Bernd's modTableField does do it, and it uses regular fields, and 
>> it's open source - so I took a very quick look there.
>> 
>> It's not simple :-)
>> 
>> But there's a function 'gatherItemClickedInfo' that (with some 
>> modifications) might be the foundation of a general handler for you.
> 
> ___
> use-livecode mailing list
> use-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: Finding words with diacriticals

2020-03-16 Thread Peter Bogdanoff via use-livecode
Craig,

This is exactly what I was needing. 

“the number of words in char 1 to char x of the field" does it.

Thank you!!!

Peter

> On Mar 15, 2020, at 2:48 PM, dunbarx--- via use-livecode 
>  wrote:
> 
> Hi.
> I may not really understand what you want, but doesn't the "Find string" 
> variant solve your problem?
> If you have a field 1 with "cat" on line 1, with "cât" on line 2 and "cat" on 
> line 3, that is, the line 2 "cat" has charToNum(137) in place of the standard 
> "a".
> on mouseUpfind string numToChar(137) in fld 1put the number of words in char 
> 1 to word 2 of the foundChunk of fld 1 into tempanswer "Word" && temp && 
> "="&& word temp of fld 1end mouseUp
> The point being that once you have the result of "find String", you can 
> engineer all the other stuff you need, such as the words that contain the odd 
> char, the lines they reside in, etc.
> Craig
> 
> 
> 
> -Original Message-
> From: Peter Bogdanoff via use-livecode 
> To: How to use LiveCode 
> Cc: Peter Bogdanoff 
> Sent: Sat, Mar 14, 2020 7:48 pm
> Subject: Finding words with diacriticals
> 
> Hi,
> 
> I have a text search that in which I’m trying to improve the UI.
> 
> I have this text:
> 
> Edgard Varèse (Poème électronique) was a pioneer in the application of tape 
> recording technology to composition.
> 
> The search database, built with Scott McDonald’s rrpSearch plugin, can only 
> be searched using the exact characters. So, I’m building a supplementary 
> array of words with alternate spellings that the user might type in the 
> search box. I would reference the array to get an equivalent word and so 
> provide the user with a usable result.
> 
> So if the user types in “poeme” — I would find “poeme” in the array and its 
> equivalent “Poème” and I would actually search for “Poème” — and the user 
> would get a result that included “Poème”.
> 
> 
> So I want to build this array of word equivalents. The search database is 
> built by rrpSearch from text on cards, so I have to go back to these cards to 
> get my data. I’m using the find command to search cards to find every 
> instance of  “è” or “é” or “ü” or “î” or whatever. There are many non-English 
> words in the text. The foundText function should give me the words that 
> contain that character—except it doesn’t in every case. It only finds words 
> that BEGIN with the search text. So
> 
> électronique — found (char begins the word)
> Varèse — not found (char is in middle of the word)
> Poème — not found (char is in middle of the word)
> 
> I’m using “find” and “the foundText” which returns the whole word that 
> contains the search character. No other form of find will return the whole 
> word. The dictionary for foundText:
> 
>  string "hurl", such as "hurling" or "hurler". In this case, the entire word 
> --not just the portion specified in the find command --is surrounded by a 
> box, and the foundText returns the entire word.>
> 
> Is there another relatively simple way to get the whole word in which the 
> desired characters live? There are dozens of fields on thousands of cards to 
> search.
> 
> (I realize that there are far better ways to handle a search, and in the 
> future, I will have a database that I will design myself--but not yet.)
> 
> Thanks,
> 
> Peter Bogdanoff
> ArtsInteractive
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Finding words with diacriticals

2020-03-14 Thread Peter Bogdanoff via use-livecode
Hi,

I have a text search that in which I’m trying to improve the UI.

I have this text:

Edgard Varèse (Poème électronique) was a pioneer in the application of tape 
recording technology to composition.

The search database, built with Scott McDonald’s rrpSearch plugin, can only be 
searched using the exact characters. So, I’m building a supplementary array of 
words with alternate spellings that the user might type in the search box. I 
would reference the array to get an equivalent word and so provide the user 
with a usable result.

So if the user types in “poeme” — I would find “poeme” in the array and its 
equivalent “Poème” and I would actually search for “Poème” — and the user would 
get a result that included “Poème”.


So I want to build this array of word equivalents. The search database is built 
by rrpSearch from text on cards, so I have to go back to these cards to get my 
data. I’m using the find command to search cards to find every instance of  “è” 
or “é” or “ü” or “î” or whatever. There are many non-English words in the text. 
The foundText function should give me the words that contain that 
character—except it doesn’t in every case. It only finds words that BEGIN with 
the search text. So

électronique — found (char begins the word)
Varèse — not found (char is in middle of the word)
Poème — not found (char is in middle of the word)

I’m using “find” and “the foundText” which returns the whole word that contains 
the search character. No other form of find will return the whole word. The 
dictionary for foundText:



Is there another relatively simple way to get the whole word in which the 
desired characters live? There are dozens of fields on thousands of cards to 
search.

(I realize that there are far better ways to handle a search, and in the 
future, I will have a database that I will design myself--but not yet.)

Thanks,

Peter Bogdanoff
ArtsInteractive





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


Re: Progressive Web App (PWA)

2020-02-18 Thread Peter Bogdanoff via use-livecode
Does anyone have a reply to Ingar’s original question?


> On Feb 18, 2020, at 6:16 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Aren't all discussions political? ;-)
> 
> Bob S
> 
> 
>> On Feb 16, 2020, at 13:33 , doc hawk via use-livecode 
>>  wrote:
>> 
>> On Feb 16, 2020, at 5:15 AM, Paul Dupuis via use-livecode 
>>  wrote:
>>> 
>>> "A progressive web application is a type of application software delivered 
>>> through the web, built using common web technologies including HTML, CSS 
>>> and JavaScript. It is intended to work on any platform that uses a 
>>> standards-compliant browser.”
>> 
>> 
>> And foolish me thought we were going to have a political discussion . . .
>> 
>> :)
> 
> ___
> use-livecode mailing list
> use-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: player bug

2020-02-18 Thread Peter Bogdanoff via use-livecode
And I’ll add that the bug truly manifests itself when the file is non-existent 
on your local machine, if that makes any sense!

If you’re trying to read a non-existent file from a remote server, there seems 
to be slow downs while the file is being requested, but not the 
non-responsiveness of the other.

Peter


> On Feb 18, 2020, at 8:04 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> I’ve experienced this for some time now. I haven’t reported it, though.
> 
> Peter
> 
>> On Feb 18, 2020, at 6:38 PM, Neville via use-livecode 
>>  wrote:
>> 
>> Has this been reported already?
>> 
>> if I try to play a non-existent audio file in the player object (LC 9.5.1 on 
>> Mac) LC stop responding to events - no menus or input work except for moving 
>> windows ; not exactly a hang, since the Activity Monitor says LiveCode is 
>> still working. Force Quit is the only way out.
>> 
>> Neville
>> ___
>> use-livecode mailing list
>> use-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: player bug

2020-02-18 Thread Peter Bogdanoff via use-livecode
I’ve experienced this for some time now. I haven’t reported it, though.

Peter

> On Feb 18, 2020, at 6:38 PM, Neville via use-livecode 
>  wrote:
> 
> Has this been reported already?
> 
> if I try to play a non-existent audio file in the player object (LC 9.5.1 on 
> Mac) LC stop responding to events - no menus or input work except for moving 
> windows ; not exactly a hang, since the Activity Monitor says LiveCode is 
> still working. Force Quit is the only way out.
> 
> Neville
> ___
> use-livecode mailing list
> use-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: YouTube video synchronisation

2020-02-15 Thread Peter Bogdanoff via use-livecode
Yes, that is right.

> On Feb 15, 2020, at 12:29 PM, JJS via use-livecode 
>  wrote:
> 
> Hopefully it will help you.
> 
> I did not work with thes yet, but i remembered there were some commands when 
> i was checking the API out some time ago because of some bug which seems not 
> to happen as of Android 8.
> 
> In Android when user pushes the Power button, a Youtube movie should stop and 
> sound should stop. This was not the case with an Android lower than 8 and 
> thus Google refused the app, until i increased the target. There is a bug 
> report for it.
> 
> But i guess yours is for desktop.
> 
> 
> Op 15-2-2020 om 17:47 schreef Peter Bogdanoff via use-livecode:
>> No, I’m wrong, I DO see very useful functions in the IFrame Player API page 
>> like these:
>> 
>> player.getCurrentTime():Number
>> player.getDuration():Number
>> player.getPlayerState():Number
>> player.getVideoUrl():String
>> https://developers.google.com/youtube/player_parameters 
>> <https://developers.google.com/youtube/player_parameters> 
>> <https://developers.google.com/youtube/player_parameters 
>> <https://developers.google.com/youtube/player_parameters>>
>> 
>> Also parameters such as:
>> 
>> startThis parameter causes the player to begin playing the video at 
>> the given number of seconds from the start of the video.
>> https://developers.google.com/youtube/player_parameters 
>> <https://developers.google.com/youtube/player_parameters> 
>> <https://developers.google.com/youtube/player_parameters 
>> <https://developers.google.com/youtube/player_parameters>>
>> 
>> I’ll try this out!
>> 
>> Peter Bogdanoff
>> ArtsInteractive
>> 
>> 
>>> On Feb 15, 2020, at 11:19 AM, Peter Bogdanoff via use-livecode 
>>>  wrote:
>>> 
>>> Thanks, I looked at the APIs there, but I’m not seeing anything appropriate.
>>> 
>>> Peter
>>> 
>>> 
>>>> On Feb 15, 2020, at 9:35 AM, JJS via use-livecode 
>>>>  wrote:
>>>> 
>>>> perhaps by using the youtube api in some way
>>>> 
>>>> https://developers.google.com/youtube/v3
>>>> 
>>>> 
>>>> Op 14-2-2020 om 06:39 schreef Peter Bogdanoff via use-livecode:
>>>>> Hi,
>>>>> 
>>>>> Along the lines of the other conversation about sync of sound and vision:
>>>>> 
>>>>> Is there a way when I've loaded a YouTube page in the browser widget to 
>>>>> capture the current time from the YouTube page video player 
>>>>> (".html5-video-player”) as it plays?
>>>>> 
>>>>> Peter Bogdanoff
>>>>> ArtsInteractive
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> <http://lists.runrev.com/mailman/listinfo/use-livecode>
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> <http://lists.runrev.com/mailman/listinfo/use-livecode>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: YouTube video synchronisation

2020-02-15 Thread Peter Bogdanoff via use-livecode
No, I’m wrong, I DO see very useful functions in the IFrame Player API page 
like these:

player.getCurrentTime():Number
player.getDuration():Number
player.getPlayerState():Number
player.getVideoUrl():String
https://developers.google.com/youtube/player_parameters 
<https://developers.google.com/youtube/player_parameters>

Also parameters such as:

start   This parameter causes the player to begin playing the video at the 
given number of seconds from the start of the video.
https://developers.google.com/youtube/player_parameters 
<https://developers.google.com/youtube/player_parameters>

I’ll try this out!

Peter Bogdanoff
ArtsInteractive


> On Feb 15, 2020, at 11:19 AM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Thanks, I looked at the APIs there, but I’m not seeing anything appropriate.
> 
> Peter
> 
> 
>> On Feb 15, 2020, at 9:35 AM, JJS via use-livecode 
>>  wrote:
>> 
>> perhaps by using the youtube api in some way
>> 
>> https://developers.google.com/youtube/v3
>> 
>> 
>> Op 14-2-2020 om 06:39 schreef Peter Bogdanoff via use-livecode:
>>> Hi,
>>> 
>>> Along the lines of the other conversation about sync of sound and vision:
>>> 
>>> Is there a way when I've loaded a YouTube page in the browser widget to 
>>> capture the current time from the YouTube page video player 
>>> (".html5-video-player”) as it plays?
>>> 
>>> Peter Bogdanoff
>>> ArtsInteractive
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-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: YouTube video synchronisation

2020-02-15 Thread Peter Bogdanoff via use-livecode
Thanks, I looked at the APIs there, but I’m not seeing anything appropriate.

Peter


> On Feb 15, 2020, at 9:35 AM, JJS via use-livecode 
>  wrote:
> 
> perhaps by using the youtube api in some way
> 
> https://developers.google.com/youtube/v3
> 
> 
> Op 14-2-2020 om 06:39 schreef Peter Bogdanoff via use-livecode:
>> Hi,
>> 
>> Along the lines of the other conversation about sync of sound and vision:
>> 
>> Is there a way when I've loaded a YouTube page in the browser widget to 
>> capture the current time from the YouTube page video player 
>> (".html5-video-player”) as it plays?
>> 
>> Peter Bogdanoff
>> ArtsInteractive
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


YouTube video synchronisation

2020-02-13 Thread Peter Bogdanoff via use-livecode
Hi,

Along the lines of the other conversation about sync of sound and vision:

Is there a way when I've loaded a YouTube page in the browser widget to capture 
the current time from the YouTube page video player (".html5-video-player”) as 
it plays?

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


Re: HyperCard: the Myst story

2020-02-12 Thread Peter Bogdanoff via use-livecode
Hi Graham,

I congratulate you on your ambition to do this! It seems that the days are long 
gone when people will pay attention to a content product because it is just 
that. All the attention (i.e. funding) has moved on to scalable platforms 
rather than individual works of artifice!

Yes, when we started showing people our desktop Music In the Air program they 
would ask immediately about web delivery, and I looked into LC’s HTML 5. But it 
definitely turns out that desktop is more doable, cheaper, and technically 
capable for our program, so we’re sticking with that for the present. 

Most of our customers have their own personal machine, but school labs can be 
problematic when the lab admin doesn’t want to install an application. I don’t 
have enough experience with this to say definitely, but very likely schools 
with younger students will rely on lab computers with possible restrictions. 
Also, an app with its required installation probably will have less 
discoverability by potential users compared to a web application which can be 
tried out and used immediately.

I’ll address your questions about sync in your other posting.

Peter
ArtsInteractive

> On Feb 12, 2020, at 5:11 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> Thanks Peter
> 
> It’s encouraging to know about the re-configuring. When I first thought of my 
> project, some years ago, I could not get any sensible response out of the 
> original publisher, and eventually gave up, but now I am thinking of reviving 
> the idea. I think sadly the copyright holder of the CD-ROM is the actual book 
> publisher, which means I will have to re-do the weary round of trying to get 
> them to respond. I have an ancient Mac running OS 7 I believe, just to enable 
> me to look at the CD-ROM in its original form. Better do something before it 
> stops working!
> 
> I am interested in the fact that you are re-configuring your CD-ROM material 
> as desktop applications. That was my original idea for my project, but now I 
> wonder if it should be an app, or indeed whether HTML5 would actually work 
> (using LiveCode of course, as you say!). My target audience are probably 
> ordinary folks interested in poetry, and schools. Are your users happy with 
> the desktop solution?
> 
> Hope this isn’t getting too OT.
> 
> Graham
> 
>> On 11 Feb 2020, at 19:26, Peter Bogdanoff via use-livecode 
>>  wrote:
>> 
>> Hi Graham,
>> 
>> It might be easier to track down the copyright holder of the CD-ROM and 
>> offer to re-publish on a different platform. Copyrights on the design of the 
>> program/disc itself will definitely apply for a long time.
>> 
>> We are re-configuring some of our earlier work HC into LiveCode as desktop 
>> applications. Some things can be, of course, done in as HTML 5. Copyright is 
>> always an issue, especially for licensed, recorded music.
>> 
>> There is obviously a quite large body of great-quality CD-ROM content discs 
>> from the 1990-2000s that have slipped into the dustbin of history—no longer 
>> compatible with digital content delivery methods today—with no easy path to 
>> their revival. Authors and companies have moved on, licensing has expired, 
>> original files used to create the stuff are on old media (Zip drives) or 
>> have disappeared. But with effort, it can be done, and in LiveCode, of 
>> course!
>> 
>> Peter Bogdanoff
>> ArtsInteractive
>> 
>>> On Feb 11, 2020, at 12:58 PM, Graham Samuel via use-livecode 
>>>  wrote:
>>> 
>>> That’s excellent information - I would still have to tackle any missed out 
>>> (obviously I haven’t checked yet) and presumably all the recordings of the 
>>> poet speaking which are much more recent than the composition dates (though 
>>> I don’t understand US copyright laws). And there’s Richard Wilbur’s essay… 
>>> (sigh). Would what one might call the “production design” of a CD-ROM (the 
>>> look, the graphics, the order of presentation etc) be subject to copyright? 
>>> I suppose it’s intellectual property. Sorry, this is getting OT.
>>> 
>>> Graham
>>> 
>>>> On 11 Feb 2020, at 15:49, dev via use-livecode 
>>>>  wrote:
>>>> 
>>>> https://publicdomain4u.com/as-of-january-1-2019-these-robert-frost-poems-are-public-domain/
>>>> 
>>>> 
>>>>> On Feb 11, 2020, at 2:56 AM, Graham Samuel via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> Personally I have a pet project to re-purpose a very elaborate CD-ROM 
>>>>> about Robert Frost, published by Henry Holt in 1997, but I can never get 
>>>>> anyone to tal

Re: HyperCard: the Myst story

2020-02-11 Thread Peter Bogdanoff via use-livecode
Hi Graham,

It might be easier to track down the copyright holder of the CD-ROM and offer 
to re-publish on a different platform. Copyrights on the design of the 
program/disc itself will definitely apply for a long time.

We are re-configuring some of our earlier work HC into LiveCode as desktop 
applications. Some things can be, of course, done in as HTML 5. Copyright is 
always an issue, especially for licensed, recorded music.

There is obviously a quite large body of great-quality CD-ROM content discs 
from the 1990-2000s that have slipped into the dustbin of history—no longer 
compatible with digital content delivery methods today—with no easy path to 
their revival. Authors and companies have moved on, licensing has expired, 
original files used to create the stuff are on old media (Zip drives) or have 
disappeared. But with effort, it can be done, and in LiveCode, of course!

Peter Bogdanoff
ArtsInteractive

> On Feb 11, 2020, at 12:58 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> That’s excellent information - I would still have to tackle any missed out 
> (obviously I haven’t checked yet) and presumably all the recordings of the 
> poet speaking which are much more recent than the composition dates (though I 
> don’t understand US copyright laws). And there’s Richard Wilbur’s essay… 
> (sigh). Would what one might call the “production design” of a CD-ROM (the 
> look, the graphics, the order of presentation etc) be subject to copyright? I 
> suppose it’s intellectual property. Sorry, this is getting OT.
> 
> Graham
> 
>> On 11 Feb 2020, at 15:49, dev via use-livecode 
>>  wrote:
>> 
>> https://publicdomain4u.com/as-of-january-1-2019-these-robert-frost-poems-are-public-domain/
>> 
>> 
>>> On Feb 11, 2020, at 2:56 AM, Graham Samuel via use-livecode 
>>>  wrote:
>>> 
>>> Personally I have a pet project to re-purpose a very elaborate CD-ROM about 
>>> Robert Frost, published by Henry Holt in 1997, but I can never get anyone 
>>> to talk to me about the copyright issues.
>> 
>> ___
>> use-livecode mailing list
>> use-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: HyperCard: the Myst story

2020-02-10 Thread Peter Bogdanoff via use-livecode
Colin was a monster programmer at Voyager!

I myself worked on the Voyager music titles #9, 21, 37, 38, 39, producing the 
first two, the Stravinsky and Mozart programs, and I’m still working with 
Robert Winter, the author, after 30 years. All HyperCard with custom Xcommands 
for music score animation and CD-ROM/video disc player control.

Peter Bogdanoff
ArtsInteractive


> On Feb 11, 2020, at 12:07 AM, Colin Holgate via use-livecode 
>  wrote:
> 
> Thanks for that. Voyager did well in the list, 15 out of the 50. 10 of which 
> were in HyperCard. #1 I programmed on my own, and I also did some work on #4 
> and #15.
> 
> 
>> On Feb 10, 2020, at 3:53 PM, Alejandro Tejada via use-livecode 
>>  wrote:
>> 
>> Hi Colin,
>> 
>> I found this Mac User magazine!
>> https://vintageapple.org/macuser/pdf/MacUser_9311_November_1993.pdf
>> 
>> Al
>> 
>> On Tue, Feb 4, 2020 at 9:21 PM
>> Colin Holgate wrote:
>>> In 1993 Mac User magazine had a review
>>> of the top 50 CD-ROMs, and of those there
>>> was an overall winner.
>>> The A Hard Day’s Night CD-ROM I made
>>> in HyperCard was the overall winner.
>>> I was lucky that it was before Myst was
>>> released. It would have easily won!
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: LiveCode won't recognize my stack

2019-12-27 Thread Peter Bogdanoff via use-livecode
Hi Bill,

In LC 9.04 issue a command

go stack tURL

where tURL is the directory path and it opens the stacks. My stacks don’t have 
a suffix at all.

Peter Bogdanoff 



> On Dec 27, 2019, at 5:51 PM, Bill Vlahos via use-livecode 
>  wrote:
> 
> List,
> 
> Version 9.x of LiveCode doesn’t recognize stacks unless the file name ends 
> with either .rev or .livecode. Previous versions (I don’t know when this 
> changed) were able to.
> 
> I use a stack file as the Preferences file for InfoWallet but the file name 
> is “LicenseKey.IW”. When I execute the following command to read custom 
> properties in the stack it fails with an error. Type: Chunk: can't find stack
> 
> put the uDefaultWallet of stack "LicenseKey.IW" into vDefault
> 
> 
> I can also see this when opening a stack from LiveCode. the LicenseKey.IW 
> file is greyed out unless I look for All Files when then opens it correctly.
> 
> How can I open the stack file in LiveCode 9.5.1 without changing the name of 
> the file?
> 
> Thank you,
> Bill Vlahos
> ___
> use-livecode mailing list
> use-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: A Windows 10 WTF

2019-12-26 Thread Peter Bogdanoff via use-livecode
I’m on a quad-core Intel Xeon E5 (Mac Pro) and LC 8 could definitely lock up 
the machine. Only with difficulty could I eventually force LC to quit.

Peter Bogdanoff


> On Dec 26, 2019, at 3:31 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I ahould have saif multiple cores not both. 
> 
>> On Dec 26, 2019, at 14:14 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> On the machine, or on the core? LC should only be using a single core on 
>> Multi-core systems. Any other process using that core may be affected, but 
>> not necessarily processes using the other core. It may be academic though, 
>> as most apps today are probably using both cores simultaneously. 
>> 
>> Bob S
>> 
>> 
>>> On Dec 26, 2019, at 11:16 , J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> It may be the issue with repeat loops that do not yield to the engine 
>>> periodically. This was an issue all the way back to MetaCard and I am not 
>>> sure if it has been changed since then.
>>> 
>>> Basicaly, running a lengthy repeat loop locks up the entire CPU until the 
>>> loop exits. If this is the problem then it isn't just your standalone that 
>>> comes to a halt, it's everything currently running on the machine.
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: How do I select graphics that are on top of each other with mousedown?

2019-11-25 Thread Peter Bogdanoff via use-livecode
William,

You could try working with the mouseControl.

Peter

> On Nov 25, 2019, at 10:19 AM, William de Smet via use-livecode 
>  wrote:
> 
> Hi there,
> 
> I have to square graphics (line style) on top of each other.
> They have the same width and height and form a letter X.
> 
> How do I select the different graphics?
> 
> Mousedown, MouseLoc and points of graphic?
> Any pointers are welcome.
> 
> 
> greetings,
> 
> William
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Can I find out what handler I am in?

2019-10-25 Thread Peter Bogdanoff via use-livecode
Have you looked at executionContexts?

Peter

> On Oct 25, 2019, at 1:00 PM, Tom Glod via use-livecode 
>  wrote:
> 
> Hey you guys, I have searched high and low and I am pretty sure the answer
> is no , but I wanted to make sure before I did a feature request and a
> workaround.
> 
> But is there a function that I can call inside a handler that will tell me
> the name of the handler?
> 
> Just like the params() tells me the parameters of the current handler?
> 
> -- 
> 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: RE Video Player LiveCode on Windows

2019-10-23 Thread Peter Bogdanoff via use-livecode
Roland,

You might try setting filename of the player to empty before going to edit mode 
(catching the editScript message). In the past, if a player couldn’t find the 
referenced file it often causes LC to freeze or slow way down, similarly to 
what you’re reporting.

Peter Bogdanoff
ArtsInteractive


> On Oct 23, 2019, at 12:28 PM, R.H. via use-livecode 
>  wrote:
> 
> @ Paul Dupuis
> 
> Thank you very much, Paul, for your detailed answer. I removed my other
> Codec package and installed the LAV package as recommended by you. It works
> well! Great. All the videos I have in MP4, etc. are playing now. This makes
> me happy.
> 
> But the other biggest problem:
> 
> My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working
> with the player and being in edit mode, mainly using the script editor.
> This happens all the time. There is no exact recipe. After some time, I
> already notice LC is slowing down (it takes long time for anything to
> happen) , and soon after that all freezes, and then I have to force-quit
> and restart all over again.
> 
> As long as the user mode is on and as long as the player is just playing,
> it seems to be ok . Except, of course, there is a huge bug list that you
> mentioned.
> 
> If anybody else has experienced hanging/freezing LiveCode using the player
> in edit mode, I would then create a but report because I could not find a
> similar report there. Unfortunately, there is no very clear recipe yet.
> 
> Roland
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Push Card

2019-10-22 Thread Peter Bogdanoff via use-livecode
Hi Andrew,

I think the problem is having very many cards—in the thousands, each with text, 
images, etc.—that I experience slowdowns. The stack taking a long time to open, 
save, go to cards, and just wanting to freeze for awhile.

When I changed my method to just a few cards with the text and the data used to 
display it stored in arrays, page loading is lighting fast. Creating fields and 
buttons, formatting them and filling with text on the fly, then deleting them 
when I load the next “page" is really fast. I put images on a web server that I 
pre-download to memory so they display quickly when needed is also part of the 
plan. These images could otherwise be stored as files on disk, or in a LC 
stack. Images in a LC stack can be referenced by using a button and setting its 
icon to ID of the stored image.

Using these kinds of techniques I went from a 600 MB collection of stacks down 
60 MB— 1/3 text and other data, 1/3 images used as thumbnail images embedded in 
text fields, and 1/3 the LC engine runtime, and I moved several hundred MB of 
images to the server.

LC is really fast with small stacks, and it’s really convenient just to lay out 
bunches of cards with stuff, but after  awhile, LC just isn’t fast anymore.

Peter Bogdanoff
artsinteractiveinc.com


> On Oct 22, 2019, at 2:01 PM, Andrew Bell via use-livecode 
>  wrote:
> 


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


Re: Where do we want LiveCode to go? (was "Re: Where LiveCode is Now")

2019-10-09 Thread Peter Bogdanoff via use-livecode
Yes Sean, that looks good!

Already when I see the table, I’m blind typing, trying the page up/down keys on 
the keyboard, resizing the window while it is loading, trying to stress it…

Peter

> On Oct 8, 2019, at 10:21 PM, Brian Milby via use-livecode 
>  wrote:
> 
> I'll say that is a good job so far.  The grid is very responsive (but I am
> using a pretty fast laptop).  Second time to the page was much faster than
> the first.  And I'll agree that some of the corporate web apps that I have
> to use can take time to get themselves ready for anything.  Even the SAP
> desktop client can be slow to load.
> 
> Thanks for posting this.
> 
> Brian
> 
> On Tue, Oct 8, 2019 at 8:18 PM Pi Digital via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>>> On 8 Oct 2019, at 19:37, JJS via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> So that's why i say, the HTML5 export is a nice thing to experiment, but
>> no visitor is going to return after the first time of long waiting, not
>> even if the 2nd time is somewhat quicker
>> 
>> 
>> Again, this only potentially applies to the landing page, not a web app
>> which any visitor would or could expect a loading time, especially if
>> warned. Our clients are already happy with this. It’s still less or about
>> the same as they experienced with the desktop app.
>> 
>> HTML5 deployment from LC is not intended for making web pages.
>> 
>> Have you loaded MS Dynamics or any other CRM for that matter in a browser.
>> And yet they are used day in day out by thousands of businesses globally.
>> Each MSD window is tedious - loading takes 16-20sec and inconsistent. LC
>> html is a dream in comparison (despite its current bugs and screwups).
>> 
>> https://tariffanalyser.porrima.co.uk
>> 
>> Double click the circle icon to see some demo data and display 28k+
>> records in a custom built DataGrid (coz datagrid2 is broken and mega slow
>> at the moment).
>> 
>> That’s what I’m working on and it loads pretty fast in comparison. 10
>> seconds to download the app and engine, run, Connect to a list from MySQL
>> via php, resize to fit the screen and display. (Note: this is not designed
>> for mobile platforms)
>> 
>> Each sales agent will have a link on their desktop that will open up
>> Chrome to this page as if opening a desktop app. And they can leave it open
>> over night if they wish and come back to it the next morning after logging
>> back into their machine.
>> 
>> This ‘experiment’ seems to be working.
>> 
>> Sean Cole
>> Pi Digital Prod Ltd
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-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-06 Thread Peter Bogdanoff via use-livecode
I work on text-heavy e-book-like, multi-language applications where layout is 
important.

I use fields instead of buttons as it is much easier to control the text 
display.

For field length, I often set the height of the field to the formatted height 
since Windows text (and other languages) will flow differently than Mac. 
However the card has to be showing to do this; you can’t do that from another 
card.

Also a difference between Mac/Windows is that for fields who’s textHeight is 
not set (fixed line height not checked), the default spacing between lines is 
different between Mac & Windows. I use images inline (image source set to an 
image’s ID) and you can’t fix the line height when that is happening.

So, to make Mac and Windows look as similar as possible in a paragraph of text 
where the text continues on to another page, I add carriage returns after every 
line of the Mac text (my development platform) and then export the htmlText to 
the database. Then when Windows loads the text in, the line breaks look more or 
less the same—I do have to make the field a little wider for Windows display. 
The height of Windows fields will need to be some 10% taller.

Also I use standard fonts, Georgia and Helvetica.

There’s a free version of my music application, Music In the Air, available to 
see this:
https://artsinteractiveinc.com


Peter Bogdanoff
ArtsInteractive

> On Oct 6, 2019, at 4:22 PM, dsc--- via use-livecode 
>  wrote:
> 
> I tend to use a lot of whitespace in layout and keep label fields and text 
> buttons long.
> 
> And, since I am often the LiveCode programmer's programmer, building 
> libraries & LCB extensions and such, I sometimes just throw controls onto the 
> card. (Which might contribute to the notion that Dar can't GUI.)
> 
> Platform, window size, display size, and font availability are all in the 
> environment. Perhaps these can be handled in a uniform manner as one might do 
> a stack resize.
> 
> If I need to, I use raw primitive controls and use appropriate graphics.
> 
> So, to address the question, for simple stacks, I design for Mac and adjust 
> for Windows.
> 
>> On Oct 4, 2019, at 11:50 AM, Jjs via use-livecode 
>>  wrote:
>> 
>> How do you people cope with the differences on fields and knobs having text 
>> in it on the different OS-es? If i only build on windows even for Linux and 
>> Macos, text and such never fits in the fields.And i have to adjust it and 
>> maintain a stack for each OS.
>> 
>> Dar Scott Consulting via use-livecode  
>> schreef op 4 oktober 2019 19:40:16 CEST:
>>> The original question mentioned testing and debugging. 
>>> 
>>> I tend to develop on the Mac and test on Windows. At times I need to
>>> develop on Windows because there are unknowns in the environment or I'm
>>> using some Windows specific hardware. Especially internal hardware.
>>> 
>>> It is a big pain to have multiple programming stations, so I set up
>>> Windows workstations with monitors, keyboards and mice as needed. I
>>> prefer to have my big wide monitor on my Mac and then remote in. I
>>> currently use no-machine to access Windows machines.
>>> 
>>> The focus in the discussion has been on processor, RAM and disk. For me
>>> however, other hardware is important. That is, that which makes it hard
>>> to test with virtualization needs to be in the real hardware. And often
>>> one needs real hardware. Virtual Box has been good to me as far as
>>> emulating hardware, but I need to test on real stuff.
>>> 
>>> So, for me, the most important part is not so much processor-RAM-disk,
>>> but I/O. I want lots of USB and a variety of such, front and back. I
>>> want board slots. I want multiple NICs. RS-232 is a big plus. A
>>> powerful GPU is a plus, but I hope to build a computation server
>>> someday. Multiple kinds of video is good as well as handling multiple
>>> monitors. I want Bluetooth and Wifi. I want WoL. Though I use
>>> no-machine, I want to be able to remote desktop in, so W8.1 needs to be
>>> Pro. As soon as I get a computer, a customer will come up with
>>> something I neglected, so those slots are important. I get Pro for
>>> everything if I can.) For a different machine, I might want something
>>> with a touch screen that I can carry around.
>>> 
>>> In my last buy, I compromised. I did not get high performance or slots.
>>> 
>>> And speaking of Pro, Windows 10 Pro is, out of the box, friendly to us
>>> old guys.
>>> 
>>> As far as development on the Mac, Bootcamp does not work well for me, I
>>> want to see all of my screens on all of my computers. Parallels is
>>> good, but I have found that when Parallels and VMWare say no, Virtual
>>> Box says yes. What good is higher RPM when you can't get it into
>>> reverse? In general, virtualization allows me to swap out hardware or
>>> display sizes quickly, bing, bing, bing. Network configuration testing?
>>> No searching for switches, routers and cables. 
>>> 
>>> Just going by my memory (I recommend against trusting it), I 

Re: Stacks and Sub Stacks

2019-09-25 Thread Peter Bogdanoff via use-livecode
Mark, you can easily use the send command for this. There is also the dispatch 
command. The call would go directly to the object, bypassing any hierarchy. 
Thus you can have the same-named handlers is other stacks without a conflict. 
Sometimes it is a good thing to have a same-named handler in various stacks. 
For example, if you have multiple stacks for data entry and you want to 
initialize the fields in the various stacks, you could:

# Where tStacksToInitialize is a list of stacks
# Each stack contains a handler emptyFields that knows exactly which fields to 
empty

repeat for each line tLine in tStacksToInitialize
send emptyFields to stack tLine
end repeat

Peter Bogdanoff
ArtsInteractive

> On Sep 25, 2019, at 12:06 PM, Mark Smith via use-livecode 
>  wrote:
> 
> Do you ever have to call a substack from a main stack? If you do, do you have 
> to preface the handler with a substack reference or does LC know where to 
> look? Can you have 2 handlers by the same name in different sub stacks? How 
> about in the main stack and a substack (that would really get confusing). Any 
> recommendations on what NOT to put in a substack?
> 
> Thanks
> Mark
> 
>> On Sep 25, 2019, at 2:54 PM, dunbarx--- via use-livecode 
>>  wrote:
>> 
>> Hi.
>> You probably mean script-only stacks.
>> Substacks are just stacks, but they live in the same file as the mainStack. 
>> It helps with organization, and when you save one, you save them all. You 
>> can only have one mainStack, but as many subStacks as you like.
>> For me, I have projects that use substacks for, say, data entry. The 
>> subStack is built just for that purpose.
>> When making a standalone, substacks are included in the final package.
>> Just practice a bit. 
>> Craig
>> 
>> -Original Message-
>> From: Patrick Roza via use-livecode 
>> To: use-livecode 
>> Cc: Patrick Roza 
>> Sent: Wed, Sep 25, 2019 9:18 am
>> Subject: Stacks and Sub Stacks
>> 
>> Looking for some good examples of the Main stack used with sub stacks.
>> Looking for best practices on usage. Also using text-only stacks.
>> 
>> Thanks,
>> 
>> Patrick
>> ___
>> use-livecode mailing list
>> use-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: inter-app communication to LiveCode?

2019-09-20 Thread Peter Bogdanoff via use-livecode
Thank you Scott and Trevor! Trevor, I think what you wrote certainly puts me in 
the right direction.

Peter

> On Sep 19, 2019, at 9:12 PM, Trevor DeVore via use-livecode 
>  wrote:
> 
> On Thu, Sep 19, 2019 at 5:25 PM Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> A user asked about “linking” to my desktop LC app from a PDF. Is there
>> anything in the PDF spec that does this? His idea was that it the link
>> would do more than just opening up my app, but contain data that indicates
>> a specified “page” in my app.
>> 
>> My application is Mac/Windows.
>> 
> 
> You can define a url protocol (e.g. myapp://) which can be configured on
> Mac or Windows to launch your application. This works with links in a
> browser so that a web page can contain a link that launchers your
> application. I don't know if it will work from a PDF file, though. It may
> depend on the PDF viewer or other variables. It is probably worth trying as
> you can embed the "page" number in the url.
> 
> On Windows you need to update the Windows Registry. Here is a link to some
> code in a library that ships with Levure that will set the appropriate
> values in the registry:
> 
> https://github.com/trevordevore/levure/blob/develop/framework/helpers/file_system/file_system.livecodescript#L193
> 
> You can run this code when your application first launches.
> 
> On Mac/iOS you need to add some keys to your Info.plist file. The README
> for the library has an example:
> 
> https://github.com/trevordevore/levure/tree/develop/framework/helpers/file_system#url-protocols
> 
> Once you've set the registry/Info.plist files up (you will need to launch
> the app at least once on macOS so it picks up the settings in the plist
> file) your app will be launched when the URL protocol is triggered. On
> macOS you will handle an appleEvent. You can look at the code in the
> library for hints:
> 
> https://github.com/trevordevore/levure/blob/develop/framework/helpers/file_system/file_system.livecodescript#L83
> 
> For Windows you can read the `commandArguments` when the app launches or,
> if the application is already running, handle the `relaunch` command and
> use the parameters passed to it.
> 
> Hopefully that is enough to get you started.
> 
> -- 
> Trevor DeVore
> ScreenSteps
> www.screensteps.com
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


inter-app communication to LiveCode?

2019-09-19 Thread Peter Bogdanoff via use-livecode
Hi,

A user asked about “linking” to my desktop LC app from a PDF. Is there anything 
in the PDF spec that does this? His idea was that it the link would do more 
than just opening up my app, but contain data that indicates a specified “page” 
in my app. 

My application is Mac/Windows.

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


Re: "template" stack in custom property

2019-08-02 Thread Peter Bogdanoff via use-livecode
Possibly related to this inability to focus properly is this bug I just filed:

Bug 22285 - Can't focus on script window with property inspector custom 
properties tab open


Only showing in LC 9.5.

This can really create havoc if you don’t watch where the characters you are 
typing or pasting actually end up.

Peter Bogdanoff
ArtsInteractive


> On Aug 2, 2019, at 11:30 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Jaque,
> 
>> Am 02.08.2019 um 20:24 schrieb J. Landman Gay via use-livecode 
>> :
>> ...
>> The "can't find handler" error, as well as not finding controls or cards, 
>> has been around for a while but I see it more oftn in the last few versions 
>> of LC 9. I haven't got a repeatable recipe yet so haven't reported it.
>> 
>> Anyway, that sounds like what you are experiencing.
> 
> no, I don't think so, because LC obviously neglects the rest of the script
> but ONLY if the stack-to-be-opened has a pre-/openstack handler.
> 
> Works if I add -> lock messages!
> 
> And this only happens when I open a stack from within a custom property.
> If I do the same with a stack from my HD, everything works as exspected, so 
> it does not sound
> like LC is not finding "the defaultstack".
> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
> 
> 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: increasing column width of DG keeps running

2019-08-01 Thread Peter Bogdanoff via use-livecode
I have seen this particular behavior in the property inspector when adjusting 
numbers in the Position tab. It happens sometimes, without any particular 
recipe that I’ve noticed. Closing the PI stops it. 

Peter Bogdanoff


> On Aug 1, 2019, at 10:23 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> That's a long standing issue and I think it has to do with the way the 
> TreeView widget is implemented. Correct me if I am wrong. When I create a 
> column in the Datagrid, after naming it, I then have to click the column 
> AGAIN to get it to refresh. Really frustrating. 
> 
> Bob S
> 
> 
>> On Aug 1, 2019, at 08:08 , Paul Dupuis via use-livecode 
>>  wrote:
>> 
>> I did see a bug when editing column names. Add a column. Type in the Column 
>> name. The click on the Column label field of the PI and types a label. Press 
>> tab, get an error "object does not have that property" and the Col # name 
>> references as the object. I think the closeField handler in the PI for the 
>> column name is broken.
>> 
>> I report the bug I found to the Quality Center as 
>> https://quality.livecode.com/show_bug.cgi?id=22281
> 
> 
> ___
> use-livecode mailing list
> use-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: Why does this not work ?

2019-06-10 Thread Peter Bogdanoff via use-livecode
I think that 'item 1 of t1’ has to be resolved to an object reference before it 
can be used with the vis property. The earlier lines are doing that, but not 
the last. 

It seems that LiveCode has gotten stricter with this in recent versions, 
requiring “of me” or such when referring directly to a control. Some later 
version of 8.1 was breaking my existing scripts for this very reason.

Peter

> On Jun 10, 2019, at 8:44 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> OK, this code produces an error - but I can't see why (and I worry about that 
> :-)
> 
> I have a field inside a group inside a group ,
> 
> and the following code :
> 
>> on mouseup
>>local tName, t1, t2
>>put the long name of fld "F" into tName
>>put tName & ",12,13" into t1
>>put "t1" && t1  after msg
>> 
>>put item 1 of t1 into t2
>>set the vis of t2 to TRUE
>>put "t2 was OK"  after msg
>> 
>>set the vis of (item 1 of t1) to TRUE
>>put "using parens OK"  after msg
>> 
>>set the vis of item 1 of t1 to TRUE   -- this line fails !!
>>put "here"  after msg
>> 
>> end mouseup
> that line fails, with the error message
> 
>> button "Button": execution error at line 14 (Chunk: error in object 
>> expression) near "field "F" of group id 1005 of group id 1007 of card id 
>> 1002 of stack "/Users/alextweedly/Dropbox 
>> (Personal)/Apps/objectchunk.livecode"
>> 
> 
> I just cant see why that doesn't work :-)
> 
> If I use parentheses, or if copy the first item over to a different 
> variable), then it is all OK. But doing it directly (AFAICT) should work, and 
> doesn't. What am I misunderstanding ?
> 
> Thanks
> 
> 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: Design questions...

2019-06-06 Thread Peter Bogdanoff via use-livecode
We use a height of 728—that’s in compensation for a variety of issues—some 
laptops have very small screens:
LC window title bar (can be hidden by LC if necessary)
Windows Task bar (can be hidden by LC if necessary)

You can get the height of the screen: 
(item 4 of the working screenRect) - (item 2 of the working screenRect)

You can also easily resize the window by using scaleFactor. We do some auto 
resizing when opening the program to scale it down for very small screens, and 
have a preference setting for the user to scale it up to maximum available 
height.

Peter Bogdanoff
ArtsInteractive


> On Jun 6, 2019, at 11:09 AM, Glen Bojsza via use-livecode 
>  wrote:
> 
> Bob, thanks for the info...I will start with 1024x768 as a minimal screen
> resolution for now and see what happens. As for the combo of menus and
> buttons I will try to find if there is a benefit of both and also usability
> space within the app.
> 
> My target platforms are Windows 10 and OS X 10.X
> 
> Glen
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
Yes, I see that the /Library requires elevated permission which is way beyond 
me.

Terry, it does look like I could write to the temporary folder, but I read that 
that folder may get cleared on restart. However, the Users/Shared folder seems 
available, so Bob and Richmond seem to be right. This works:

put specialFolderpath("usrs") & "/Shared/ArtsInteractive" into tURL

I’ll work with that.

Peter

> On Mar 28, 2019, at 8:19 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Any user has write permissions to the users//library folder. No 
> one, even administrators has write permissions to the /library folder. You 
> would need to elevate the process somehow. That has come up before, and I am 
> not sure what came of it. There is a shared folder that all users have write 
> access to, but this is not the typical place to put prefs files. 
> 
> Bob S
> 
> 
>> On Mar 27, 2019, at 23:45 , Peter Bogdanoff via use-livecode 
>>  wrote:
>> 
>> I get "can't create that directory (13)”
>> 
>> The challenge is to write a pref file to a non-user directory so the file is 
>> available to all users in a lab setting.
>> 
>> Peter
>> 
>>> On Mar 27, 2019, at 11:36 PM, Richard Gaskin via use-livecode 
>>>  wrote:
>>> 
>>> Peter Bogdanoff wrote:
>>> 
>>>> In attempting to create this folder in MacOS:
>>>> 
>>>> put specialFolderpath("asup") & “/My Folder" into tURL
>>>> 
>>>>[which yields tURL: /Library/Application Support/My Folder ]
>>>> 
>>>> create folder tURL
>>>> 
>>>>returns a result: can't create that directory
>>>> 
>>>> 
>>>> Why the error?
>> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
I see that error 13 is a permissions issue.

I’m looking at this page "How to enable the root user on your Mac or change 
your root password”
https://support.apple.com/en-us/HT204012

which I haven’t yet figured out…

So, I suppose, lab admins would have to enable root user to install my 
application?

Peter

> On Mar 27, 2019, at 11:45 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> I get "can't create that directory (13)”
> 
> The challenge is to write a pref file to a non-user directory so the file is 
> available to all users in a lab setting.
> 
> Peter
> 
>> On Mar 27, 2019, at 11:36 PM, Richard Gaskin via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Peter Bogdanoff wrote:
>> 
>>> In attempting to create this folder in MacOS:
>>> 
>>> put specialFolderpath("asup") & “/My Folder" into tURL
>>> 
>>> [which yields tURL: /Library/Application Support/My Folder ]
>>> 
>>> create folder tURL
>>> 
>>> returns a result: can't create that directory
>>> 
>>> 
>>> Why the error?
>> 
>> All file I/O is best accompanied with an error check. If that includes a 
>> call to sysError you'll see exactly what the OS is trying to tell you.
>> 
>>  create folder tURL
>>  if the result is not empty then
>>  answer the result &" ("& sysError() &")"
>>  exit to top
>>   end if
>> 
>> 
>> I'd wager permissions. /Library is a system folder. 
>> /Users//Library should be writable, though.
>> 
>> -- 
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> 
>> ambassa...@fourthworld.com <mailto:ambassa...@fourthworld.com> 
>> <mailto:ambassa...@fourthworld.com <mailto:ambassa...@fourthworld.com>>  
>>   http://www.FourthWorld.com <http://www.fourthworld.com/> 
>> <http://www.fourthworld.com/ <http://www.fourthworld.com/>>
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com> 
>> <mailto:use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> <http://lists.runrev.com/mailman/listinfo/use-livecode> 
>> <http://lists.runrev.com/mailman/listinfo/use-livecode 
>> <http://lists.runrev.com/mailman/listinfo/use-livecode>>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> <http://lists.runrev.com/mailman/listinfo/use-livecode>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
I get "can't create that directory (13)”

The challenge is to write a pref file to a non-user directory so the file is 
available to all users in a lab setting.

Peter

> On Mar 27, 2019, at 11:36 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Peter Bogdanoff wrote:
> 
> > In attempting to create this folder in MacOS:
> >
> > put specialFolderpath("asup") & “/My Folder" into tURL
> >
> >  [which yields tURL: /Library/Application Support/My Folder ]
> >
> > create folder tURL
> >
> >  returns a result: can't create that directory
> >
> >
> > Why the error?
> 
> All file I/O is best accompanied with an error check. If that includes a call 
> to sysError you'll see exactly what the OS is trying to tell you.
> 
>   create folder tURL
>   if the result is not empty then
>   answer the result &" ("& sysError() &")"
>   exit to top
>end if
> 
> 
> I'd wager permissions. /Library is a system folder. /Users//Library 
> should be writable, though.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.com 
> http://www.FourthWorld.com 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
I’m doing this on my own Mac, and I am an Admin.

Peter

> On Mar 27, 2019, at 11:29 PM, Phil Davis via use-livecode 
>  wrote:
> 
> Hi Peter,
> 
> Is it possible you're running LC in a user account that doesn't have "admin" 
> permissions? I suggest this because they are lab computers.
> 
> You can check Apple menu > System Preferences > Users & Groups > [username] 
> to find out.
> 
> Phil Davis
> 
> 
> On 3/27/19 11:20 PM, Peter Bogdanoff via use-livecode wrote:
>> In attempting to create this folder in MacOS:
>> 
>> put specialFolderpath("asup") & “/My Folder" into tURL
>> 
>>  [which yields tURL: /Library/Application Support/My Folder ]
>> 
>> create folder tURL
>> 
>>  returns a result: can't create that directory
>> 
>> 
>> Why the error?
>> 
>> Peter
>> ArtsInteractive
>> 
>> 
>>> On Mar 27, 2019, at 2:38 PM, Peter Bogdanoff via use-livecode 
>>>  wrote:
>>> 
>>> Thanks all! I’ll check these out.
>>> 
>>> Peter
>>> 
>>> 
>>>> On Mar 27, 2019, at 2:28 PM, Ralph DiMola via use-livecode 
>>>>  wrote:
>>>> 
>>>> These are the public ones on Win 10:
>>>> 
>>>> 25 C:/Users/Public/Desktop
>>>> 46 C:/Users/Public/Documents
>>>> 53 C:/Users/Public/Music
>>>> 54 C:/Users/Public/Pictures
>>>> 55 C:/Users/Public/Videos
>>>> 
>>>> Used this in the message box:
>>>> 
>>>> put empty into msg;repeat with i = 1 to 100;if specialFolderPath(i) 
>>>> contains "public" then put i&(i)  after msg;end repeat
>>>> 
>>>> 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 Klaus major-k via use-livecode
>>>> Sent: Wednesday, March 27, 2019 5:04 PM
>>>> To: How to use LiveCode
>>>> Cc: Klaus major-k
>>>> Subject: Re: LC application running on lab computers
>>>> 
>>>> Hi Peter,
>>>> 
>>>>> Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode 
>>>>> :
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> My application is being installed on Windows machines in a school lab. 
>>>>> The admin is having trouble because I’m writing preference files to the 
>>>>> Users\\ folder and when another user logs in, the file is not 
>>>>> available. This may be a problem in the future for Macs as well. These 
>>>>> same preference files should be accessed by all users.
>>>>> 
>>>>> The specialFolderPath functions don’t seem to have one for a root level 
>>>>> Library/Preferences folder. Is there otherwise a best, or even workable 
>>>>> practice for this scenario?
>>>> you could use these 2 undocumented specialfolderpath() codes for Windows:
>>>> -> specialFolderPath(35) -> prefs folder for ALL users
>>>> -> specialfolderpath(26) -> dito for the current user only!
>>>> 
>>>> Not sure this is still working on Win 10, but worth a try. :-) Check this 
>>>> in the IDE with the messagebox:
>>>> put specialFolderPath(35)
>>>> 
>>>>> Peter Bogdanoff
>>>>> ArtsInteractive
>>>> Best
>>>> 
>>>> Klaus
>>>> 
>>>> --
>>>> Klaus Major
>>>> http://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
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: LC application running on lab computers

2019-03-28 Thread Peter Bogdanoff via use-livecode
In attempting to create this folder in MacOS:

put specialFolderpath("asup") & “/My Folder" into tURL

 [which yields tURL: /Library/Application Support/My Folder ]

create folder tURL

 returns a result: can't create that directory


Why the error? 

Peter
ArtsInteractive


> On Mar 27, 2019, at 2:38 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Thanks all! I’ll check these out.
> 
> Peter
> 
> 
>> On Mar 27, 2019, at 2:28 PM, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> These are the public ones on Win 10:
>> 
>> 25 C:/Users/Public/Desktop
>> 46 C:/Users/Public/Documents
>> 53 C:/Users/Public/Music
>> 54 C:/Users/Public/Pictures
>> 55 C:/Users/Public/Videos
>> 
>> Used this in the message box:
>> 
>> put empty into msg;repeat with i = 1 to 100;if specialFolderPath(i) contains 
>> "public" then put i&(i)  after msg;end repeat
>> 
>> 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 Klaus major-k via use-livecode
>> Sent: Wednesday, March 27, 2019 5:04 PM
>> To: How to use LiveCode
>> Cc: Klaus major-k
>> Subject: Re: LC application running on lab computers
>> 
>> Hi Peter,
>> 
>>> Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode 
>>> :
>>> 
>>> Hi,
>>> 
>>> My application is being installed on Windows machines in a school lab. The 
>>> admin is having trouble because I’m writing preference files to the 
>>> Users\\ folder and when another user logs in, the file is not 
>>> available. This may be a problem in the future for Macs as well. These same 
>>> preference files should be accessed by all users.
>>> 
>>> The specialFolderPath functions don’t seem to have one for a root level 
>>> Library/Preferences folder. Is there otherwise a best, or even workable 
>>> practice for this scenario?
>> 
>> you could use these 2 undocumented specialfolderpath() codes for Windows:
>> -> specialFolderPath(35) -> prefs folder for ALL users
>> -> specialfolderpath(26) -> dito for the current user only!
>> 
>> Not sure this is still working on Win 10, but worth a try. :-) Check this in 
>> the IDE with the messagebox:
>> put specialFolderPath(35)
>> 
>>> Peter Bogdanoff
>>> ArtsInteractive
>> 
>> Best
>> 
>> Klaus
>> 
>> --
>> Klaus Major
>> http://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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: LC application running on lab computers

2019-03-27 Thread Peter Bogdanoff via use-livecode
Thanks all! I’ll check these out.

Peter


> On Mar 27, 2019, at 2:28 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> These are the public ones on Win 10:
> 
> 25 C:/Users/Public/Desktop
> 46 C:/Users/Public/Documents
> 53 C:/Users/Public/Music
> 54 C:/Users/Public/Pictures
> 55 C:/Users/Public/Videos
> 
> Used this in the message box:
> 
> put empty into msg;repeat with i = 1 to 100;if specialFolderPath(i) contains 
> "public" then put i&(i)  after msg;end repeat
> 
> 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 Klaus major-k via use-livecode
> Sent: Wednesday, March 27, 2019 5:04 PM
> To: How to use LiveCode
> Cc: Klaus major-k
> Subject: Re: LC application running on lab computers
> 
> Hi Peter,
> 
>> Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode 
>> :
>> 
>> Hi,
>> 
>> My application is being installed on Windows machines in a school lab. The 
>> admin is having trouble because I’m writing preference files to the 
>> Users\\ folder and when another user logs in, the file is not 
>> available. This may be a problem in the future for Macs as well. These same 
>> preference files should be accessed by all users.
>> 
>> The specialFolderPath functions don’t seem to have one for a root level 
>> Library/Preferences folder. Is there otherwise a best, or even workable 
>> practice for this scenario?
> 
> you could use these 2 undocumented specialfolderpath() codes for Windows:
> -> specialFolderPath(35) -> prefs folder for ALL users
> -> specialfolderpath(26) -> dito for the current user only!
> 
> Not sure this is still working on Win 10, but worth a try. :-) Check this in 
> the IDE with the messagebox:
> put specialFolderPath(35)
> 
>> Peter Bogdanoff
>> ArtsInteractive
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://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


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

LC application running on lab computers

2019-03-27 Thread Peter Bogdanoff via use-livecode
Hi,

My application is being installed on Windows machines in a school lab. The 
admin is having trouble because I’m writing preference files to the 
Users\\ folder and when another user logs in, the file is not available. 
This may be a problem in the future for Macs as well. These same preference 
files should be accessed by all users.

The specialFolderPath functions don’t seem to have one for a root level 
Library/Preferences folder. Is there otherwise a best, or even workable 
practice for this scenario?

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

Re: LiveCode Localization?

2019-03-17 Thread Peter Bogdanoff via use-livecode
Hi,

I use custom properties for both interface and content. 

Since there is a lot of content, I have a separate data stack. This data stack 
has fields, one for each major section of the program, and each of those 
objects contains data: arrays of html text, field format settings, etc., each 
array encoded and compressed and written to a custom property. 

When the program opens, the data for the current language is read into memory, 
interface buttons and fields loaded, and content text loaded into the fields of 
each section. Then the language can be switched with a preference change or key 
combination, and that language data is loaded. It happens quite fast.

When the program opens the very first time, there is a screen which asks for 
the user to set the language choice, and that choice writes to a preference 
file. I don’t check the OS language, I suppose I could, but since it will 
ultimately be in multiple languages I have provided a means for a primary and 
secondary language—with the idea that users may want to switch between the 
original English and their own language, or any of the languages we will 
ultimately provide.

And since there is a single data stack, that file can be updated automatically 
with new material without having to update and restart the whole program.

Peter Bogdanoff
ArtsInteractive Inc.


> On Mar 16, 2019, at 3:03 PM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi all,
> 
> yep, same here, long ago...
> 
> I also created a tool for the tranlators to french and spanish. 
> I did the german and english part. :-)
> 
>> Am 16.03.2019 um 22:21 schrieb Matthias Rebbe via use-livecode 
>> :
>> I have one program that supports German and English.
>> I have created custom a property set for each language.
>> ...
>> this allows me to add a new language just by adding another custom property 
>> set  with values in that new language.
>> I am not sure if this is the best way. At least it is working here for me.
>> Regards,
>> 
>> Matthias
>> 
>>> Am 16.03.2019 um 21:17 schrieb kee nethery via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> Does anyone on this list have an app that you localize into other languages 
>>> (French, German, Japanese, etc)?
>>> If so, I’d like to ask you how you support localization. Want to see if 
>>> there is a common method since LiveCode does not support the techniques 
>>> used by macOS, iOS, Android, Windows.
>>> 
>>> Thanks,
>>> 
>>> Kee Nethery
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://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: WordPress/PHP

2019-03-04 Thread Peter Bogdanoff via use-livecode
Hi Tom and all,

An update—the people at the remote end (actually in China) have gotten someone 
else on the case, whom it seems will be a better fit to work with our guy here 
to try to solve the problems. Previously, there was language/communication 
difficulties and we were getting nowhere, and our WordPress programmer was 
getting discouraged with the whole thing. 

So, at the moment, I’m going to see if they can figure it out. 

Thanks to all who jumped in to help. I do appreciate you all!

Peter Bogdanoff
ArtsInteractive


> On Mar 4, 2019, at 5:14 PM, Tom Glod via use-livecode 
>  wrote:
> 
> hey peter, i work with wordpress and php all the timeand lc of
> course  i can take a shot at it.i wouldn't mind solving this
> for my project as well.
> 
> pm me, t...@makeshyft.com
> 
> On Mon, Mar 4, 2019 at 5:49 PM Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Thanks for all the replies.
>> 
>> The whole operation I’m describing is solely WordPress, not touching
>> LiveCode at all. I personally have no knowledge of PHP/WordPress but am
>> tasked with getting this problem fixed somehow.
>> 
>> If there is someone who could talk to my guy and help him troubleshoot, we
>> would be glad to reimburse for your time and expertise!
>> 
>> Peter Bogdanoff
>> 
>> 
>>> On Mar 4, 2019, at 10:02 AM, JJS via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Ok you said that the info he received was not decryptable.
>>> 
>>> Can you put that info in a field in LC and then try to decrypt it, if
>> you have the credentials?
>>> 
>>> Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode:
>>>> Entries on the dB itself are not encrypted, so I could use Navicat to
>> view them. But it probably would be more secure if the entries in the dB
>> itself were encrypted.
>>>> 
>>>> Bill
>>>> 
>>>> William Prothero
>>>> http://es.earthednet.org
>>>> 
>>>>> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>>>> 
>>>>> If you happen to know the type of encryption used and also have the
>> keys or hash, salt whatever used to decrypt it
>>>>> 
>>>>> you could read out the DB value with LC and decrypt it with LC
>>>>> 
>>>>> i only use PHP as middleware to communicate with MySql/MariaDB
>>>>> 
>>>>> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:
>>>>>> i remember doing a php encryption and trying to make it work with
>> LC..it
>>>>>> was a no gobased on some kind of padding that PHP does.
>>>>>> 
>>>>>> I didn't have time to figure it out, so I can't help you solve it
>> from my
>>>>>> experience.. but .you're not going crazy...its PHP.
>>>>>> 
>>>>>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
>>>>>> use-livecode@lists.runrev.com> wrote:
>>>>>> 
>>>>>>> Don’t know if this will help, but I have a php script that
>> demonstrates
>>>>>>> php encryption at:
>>>>>>> http://earthlearningsolutions.org/google-static-maps-demo/
>>>>>>> The encryption is of traffic between LC and a php script on a server
>> and,
>>>>>>> as an example, may help.
>>>>>>> Best,
>>>>>>> Bill
>>>>>>> 
>>>>>>> William Prothero
>>>>>>> http://es.earthednet.org
>>>>>>> 
>>>>>>>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <
>>>>>>> use-livecode@lists.runrev.com> wrote:
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> Any PHP people on this list? A non-LiveCode problem:
>>>>>>>> 
>>>>>>>> I have a person who has been doing some work modifying our
>>>>>>> WordPress/WooCommerce site and is having trouble communicating with
>> an
>>>>>>> outside system (.net). He says he cannot figure out how to properly
>> decrypt
>>>>>>> what’s being sent to him.
>>>>>>>> Is there anyone who would be able and willing jump in to help us
>> out?
>>>>>>>> 
>>>>>>>> Peter Bog

Re: WordPress/PHP

2019-03-04 Thread Peter Bogdanoff via use-livecode
Thanks for all the replies.

The whole operation I’m describing is solely WordPress, not touching LiveCode 
at all. I personally have no knowledge of PHP/WordPress but am tasked with 
getting this problem fixed somehow.

If there is someone who could talk to my guy and help him troubleshoot, we 
would be glad to reimburse for your time and expertise!

Peter Bogdanoff


> On Mar 4, 2019, at 10:02 AM, JJS via use-livecode 
>  wrote:
> 
> Ok you said that the info he received was not decryptable.
> 
> Can you put that info in a field in LC and then try to decrypt it, if you 
> have the credentials?
> 
> Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode:
>> Entries on the dB itself are not encrypted, so I could use Navicat to view 
>> them. But it probably would be more secure if the entries in the dB itself 
>> were encrypted.
>> 
>> Bill
>> 
>> William Prothero
>> http://es.earthednet.org
>> 
>>> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode 
>>>  wrote:
>>> 
>>> If you happen to know the type of encryption used and also have the keys or 
>>> hash, salt whatever used to decrypt it
>>> 
>>> you could read out the DB value with LC and decrypt it with LC
>>> 
>>> i only use PHP as middleware to communicate with MySql/MariaDB
>>> 
>>> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:
>>>> i remember doing a php encryption and trying to make it work with LC..it
>>>> was a no gobased on some kind of padding that PHP does.
>>>> 
>>>> I didn't have time to figure it out, so I can't help you solve it from my
>>>> experience.. but .you're not going crazy...its PHP.
>>>> 
>>>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>>> Don’t know if this will help, but I have a php script that demonstrates
>>>>> php encryption at:
>>>>> http://earthlearningsolutions.org/google-static-maps-demo/
>>>>> The encryption is of traffic between LC and a php script on a server and,
>>>>> as an example, may help.
>>>>> Best,
>>>>> Bill
>>>>> 
>>>>> William Prothero
>>>>> http://es.earthednet.org
>>>>> 
>>>>>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <
>>>>> use-livecode@lists.runrev.com> wrote:
>>>>>> Hi,
>>>>>> 
>>>>>> Any PHP people on this list? A non-LiveCode problem:
>>>>>> 
>>>>>> I have a person who has been doing some work modifying our
>>>>> WordPress/WooCommerce site and is having trouble communicating with an
>>>>> outside system (.net). He says he cannot figure out how to properly 
>>>>> decrypt
>>>>> what’s being sent to him.
>>>>>> Is there anyone who would be able and willing jump in to help us out?
>>>>>> 
>>>>>> Peter Bogdanoff
>>>>>> ArtsInteractive
>>>>>> bogdan...@me.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
>>> ___
>>> use-livecode mailing list
>>> use-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

WordPress/PHP

2019-03-03 Thread Peter Bogdanoff via use-livecode
Hi,

Any PHP people on this list? A non-LiveCode problem:

I have a person who has been doing some work modifying our 
WordPress/WooCommerce site and is having trouble communicating with an outside 
system (.net). He says he cannot figure out how to properly decrypt what’s 
being sent to him.

Is there anyone who would be able and willing jump in to help us out?

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

Re: Format text data records for processing in Livecode

2019-03-01 Thread Peter Bogdanoff via use-livecode
I must say that once I started using arrays for data storage and access, I 
never looked back. Compact, fast, malleable.

Many years ago I thought I would take a continuing education C programming 
class at a university. Knowing only HyperTalk, I muddled along until 
mid-semester when the curriculum now turned to arrays. I withdrew from the 
class; I wasn’t ready.

Now, with more water under the bridge, I embrace the array.

Peter Bogdanoff
ArtsInteractive

> On Mar 1, 2019, at 2:44 AM, Kaveh Bazargan via use-livecode 
>  wrote:
> 
> On Fri, 1 Mar 2019 at 03:44, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Kaveh Bazargan wrote:
>> 
>> 
>> If it's working and you're happy keep doing it.
>> 
>> At some point you may find arrays very powerful. This circumstance seems
>> a natural fit for them, as they keep data separated -- even binary data
>> -- while remaining blindingly fast to get at the piece you want whenever
>> you want it.
>> 
>> 
> You are right Richard. It is a testament to LiveCode that I can do
> sophisticated stuff (by my standards) and not use arrays, but you have now
> rightly pushed me to get into arrays, especially the speed gain that is
> important for me. Thanks for all the good advice you give on this list. :-)
> 
> 
>> --
>>  Richard Gaskin
>>  Fourth World Systems
>>  Software Design and Development for the Desktop, Mobile, and the Web
>>  
>>  ambassa...@fourthworld.comhttp://www.FourthWorld.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
>> 
> 
> 
> -- 
> Kaveh Bazargan PhD
> Director
> River Valley Technologies  • Twitter
>  • LinkedIn
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: Go in Window on Mobile / Not Obeying Purge?

2019-03-01 Thread Peter Bogdanoff via use-livecode
I’ve found that if an inspector is open for something in that stack, purging is 
incomplete.

Peter

> On Mar 1, 2019, at 7:37 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Sannyasin Brahmanathaswami wrote:
> 
> >... although all my modules/stacks have both "purge stack/window" set
> > to true, I am seeing change on stacks that are  "closed" when you
> > reopen them again.
> >
> > Thus, it means that Purge stack/window  is not implemented on
> >
> > Go [new-stack] in window of stack [old-stack] on mobile.
> >
> > Can anyone confirm? I wonder how long the RAM can keep up before it
> > crashes.
> 
> Personally that seems like a bug to me.  Maybe worth reporting.  The manner 
> in which a stack is closed shouldn't matter with regard to how destroyStack 
> works.
> 
> But just to clarify, the stack in question is a separate stack file, and not 
> a substack of the one you're going to, yes?
> 
> Remember that LC keeps the entire stack file in RAM, and can't purge it until 
> the mainstack and all substacks within the stack file are closed.
> 
> If it is purgeable (as a separate stack file), my hunch is you won't ever see 
> a RAM issue from caching.  If you do it would be a bug. Caching is intended 
> to speed up access, not to prevent ordinary behavior, so things not in use 
> are purged as RAM is needed (same with cached images and other things).
> 
> If you're seeing slow or crashing behavior that seems like it might be 
> RAM-related, maybe Apple's Instruments tool in xCode can help provide clarity 
> on that:
> https://apple.stackexchange.com/questions/71237/how-to-identify-cpu-and-memory-usage-per-process-on-iphone
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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: Lack of Mobile Player callbacks and subtitles problem

2019-02-17 Thread Peter Bogdanoff via use-livecode
Does mergAVPlayerCreateBoundaryTimeObserver help you?

Peter Bogdanoff

> On Feb 17, 2019, at 4:39 AM, Frans Schoffelen via use-livecode 
>  wrote:
> 
> 
> Hi all. Anybody been able to get time-locked subtitles for mobile video 
> players 
> that worked in the post-QT era ? My searches have not produced anything. 
> 
> Since there are no callbacks from  “MobileCreateControl Player” anymore to 
> kick subtitles in a field from a list
> at a given time ( like the only available old example on the LC site) , I 
> have tried cumbersome double timers. 
> Simple tracking is then ok, but  starting stopping, continuing a movie is way 
> too imprecise and introduces unforeseen results. 
> Anybody come up with a solution ? 
> 
> Anybody up for doing an AV Foundation widget for this (Paid work) ?
> 
> It’s for a project to teach refugee children if that motivates anybody at all 
> ;-)
> 
> Greetz from Berlin.
> 
> 
> Frans Schoffelen
> http://knowlegistics.com  // Software & Sound // Berlin
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: Images and Players in "background" groups

2019-02-02 Thread Peter Bogdanoff via use-livecode
Images and players don’t have a “shared” property to turn on and off such as a 
field’s sharedText or a button’s sharedHilite property.

They’re always shared.

Peter


> On Feb 2, 2019, at 11:42 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi Tim,
> 
> That would be correct. To have a different image on every card, you could:
> 
> 1. Have an image control that’s not part of the group on every card 
>   or
> 2. Some other method of dynamically loading the image data into an image that 
> is part of the group, such as on openCard:
> 
>   put URL tURL into image “My Image" of this card
> 
> where tURL is a path to a local or remote file.
> 
> Player controls would use similar methods as above.
> 
> Peter Bogdanoff
> 
> 
>> On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode 
>>  wrote:
>> 
>> For the first time ever, probably, I have a little project that needs the HC 
>> "stack of cards" structure.
>> 
>> Have a few buttons and fields in a group, acting a a background and it all 
>> works as expected.
>> 
>> However, I also have an image and a play in the group/background. Oddly, 
>> when I set one card's image via "set the filename of image to URL" it 
>> puts that image or video on ALL the cards.
>> 
>> So the bg flds can all have different values per card, but the images and 
>> players cannot!
>> 
>> Is this right?? I have searched the dictionary and google to no avail
>> 
>> Tim Selander
>> Tokyo
>> 
>> ___
>> use-livecode mailing list
>> use-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: Images and Players in "background" groups

2019-02-02 Thread Peter Bogdanoff via use-livecode
Hi Tim,

That would be correct. To have a different image on every card, you could:

1. Have an image control that’s not part of the group on every card 
or
2. Some other method of dynamically loading the image data into an image that 
is part of the group, such as on openCard:

put URL tURL into image “My Image" of this card

where tURL is a path to a local or remote file.

Player controls would use similar methods as above.

Peter Bogdanoff


> On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode 
>  wrote:
> 
> For the first time ever, probably, I have a little project that needs the HC 
> "stack of cards" structure.
> 
> Have a few buttons and fields in a group, acting a a background and it all 
> works as expected.
> 
> However, I also have an image and a play in the group/background. Oddly, when 
> I set one card's image via "set the filename of image to URL" it puts 
> that image or video on ALL the cards.
> 
> So the bg flds can all have different values per card, but the images and 
> players cannot!
> 
> Is this right?? I have searched the dictionary and google to no avail
> 
> Tim Selander
> Tokyo
> 
> ___
> use-livecode mailing list
> use-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: Woo License Keys Manager

2019-01-30 Thread Peter Bogdanoff via use-livecode
For our "Music In the Air” music education program we’re using a combo of 
Stripe/Paypal + WooCommerce + API Manager. The last bit is a WooCommerce plugin 
to handle generating and validation of keys. In our particular situation we 
need to control the installations to a set number (1 to how many were 
purchased) and API Manager validates the install every time our application is 
opened. We’ve configured WooCommerce to send a confirmation email to the 
purchaser that includes the key issued by API Manager along with a download 
link. There also is an online WooCommerce-provided account for the user to log 
in to view keys and purchase info.

https://woocommerce.com/products/woocommerce-api-manager/ 


Overall it is working pretty well. It took some time to set up my internal 
LiveCode programming, but that was because of a variety of license types we use 
with free trial periods, and the fact that we are also using a subscription 
model, and not because of any difficulty with API Manager itself. Also there 
was some work in providing info within the application to the user as to the 
status of the validation (good, failed—and why—and what to do).

And a plug—we have a free trial of the complete program that reverts to a 
forever-free limited version. Take a look; I am very interested in feedback!

https://www.artsinteractiveinc.com 

Peter Bogdanoff
ArtsInteractive



> On Jan 30, 2019, at 3:07 AM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> What i forgot. The good thing is also that i do not have to hassle with 
> invoices because Fastspring is the seller and therefore FS is doing all that 
> stuff including correct VAT handling.
> I just get my monthly payments.
> 
> 
> Matthias Rebbe
> 
> free tools for Livecoders:
> https://instamaker.dermattes.de  
> >
> https://winsignhelper.dermattes.de  
> >
> 
>> Am 30.01.2019 um 12:05 schrieb Matthias Rebbe 
>> >  
>> > >>:
>> 
>> Hi,
>> 
>> i am using Zygodact from Jacqueline Landman-Gay - 
>> http://hyperactivesw.com/solutions_zygodact.html 
>> 
>> 
>> with Livecode Server and Fastspring. After a successful order Fastspring 
>> contacts my Livecode Server and transmits the purchase information.
>> My LC Server script then creates a License Key which works only with the 
>> E-Mail address of the buyer and returns it to Fastsrpring. Fastspring then 
>> send this information to the buyer.
>> 
>> Zygodact works very well with Livecode Server
>> 
>> I´ve written Livecode lesson about how to use Zygodact and LC Server with 
>> Fastspring. See here
>> http://lessons.livecode.com/m/4068/l/620020-using-zygodact-key-generator-with-fastspring
>>  
>> 
>> 
>> Works for some years now w/o a problem.
>> 
>> 
>> Matthias Rebbe
>> 
>> free tools for Livecoders:
>> https://instamaker.dermattes.de 
>> https://winsignhelper.dermattes.de 
>> 
>>> Am 30.01.2019 um 11:28 schrieb David V Glasgow via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> 
>>> Does anyone use the above for managing keys on their LC apps?  If so, are 
>>> you happy with it?  
>>> 
>>> Conversely, anyone recommend any other solutions, whether just license 
>>> management, or complete ecommece?
>>> 
>>> Cheers,
>>> 
>>> 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 
> 
___
use-livecode mailing list
use-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: Opening a url in an external browser on mobile?

2019-01-21 Thread Peter Bogdanoff via use-livecode
According to the dictionary, revGoURL is deprecated. Says to use launch URL 
instead.

Peter


> On Jan 21, 2019, at 5:10 PM, Brian Milby via use-livecode 
>  wrote:
> 
> revGoUrl
> 
> Thanks,
> Brian
> On Jan 21, 2019, 7:08 PM -0600, Terry Judd via use-livecode 
> , wrote:
>> After going to the trouble of implementing a mobile browser widget I’ve 
>> decided that I’d prefer to open and display the url in the user’s default 
>> browser. I’m assuming this is possible (?) but can’t work out how to do it. 
>> Any ideas?
>> 
>> Terry...
>> ___
>> use-livecode mailing list
>> use-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: Signing macOS application

2019-01-01 Thread Peter Bogdanoff via use-livecode
Trevor,

Thanks for your response and for the work you are doing with Levure. I’m very 
attracted to its functionality for me--structuring and especially providing for 
updating my application--but haven’t had time to work with it more yet.

I tried the script you suggested, and when I processed the application package 
(desktop-only app created in LC 8.1.9) I got the error:
codesign process failed: /Users/*path to the 
app*/MITA.app/Contents/MacOS/MITA: code object is not signed at all [that would 
be the executable]
In subcomponent: /Users/*path to the app*/MITA.app/Contents/MacOS/MUSITA



I followed Knapp’s suggestion and tried using AppWrapper 3, which gave specific 
critical errors (among other several apparently non-critical errors):
Missing “/usr/local/lib/revsecurity.dylib
Bundle identifier “com.artsinteractive” contains a blank segment


When I look at the rev security.dylib file in Terminal I see:
-bash: /Users/*path to the app*/MITA.app/Contents/MacOS/revsecurity.dylib: 
cannot execute binary file
logout

+

I then saw a reference somewhere to LC 8.1.10, and so I made a new runtime in 
that 8.1.10 version.

Then:
Levure script — NO errors
App Wrapper 3 — only significant error apparently: "website deployment—both 
missing private key"
(In Terminal, for revsecurity.dylib, the above “cannot execute binary file” is 
also shown)

I’m providing the DMG as a download. Is this MISSING KEY an issue? And is there 
a way to reset my Gatekeeper to test installing the program on my computer?

Peter Bogdanoff
ArtsInteractive




> On Dec 29, 2018, at 7:01 PM, Trevor DeVore via use-livecode 
>  wrote:
> 
> On Sat, Dec 29, 2018 at 2:20 PM Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> 
>> I have these IDs:
>>Developer ID Installer
>>Developer ID Application
>> 
>> DropDMG shows in its preferences the 'Developer ID Application’ that is
>> used to sign the installer. That should be used and not 'Developer ID
>> Installer’?
>> 
>> 
>> Anyone have any guidance on this?
> 
> 
> You do need to sign your app using your “Developer ID Installer” profile.
> There is a script only stack I posted a while ago on gist.github.com that
> will sign an app. Here is the url:
> 
> https://gist.github.com/trevordevore/3e91724c4573690b691510d2e2dcd2a7
> 
> Just save the gist to a file with a .livecodescript extension and open it
> in the IDE.
> 
> As for DropDMG it has the correct certificate selected. DMGs are not really
> installers but the DMG does need to be signed to appease GateKeeper.
> 
> As Was already mentioned, the Levure packager will take care of signing
> your apps for you. It will sign apps you distribute yourself, sign and
> prepare an app for upload to the Mac App Store, and sign Mac App Store
> development versions for testing. It is quite handy.
> 
> Of course if you are already trying to sign your app for distribution then
> you aren’t at a point where you want to modify your app to use a new
> framework. But something to consider for the future.
> 
>> 
> And this all doesn’t have anything to do with Notarization? That’s another
>> step for the future?
> 
> 
> No it does not.
> 
> --
> 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: Video-Fun2

2019-01-01 Thread Peter Bogdanoff via use-livecode
It looks great!

After awhile (10-15 minutes) it froze. Reloaded the page, then Safari had the 
message, “This page is using significant memory….”

Peter


> On Jan 1, 2019, at 1:18 PM, Richmond via use-livecode 
>  wrote:
> 
> "What you see is an LC-image object"
> 
> Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2
> 
> https://www.waterfoxproject.org/en-US/
> 
> Nor, for that matter on safari Technology Preview Release 72
> 
> Richmond.
> 
> On 1.01.19 20:01, hh via use-livecode wrote:
>> Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
>> Finally all I wanted works.
>> 
>> This uses only "atomic" canvas2d methods of JavaScript in the
>> browser, no JS-packages. And, where they are fast enough in the
>> HTML5 engine, all the well known wonderful LC-techniques:
>> 
>> (US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
>> (EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html
>> 
>> The source code is, as usual, free for non-commercial use.
>> (Sadly, my idea of a developer fund died last year).
>> 
>> Happy New Year 2019!
>> 
>> ___
>> use-livecode mailing list
>> use-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: Refactoring is your friend / moving from 6.x to 9.x

2018-12-31 Thread Peter Bogdanoff via use-livecode
Is what you mean by creating a memory database as covered in this tutorial?

http://lessons.livecode.com/m/4069/l/565718-how-to-create-and-use-an-sqlite-database
 


Peter


> On Dec 31, 2018, at 5:16 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> A SQLite memory database is the same as a SQLite file database except it's
> created for just the instance that app is running. You have to create
> table(s) and field(s) for those table(s). Then the app then populates the
> data and queries it. SQLite memory database supports the same SQL syntax as
> a file based SQLite database. When opening an SQLite database if you don't
> supply a file spec then it's created in memory( I think that ":memory:" for
> the file spec also works). If you supply a file spec and the db does not
> exist then an empty one is created just like a memory database. Of course a
> memory database is faster than a disk based database. I find that SQL
> invaluable for dealing with complex data relationships.
> 
> 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 J. Landman Gay via use-livecode
> Sent: Monday, December 31, 2018 4:32 PM
> To: How to use LiveCode
> Cc: J. Landman Gay
> Subject: Re: Refactoring is your friend / moving from 6.x to 9.x
> 
> I'm generally deficient when it comes to databases but curious how one
> creates a memory based one. Is there a trick, and does it work with others
> besides sql?
> 
> This is probably a newbie question.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
> http://www.hyperactivesw.com On December 31, 2018 11:31:15 AM Bob Sneidar
> via use-livecode  wrote:
> 
>> For multiple recursions into an array I came up with a method for 
>> loading an array into a memory based sql database. Subsequent queries 
>> take less time, depending of course on how complex they are, but you 
>> can do lots of cool thinks, like complex filtering / sorts, 
>> calculations, etc. to a cursor, then I have a function that converts a
> cursor to an array.
>> 
>> I originally used it to get the topmost, leftmost, bottommost and 
>> rightmost objects on a card that were visible by using min and max 
>> queries on a list of the objects. But of course the method can be expanded
> to do almost anything.
>> 
>> Bob S
>> 
>> 
>>> On Dec 30, 2018, at 11:33 , Malte Pfaff-Brill via use-livecode 
>>>  wrote:
>>> 
>>> Not yet fixable for me:
>>> Array operations on larger data sets still slower than they were
>>> 
>>> Non engine related:
>>> My SQL-Fu has improved a bit ;-) Quite a bit of performance to gain
> there.
>>> 
>>> Did anybody of you happen to refactor old code and if so, do you have 
>>> any observations you might want to share?
>>> 
>>> 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
> 
> 
> ___
> use-livecode mailing list
> use-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


Signing macOS application

2018-12-29 Thread Peter Bogdanoff via use-livecode
Hi,

I’m using DropDMG to sign my macOS installer. Users are having trouble opening 
it—Gatekeeper seems to not recognize my developer ID.

It is unclear to me what is going on. Does the application need to be signed 
before I create the installer in DropDMG? And how do I do that? I had thought 
that DropDMG took care of everything… Michael Tsai says "The app should 
definitely be signed before creating the .dmg.”

https://c-command.com/forums/showthread.php/4103-Signing-app-to-prevent-Gatekeeper-block
 


I have these IDs:
Developer ID Installer
Developer ID Application

DropDMG shows in its preferences the 'Developer ID Application’ that is used to 
sign the installer. That should be used and not 'Developer ID Installer’?


Anyone have any guidance on this?


And this all doesn’t have anything to do with Notarization? That’s another step 
for the future?

Thanks for any help!

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

Re: Seeking OSX Code signing consultant...

2018-12-13 Thread Peter Bogdanoff via use-livecode
I, myself am right now trying to figure out Apple’s system so I can publish my 
(not-mobile, not-App Store) program which is distributed from my website, and 
not have the user see dire warnings.

I’m in the Dev program, have the certificate, but am still having the issue. So 
I am very interested in being educated about this whole world.

Peter Bogdanoff
ArtsInteractiveInc.com


> On Dec 13, 2018, at 1:19 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 12/12/18 1:20 PM, Paul Dupuis via use-livecode wrote:
>> Either there are not enough people willing to pay for 3rd party developer 
>> services for 3rd party developers to make a living at it OR the market of 
>> people wanting LC related developer expertise is larger than the available 
>> number of "experts".
>> Also, if you are making a commercial application in LiveCode for Windows, 
>> OSX, and probably Linux too, you pretty much have to code sign the app or 
>> your sales will suffer (if you get any at all). For Android and iOS code 
>> signing is required.
> 
> I don't know about others, but I haven't built an iOS app for some years now. 
> I did learn how to do it a long time ago, but a lot has changed since then so 
> I'm no longer qualified to call myself an expert. The reason I haven't built 
> for iOS lately is because of Apple's many restrictions which disqualify my 
> clients' apps, so we release for Android instead where there is more 
> flexibility to make apps that do what we need. (One example: Apple's 
> unfathomable restriction on reading an NFC tag ID. We'd have an iOS app if it 
> weren't for that.)
> 
> Codesigning for Android is dead simple, and once you've created a signing key 
> on your own hard drive you can continue to use it indefinitely. There are 
> one-click tools for codesigning on Windows and OS X, which helps, but even OS 
> X requires the certificate juggling game, and Windows requires a lengthy 
> process (and some cost) to get developer verification. But in any case, if 
> the problem is with your certificates, there's not much anyone else can do; 
> as the developer you need to know how to create and manage those yourself, or 
> allow someone else to access your account and do it.
> 
> While it isn't strictly LC-related, a lesson on how to deal with Apple 
> certificates wouldn't hurt. Apple is the only company that requires those.
> 
> -- 
> 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: Radio Buttons on multiple cards

2018-11-17 Thread Peter Bogdanoff via use-livecode
I did get it to work, as you said, by setting each button individually, rather 
than trying to set the whole group. So I’m good. Thanks!

Peter

> On Nov 17, 2018, at 1:28 PM, Phil Davis via use-livecode 
>  wrote:
> 
> Hmmm. Here is what I tried, and the hilites 'stick' across all cards in the 
> stack:
> - create stack
> - add 2 radio buttons
> - group them
> - set the sharedHilite of each radio to true
> - add another generic button to the card
> - group the newest button with the group of radios
> - make new card
> - place that last group on card 2
> 
> Result:
> Radio hilites stick across both cards
> 
> I'm not sure why your experience would be different than this. Do you have 
> any scripts that fiddle with the radio hilites?
> 
> Phil
> 
> 
> On 11/17/18 8:08 AM, Peter Bogdanoff via use-livecode wrote:
>> Thanks Phil, that did it. I was trying to set the group sharedHilite, which 
>> can’t be done.
>> 
>> Peter
>> 
>>> On Nov 17, 2018, at 3:04 AM, Phil Davis via use-livecode 
>>>  wrote:
>>> 
>>> Hi Peter,
>>> 
>>> Set the sharedHilite of each button to true. That'll give you what you want.
>>> 
>>> Phil Davis
>>> 
>>> 
>>> On 11/16/18 9:28 PM, Peter Bogdanoff via use-livecode wrote:
>>>> Hi,
>>>> 
>>>> A question about LC mechanics:
>>>> 
>>>> I have a stack of 10 cards, sharing the same background on each. That 
>>>> background group contains a sub group of a 2-button radio set.
>>>> 
>>>> When the user selects radio button 2 on any particular card, I want radio 
>>>> button 2 of all 10 cards to be also selected. All I see is the button set 
>>>> working independently on each card.
>>>> 
>>>> I don’t see this universal choice as a button property. Is this to be done 
>>>> by scripting?
>>>> 
>>>> Peter Bogdanoff
>>>> ArtsInteractive
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> -- 
>>> Phil Davis
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> -- 
> Phil Davis
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Radio Buttons on multiple cards

2018-11-17 Thread Peter Bogdanoff via use-livecode
Thanks Phil, that did it. I was trying to set the group sharedHilite, which 
can’t be done. 

Peter

> On Nov 17, 2018, at 3:04 AM, Phil Davis via use-livecode 
>  wrote:
> 
> Hi Peter,
> 
> Set the sharedHilite of each button to true. That'll give you what you want.
> 
> Phil Davis
> 
> 
> On 11/16/18 9:28 PM, Peter Bogdanoff via use-livecode wrote:
>> Hi,
>> 
>> A question about LC mechanics:
>> 
>> I have a stack of 10 cards, sharing the same background on each. That 
>> background group contains a sub group of a 2-button radio set.
>> 
>> When the user selects radio button 2 on any particular card, I want radio 
>> button 2 of all 10 cards to be also selected. All I see is the button set 
>> working independently on each card.
>> 
>> I don’t see this universal choice as a button property. Is this to be done 
>> by scripting?
>> 
>> Peter Bogdanoff
>> ArtsInteractive
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> -- 
> Phil Davis
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Radio Buttons on multiple cards

2018-11-16 Thread Peter Bogdanoff via use-livecode
Hi,

A question about LC mechanics:

I have a stack of 10 cards, sharing the same background on each. That 
background group contains a sub group of a 2-button radio set.

When the user selects radio button 2 on any particular card, I want radio 
button 2 of all 10 cards to be also selected. All I see is the button set 
working independently on each card.

I don’t see this universal choice as a button property. Is this to be done by 
scripting?

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

Re: Callbacks in HTML5

2018-10-06 Thread Peter Bogdanoff via use-livecode
Thanks, yes, please send me that info.

Peter

> On Oct 6, 2018, at 7:47 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Andre and I spend a long time tinkering with this last year.
> 
> In the end I asked for a quote. It was ~$9,000.00 (or something like
> that) for  the basic implementation. If you wanted the IDE to report
> errors/debug another $7K   $16,000.00
> 
> I don't have a budget for just this feature
> 
> If you like I can send my proposal and the response off list. It details
> the requirements.
> 
> 
> BR
> 
> On 10/6/18 10:44 AM, Peter Bogdanoff via use-livecode wrote:
>> Hi,
>> 
>> Does anyone know the availability of callbacks in LC HTML5? Some time ago 
>> the Company said that callbacks weren’t there yet, and adding that would be 
>> “expensive.”
>> 
>> Has anything changed since?
>> 
>> Peter Bogdanoff
>> ArtsInteractive
> 
> 
> -- 
> Svasti Astu, Be Well!
> Brahmanathaswami
> 
> Get the SivaSiva app, it's free:
> https://www.himalayanacademy.com/apps/sivasiva
> 
> ___
> use-livecode mailing list
> use-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

Callbacks in HTML5

2018-10-06 Thread Peter Bogdanoff via use-livecode
Hi,

Does anyone know the availability of callbacks in LC HTML5? Some time ago the 
Company said that callbacks weren’t there yet, and adding that would be 
“expensive.”

Has anything changed since?

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

Re: "send" vs "dispatch"

2018-10-05 Thread Peter Bogdanoff via use-livecode
I’m finding it’s best to do this when you “send” and have a parameter:

send “test ha” to button 1


Peter Bogdanoff
ArtsInteractive

> On Oct 5, 2018, at 3:08 PM, Geoff Canyon via use-livecode 
>  wrote:
> 
> A word to the wise (mostly for IDE and extension developers): this will
> successfully compile:
> 
>   send "test" to button 1 with "ha"
> 
> And then if the IDE is swallowing up your error messages (as it does for
> extensions like Navigator) it will even deliver the message "test" to
> button 1, just without any arguments, and then die silently.
> 
> Outside of "rev" stacks, it will deliver the message without arguments and
> then throw an error saying there is no handler "with". I just checked, and
> amazingly this will work:
> 
> on mouseUp
>   send "test" to button 1 with "ha"
> end mouseUp
> 
> on with
>   answer "WTH?"
> end with
> 
> But that's obviously unlikely. Far more likely if you're dealing with
> code you wrote before you became aware of "dispatch" (or maybe before
> "dispatch" was a thing -- I think Navigator predates LC 3.5) is that you
> decide to add an argument to a remote call and don't notice that it's a
> "send" rather than a "dispatch", and then spend half an hour trying to
> figure out why your arguments aren't passing through .
> ___
> use-livecode mailing list
> use-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

put URL blocking?

2018-09-30 Thread Peter Bogdanoff via use-livecode
Hi, a question…

The statement:
put URL tURL into tData

tURL, the URL to a text file, resides on a remote server. Is this command 
blocking? Does LC wait for a response before moving on the the next line of the 
script?

I’m not clear at all about gets, puts, etc. -- what I need to do if there is a 
delay in retrieving data, when I need that data in hand before continuing in a 
script.

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

Re: Internet Date Service test

2018-09-15 Thread Peter Bogdanoff via use-livecode
Thank you Mark, I’ll try it out.

Peter


> On Sep 14, 2018, at 9:24 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 09/14/2018 08:30 PM, Peter Bogdanoff via use-livecode wrote:
> > I’m not seeing how to translate use of an NTP server into "LC-talk.” I 
> > would love to use it but Google doesn’t seem to have an API that I can 
> > access. And I would love the dependability of the Google universe.
> 
> NTP uses port 13.
> 
> constant kNTPsocket = "time.nist.gov:13"
> 
> on mouseUp pMouseButton
>   open socket to kNTPsocket with message "opened"
>   if the result is not empty then
>  put the result after msg
>   end if
> end mouseUp
> 
> on opened
>   local tTime
> 
>   read from socket kNTPsocket until EOF
>   put it into tTime
>   put tTime after msg
>   close socket kNTPSocket
> end opened
> 
> -- 
> 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: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
I’m not seeing how to translate use of an NTP server into "LC-talk.” I would 
love to use it but Google doesn’t seem to have an API that I can access. And I 
would love the dependability of the Google universe.

This one does return JSON:
http://worldclockapi.com <http://worldclockapi.com/>

What I was using before was Julian date which is an easy calculation to use 
with a 30-day free trial. This worldclockapi.com server  returns:
{"$id":"1","currentDateTime":"2018-09-15T03:25Z","utcOffset":"00:00:00","isDayLightSavingsTime":false,"dayOfTheWeek":"Saturday","timeZoneName":"UTC","currentFileTime":13181446165290,"ordinalDate":"2018-258","serviceResponse":null}

The ordinal date could be used, I suppose, to calculate 30 days from now.

Peter


> On Sep 14, 2018, at 8:06 PM, Stephen Barncard via use-livecode 
>  wrote:
> 
> I'd rather use a time server that a lot of people use and is maintained. A
> private web server's clock depends on ...x for reference?
> 
> "Google Public NTP serves leap-smeared time
> <https://developers.google.com/time/smear>. We use this technology to
> smoothly handle leap seconds with no disruptive events.
> 
> We implemented Google Public NTP with our load balancers
> <https://cloud.google.com/load-balancing/> and our fleet of atomic clocks
> in data centers around the world.
> 
>   - Configure your network settings to use time.google.com as your NTP
>   server."
> 
> 
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> 
> On Fri, Sep 14, 2018 at 7:55 PM, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> You could put a little one line CGI on your server that just returns the
>> time and date.
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> 
>> On September 14, 2018 8:47:51 PM Peter Bogdanoff via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Yes, that’s right.
>>> 
>>> We had a report of a user setting back his OS date to extend his demo.
>>> This caused us much consternation, thus the desire for an independent date
>>> source.
>>> 
>>> Peter
>>> 
>>> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> I think the goal is an independent time (date) source to ensure that the
>>>> value is correct. I’m curious about the best solution. Probably would
>>>> involve your own server though.
>>>> 
>>>> Thanks,
>>>> Brian
>>>> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode <
>>>> use-livecode@lists.runrev.com>, wrote:
>>>> 
>>>>> Peter Bogdanoff wrote:
>>>>> 
>>>>> And… if anyone has a method that doesn’t rely on the user’s local
>>>>>> date/time I’d like to hear that…
>>>>>> 
>>>>> 
>>>>> Using "the seconds" returns a value that accounts for local GMT offset.
>>>>> with the value returned being for GMT.
>>>>> 
>>>>> So if you get the seconds and then display them on a machine set to a
>>>>> different time zone, the time zone will be taken into account when using
>>>>> the convert command to display them in any human-readable format.
>>>>> 
>>>>> FWIW "the internet date" is similarly useful for converting to other
>>>>> formats in ways that take local time zone into account.
>>>>> 
>>>>> AFAIK those are the only two built-in date formats that account for GMT
>>>>> offset, but I've used both for network services where users trade data
>>>>> across many time zones and they work quite well.
>>>>> 
>>>>> --
>>>>> Richard Gaskin
>>>>> Fourth World Systems
>>>>> Software Design and Development for the Desktop, Mobile, and the Web
>>>>> 
>>>>> ambassa...@fourthworld.com http://www.FourthWorld.com
>>>>> 
>>>>> 
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and

Re: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
Yes, that’s right.

We had a report of a user setting back his OS date to extend his demo. This 
caused us much consternation, thus the desire for an independent date source.

Peter

> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode 
>  wrote:
> 
> I think the goal is an independent time (date) source to ensure that the 
> value is correct. I’m curious about the best solution. Probably would involve 
> your own server though.
> 
> Thanks,
> Brian
> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode 
> , wrote:
>> Peter Bogdanoff wrote:
>> 
>>> And… if anyone has a method that doesn’t rely on the user’s local
>>> date/time I’d like to hear that…
>> 
>> Using "the seconds" returns a value that accounts for local GMT offset.
>> with the value returned being for GMT.
>> 
>> So if you get the seconds and then display them on a machine set to a
>> different time zone, the time zone will be taken into account when using
>> the convert command to display them in any human-readable format.
>> 
>> FWIW "the internet date" is similarly useful for converting to other
>> formats in ways that take local time zone into account.
>> 
>> AFAIK those are the only two built-in date formats that account for GMT
>> offset, but I've used both for network services where users trade data
>> across many time zones and they work quite well.
>> 
>> --
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> 
>> ambassa...@fourthworld.com http://www.FourthWorld.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
That sounds plausible.

I am getting uneven results with this…

Is this a job for LC Server? To return the seconds and then do my calculations 
from that?

Peter

> On Sep 14, 2018, at 4:06 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Also it dawns on me that the US Navy may firewall it's own time servers so 
> that they are no DOS attacked. 
> 
> Bob S
> 
> 
>> On Sep 14, 2018, at 15:58 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> While the USA does not firewall it's internet, there are countries that do. 
>> Costa Rica may be one of them. 
>> 
>> Bob S
>> 
>> 
>>> On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode 
>>>  wrote:
>>> 
>>> It seems to work well in on my computer and others in the USA, but a 
>>> Windows tester in Costa Rica can’t seem to get a response. I haven’t 
>>> figured out if this is a programming or Internet issue, and it’s difficult 
>>> to determine since it works well for me on Mac and Windows.
> 
> ___
> use-livecode mailing list
> use-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

Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
Hi,

For trial version expiration of my program, I’ve been attempting to use the US 
Naval Observatory time service which has an API that returns info as JSON data:

http://aa.usno.navy.mil/data/docs/api.php#jdconv 


My request:
put URL 
"http://api.usno.navy.mil/jdconverter?date=today=22:15:23.5=ArtsInteractive;
 into sJulianDateJSON

I have a handler that checks for the local variable sJulianDateJSON to contain 
the returned data, then I use the current Julian date returned (the number of 
days since January 1, 4713 BC) to write and check on the current date and 
expiration dates.

It seems to work well in on my computer and others in the USA, but a Windows 
tester in Costa Rica can’t seem to get a response. I haven’t figured out if 
this is a programming or Internet issue, and it’s difficult to determine since 
it works well for me on Mac and Windows.



Would any of you test this small LC stack — in the USA or elsewhere? And send 
me results directly to my email address?

https://artsinteractive-products.s3.amazonaws.com/MITA/Get_Julian_Date.livecode.zip
 


1. Click “Get Julian Date”. If it works, it should show a number in the “Julian 
Date” field after a few seconds.
2. “Clear” resets the result fields
3. The top field “Try x times” can be set to a larger number if necessary.
4. If it works the “Send Email” will attempt to use your email client to email 
me the results.


And… if anyone has a method that doesn’t rely on the user’s local date/time I’d 
like to hear that…

Thanks!

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

Re: For those who do not know lcTasklist

2018-08-28 Thread Peter Bogdanoff via use-livecode
There’s a help icon at the bottom of the window that explains everything.

However, with Livecode 9 I was finding that lcTasklist seemed to be causing 
strange things in the script editor when editing an existing script—the new 
completion features were misfiring and scrambling things. I had to go to a 
backup of my script and then remove lcTasklist completely.

Peter


> On Aug 27, 2018, at 9:58 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Looks like I need this, so on everyone's recommendation I bought it.
> 
> 1) Where is the documentation?
> 
> 2)  Can you make  "ignore" the Datagrid templates after they been
> instantiated? One get many "Note" from every instance?
> 
> BR
> 
> 
> 
> On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote:
>> I´ve purchased the plugin lcTasklist a long time ago and used it now and 
>> then. 
>> But now i am totally in love with this great tool. 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: Best way to store videos

2018-08-23 Thread Peter Bogdanoff via use-livecode
Bill: If your video is a common format like MPEG-4, then any browser will play 
it.

Stephan: I’m aware of the streaming server versions issue. However, not all 
video content needs to be optimized—it depends on what it is and in what 
context it is displayed. But, it is true that Vimeo and YouTube handle format 
conversion and optimization, which is very nice, and one can embed a browser 
widget on a LC card to play it. Part of my point was that to create 
interactivity with the media, it would have to be in a format that a player 
control can use, which would necessitate appropriate files in media storage 
somewhere.

I should have noted in my earlier post that to use callbacks in an LC player in 
Windows, the media format needs to be WMV.

Peter






> On Aug 23, 2018, at 2:05 PM, Stephen Barncard via use-livecode 
>  wrote:
> 
> um... Peter.. streaming video is not just about having the storage space...
> It's what the servers do to match up the devices calling with the
> appropriate size and type file. Typically many versions of the same video
> are created for each upload. The Vimeo and YouTube web apps handle all of
> that.
> 
> Believe me I resisted for years and insisted on hosting my own video
> content, but when the quality got to be HD for everyone, they dumped Flash®
> and I figured out how one could turn off the ads, I was sold.
> 
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> 
> On Thu, Aug 23, 2018 at 1:43 PM, Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Bill,
>> 
>> You could also look at Amazon AWS S3 storage.
>> 
>> It’s pretty much free for the first year. Then, depending on usage, could
>> be only a few dollars a month.
>> 
>> https://aws.amazon.com/s3/pricing/
>> 
>> Videos could then be played directly in a Livecode player control, as well
>> as on your website. One of the benefits of the LC player is that you can
>> program events to happen in response to particular timings set in the
>> video—callbacks. This is great for pedagogy—synchronized subtitles,
>> comments, animations as a video (or audio) plays.
>> 
>> Peter
>> 
>>> On Aug 23, 2018, at 12:47 PM, Stephen Barncard via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> YouTube is great these days. If you take the time to become a verified
>>> subscriber all the world will be revealed to you. They have many tools
>> and
>>> they re-written the whole thing, and it’s pretty good. It’s also free.
>> You
>>> can make playlists and decide what happens at the end, and add links and
>>> other text.
>>> 
>>> After you earn your stars and are good for a while they will give you
>> these
>>> privileges.
>>> 
>>> And as far as video streaming, they actually appear to be the best. They
>>> are so equipped with their mirror servers all over the world.
>>> 
>>> I used to shun YouTube for several years because of their lower quality
>> at
>>> the time but now they’ve come up to do not only great serving but live
>>> streaming as well.
>>> 
>>> You can create extra users. And it has a better social features.
>>> 
>>> Vimeo streaming is still excellent but I like the extended distribution
>>> that YouTube has.  And I have to pay over $100 a year to be able to
>> upload
>>> the quality I want quickly.
>>> 
>>> On Thu, Aug 23, 2018 at 12:20 Tom Glod via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> just fyi..you can disable to recommened videos in the embedd
>> code..
>>>> you can also detect via java script when the video ends. so you really
>> have
>>>> more control than you think.  just got to send script to the browser
>> .
>>>> "do in widget".
>>>> 
>>>> I haven't done anything crazy ...but i know that there is more control
>> than
>>>> what is obvious at first.
>>>> 
>>>> On Thu, Aug 23, 2018 at 3:12 PM William Prothero via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>>> Folks:
>>>>> I have numerous videos that I would like to play on a wordpress web
>> site,
>>>>> and in livecode. I don’t want to host these on my own server for
>> obvious
>>>>> reasons of bandwidth, support for different browsers, etc.
>>>>> 
>>>>> This is not a commercial project, but an educational software project
&

Re: Best way to store videos

2018-08-23 Thread Peter Bogdanoff via use-livecode
Bill,

You could also look at Amazon AWS S3 storage.

It’s pretty much free for the first year. Then, depending on usage, could be 
only a few dollars a month.

https://aws.amazon.com/s3/pricing/

Videos could then be played directly in a Livecode player control, as well as 
on your website. One of the benefits of the LC player is that you can program 
events to happen in response to particular timings set in the video—callbacks. 
This is great for pedagogy—synchronized subtitles, comments, animations as a 
video (or audio) plays.

Peter
 
> On Aug 23, 2018, at 12:47 PM, Stephen Barncard via use-livecode 
>  wrote:
> 
> YouTube is great these days. If you take the time to become a verified
> subscriber all the world will be revealed to you. They have many tools and
> they re-written the whole thing, and it’s pretty good. It’s also free. You
> can make playlists and decide what happens at the end, and add links and
> other text.
> 
> After you earn your stars and are good for a while they will give you these
> privileges.
> 
> And as far as video streaming, they actually appear to be the best. They
> are so equipped with their mirror servers all over the world.
> 
> I used to shun YouTube for several years because of their lower quality at
> the time but now they’ve come up to do not only great serving but live
> streaming as well.
> 
> You can create extra users. And it has a better social features.
> 
>  Vimeo streaming is still excellent but I like the extended distribution
> that YouTube has.  And I have to pay over $100 a year to be able to upload
> the quality I want quickly.
> 
> On Thu, Aug 23, 2018 at 12:20 Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> just fyi..you can disable to recommened videos in the embedd code..
>> you can also detect via java script when the video ends. so you really have
>> more control than you think.  just got to send script to the browser .
>> "do in widget".
>> 
>> I haven't done anything crazy ...but i know that there is more control than
>> what is obvious at first.
>> 
>> On Thu, Aug 23, 2018 at 3:12 PM William Prothero via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Folks:
>>> I have numerous videos that I would like to play on a wordpress web site,
>>> and in livecode. I don’t want to host these on my own server for obvious
>>> reasons of bandwidth, support for different browsers, etc.
>>> 
>>> This is not a commercial project, but an educational software project
>>> where I give it away for free. So, I would rather not pay, but I have
>>> looked into Vimeo and the lowest rate of $7/mo could work. I’ve tried
>>> YouTube and it has so many privacy issues. Also,  when the video ends it
>>> displays unrelated material that would be distracting to students.
>>> 
>>> I understand that any free service will probably want to grab users’ info
>>> for marketing. That’s the world we are in.
>>> 
>>> Buuut.. do you have a strategy that you could recommend?
>>> 
>>> Best,
>>> Bill
>>> 
>>> William A. Prothero
>>> 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
> 
> -- 
> --
> 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: Macintosh bloat

2018-08-19 Thread Peter Bogdanoff via use-livecode
Hi Richmond,

In the standalone settings, are you building for both 32-bit and 64-bit?

Peter


> On Aug 19, 2018, at 1:48 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> I ran off a series of standalones to day: Mac, Win, Linux 32 and Linux 64 and 
> they ended up as these sizes, respectively:
> 
> 146.6 MB, 72.4 MB, 75.6 MB, 75.9 MB
> 
> Can anyone tell me why the Macintosh standalone is about twice the size of 
> all the others
> [leaving aside remarks about the late Steve Jobs' ego, the fact that 
> Macintosh computers are hugely expensive and so on]?
> 
> 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: "Effective" characters in a line in a field

2018-08-16 Thread Peter Bogdanoff via use-livecode
Hey, thanks!


> On Aug 16, 2018, at 4:51 PM, Terry Judd via use-livecode 
>  wrote:
> 
> Check out the formattedText property.
> 
> Terry...
> 
> On 17/08/2018 8:39 am, "use-livecode on behalf of Peter Bogdanoff via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>Hi,
> 
>On the subject of chunk references…
> 
>I want to add a carriage return at the end of every visual line of a 
> paragraph. This would keep the characters of a visual line constant when 
> transferring from Mac to Windows, and set to any font.
> 
>Is there a way to find out what is the last character of any visual line 
> of a paragraph to automatically add the CR? Or do I have to do some brute 
> force method?
> 
>Peter Bogdanoff
>ArtsInteractive
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

"Effective" characters in a line in a field

2018-08-16 Thread Peter Bogdanoff via use-livecode
Hi,

On the subject of chunk references…

I want to add a carriage return at the end of every visual line of a paragraph. 
This would keep the characters of a visual line constant when transferring from 
Mac to Windows, and set to any font.

Is there a way to find out what is the last character of any visual line of a 
paragraph to automatically add the CR? Or do I have to do some brute force 
method?

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

Re: scaleFactor

2018-08-15 Thread Peter Bogdanoff via use-livecode
I too am using scaleFactor and ran into this issue of the difficulty of windows 
moving around and even off screen. It seems that when scaleFactor is invoked 
the entire screen is now virtual and calculations have to be made to position 
the window where you want it to be visually. Unfortunately, those exact 
calculations were beyond me at the time I implemented scaleFactor, so my 
windows do still move somewhat. But if someone else has a method/formula for 
window placement I too would be interested.

Peter Bogdanoff
ArtsInteractive


> On Aug 15, 2018, at 3:02 PM, Knapp Martin via use-livecode 
>  wrote:
> 
> I know that scaleFactor is not intended to be a "zoom view" feature for 
> desktop, but in lieu of actually having zoom views, I really need to use it 
> to allow the user to enlarge or reduce the window size for a Mac and Windows 
> app I’m working on. What I would like is for it to shrink or grow from the 
> topLeft point on the screen but I can't seem to figure out a way to keep it 
> from jumping around. I would like to have scaleFactors from .5 to 1.5. 
> Anybody tackled this one?
> 
> Thanks,
> 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

  1   2   >