Re: LC9 and Windows Unicode bug?

2018-05-30 Thread Paul Dupuis via use-livecode
Delete last char of it >Return textDecode(it,"UTF-8") > End Readbk > > When I change to reading the file as binary, then I get the same (as far as > I can tell) results left/right fields. > > On Tue, May 29, 2018 at 4:35 PM, Paul Dupuis via use-livecode <

LC9 and Windows Unicode bug?

2018-05-29 Thread Paul Dupuis via use-livecode
I have found a bug in LC9.0.0 under Windows 8.1 that does not appear under OSX (Mavericks). When reading a UTF-8 file via Open File, Read From File, Close File (vs say a Put URL ...into tVar; put textDecode(tVar,"UTF-8") into ...) I am seeing a problem decoding Traditional Chinese and Japanese

Re: Signing MacOS Standalones

2018-05-25 Thread Paul Dupuis via use-livecode
a standalone for > MacOS we taken a major step backward, have we not? > > Please let me know what your thoughts are on this. > > Thanks! > > Ray Horsley > > > On 5/19/2018 5:54 PM, Ray via use-livecode wrote: >> Many thanks Paul - I'll give this a try and post how it

Re: Signing MacOS Standalones

2018-05-19 Thread Paul Dupuis via use-livecode
You will still have to join Apple Developer to purchase a certificate, but then use AppWrapper (http://www.ohanaware.com/appwrapper/) On 5/19/2018 5:19 AM, Ray via use-livecode wrote: > Does anybody have steps to sign Mac OS standalones?  I've discovered > Apple 10.12 or higher now sabotages

Internet library and LC9

2018-05-16 Thread Paul Dupuis via use-livecode
I am transitioning some applications that were built as standalone under  LC6.7.11 to LC 9.0.0. In most cases, the migrations are going well with mostly appearance issues (due to different default fonts and such). This week, I have encountered a functional issue. An app (stack) I have, as part of

Re: Removing a stack from memory...

2018-05-14 Thread Paul Dupuis via use-livecode
e them, but of course the stack > containing the script that does this cannot itself be closed. You have to > filter that one out of the openStacks. > > Bob S > > >> On May 14, 2018, at 12:19 , Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com>

Re: Removing a stack from memory...

2018-05-14 Thread Paul Dupuis via use-livecode
NEVER MIND "Delete stack" is the answer. I should have known. I just wasn't associating "Delete" with "removing from memory" On 5/14/2018 3:19 PM, Paul Dupuis via use-livecode wrote: > I know this has been discussed before, so my apologies that my Google-Fu >

Removing a stack from memory...

2018-05-14 Thread Paul Dupuis via use-livecode
I know this has been discussed before, so my apologies that my Google-Fu has failed to find any prior answer. I have a complex script - part of an Installer "maker" written in LiveCode - that creates stacks and builds them into Standalones for various platforms via a long automated script. After

Re: PDF

2018-05-12 Thread Paul Dupuis via use-livecode
erate the index now, > though I'd still love to find an lc way to do it. > > On Sat, May 12, 2018 at 11:30 AM, Paul Dupuis via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> If you have a Business License, you can use the XPDF external available >>

Re: PDF

2018-05-12 Thread Paul Dupuis via use-livecode
If you have a Business License, you can use the XPDF external available with those editions for doing that. On 5/12/2018 12:58 PM, Mike Bonner via use-livecode wrote: > I haven't needed to do this before, but is there a (relatively) easy way to > extract the text from a bunch of pdf files? I'm

Re: Inclusions bug in LC9?

2018-05-07 Thread Paul Dupuis via use-livecode
Although now that I think about it, even if you have LC set to Search for Inclusions, shouldn't you be able to click on the Inclusions tab to SEE what Inclusions the search found? On 5/7/2018 4:30 PM, Paul Dupuis via use-livecode wrote: > NEVER MIND > > I had a brain fart and for

Re: Inclusions bug in LC9?

2018-05-07 Thread Paul Dupuis via use-livecode
NEVER MIND I had a brain fart and forgot about the radio button to switch from searching for inclusions to selecting them on the General tab. On 5/7/2018 4:24 PM, Paul Dupuis via use-livecode wrote: > RECIPE (Under Windows 8.1, LC9.0.0) > > Open LC. Create a new Untitled stack, def

Inclusions bug in LC9?

2018-05-07 Thread Paul Dupuis via use-livecode
RECIPE (Under Windows 8.1, LC9.0.0) Open LC. Create a new Untitled stack, default size. Save the stack as "Test.livecode". Select "Standalone Application Settings..." from the file menu OBSERVE: The "Inclusions" tab is disabled (greyed out) I assumed at first this was because the stack has no

Telling the IDE to build a standalone under script control

2018-04-28 Thread Paul Dupuis via use-livecode
In LiveCode 6.x.x and earlier, I used a line in a script: *send*"revSaveAsStandalone"&"revSaveAsStandalone"ofstack"revStandaloneSettings" to build a standalone of a stack (tStackName) under script control In LC9.0.0 this line no longer works. I can dig my way through the IDE code to find out

Re: Open printing to PDF error

2018-04-26 Thread Paul Dupuis via use-livecode
On 4/26/2018 5:22 PM, Mark Wieder via use-livecode wrote: > On 04/26/2018 09:46 AM, Paul Dupuis via use-livecode wrote: > >> Presumably the folder exists since it was just selected by the user via >> the 'answer file' command. > > I assume that was just a typo, but just in

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Paul Dupuis via use-livecode
On 4/26/2018 2:45 PM, Richard Gaskin via use-livecode wrote: > So if we proposed a change to do what you and I feel is more logical, > the current behavior was put into place long enough ago that we'd now > have to think about compatibility issues. :( Bummer :-( I must admit I have never

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Paul Dupuis via use-livecode
On 4/26/2018 1:06 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I have a group that contains a number of objects, buttons, menus, fuelds and > groups. I just noticed that if I disable a group (so that none of the objects > in the group can be interacted with) I get the desired effect.

Re: Open printing to PDF error

2018-04-26 Thread Paul Dupuis via use-livecode
The file path is selected by the user through a standard 'answer file ... ' dialog. The code does not currently check to see if the folder the user selected for the file is writable, but tests of trying to save to a read-only (non writable) folder on Windows results in a controlled error dialog

Open printing to PDF error

2018-04-26 Thread Paul Dupuis via use-livecode
I have a user who ran into the error "printing: Unknown destination:  (Line 0, column 0)" when executing a line in my code that was "Open printing to PDF " This error (in fact NO ERRORs) are listed under the "open printing to PDF" entry in the dictionary. If 'the result is "cancel" ' is the only

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread Paul Dupuis via use-livecode
On 4/22/2018 11:22 PM, Brian Milby wrote: > I can see that stack being very useful. If I make any good changes > I’ll let you know. I’m thinking that listing behaviors in the index > would be useful. And there in lies one of the main issues with home made tools (like my script reporter) in that

Re: LC PDF Viewer

2018-04-18 Thread Paul Dupuis via use-livecode
Hi Martin and Yves, ZIP file emailed to both of you. I will also be doing a presentation at the May LiveCode Global on the XPDF externals. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: LC PDF Viewer

2018-04-18 Thread Paul Dupuis via use-livecode
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 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

Re: [ANN] Release 8.1.10 RC-1

2018-04-17 Thread Paul Dupuis via use-livecode
On 4/17/2018 10:45 AM, Bob Sneidar via use-livecode wrote: > 8.x or 8.1.x? I thought there was an 8.2 coming? > > Bob S > 1. LiveCode has announces that there will not be an 8.2 release and that 8.1.10 is the last release in the 8.x.x series. With LC 9.0.0 out, you will now see all new

Re: [ANN] Release 9.0.0

2018-04-04 Thread Paul Dupuis via use-livecode
kdrop as this is the default after clearing the > Prefs. You can change that by unchecking "View"-> "Backdrop" in the LC > menubar > > Best, > Panos > -- > > > > On Wed, Apr 4, 2018 at 8:54 PM, Paul Dupuis via use-livecode < > use-livecode@lists

Re: [ANN] Release 9.0.0

2018-04-04 Thread Paul Dupuis via use-livecode
On 4/4/2018 1:51 PM, panagiotis merakos via use-livecode wrote: > @Peter > One more thing to try before filing a bug report: > > 1. Clear Prefs again > 2. Open LC, you should see the revFileAssociation dialog ("LiveCode files > are not currently associated with this version. Would you like to make

Re: [ANN] Release 9.0.0

2018-04-04 Thread Paul Dupuis via use-livecode
rst quit LC, then delete the Prefs, then restart LC. > > > @Richmond > > All the fixes of 8.1.10 RC1 have already been included to 9.0.0 > > @Richard > > Do you still experience slow download speed? I had no problem yesterday > from my home internet connection > > Best

Re: [ANN] Release 9.0.0

2018-04-04 Thread Paul Dupuis via use-livecode
On 4/3/2018 11:35 AM, panagiotis merakos via use-livecode wrote: > @Paul > > RE the splash screen not going away, I have occasionally seen it in other > LC versions on Windows only in the past. If I remember correctly, it was > fixed once I deleted the LC Prefs. > Okay, here is a very newbie

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-03 Thread Paul Dupuis via use-livecode
Mike & Marc, You can find the tool at http://www.researchware.com/livecode/rwScriptReporter141016.livecode It is not fancy, nor elegant, but I have found I use it regularly to create a text file of the script of our 100K+ line LiveCode app and often have the text file of the scripts open to

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-03 Thread Paul Dupuis via use-livecode
On 4/3/2018 10:33 AM, Mike Kerner via use-livecode wrote: > I'm still thinking about sessions for LCG. One of the suggestions I had > seen was an intro on tool x. How about a tools roundup? Names and URL's > for your favorite LC tools go in this thread, please. More is better so I > don't

Re: [ANN] Release 9.0.0

2018-04-03 Thread Paul Dupuis via use-livecode
Also, the LC9 splash dialog/pane/whatever does not go away either by clicking on it or after the menu and tool palette appears. Anyone else seeing this? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: [ANN] Release 9.0.0

2018-04-03 Thread Paul Dupuis via use-livecode
I assume with the release of LC 9.0.0 that there will not be a release version of LC 8.2.0? Is this the case? It makes sense, but I am just looking to confirm whether this has been confirmed by the Mothership. ___ use-livecode mailing list

Re: OSX printing of images issue

2018-03-29 Thread Paul Dupuis via use-livecode
On 3/28/2018 11:28 AM, Paul Dupuis via use-livecode wrote: > I have a print subsystem for my application that prints a particular set > of data by laying our the page (sizing the card to the paper, allowing > for margins, etc, where the content area of the page is a single image

Re: OSX printing of images issue

2018-03-28 Thread Paul Dupuis via use-livecode
so I hope there is an answer here. > --- > Marty > > >> On Mar 28, 2018, at 8:28 AM, Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I have a print subsystem for my application that prints a particular set >> of data by laying our the pa

Re: Make an open stack modal by script

2018-03-28 Thread Paul Dupuis via use-livecode
set the style of stack XXX to modal set the tail end of the style entry in the Dictionary for details On 3/28/2018 11:35 AM, Bob Sneidar via use-livecode wrote: > Hi all. > > I broached this subject before but in the reverse direction. I have an app > that allows multiple windows (I call

OSX printing of images issue

2018-03-28 Thread Paul Dupuis via use-livecode
I have a print subsystem for my application that prints a particular set of data by laying our the page (sizing the card to the paper, allowing for margins, etc, where the content area of the page is a single image object. The resizeQuality is set to "best" and alwaysBuffer is true When I print

LC9.0rc1 and pageHeights

2018-03-25 Thread Paul Dupuis via use-livecode
I notice in the dictionary entry for LC9rc1 for the pageHeights function that it is still that case that: "The computations used by the pageHeights property assume the field's borderWidth property is set to zero and its margins is set to 6." Will pageHeights ever be updated to use the fields

Re: Mouse wheel scrolling support...

2018-03-19 Thread Paul Dupuis via use-livecode
On 3/19/2018 3:18 PM, Richmond Mathewson via use-livecode wrote: > At the risk of sounding both naive and stupid I have just pasted a > large text into a field > with a vertical scrollBar in a field in a stack in LC 7.1.4 on Mac OS > 10.7.5. > > With the "blobby thing" that passes for a scroll

Re: Mouse wheel scrolling support...

2018-03-19 Thread Paul Dupuis via use-livecode
Thank you! Exactly what I was looking for. On 3/19/2018 2:49 PM, J. Landman Gay via use-livecode wrote: > On 3/19/18 11:15 AM, Paul Dupuis via use-livecode wrote: >> Does anyone have any code for supporting scrolling fields by use of a >> mouse wheel that they would care to p

Re: height of title bar

2018-03-19 Thread Paul Dupuis via use-livecode
On 3/19/2018 1:37 PM, Phil Davis via use-livecode wrote: > Is there a way in LC to discover the height of a window's title bar? > > I tried comparing item 2 of the card's globalLoc(topleft of this card) > to item 2 of the stack's topleft, but they are the same. > > I tried comparing the stack's

Re: Mouse wheel scrolling support...

2018-03-19 Thread Paul Dupuis via use-livecode
On 3/19/2018 1:23 PM, dunbarx via use-livecode wrote: > Paul. > > What beyond trapping the "scrollBarDrag" message were you looking for? > Is that the event message LiveCode generates when a mouse with a mouse wheel is turned? I can find no documentation on mouse wheel support in the

Mouse wheel scrolling support...

2018-03-19 Thread Paul Dupuis via use-livecode
an example of such a handler. Thank you to anyone in advance, Paul Dupuis Researchware ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http

Re: send "keyUp" / "rawKeyUp" ?

2018-02-25 Thread Paul Dupuis via use-livecode
See the dictionary entry for the "type" command. This sends rawKeyUp|rawKeyDown messages This might let you construct a stack that "calibrates" (or whatever you want to call it) what keys on any keyboard generate what keyDown number and what characters On 2/25/2018 5:09 AM, Richmond Mathewson

Re: another mac to Windows gotcha

2018-02-24 Thread Paul Dupuis via use-livecode
controlKeyDown is absolutely available on Windows. See the dictionary entry in LC8.1.9 for example. What version of LiveCode are you using? On 2/24/2018 9:04 AM, Tim Selander via use-livecode wrote: > Hi, > > Trying my first little LC app on Windows. I wrote an app on osx and am > now trying to

Re: Did numberFormat Break?

2018-02-15 Thread Paul Dupuis via use-livecode
I'm sure this will start some historical flame war, but why use numberFormat (an archaic leftover from HyperCard) or invest the time to write your own? LiveCode has a great formatting function built in - format(baseString [, valuesList]) put  format("%.2f",1.00+1) into tpoextprice -- does what

Re: Put URL into variable and textEncoding

2018-02-12 Thread Paul Dupuis via use-livecode
On 2/12/2018 8:49 PM, Monte Goulding via use-livecode wrote: > >> On 13 Feb 2018, at 11:56 am, Richard Gaskin via use-livecode >> wrote: >> >> something more sensible > We already have: > > open file for “utf-8” text > > There was some discussion of implementing

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Paul Dupuis via use-livecode
On 2/2/2018 5:42 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > I don't think you can use shell as non-blocking. You could use 'open > > process' to spawn your command line utility off as a subprocess which > > would be non blocking, but that approa

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Paul Dupuis via use-livecode
I don't think you can use shell as non-blocking. You could use 'open process' to spawn your command line utility off as a subprocess which would be non blocking, but that approach has its own over head thing to work around On 2/2/2018 4:41 PM, Klaus major-k via use-livecode wrote: > Hi friends,

Re: FormattedHeight of a field and its contents

2018-02-01 Thread Paul Dupuis via use-livecode
What version of LiveCode on what platform are you trying this on? There have been a number of bugs related to object geometry calculations, including fields, over the years, found and fixed in various releases of LC. Some were platform and version of OS specific. On 1/31/2018 8:31 PM, David

Adding an icon to an EXE file via Livecode script

2018-01-17 Thread Paul Dupuis via use-livecode
Has anyone done this or does anyone know how to copy and icon from and .ico file to a .exe file and set its resource ID using LiveCode Script? I have an on standalonesaved handler that automates much of my post standalone build process, but my app has a number of different document types each

Re: Mapping Field Text Ranges (was Re: Interprocess Communication (IPC) under OSX)

2017-12-28 Thread Paul Dupuis via use-livecode
Mark, Thank you so much On 12/28/2017 12:45 PM, Mark Waddingham via use-livecode wrote: > On 2017-12-19 19:43, Mark Waddingham via use-livecode wrote: >> I'm pretty sure it would be possible to write a handler which takes >> the styledText array of a field in 6.7.11 and a list of old

Re: Voice Comparison in LiveCode?

2017-12-28 Thread Paul Dupuis via use-livecode
this with me? And I suppose a 3rd question to LiveCode, would this widget be a candidate for the Feature Request crowd funding thing LiveCode has done in the past? Paul Dupuis Researchware On 12/28/2017 7:40 PM, Sean Cole (Pi) via use-livecode wrote: > Hi Peter, > > I'm going to recomme

Re: Voice Comparison in LiveCode?

2017-12-27 Thread Paul Dupuis via use-livecode
mail you off list. I just tried running it under LC 8.1.x and there were script errors as it was created in a pretty old version of LiveCode - pre LC5.x, possibly pre LC 4.x Paul Dupuis Researchware ___ use-livecode mailing list use-livecode@lists.r

Re: Interprocess Communication (IPC) under OSX

2017-12-18 Thread Paul Dupuis via use-livecode
On 12/18/2017 1:49 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > I am using IPC vs Sockets... > > "IPC" is usually a generic term, encompassing a wide range of > inter-process communications methods which includes sockets, files, > shared

Interprocess Communication (IPC) under OSX

2017-12-18 Thread Paul Dupuis via use-livecode
I have a situation where an LC standalone (built on recent LC releases) need to communicate with a "helper app" standalone, built under LC4.6.4. The why is not really import, but it is to migrate some data that is highly dependent on how 464 handles text field character positions to versions of

Re: Trapping multiple keystrokes

2017-12-01 Thread Paul Dupuis via use-livecode
On 12/1/2017 1:00 PM, Paul Dupuis via use-livecode wrote: > On 12/1/2017 12:52 PM, Kaveh Bazargan via use-livecode wrote: >> I have a field with a number in it. when focused, I want the value to go up >> and down with the up/down arrow keys. The trouble is that if I keep the key &g

Re: Trapping multiple keystrokes

2017-12-01 Thread Paul Dupuis via use-livecode
On 12/1/2017 12:52 PM, Kaveh Bazargan via use-livecode wrote: > I have a field with a number in it. when focused, I want the value to go up > and down with the up/down arrow keys. The trouble is that if I keep the key > down, it traps multiple keydown messages that continue after the key is >

Re: using LC as an emulator

2017-11-06 Thread Paul Dupuis via use-livecode
On 11/6/2017 2:22 PM, Mike Kerner via use-livecode wrote: > Anyone write an emulator in LC? I've got an old ERP system that we own all > the source to. I'd like to. The environment is interpreted, so if I could > make an emulator/wrapper, I could in theory move the whole thing into LC > and

Re: Save file dialogs...

2017-10-24 Thread Paul Dupuis via use-livecode
f the window? set the defaultFilepath of window 'Ask File" to pCurrentFileName & tNewExtension break case "MS Word" -- similar to "Plain Text" break end switch end callBackMessage On 10/23/2017 10:02 PM, Richard Gaskin via use-liveco

Re: Save file dialogs...

2017-10-23 Thread Paul Dupuis via use-livecode
On 10/23/2017 4:23 PM, Richard Gaskin via use-livecode wrote: > Trevor DeVore wrote: > > > On Mon, Oct 23, 2017 at 11:32 AM Brian Milby via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> One option would be to leave the extension off when initially > >> presented to the user.

Save file dialogs...

2017-10-23 Thread Paul Dupuis via use-livecode
In our application we often provide our customers with the ability to save information in a variety of formats using a code snippet such as: put "YourData.txt" into tDefaultFileName put "Save some data as:" into tPrompt put the defaultFolder & tDefaultFileName into tDefaultFilePath put

Re: read from file until a line begins with a certain word

2017-09-17 Thread Paul Dupuis via use-livecode
nts. > > Regards, > Matthias > > > Matthias Rebbe > +49 5741 31 > ‌wirmachen.software <http://wirmachen.software/>‌ > >> Am 17.09.2017 um 12:55 schrieb Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.c

Re: read from file until a line begins with a certain word

2017-09-17 Thread Paul Dupuis via use-livecode
On 9/16/2017 8:50 PM, Matthias Rebbe via use-livecode wrote: > Hi, > > until today i used always put URL to read a complete file into memory. But > now i have to process really large text files with a size of 900 - 1500 MB. > I know i can read a file until EOF or so. > > But how would i read a

Re: put after

2017-09-11 Thread Paul Dupuis via use-livecode
Think about it: Items ate comma (a single character) delimited, so if a container contains a single string (no commas) and you "put tString after item 3 of tContainer", LiveCode can logically create an "empty" item 2 and empty item 3 using ",," and place (concatenate) tString on to the end of

Re: notifications system using "the files"? bad idea?

2017-08-23 Thread Paul Dupuis via use-livecode
So you would be using sockets to send a list of 1 or more file names (notifications) across the network to other computers? If so, I am not sure there is any significant performance difference than having the notifications in a database. The only practical difference may be the ease of

Re: notifications system using "the files"? bad idea?

2017-08-23 Thread Paul Dupuis via use-livecode
On 8/23/2017 4:25 PM, Tom Glod via use-livecode wrote: > Hi folks, I'm building a notification systemand I don't want to add > another DB query to the systemso my idea is to save notifications as a > file in a folder, and the just read and process "the files" > > so the name of the

Re: common code patterns

2017-08-10 Thread Paul Dupuis via use-livecode
On 8/10/2017 6:01 AM, Monte Goulding via use-livecode wrote: > Hi Folks > > I’m looking for a few common code patterns that you find yourselves writing > often but aren’t well suited to reusable handlers. So snippets of code or > common ways that events are handled together in a script for a

Re: the defaultStack changes on resume

2017-08-09 Thread Paul Dupuis via use-livecode
hing gets much > simpler. > > Bob S > > > >> On Aug 9, 2017, at 09:08 , Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Has any one run into the following situation in LiveCode standalones? >> >> In a multipl

the defaultStack changes on resume

2017-08-09 Thread Paul Dupuis via use-livecode
Has any one run into the following situation in LiveCode standalones? In a multiple window application, the user has either a standard window or a modal dialog open (the topWindow which is also the defaultStack). They navigate to a 3rd party application and by some means back to the LC standalone

Re: AW: [OT]h.264 alternatives

2017-07-25 Thread Paul Dupuis via use-livecode
This may help explain the absurdly complex MPEG4 licensing model: http://www.mpegla.com/main/programs/M4V/Documents/m4vweb.pdf On 7/24/2017 3:54 AM, Tiemo Hollmann TB via use-livecode wrote: > Last year I asked Sorenson media if I have to pay license fees, using the > h.264 codec and got the

Re: No screenshot from LC video possible

2017-07-11 Thread Paul Dupuis via use-livecode
My guess is that it could be Digital Rights Management related? If you can screenshot a DRM protected video then, in principle, you could screenshot every frame and encode the frames back into a DRM-free version of the video. Do you know what the videos that had the problem were? On 7/11/2017

Re: modal window = block handler?

2017-07-10 Thread Paul Dupuis via use-livecode
odal paused and open window "X" as modal continue would be clearer that remembering you have to open the model dialog invisible and then show it. On 7/10/2017 7:26 PM, Bob Sneidar via use-livecode wrote: > According to this thread, that is what open invis as modal does. > > Bob S

Re: modal window = block handler?

2017-07-10 Thread Paul Dupuis via use-livecode
On 7/10/2017 4:54 PM, J. Landman Gay via use-livecode wrote: > On 7/10/17 3:41 PM, J. Landman Gay via use-livecode wrote: >> On 7/10/17 12:18 PM, FlexibleLearning.com via use-livecode wrote: >>> Opening a modal as normal (i.e. visible) obviously still does what you >>> specify. We simply have a

Re: modal window = block handler?

2017-07-10 Thread Paul Dupuis via use-livecode
A related issue I ran into recently: I had a complex modal dialog. In my code for the dialog controls I was calling a routine that had a "wait 0 with messages" statement. I discovered that the wait ... with messages allows user events (for example commandKeyDown, etc.) to kick off other scripts

Re: PrintPaperRectangle

2017-07-01 Thread Paul Dupuis via use-livecode
On 7/1/2017 10:05 AM, Terence Heaford via use-livecode wrote: > Sorry about that, I should have realised (must be slow on the uptake today) > but…. > > > I still get the grey area when I print the card. > Do you have any insight into why this should happen? > (see thread “Capturing screen into

Re: PrintPaperRectangle

2017-07-01 Thread Paul Dupuis via use-livecode
based printer has to have some means of >> being collected. >> >> There are a few production based copiers that can do this, but they are made >> to do it. Most other printers are not. >> >> Bob S >> >> >>> On Jun 30, 2017, at 12:48 , Paul Dupu

Re: PrintPaperRectangle

2017-06-30 Thread Paul Dupuis via use-livecode
On 6/30/2017 2:17 PM, Terence Heaford via use-livecode wrote: > LC 8.1.4, MacOS 10.12.5 > > Print Paper Rectangle returns 8,8,834,587 for A4 Landscape. > > This does not seem to match the description in the dictionary? > > "The printPaperRectangle property contains four comma-separated integers

Re: Obtaining the "active" Desktop/Monitor under OSX?

2017-06-28 Thread Paul Dupuis via use-livecode
Thank you all, the screen of stack is the answer! On 6/28/2017 12:15 PM, Bob Sneidar via use-livecode wrote: > confirmed. > > Bob S > > >> On Jun 28, 2017, at 08:41 , Trevor DeVore via use-livecode >> wrote: >> >> I am not at my computer to confirm this but I

Obtaining the "active" Desktop/Monitor under OSX?

2017-06-28 Thread Paul Dupuis via use-livecode
I remember when the multiple Desktop feature was introduced on OSX (Yosemite I think?) there was a very active discussion on this email list about how to tell what monitor (in a multiple monitor configuration) your application was starting up on. I have tried searching for this but my search

Re: synonyms

2017-06-28 Thread Paul Dupuis via use-livecode
-livecode wrote: > Even easier would be to just pass a single string like so.. > > myhandler "type=blue,name=fred,something=234" > > And use split > > split pVar by comma and "=" > > ending up with an array keyed by name. > > On Wed, Jun 28,

Re: synonyms

2017-06-28 Thread Paul Dupuis via use-livecode
Here is some code to pass params by name - value pairs. It is relatively easy with the paramCount and param functions of livecode. on mouseUp myHandler "type=blue","name=fred","something=234" end mouseUp on myHandler repeat with i=1 to the paramCount put param(i) into tArg set

Re: Inconsistent comma requirements

2017-06-24 Thread Paul Dupuis via use-livecode
On 6/24/2017 11:37 AM, Richard Gaskin via use-livecode wrote: > Two questions: > > How many of you have never before known that commas are optional > between definition arguments? I discovered this in LC6.7.11 only about 2 months ago and was very surprised. I had expected that separating

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread Paul Dupuis via use-livecode
If the browser widget is expecting an encoded URL (i.e. %20 vs a space) then instead of replacing characters, you should use the urlEncode function, as in put URLEncode(tFile) into tFile This way any characters (spaces or Unicode or whatever) that are an issue are properly encoded. On

Re: Widgets "eating" mouseevents?

2017-06-15 Thread Paul Dupuis via use-livecode
On 6/15/2017 9:10 AM, Mark Waddingham via use-livecode wrote: > On 2017-06-15 14:37, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> I know that widget ignore "mouseevents" (up/down/move etc.) if not >> explicitley scripted in them. >> OK, but is it neccessary that they also "eat"

Re: Word delimiters

2017-06-12 Thread Paul Dupuis via use-livecode
On 6/11/2017 11:12 PM, hlowe via use-livecode wrote: > Interestingly, there is no cross-refernce to TrueWord from the Word entry in > the 8.1.4 dictionary, though there is a cross-reference from TrueWord to > Word. I would say this is a dictionary "bug" as there should be a cross reference to

Re: Word delimiters

2017-06-10 Thread Paul Dupuis via use-livecode
LiveCode 7+ see trueWord in the dictionary On 6/10/2017 7:38 PM, hlowe via use-livecode wrote: > Livecode defines a word as: > > "A word is delimited by one or more spaces, tabs, or returns, or is enclosed > by double quotes." > > Generally this works well but if I have text in which one or

Re: AW: 64 bit desktop apps

2017-06-08 Thread Paul Dupuis via use-livecode
On 6/8/2017 3:54 AM, Mark Waddingham via use-livecode wrote: > As a general request, can people let us know if they are relying on > externals on Mac which are currently 32-bit only? Forgive the dumb question Mark, but how does someone tell whether externals are 32 bit or 64 bit? In my first LC

AW: Regex help...

2017-06-05 Thread Paul Dupuis via use-livecode
he comparison! > Well yes and no; in Perl we can embed Perl code *inside* the regex, > like: (?{$1>PP || $2<PP}) > > $1>PP || $2 > As we have a mixture of a regex pattern and some perl code; > that is in fact another hybrid solution. > > > And of course, you

Regex help...

2017-06-04 Thread Paul Dupuis via use-livecode
I have a tab and cr delimited table of data, a sample line of which is below: 1Test4052,125941,4052,3,2388 The last tab delimited item "1,4052,3,2388" is actually ,,, So the starting page number is 1 and ending page is 3 I have a variable pPage which contain a page number, say "2" My regex

Associating additional Documents types for a Standalone

2017-05-31 Thread Paul Dupuis via use-livecode
So in LiveCode's Staandalone builder, we can specify an icon for the application and a file extension and icon for a single document. How do we add more icons and associated file extensions to a standalone under OSX and Windows. For OSX, after you build the standalone, you can open the app

Answer file under OSX and cross platform file names

2017-05-27 Thread Paul Dupuis via use-livecode
OSX allows the slash character in file and folder names. LiveCode uses the slash as the delimiter between path items in file paths. So when you execute: answer file "Pick an OSX file with a slash in the name" put it Livecode substitutes a colon for the slash in the name. Colon is an illegal

Re: Best Practice for updating the screen?

2017-05-23 Thread Paul Dupuis via use-livecode
Thank you Richard and Mark, Okay, another reason (among so very many) why I have to get our main app from 6.7.11 up to 8.1.x or higher as soon as possible. That said, this particular case is as follows: We have a substack that is a PDF window using XPDF. XPDF can take some time to load large

Best Practice for updating the screen?

2017-05-23 Thread Paul Dupuis via use-livecode
I find on many occasions that I am in the middle (or somewhere) in a long handler and I want to update the screen and then continue. Example: on something lock screen ... bunches of code unlock screen wait 0 with messages -- generate a screen redraw/update to display something (status

Re: Android Touchscreen Malfunction

2017-05-16 Thread Paul Dupuis via use-livecode
On 5/16/2017 4:32 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > in your handler for mouseDown (or mouseUp) check the pendingMessages > > (see Dictionary if unfamiliar with pendingMessages) for any other > > mouseDown (or mosueUp) messages pen

Re: Android Touchscreen Malfunction

2017-05-16 Thread Paul Dupuis via use-livecode
On 5/16/2017 2:55 PM, Alejandro Tejada via use-livecode wrote: > Hi All, > > Recently, while testing a stack in an Android Phone, > I found with surprise that mouseup and mousedown > messages were triggered very fast (2 or 3 times in > succession). > > After checking the phone screen, I noticed a

Re: poking around near the end of a string

2017-05-10 Thread Paul Dupuis via use-livecode
if NMOSE ends with "$W" then OR if char -2 to -1 of MNOSE is "$W" then On 5/10/2017 10:18 AM, Richmond via use-livecode wrote: > Suppose I have a string a bit like this: > > "and then the gigantic monster bit my mother on the nose $W" > > and I want to check that that string ends with "$W" .

Re: Update strategy?

2017-05-10 Thread Paul Dupuis via use-livecode
ck (since that one isn’t running any > more) and then change its name to the ‘normal’ name formerly given to the now > deleted stack… seems convoluted. Time to experiment, I guess. > > Graham > >> On 10 May 2017, at 14:05, Paul Dupuis via use-livecode >> <use-livecode@l

Re: Update strategy?

2017-05-10 Thread Paul Dupuis via use-livecode
There are a number of ways to potentially do this, but you have the gist already. I'd recommend a check for updates that just fetches a text file with the latest version number from your sever with a : Put URL into tSomeVar check the result for any error, such as the internet not being available

Re: Problem placing an image on the clipboard...

2017-05-08 Thread Paul Dupuis via use-livecode
t; Mark > > Sent from my iPhone > >> On 8 May 2017, at 20:00, Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Using LC 6.7.11 (yes, I know, an old version!) >> >> I have image data in the variable tImageDat

Problem placing an image on the clipboard...

2017-05-08 Thread Paul Dupuis via use-livecode
Using LC 6.7.11 (yes, I know, an old version!) I have image data in the variable tImageData and the image's width and height in tSize and I want to copy the image to the clipboard. The following code works perfectly EVERY time in the IDE create inv image "pdfCopyTemp" set the

Re: http calls blocked by virus protection?

2017-05-05 Thread Paul Dupuis via use-livecode
On 5/5/2017 10:29 AM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > Outbound standard http connections on port 80 should NOT be block - > > BY DEFAULT - but I just ran into a customer at a commercial research > > site where the company block ALL int

<    5   6   7   8   9   10   11   12   13   14   >