Re: Nested groups

2017-02-07 Thread Paul Dupuis via use-livecode
On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: > On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: >> J. Landman Gay wrote: >> >>> Curiosity question: Do multiple nested groups (3 or 4 levels deep) >>> affect CPU and memory performance? Are fewer nested groups easier >>> on

Re: Nested groups

2017-02-07 Thread Paul Dupuis via use-livecode
On 2/7/2017 5:19 PM, J. Landman Gay via use-livecode wrote: > On 2/7/17 4:07 PM, Paul Dupuis via use-livecode wrote: >> On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: >>> On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: >>>> J. Landman Gay wrote:

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Paul Dupuis via use-livecode
On 2/8/2017 2:03 PM, Dr. Hawkins via use-livecode wrote: > more hair-pulling time . . . > > I paste a group from a source stack to an output stack in a script. > > Some, but not all, of the custom properties that I set survive this pasting. > > For example, my source field has properties mrgns,

Re: Windows and OSX 64-bit builds?

2017-02-09 Thread Paul Dupuis via use-livecode
On 2/9/2017 8:40 PM, Tom Glod via use-livecode wrote: > Hi folks, > > Does anyone know if there are plans for 64 bit windows and mac builds > anytime soon? I'm bumping up against limits that seems all too ancient > to be deallng with in 2017. > Out of curiosity, what specific LC limits are

Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Paul Dupuis via use-livecode
On 2/9/2017 9:19 PM, Monte Goulding via use-livecode wrote: >> On 10 Feb 2017, at 1:03 pm, Tom Glod via use-livecode >> wrote: >> >> trying to export snapshots of lage groups with many image controls. >> can't get past 10k > 10k controls or 10k pixels. Control

How to run a hidden standalone under OSX?

2017-02-15 Thread Paul Dupuis via use-livecode
I am trying to have my main application (an LC standalone) run a helper app (another LC standalone) under OSX. The helper app is "headless" - it displays no windows or user interaction. The main application communicates with the helper through sockets and shuts it down after it has done the data

AW: Re: How to run a hidden standalone under OSX?

2017-02-15 Thread Paul Dupuis via use-livecode
of the OS X development tools - doesn't look like the Standalone Builder has a place to do it. On 2/15/2017 3:09 PM, Paul Dupuis via use-livecode wrote: > I am trying to have my main application (an LC standalone) run a helper > app (another LC standalone) under OSX. The helper app is &qu

Re: How to run a hidden standalone under OSX?

2017-02-15 Thread Paul Dupuis via use-livecode
On 2/15/2017 4:14 PM, Bob Sneidar via use-livecode wrote: > I have a helper app which uses Applescript to communicate what I want it to > do. I call it Spinner, and all it does is display a model window with a > message and a spinning indicator. If I set it's LSUIElement to true, can I > still

Best practice for menus...

2017-01-17 Thread Paul Dupuis via use-livecode
For desktop applications on Windows and OSX, I am lookingf or what people consider the best practice to be for enabling, disabling, or updating menu items based on context. You have so many ways in the LiveCode language to do this: enable menuItem 2 of menu "Edit" disable menuItem 3 or menu

Re: Best practice for menus...

2017-01-17 Thread Paul Dupuis via use-livecode
Richard, Thanks for the timing information. It was reassuring to see changing the text was faster. In dealing with bug http://quality.livecode.com/show_bug.cgi?id=19097 I have been looking to clean up menu code and was looking for best practice feedback exactly like yours. My own inclination has

AW: Help: Odd menu behavior under LC6.7.11 on OSX

2017-01-17 Thread Paul Dupuis via use-livecode
This "odd behavior" is indeed a LC engine bug under OSX, from version 6.7 onward including LC9. See http://quality.livecode.com/show_bug.cgi?id=19097. Mark Waddingham has identified the cause and the fix for future releases. ___ use-livecode mailing

Help: Odd menu behavior under LC6.7.11 on OSX

