Re:

2019-06-03 Thread Knapp Martin via use-livecode
Are you setting the “ink” to something other than the standard srcCopy? I had some image weirdness that happened when I upgraded to Mojave, though I don’t remember which ink setting it was that caused it. --- Marty Knapp > On Jun 3, 2019, at 8:31 AM, Tom Bodine via use-livecode > wrote: >

Re: revMoveFolder on Windows

2019-01-25 Thread Knapp Martin via use-livecode
ving files open in the folder could it be that >> if you trying to move LC's current defaultfolder it causes a problem >> on Windows? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdim...@evergreeninfo.net >> >> >> -

Re: revMoveFolder on Windows

2019-01-25 Thread Knapp Martin via use-livecode
ving files open in the folder could it be that >> if you trying to move LC's current defaultfolder it causes a problem >> on Windows? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdim...@evergreeninfo.net >> >>

revMoveFolder on Windows

2019-01-24 Thread Knapp Martin via use-livecode
I have an app that allows users to create documents and store then in a specified folder. Via a preference setting they can move the folder to a location of their choosing. I use revMoveFolder to do this. You can also move the folder where you want and then drag and drop it on the preference

Re: screenRect and screenLoc weirdness

2019-01-15 Thread Knapp Martin via use-livecode
ry old stack then MetaCard used to > copy the ask and answer dialog into the stackFile as a substack. You should > be able to see them in the project browser under your mainstack. If that’s > the case then perhaps try deleting those. > > Cheers > > Monte > >> On 15 Ja

Re: screenRect and screenLoc weirdness

2019-01-14 Thread Knapp Martin via use-livecode
far off you can only see about the bottom 1/8 of an inch of the window and are thus unusable. Marty > On Jan 14, 2019, at 2:25 PM, Paul Dupuis via use-livecode > wrote: > > On 1/10/2019 11:02 PM, Knapp Martin via use-livecode wrote: >> OK, I’m making progress here. But I’m fi

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Knapp Martin via use-livecode
OK, I’m making progress here. But I’m finding that ask and answer dialogs are opening off-screen. How are their positions determined? Marty > On Jan 10, 2019, at 6:44 PM, Brian Milby via use-livecode > wrote: > > I do see one issue with the “effective” dictionary entry though. Normally >

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Knapp Martin via use-livecode
I will give those a spin - thanks Monte. Marty > On Jan 10, 2019, at 4:39 PM, Monte Goulding via use-livecode > wrote: > > > >> On 11 Jan 2019, at 11:16 am, Knapp Martin via use-livecode >> wrote: >> >> I was merely using that as an e

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Knapp Martin via use-livecode
-around to place things where I’d like them on the screen. Marty > On Jan 10, 2019, at 3:56 PM, Monte Goulding via use-livecode > wrote: > > > >> On 11 Jan 2019, at 10:41 am, Knapp Martin via use-livecode >> wrote: >> >> When I open Livecode on my dual

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Knapp Martin via use-livecode
ecode >> wrote: >> >> i don't like how long a bug like this has been in the queue without being >> fixed. I'm surprised it hasn't affected more people but i guess maybe >> thats why its lower in the queue. >> >> Sorry, but I don't know of any rem

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Knapp Martin via use-livecode
019, at 1:58 PM, Tom Glod via use-livecode > wrote: > > Hi Marty, I saw this the other day...this is probably the bug you are > referencing. > > https://quality.livecode.com/show_bug.cgi?id=19419 > > On Thu, Jan 10, 2019 at 3:25 PM Knapp Martin via use-livecode < &

screenRect and screenLoc weirdness

2019-01-10 Thread Knapp Martin via use-livecode
So I just had a customer complain that windows were opening in odd locations with his multi-monitor setup: a MacBookPro with a Thunderbolt display. He has his displays arranged so that the bottoms were aligned with the 2nd display to the left of the MacBook. So I hooked my laptop to my TV and

Re: Signing macOS application

2018-12-29 Thread Knapp Martin via use-livecode
I believe that DropDMG just signs the installer and does not sign the app. You might take a look at AppWrapper3 or dive into Trevor’s Levure framework - it works with DropDMG to sign both the app and the disk image. Marty > On Dec 29, 2018, at 12:20 PM, Peter Bogdanoff via use-livecode >

Re: Seeking OSX Code signing consultant...

