Re: LEP - and Batch files

2017-11-08 Thread Justin Carr via 4D_Tech
On 9 Nov 2017, at 4:44 am, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have tried all of the offered suggestions: > Start ?b > running without a call to cmd > \batchfilename\ > extended this to cover the file paths in the batch file > > none of these result in file copying when

Re: Symlinks in Windows

2017-11-08 Thread Justin Carr via 4D_Tech
On 9 Nov 2017, at 10:19 am, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On a Mac, when I want apache to front my 4D web server, I create a symlink > in the Apache document directory to my web folder in the database directory. > > That way, I only have to install and maintain the web f

Re: 4D Debug Log Reader - Plugin Commands

2017-11-27 Thread Justin Carr via 4D_Tech
On 28 Nov 2017, at 1:52 pm, Allan Udy via 4D_Tech <4d_tech@lists.4d.com> wrote: > > HI, > > A while back I got hold of the v15 '4D Debug Log Reader' database in order to > view some of 4D's Low Level debugging Log files. It helped me a lot at the > time. > > I've still got the Read Me pdf but

Re: 4D Debug Log Reader - Plugin Commands

2017-11-28 Thread Justin Carr via 4D_Tech
On 29 Nov 2017, at 8:44 am, Add Komoncharoensiri via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Guys, > > Have you looked at New Log Parser technote (http://kb.4d.com/assetid=77880). > I think you’ll find it to be very useful. > Hi Add Yep. I've given it a look. It's a nice tool but doesn'

Re: 4D Debug Log Reader - Plugin Commands

2017-11-28 Thread Justin Carr via 4D_Tech
Hi Allan For what it's worth I've uploaded a new version to github. This version allows renumbering of the plugins using a right-click. It also now determines the plugin and function names dynamically when building the hierarchical list (or list box if there's a lot of commands) so you don't ne

Re: 4D Debug Log Reader - Plugin Commands

2017-11-29 Thread Justin Carr via 4D_Tech
On 30 Nov 2017, at 2:41 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > the relation between plugin command names and numbers can be studied from > manifest.json (v14 sdk) or *.rsrc (earlier) > > https://github.com/4D-JP/plugin-command-numbers The number used to identify the p

Re: 4D Debug Log Reader - Plugin Commands

2017-11-29 Thread Justin Carr via 4D_Tech
On 30 Nov 2017, at 10:41 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > to clarify: > > - command number > > the command number explained in this example corresponds to the right side of > e.g. "3;1" > and it can be derived from manifest.json inside the plugin bundle (v14 SDK

Re: 4D Debug Log Reader - Plugin Commands

2017-11-30 Thread Justin Carr via 4D_Tech
On 1 Dec 2017, at 11:28 am, Allan Udy via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> Justin previously determined that this is the case, and in his Log Parsing >> database that we're using, the plugin command ID's are assumed to start with >> 3;YYY. > > Through a bit of trial and error I can n

Re: New Log Parser says : this doesnt make sense

2017-12-01 Thread Justin Carr via 4D_Tech
On 1 Dec 2017, at 5:44 pm, Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi, > > I am trying to use the new Log Parser, but without success > > First of all, when I start logging I have 10 files of 10MB each within 1 > minute, but that's not the problem (or is it) > >

Re: 4D 15R5 Feedback

2018-02-27 Thread Justin Carr via 4D_Tech
That one was raised by me but in our case, it is only happening on 32-bit Mac server. But it's very easy to test. Just create a server application that has nothing at all except for exposing a single web service. That web service does nothing other than return a value of 0. Then from another ap

Re: 4D 15R5 Feedback

2018-02-27 Thread Justin Carr via 4D_Tech
wrote: > > Justin, > > Was it the volume of SOAP calls or the frequency that caused the crashes? > > We are clocking around 400 per minute at peak times. > > > > On Wed, Feb 28, 2018 at 9:39 AM, Justin Carr via 4D_Tech < > 4d_tech@lists.4d.com> wrote: >

Re: Find and Replace Component for 4D Write Pro

2018-03-07 Thread Justin Carr via 4D_Tech
On 8 Mar 2018, at 1:46 am, Jeff Grann via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I had the need to add find and replace to my 4D Write Pro areas. So I created > a generic component. It easily shows and hides itself at the top of a Write > Pro area and can resize itself automatically. You can

Re: procedurally delete anchored image in 4D Write Pro

2018-05-23 Thread Justin Carr via 4D_Tech
> On 18 May 2018, at 11:21 pm, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > How can I procedurally delete an anchored image in a 4D Write Pro document? > > I know how to select the image with > WP SELECT(*;"WParea";$image_object) > > But then what? Try: INVOKE ACTI

Re: procedurally delete anchored image in 4D Write Pro

2018-05-23 Thread Justin Carr via 4D_Tech
On 24 May 2018, at 10:01 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I think you need to first change the layout to inline (by UI or code), in > order to delete an image. > > but the attribute "wk anchor layout" is not settable with WP SET ATTRIBUTES > http://doc.4d.com/4Dv

Re: Build with code signing

2018-06-11 Thread Justin Carr via 4D_Tech
Building on Cannon's code, rather than calling codesign directly with the --deep flag we use the shell script that is distributed in the 4D app bundle, which takes care of the signing of all of the subcomponents for you. You still need to remove the extended attributes first (with xattr -cr) as

Re: Delay process bug

2018-06-17 Thread Justin Carr via 4D_Tech
On 16 Jun 2018, at 12:20 am, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have never had an issue with DELAY PROCESS. Maybe I'm lucky. I don't > think I've ever used it to delay something more than a matter of seconds, > though. It would never have occurred to me to DELAY PROCESS f

Re: Write Pro: programmatically manipulate text expertise needed

2018-06-17 Thread Justin Carr via 4D_Tech
On 15 Jun 2018, at 10:01 pm, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Piotr, > I think you can use WP SELECT to do this - > WP SELECT ( {* ;} wpArea {; targetObj} | {; startRange ; endRange} ) > > Let me know if you can't get that to work and I'll take a closer look at it. >

Re: Delay process bug

2018-06-17 Thread Justin Carr via 4D_Tech
On 18 Jun 2018, at 1:31 pm, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > according to the bug description for ACI0098368 ("Delayed processes do not > wake up if paused/resumed while already delayed"), > > it's not that the DELAY P. has a problem resuming, > the problem manifests

Re: Delay process bug

2018-06-18 Thread Justin Carr via 4D_Tech
On 18 Jun 2018, at 4:39 pm, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Justin, > I do use DELAY PROCESS but as I said it's only for a minute or two. > And like I said maybe I've simply been lucky. As my business mentor used to > say, "sometimes it's better to be lucky than smart."

Re: Delay process bug

2018-06-18 Thread Justin Carr via 4D_Tech
On 19 Jun 2018, at 1:32 am, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I bet the bug is actually someplace else and is manifesting in this DELAY > PROCESS bit. Which doesn't help you find it at the moment, though. Is the > method running this process one of those big, complicated,

Re: Write Pro: programmatically manipulate text expertise needed

2018-06-21 Thread Justin Carr via 4D_Tech
On 21 Jun 2018, at 4:49 pm, Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Justin, Pat, > > Using WP SELECT that is called in a method via CALL FORM seems to work, > thanks for that! > > I must say, I can't believe it's 4D's intention that we constantly have to > us

Re: 4D Write, pictures in page, frozen document, to 4D Write Pro

2018-06-24 Thread Justin Carr via 4D_Tech
Just a a guess John, but is it possible the pictures that don't convert were inserted in PICT format? Maybe you could select one of the letters with troublesome images and convert one of those images in place to PNG (using CONVERT PICTURE). Then try opening that letter again in 4D Write Pro. O

Re: v17.0 HF1 Bug Fix delayed process not waking fix

2018-08-13 Thread Justin Carr via 4D_Tech
On 14 Aug 2018, at 2:18 am, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Got an email about v17.0 HF1 being released. This fixed bug caught my eye: > > > ACI0098368 A delayed processes do not wake up if paused and then resumed: > it stays in pause mode. > > Could this be a fix

Re: New record numbering system and CALL WORKER

2018-08-27 Thread Justin Carr via 4D_Tech
On 28 Aug 2018, at 6:08 am, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hey guys - the very issue with the record counter is sketched out in the > discussion about Suspending Transactions: > > http://doc.4d.com/4Dv16/4D/16.3/Suspending-transactions.300-3652126.en.html > > > I had

Re: New record numbering system and CALL WORKER

2018-08-27 Thread Justin Carr via 4D_Tech
On 28 Aug 2018, at 11:52 am, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> wrote: > > It does, but remember if you already have multiple transactions, you will > have to keep track and may have to suspend that many times I don't think that is true. When you SUSPEND TRANSACTION, the effective

Re: 4Dv15 applications as a Service in Windows Server 2012

2018-09-13 Thread Justin Carr via 4D_Tech
On 13 Sep 2018, at 5:14 pm, Ronnie Teo via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi David, > > Thanks for your tip. > I have conducted the test as per your suggestion and from the results of the > test, it does not appear to be a firewall problem. > > a) 4Dv15.5 (32-bit) - server app launc

Re: CALL FORM: Some notes on a command that's easy to misunderstand

2017-03-17 Thread Justin Carr via 4D_Tech
OK, so it's Friday afternoon and I've got a few moments while I sup on a cold bevvy. David & I kind of got the fervour about CALL FORM/WORKER at the same time and this is one of the things about them that really captured our imagination. We are using CALL FORM and CALL WORKER to automate unit t

Re: How do you force resources to download these days?

2017-06-04 Thread Justin Carr via 4D_Tech
On 5 Jun 2017, at 9:50 am, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Grrr. Didn't figure out how to find this in the docs. There used to be a > tickbox. Could be but I don't think I ever used it. We just run a method with the EOS bit checked which contains the NOTIFY RESOURCES FO

Re: How do you force resources to download these days?

2017-06-04 Thread Justin Carr via 4D_Tech
On 5 Jun 2017, at 12:32 pm, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Mon, Jun 5, 2017 at 10:22 AM, Justin Carr via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> NOTIFY RESOURCES FOLDER MODIFICATION > > Thanks J. Hmmm. Added in V1

Re: Programmatically scroll a web area

2017-06-11 Thread Justin Carr via 4D_Tech
We do this all the time and don't see this issue. Mind you we never deployed with v15. What works for us with at least v12-14 and v16R2 is to use an internal webarea and open a blank URL first before opening the path to the PDF, i.e. WA OPEN URL(*;"webarea_name";"about:blank") WA OPEN URL(*;"we

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Justin Carr via 4D_Tech
On 28 Jun 2017, at 12:01 pm, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Wed, Jun 28, 2017 at 11:54 AM, Wayne Stewart via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi, >> >> I did it with help from Dave Batton (so you can imagine how fresh this >> solution is)! >> >> The w

Re: Array Range Check Issue

2017-07-02 Thread Justin Carr via 4D_Tech
On 1 Jul 2017, at 12:12 am, Stephen J. Orth via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I am getting an array range check error on the following line: > > If (Size of array(as_function)>=1) > > This is a compiled application, so how does this type of error even exist > for this line? > >

Re: Set_Exists() function: Simple version

2017-07-16 Thread Justin Carr via 4D_Tech
On 17 Jul 2017, at 5:07 am, Robert Livingston via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Jul 14, 2017, at 5:10 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: >> >> I was just consolidating some old code and ran across something that I >> wrote some time back called Set_Exists

Re: Set_Exists() function: Simple version

2017-07-17 Thread Justin Carr via 4D_Tech
On 17 Jul 2017, at 5:03 pm, Robert Livingston wrote: > > >> On Jul 16, 2017, at 9:09 PM, Justin Carr via 4D_Tech <4d_tech@lists.4d.com >> <mailto:4d_tech@lists.4d.com>> wrote: >> >> Are you able to provide a link to where the documentation states t

Re: 4D Write PRO how to ...

2017-08-21 Thread Justin Carr via 4D_Tech
On 21 Aug 2017, at 9:55 pm, Two Way Communications via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Using the old 4D Write, I loop through all the frames (frames 1-> 7), using > ‘WR SET FRAME’ . Then I resolve the expressions. > This way, all the references in the headers, text frames and footers a

Re: TEXT TO DOCUMENT With Special Characters

2017-08-30 Thread Justin Carr via 4D_Tech
On 31 Aug 2017, at 8:53 am, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I’m having trouble with saving Unicode characters to a file. For example, the > following code saves a file to disk: > > C_TEXT($tText;$tFilepath) > > $tText:=“©” //Copyright symbol > $tFilepath:=System fold

Re: Set Time question

2019-02-14 Thread Justin Carr via 4D_Tech
On 14 Feb 2019, at 10:18 pm, Arnaud de Montard via 4D_Tech <4d_tech@lists.4d.com> wrote: > > >> Le 10 févr. 2019 à 18:41, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> a >> écrit : >> >> Just to add a little more to this. > > Me too, forgot to mention CALL FORM: has a message queue, can rece

Re: Write Hex Bytes

2019-02-21 Thread Justin Carr via 4D_Tech
On 22 Feb 2019, at 10:30 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > it sounds like you are over-thinking :) > > you could just do > > SET BLOB SIZE($bytes;4) > > $bytes{0}:=78 > $bytes{1}:=48 > $bytes{2}:=75 > $bytes{3}:=00 > > then BLOB TO DOCUMENT. > > not need to go

Re: Fast way to highlight a listbox entity selection

2019-04-15 Thread Justin Carr via 4D_Tech
On 16 Apr 2019, at 5:04 am, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hello, > > I'm looking for a fast way to highlight a selection of rows in an entity > selection listbox. The way I am aware of works OK unless the listbox gets a > large number of rows. > > Adding records

[ANN] 4D Developer Position Available

2019-04-16 Thread Justin Carr via 4D_Tech
Hey Everyone Ever dreamed of living and working in Australia? Better yet, in Australia's sunshine capital Brisbane? If so, this may be the oppourtunity you've been waiting for! We are looking for an experienced and passionate 4D developer to join our great team here in a full time permanent ro

Re: Custom Form Events

2019-04-23 Thread Justin Carr via 4D_Tech
Hi Chris We use SET TIMER(-1) a lot for this purpose. It is ideal when you want to do something as part of On Load but you need the On Load execution cycle to finish first before you do the next thing, e.g. you need to know the size and position of an object on a form before you take some other

Re: Form and DIALOG

2019-04-29 Thread Justin Carr via 4D_Tech
Jeremy, That's definitely one of the supported/encouraged behaviours as far as I am aware. cheers J > On 29 Apr 2019, at 6:05 pm, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Is it safe to use the object returned by the Form command as a means of > passing data back to the

Re: Running v16.6 built application as a service on Windows SBS 2011

2019-08-27 Thread Justin Carr via 4D_Tech
> On 28 Aug 2019, at 10:23 am, Mike Beatty via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > All- > > Running into an issue trying to get a v16.6 built application to run as a > service, wondering if anyone has this in place before we ramp up the > troubleshooting. > > A few notes — this is on

[ANN] 4D Developer Positions Available

2019-11-10 Thread Justin Carr via 4D_Tech
Hi All Just a reminder that we are always on the lookout for new developers to join our team here at Genie Solutions. If you want to grow and unleash your passion for development in innovative and interesting ways in a friendly, supportive and professional environment, then look no further. W

Re: V17.6 How to getting a newly-related record to load in ORDA

2019-11-19 Thread Justin Carr via 4D_Tech
Hi Chris Short answer is that if the many table is related to a field in the one table which is NOT the primary key of the one table, the you should ***ABSOLUTELY NOT USE ORDA*** to set the value of the many table field. There is a horrible bug in ORDA where regardless of which field the relati

Re: V17.6 How to getting a newly-related record to load in ORDA

2019-11-19 Thread Justin Carr via 4D_Tech
o the relation, regardless of which field the relation is drawn to. cheers Justin > On 19 Nov 2019, at 6:50 pm, Justin Carr via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Chris > > Short answer is that if the many table is related to a field in the one table > which i