2017-01-09 Thread Paul Dupuis via use-livecode
We're developing under LC6.7.11 and can not move to new versions of LC just at the moment. We are seeing a weird menu rendering issues under OSX (Mavericks through El Capitan). Our group object for our menu buttons has an 'on mouseDown' handler that looks at various object states and updates

Re: Help: Odd menu behavior under LC6.7.11 on OSX

2017-01-09 Thread Paul Dupuis via use-livecode
On 1/9/2017 3:12 PM, Richmond Mathewson via use-livecode wrote: > Well, the first question anyone is going to ask is why on earth you are > using 6.7.11? > > PPC Macs? > > "can not move to new versions" > > Money for commercial version? > > Richmond. In this case, we have part of our application

Re: Code signing an installer?

2017-01-08 Thread Paul Dupuis via use-livecode
On 1/8/2017 12:28 PM, William Prothero via use-livecode wrote: > Folks, > I make a standalone (OSX) app, then build an installer. Do I need to code > sign both the app and the installer package separately? > > We've been successful - so far - with just signing the installer.

Re: Help: Odd menu behavior under LC6.7.11 on OSX

2017-01-09 Thread Paul Dupuis via use-livecode
On 1/9/2017 3:16 PM, dunbarx via use-livecode wrote: > I am still in 6.7 and perfectly fine. > > So if you click on the "File" menu, and then release and then click on > "Edit", I assume the menuItems for "Edit" appear normally? It is only when > you click on "File" and then, mouse-still-down,

Transparent Images in LC

2017-03-30 Thread Paul Dupuis via use-livecode
NOTE: I am using LC 6.7.11 for an update to a legacy app. I was trying to import (as a control) a transparent PNG (i.e. the "white" parts allow whatever is underneath to show through) and instead of transparancy, I get the slashed background lines transparent PNG are often displayed with.

Re: Single File Deploy on Windows?

2017-04-04 Thread Paul Dupuis via use-livecode
On 4/4/2017 3:57 PM, Dan Friedman via use-livecode wrote: > Anyone have any insight? Externals (.dll files that an a LC external) can be added to a created substack on startup by setting the externals of that new sustack to the approriate names and paths and then the substack started as a Library

Re: Single File Deploy on Windows?

2017-04-04 Thread Paul Dupuis via use-livecode
Hi Dan, That look to me like it should work. Here is my code below which does work. That said, it works under 6.7.x and earlier. I have not tested my code under LC7+. In my case I have only 1 external but I want to load the correct one for OSX or Window. The whole "put (there is a folder

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
I am curious why folks use numberFormat vs the format function (which is much more consistent and versatile). Is the issue the complexity of the formatting strings for the format function? put format("$%0.2f",tMoney) into msg for tMoney = 5.55, you get $5.55 for tMoney = 5.3, you get $5.33

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
Okay, put format("$ %05.2f",-5.553) into msg gives $ -5.55 I am sure there is some formatting someone would want that can not be done with the format function, but most can and without spending the time to exhaustively test, I suspect that anything you can do with numberFormat you can do with

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
On 4/6/2017 5:04 PM, Bob Sneidar via use-livecode wrote: > put format("00:00:00", "9:50:00") produces 00:00:00. > put format("##:##:##", "9:50:00") produces ##:##:##. > put format("nnn.nnn.nnn.nnn", "192.168.1.1") produces nnn.nnn.nnn.nnn put format("%2d:%02d:%02d", 9,50,0) produces 9:50:00

Re: Negative Numbers and NumberFormat

2017-04-05 Thread Paul Dupuis via use-livecode
On 4/5/2017 7:42 PM, J. Landman Gay via use-livecode wrote: > On 4/5/17 5:48 PM, Richard Gaskin via use-livecode wrote: >> Jacque wrote: >> >>> HyperCard distinguished between "#" and "0" and produced different >>> results. It sounds like LC doesn't? >> >> Confirmed - running this script in v9dp6

Re: numberFormat affecting array keys???