2018-12-12 Thread Knapp Martin via use-livecode
In my experience, it’s easy to make a mess of your certificates from Apple. Then, if you’re like me, you finally get it set up but when you need to renew them a few years later you’ve forgotten what you did the last time to get it right (or is that just me?). I’d like to give a plug here for

Re: Seeking OSX Code signing consultant...

2018-12-11 Thread Knapp Martin via use-livecode
work for, I should > never be forced to sign my apps. That would be onerous in my opinion. > > Bob S > > >> On Dec 11, 2018, at 14:26 , Knapp Martin via use-livecode >> wrote: >> >> I think on Sierra and older there was a 3rd option in the security sec

Re: Seeking OSX Code signing consultant...

2018-12-11 Thread Knapp Martin via use-livecode
hat feature off in Security & Privacy. > >> On Dec 11, 2018, at 13:58 , Knapp Martin via use-livecode >> wrote: >> >> Maybe you can run unsigned apps downloaded on older Mac OSs but you cannot >> do it on either High Sierra or Mojave. The app has to be

Re: Seeking OSX Code signing consultant...

2018-12-11 Thread Knapp Martin via use-livecode
Maybe you can run unsigned apps downloaded on older Mac OSs but you cannot do it on either High Sierra or Mojave. The app has to be either from the "App Store" or from "Identified developers” (code signed). You can run an app you build on your own computer but to distribute and download they

Printing Crashes in LC 9

2018-11-20 Thread Knapp Martin via use-livecode
Anybody besides me having occasional crashes while printing in LC 9? I don't have a recipe but it happens every once in a while in both LC 9.0.1 and LC 9.0.2 rc1. In the IDE and in a standalone (Mac). I have filed bug report 21473 (first reported in August) and have added crash reports from

Re: Datagrids and LC 9.0.2 rc1

2018-11-20 Thread Knapp Martin via use-livecode
PM, Monte Goulding via use-livecode > wrote: > > > >> On 21 Nov 2018, at 6:59 am, Knapp Martin via use-livecode >> wrote: >> >> Anybody having trouble with data grids in LC 9.0.2 rc1? I have a forms-based >> data grid that works fine under 9.0.1 but

Datagrids and LC 9.0.2 rc1

2018-11-20 Thread Knapp Martin via use-livecode
Anybody having trouble with data grids in LC 9.0.2 rc1? I have a forms-based data grid that works fine under 9.0.1 but on 9.0.2 rc1, in a standalone when I try to open the stack with the data grid it locks up on both Mac and Windows. I can drag windows by the titlebar but everything else is

Re: App Dead on iOS 12

2018-09-28 Thread Knapp Martin via use-livecode
Do you have the stack you’re printing in Windows with the formatForPrinting set to true? Marty > On Sep 28, 2018, at 11:58 AM, Matthias Rebbe via use-livecode > wrote: > > Under Windows I´ve noticed that the blank gaps between the black bars do not > have the same width, when they should

Re: LiveCode 6.7.11 and OSX Mojave

2018-09-13 Thread Knapp Martin via use-livecode
another reason for me to get to 9. We just couldn't make it by the 24th, > so I am glad it look like we have a little breathing room. > > On 9/13/2018 11:50 AM, Knapp Martin via use-livecode wrote: >> Hi Paul, >> I have two apps built in LC 6.6.5 and in very *brief* test

Re: LiveCode 6.7.11 and OSX Mojave

2018-09-13 Thread Knapp Martin via use-livecode
Hi Paul, I have two apps built in LC 6.6.5 and in very *brief* testing they both seem to work fine with the latest Mojave beta. I have been feverishly working on one of them trying to get it ready for Mojave in case they remove 32 bit capability but LC 9 has a couple of glitches for me - the

Re: Answer & Ask dialogs in Windows Standalones

2018-09-12 Thread Knapp Martin via use-livecode
I’ve been trying it both ways and sometimes it “takes” and sometimes it doesn’t. > On Sep 12, 2018, at 4:03 PM, Paul Dupuis via use-livecode > wrote: > > I let LC set the inclusions > > > On 9/12/2018 6:31 PM, Knapp Martin via use-livecode wrote: >> Are you s

Re: Answer & Ask dialogs in Windows Standalones

2018-09-12 Thread Knapp Martin via use-livecode
; >> *on*mouseUp pMouseButton >> >> *answer*"Do you want:"with"A"or"B"or"C" >> >> *answer*"You selected:"& with"OK" >> >> *end*mouseUp >> >> And build a default Windows standalone.

Answer & Ask dialogs in Windows Standalones

2018-09-12 Thread Knapp Martin via use-livecode
What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected

Re: Stacks in Memory

2018-09-05 Thread Knapp Martin via use-livecode
re. > > Bob S > > > >> On Sep 5, 2018, at 10:49 , Knapp Martin via use-livecode >> wrote: >> >> To answer my own question, although the Property Inspector will allow you to >> set both the destroyStack and cantDelete properties of a stack to true, >> cant

Re: Stacks in Memory

2018-09-05 Thread Knapp Martin via use-livecode
To answer my own question, although the Property Inspector will allow you to set both the destroyStack and cantDelete properties of a stack to true, cantDelete (when true) blocks destroyStack. I’d set cantDelete to true so that I wouldn’t accidentally delete a stack or sub stack. But generally,

Stacks in Memory

2018-09-05 Thread Knapp Martin via use-livecode
I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC

Re: Datagrid substack question

2018-08-28 Thread Knapp Martin via use-livecode
> set the dgProps["row template"] of grp "myDatagrid" to the long id of grp > "myGrpTemplate" of cd "myCardTemplate" of stack "myTemplateStack" > > On Tue, Aug 28, 2018 at 2:40 AM Knapp Martin via use-livecode < > use-livecod

Datagrid substack question

2018-08-27 Thread Knapp Martin via use-livecode
I'm developing an app that has a half dozen template stacks that users can edit. These each have a datagrid. I made a "master" template stack with the common features and then cloned this stack and modified the clones for that stack's specific features. But as the datagrid created a substack

Print Break

2018-08-25 Thread Knapp Martin via use-livecode
I'm migrating a project from LC 6.6.5 to LC 9. In the app I have a routine that prints a few cards per page then issues a "Print Break" command that has worked fine for years in LC 6 but in LC 9 I'm getting an execution error on it (print: card or stack must be open to print it). If I take the

Mojave beta & 32 bit LC

2018-08-25 Thread Knapp Martin via use-livecode
Very interesting - I just installed the latest developer beta for macOS Mojave (18A371a) and ran a couple of apps I build in LC 6.6.5 (32 bit) and in *very* brief tests they seem to work fine. I didn't even get the warning about them being 32 bit. It was interesting that one of the apps that I

Re: scaleFactor

2018-08-16 Thread Knapp Martin via use-livecode
ement 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&quo

scaleFactor

2018-08-15 Thread Knapp Martin via use-livecode
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

Re: Drag Drop State of Affairs

2018-08-08 Thread Knapp Martin via use-livecode
t only happens every 3 or 4 times if I do the same operation over and over > again. Once it DOES happen though, it seems like I can get it to happen every > time, unless as I said I wait a while, then it clears for a bit. > > Odd, huh? > > Bob S > > >> On A

Crash log

2018-08-07 Thread Knapp Martin via use-livecode
What is the protocol for sending crash logs to Livecode? Do I just do a bug report or what? Just had a crash while printing in LC Business 9.0.1 Marty ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Drag Drop State of Affairs

2018-08-07 Thread Knapp Martin via use-livecode
Have you found a work around for this Bob? Or filed a bug report? For me the problem exists whether in the IDE or a standalone. Marty > On Aug 3, 2018, at 3:20 PM, Bob Sneidar via use-livecode > wrote: > > No tamalies Jacque. With the stack unresponsive, I type "put the short name > of the

Re: Drag Drop State of Affairs

2018-08-03 Thread Knapp Martin via use-livecode
I’ve had the same issue. FWIW I’ve found that after a drag and drop, if I move my mouse into the LC toolbar and back (with no clicking) it returns to normal. Marty > On Aug 3, 2018, at 10:58 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I've mentioned before that on a Mac

Re: Align baselines of 2 fields

2018-06-21 Thread Knapp Martin via use-livecode
Bernd, I ran this at least 50 times and in the vast majority of cases the baselines align. In a few cases, as Bob noted, it was off by 1 pixel. But that will be OK for my use. I let users pick any font but sizes are limited from 8 to 20. Thanks you guys. A very resourceful group, as usual!

Re: Align baselines of 2 fields