2017-04-20 Thread Paul Dupuis via use-livecode
Array keys are strings. Even when you: put 1 into tArray[1] the "1" as the array key is a string. If you do something mathematical to that key, LC converts any string that represents a number to a number when it needs to. On 4/20/2017 7:51 PM, Bob Sneidar via use-livecode wrote: > Hi all. > >

Re: numberFormat affecting array keys???

2017-04-21 Thread Paul Dupuis via use-livecode
On 4/21/2017 11:34 AM, Bob Sneidar via use-livecode wrote: > It really doesn't matter though, because the bottom line is that I need to > create my own number formatting function, which is no big deal. If it's any > good I'll post it for review and refinement. Why not use the existing

Re: Standard icons included in standalone

2017-04-20 Thread Paul Dupuis via use-livecode
Under 8.1.3, if I create a new stack and a new button and open the property inspector for the button and click on the icon tab of the property inspector and click on an icon, the usual dialog appears with the Standard Icons, Standard Patterns, Metacard Icons, Metacard Patterns, and This Stack

Re: Standard icons included in standalone

2017-04-20 Thread Paul Dupuis via use-livecode
017, at 5:19 AM, Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Under 8.1.3, if I create a new stack and a new button and open the >> property inspector for the button and click on the icon tab of the >> property inspecto

Re: Download LC Community: trapped.

2017-03-09 Thread Paul Dupuis via use-livecode
On 3/9/2017 1:02 PM, Richmond Mathewson via use-livecode wrote: > If you decide you don't wish to donate right now you still have to > specify a name and an e-mail > address. > > So: NO anonymous download unless you happen to have previously > bookmarked: > > downloads.livecode.com/livecode/ > >

Re: Download LC Community: trapped.

2017-03-09 Thread Paul Dupuis via use-livecode
On 3/9/2017 6:18 PM, Richard Gaskin via use-livecode wrote: > Growing the platform's audience. You make a good point here. I wish i knew whether the open Source effort significantly grew the userbase over whatever trend it was on before the OSS effort and whether the actual number of paying

Re: ouch: the beginning of the end

2017-03-03 Thread Paul Dupuis via use-livecode
So the XPDF viewer lets you grab the text from PDFs, the formattedRect of any selected Text, and the page (or ant portion of the rendered page) as an Image in addition to just viewing a PDF I assume the issue that you view EPS as high resolution for the purposes of printing the PDF form back out

Re: ouch: the beginning of the end

2017-03-04 Thread Paul Dupuis via use-livecode
On 3/3/2017 11:10 PM, Bob Sneidar via use-livecode wrote: > What is this XPDF viewer you speak of? Not showing up in the LC dictionary. > > Bob S Available only with Business License and for a while it was missing from the Dictionary, but you can find it in LC 8.1.3 or the latest 9.0 dp builds.

Re: align field scrolls

2017-03-06 Thread Paul Dupuis via use-livecode
You need 3 controls: 2 fields with the vertical scrollbars turned off and a vertical scroller Set the min of the vertical scrollbar to 0 and the max to the "max(the formattedHeight of field X,formattedHeight of field Y) In the scrollbar, add the script: on scrollbarDrag newPosition set the

Re: ouch: the beginning of the end

2017-03-04 Thread Paul Dupuis via use-livecode
On 3/4/2017 3:10 PM, Dr. Hawkins via use-livecode wrote: > On Fri, Mar 3, 2017 at 8:10 PM, Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> What is this XPDF viewer you speak of? Not showing up in the LC dictionary. > > a unix pdf display program. > > XPDF is not a

Transparent Images in LC

2017-04-01 Thread Paul Dupuis via use-livecode
NOTE: I am using LC 6.7.11 for an update to a legacy app. I was trying to import (as a control) a transparent PNG (i.e. the "white" parts allow whatever is underneath to show through) and instead of transparancy, I get the slashed background lines transparent PNG are often displayed with.

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

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: 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

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
> > >> On Jul 10, 2017, at 14:53 , Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> 2) present a modal windows, allow no other scripts or actions to occur, >> but allow the current handler to continue executing. > > ___

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: 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: 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: 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: 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-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: 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

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: 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