2018-06-21 Thread Knapp Martin via use-livecode
This works for me, assuming you want to leave field 1 where it is and align field 2: on alignFieldBaselines pField1, pField2 local tDescent1, tDescent2, tBot1, tBot2, tDiff1, tDiff2, tRef local fFormattedBottom1, fFormattedBottom2 put item 4 of the formattedRect of line 1 of fld pField1

Re: Align baselines of 2 fields

2018-06-21 Thread Knapp Martin via use-livecode
Thanks Craig and Bernd, I’ll tinker with this and see how it goes. Marty > On Jun 21, 2018, at 4:37 AM, Niggemann, Bernd via use-livecode > wrote: > > Hi Mary, > > I suppose you want to center those fields around a common horizontal baseline. > > You might try this if that is what you want.

Re: Align baselines of 2 fields

2018-06-20 Thread Knapp Martin via use-livecode
The baseline of the text. Marty > On Jun 20, 2018, at 2:32 PM, dunbarxx via use-livecode > wrote: > > Hi. > > Do you mean the bottom of the field control, or the baseline of the text? > All are doable. > > Craig Newman > > > > -- > Sent from: >

Re: Sparkle macOS App Updater extension for LC 9 [First Pass]

2018-06-20 Thread Knapp Martin via use-livecode
Great to hear Trevor! Looking forward to diving into Levure and the Sparkle updater is very needed. Marty > On Jun 19, 2018, at 7:06 PM, Trevor DeVore via use-livecode > wrote: > > Hi all, > > I've been doing quite a bit of work with the Foreign Function Interface > (FFI) in LiveCode

Align baselines of 2 fields

2018-06-20 Thread Knapp Martin via use-livecode
I have a user customizable stack that has a label field, then just to the right of that a field with user content. The user is able to customize the font and size of both the label field and the content field individually. Both fields are just 1 line. Is there a way to calculate where the

Re: FindBar Demo Stack

2018-05-02 Thread Knapp Martin via use-livecode
Thanks Bob, I’d be interested. Marty > On May 2, 2018, at 9:27 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I've pieced together a very simple demo stack of my FindBar group if anyone > is interested. It comes with a 100 record sqlite database

Re: Random Data Generator

2018-05-02 Thread Knapp Martin via use-livecode
Hi Bob, I’ve used this web site: Marty > On May 2, 2018, at 8:22 AM, Bob Sneidar via use-livecode > wrote: > > Ever had the need to generate random data for a database demonstration or > other things? > >

Re: LC on Windows - slow for others or just me?

2018-05-01 Thread Knapp Martin via use-livecode
This makes me curious to know - what about apps built with LC 9 for Windows? Are they really sluggish too? Or is it just in the IDE? Marty > On May 1, 2018, at 10:43 AM, Ralph DiMola via use-livecode > wrote: > > I have not reported it. I wasn't sure that my

Re: LC PDF Viewer

2018-04-18 Thread Knapp Martin via use-livecode
or are you trying to > extract data from a fillable one? > > Bob S > > > >> On Apr 18, 2018, at 13:14 , Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> On 4/18/2018 1:58 PM, Knapp Martin via use-livecode wrote: &g

Re: LC PDF Viewer

2018-04-18 Thread Knapp Martin via use-livecode
That would be great Paul, thanks. Marty > On Apr 18, 2018, at 1:14 PM, Paul Dupuis via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On 4/18/2018 1:58 PM, Knapp Martin via use-livecode wrote: >> I'm just getting my feet wet with the PDF viewer. Anybody work

LC PDF Viewer

2018-04-18 Thread Knapp Martin via use-livecode
I'm just getting my feet wet with the PDF viewer. Anybody worked with that and can help give me with a jump start? I find the dictionary not very helpful. I learn a lot better from actual working examples. I didn't see anything in the online examples. Basically I want to be able to select a

formatForPrinting

2018-04-06 Thread Knapp Martin via use-livecode
With regard to formatForPrinting for Windows, the dictionary says to set the property *before* you open the stack. I'm probably just being thick, but how do you set the property of a stack that is not open? Does this really mean to set it to true, save it, close it and then reopen it in order

Value & parentheses when doing math

2018-04-02 Thread Knapp Martin via use-livecode
I have a tab delimited list where item 4 is a number and I'm adding things up. What is considered best practice when doing this? add item 4 of line x of tList to tRunningTotal or add (item 4 of line x of tList) to tRunningTotal or add value(item 4 of line x of tList) to tRunningTotal Marty