Re: Swiping between cards - metaphor end-of-the-road?

2017-04-26 Thread Paul Dupuis via use-livecode
On 4/26/2017 3:02 PM, Richard Gaskin via use-livecode wrote: > Either way, the gestures themselves are only part of the challenge. > In fact, for card swiping we need only one, a swipe. The bigger part > is handling the dual-card render during the gesture. This would work (in theory) for the

AW: answer file under OSX El Capitan no longer has titlebar

2017-04-24 Thread Paul Dupuis via use-livecode
Thank you to everyone, especially hh and colin. I was using "answer file with no "titled" clause. I need to remain on 6.7.11 for this immediate work, so updating to LC 8.x is not an option at this time (that's next on the list). Adding the titled clause makes it work just fine. Thank you all!

answer file under OSX El Capitan no longer has titlebar

2017-04-24 Thread Paul Dupuis via use-livecode
First, I realize I am on old versions of things. I am using LC 6.7.11 and running mostly under OSX Mavericks (10.9.5) I just discovered that - under El Capitan (10.11.x) and presumably 10.12 - the LiveCode 'ask file ' statement no longer display the text because the open file dialog under El

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: 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: 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: 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: 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: 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: 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

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: 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 pending for the same object and the

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

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

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

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

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-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: http calls blocked by virus protection?

2017-05-05 Thread Paul Dupuis via use-livecode
I should have added that WHEN windows firewall does block something, a message typically appears warning the user, so if that is what is happening, your user should be seeing some sort of error message from Windows. On 5/5/2017 7:03 AM, Paul Dupuis via use-livecode wrote: > I am not sure w

Re: http calls blocked by virus protection?

2017-05-05 Thread Paul Dupuis via use-livecode
I am not sure what sort of connection you are doing to your server, but both OSX's Firewall and Windows Firewall will try to block *incoming* connections to an app (for example, if you have your app listening for an incoming connection using the 'accept' command. Outbound standard http connections

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 internet connections except

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: 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

Re: put x into URL... error on Windows network drive

2017-05-04 Thread Paul Dupuis via use-livecode
On 5/4/2017 12:41 PM, Phil Davis via use-livecode wrote: > Is there any possibility that the network drive has spun down? I > haven't tried it in recent versions of LC, but long ago I found I > could get "the detailed files" of some folder on a sleeping drive and > that would cause it to wake up!

put x into URL... error on Windows network drive

2017-05-04 Thread Paul Dupuis via use-livecode
This is a long shot, but has anyone ever experienced any problems with: put into URL ("file:") On network drives under Windows, specifically where the users entire "home' drive is a network drive (using Active Directory). An error occurs ("the result" is coming back non-empty), but I don;t

Re: put x into URL... error on Windows network drive

2017-05-04 Thread Paul Dupuis via use-livecode
On 5/4/2017 11:37 AM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > This is a long shot, but has anyone ever experienced any problems > > with: > > > > put into URL ("file:") > > > > On network drives under Windows, specifically where the users entire > > "home' drive is 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: 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: 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: 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: 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.

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: 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 memory, pipes, and more. > > Which

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: 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: 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: Save file dialogs...

2017-10-24 Thread Paul Dupuis via use-livecode
http://quality.livecode.com/show_bug.cgi?id=20600 Requested as an enhancement to the 'ask file' engine command. The next question might be what form would that enhancement take? If we look at the syntax of: ask file prompt [with defaultFilePath] [with type types [or type types ...]] [as sheet]

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: 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 >

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>

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

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

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: 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: 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: 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: THOUGHT: the [effective] [working] screenLoc

2018-06-06 Thread Paul Dupuis via use-livecode
Enhancement request: https://quality.livecode.com/show_bug.cgi?id=21337 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

  1   2   3   4   5   6   >