Re: Selection Handles

2018-03-29 Thread Knapp Martin via use-livecode
e constraining to horizontal or vertical. I don't see why the line > would actually have to be selected to do this. > > On Thu, Mar 29, 2018 at 12:52 PM, Knapp Martin via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I have an app that I'm migrating

Selection Handles

2018-03-29 Thread Knapp Martin via use-livecode
I have an app that I'm migrating from LC 6.6.5 to 8.1.9. In it, a user creates documents that may consist of lines, boxes, text areas and images that they insert. There's been a big change between 6.6.5 and 8.1.9 in the selection handles on objects. In 6.6.5, the selection handles on lines were

Re: OSX printing of images issue

2018-03-28 Thread Knapp Martin via use-livecode
I’m curious to know what you find. I’m about to embark on updating 2 apps from LC 6.6.5 to the latest in order to get ready for Apple requiring 64 bit. Both apps are heavily printing oriented, so I hope there is an answer here. --- Marty > On Mar 28, 2018, at 8:28 AM, Paul Dupuis via

Re: Checkmark for Mac & Windows

2018-03-24 Thread Knapp Martin via use-livecode
livecode > Sent: Friday, March 23, 2018 7:20 PM > To: Knapp Martin via use-livecode <use-livecode@lists.runrev.com> > Cc: Phil Davis <rev...@pdslabs.net> > Subject: Re: Checkmark for Mac & Windows > > One idea: > > - Create or find a checkmark image you lik

Checkmark for Mac & Windows

2018-03-23 Thread Knapp Martin via use-livecode
I generate lists on the fly with the first item of each line set with a checkmark. After I construct the list under script, I just insert it into a standard LC table field. The user can then toggle the checkmark of each line off or on with a click (a script in the field takes care of that). On

Re: code signing cost

2018-03-14 Thread Knapp Martin via use-livecode
Coding signing certificates are priced on a per-year basis, not per app or signing instance. I get my Windows code signing certificates from kSoft - the certificates themselves are from Comodo and you can get anything from 1 to 5 years (the more years, the cheaper per year) - at least that last

Re: Font name weirdness

2018-03-01 Thread Knapp Martin via use-livecode
Never mind - I just realized that I’d loaded the fonts in my test stack in LC 6.6.5, then opened the stack in LC 8.1.9. But it is weird that the same fonts in my system show up with different names between 6.6.5 and 8.1.9. > I just discovered something weird with regards to font names. If I

Font name weirdness

2018-03-01 Thread Knapp Martin via use-livecode
I just discovered something weird with regards to font names. If I look at the font names in the font menu of LC 8.1.9, in some cases they are different names than what I get when I access the fontNames. For example, I have a font family named "Vendome." From the fontNames function I get these:

Rolling my own font menu

2018-03-01 Thread Knapp Martin via use-livecode
So I need to roll my own font menu for a project I'm working on. I'm using a simple stack that I open as a palette with a scrolling field which lists all the fonts. I open this font menu stack and the text stays selected in the field of the stack that I'm wanting to change the font of. But

Re: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-27 Thread Knapp Martin via use-livecode
What about using shutDownRequest? If you don’t pass it, it prevents the quit from happening. Marty > Let me improve this a bit. > > > On 2/23/18 4:19 PM, Phil Davis via use-livecode wrote: >> Roland, >> >> I believe Tom is exactly right. I would restructure your two closing >> handlers like

Re: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-26 Thread Knapp Martin via use-livecode
Thanks for the in-depth reply. Are there known issues with saving LC stacks to Dropbox? I was thinking of Roland's issue with corruption and Phil's suggested fix of watching the file with the tilde character before allowing a quit to complete. I have an app where users create documents (stacks)

Re: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-26 Thread Knapp Martin via use-livecode
Richard, could you elaborate on the issues with Dropbox? Is there a recommended procedure for dealing with it? Marty On Feb 26, 2018, at 11:07 AM, Richard Gaskin via use-livecode wrote: > Stack file corruption is very rare with LiveCode. It has happened now

Re: Setting cantDelete of a field

2018-02-16 Thread Knapp Martin via use-livecode
I have an app where the user can create a document from a pre-made template and add some of their own fields, lines, etc. They can delete those, but there are objects that they should not. So I use a front script and trap for all the variations of delete, cut, etc. I set a custom property for