Re: osx open url vs osascript FYI

2017-03-10 Thread John DeSoi via 4D_Tech
Hi David, > On Mar 10, 2017, at 5:04 PM, David Ringsmuth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > It should be “open”. (SORRY) Applescript is a good option if you need to do something complicated. If you just want to open an application or document (or application with a document),

RE: osx open url vs osascript FYI

2017-03-10 Thread David Ringsmuth via 4D_Tech
Tim, Good catch! I copied the wrong code example. It should be “open”. (SORRY) > $script_t:="tell application \"Finder\""+$LF > $script_t:=$script_t+"open\""+$Path_Doc_t+"\" as alias"+$LF > $script_t:=$script_t+"end tell"+$LF > LAUNCH EXTERNAL PROCESS("osascript >

Re: osx open url vs osascript FYI

2017-03-10 Thread Tim Nevels via 4D_Tech
On Mar 10, 2017, at 9:12 AM, David Ringsmuth wrote: > 4D v15.2 > OSX 10.12+ > > I tried many different things to launch a .htm on OSX using OPEN URL, and it > would not automatically open the document. > > Included “safari” in the OPEN URL. > Used the “*” parameter in OPEN URL. > Stripped the

Re: Which rows are selected?

2017-03-10 Thread Arnaud de Montard via 4D_Tech
> Le 10 mars 2017 à 20:56, bob.miller--- via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Hi Everyone, > > Call it Friday, call it memory loss, but don't call it lack of effort. > I've been scouring the docs looking for how, using an array-type listbox > with the 'Selection Mode =

RE: Which rows are selected?

2017-03-10 Thread Vance Villanueva via 4D_Tech
Hi Bob, Here is also a KB example about this: http://kb.4d.com/assetid=76902 Regards, Vance Villanueva -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of bob.miller--- via 4D_Tech Sent: Friday, March 10, 2017 11:57 AM To: 4d_tech@lists.4d.com Cc:

Re: Which rows are selected?

2017-03-10 Thread Jim Dorrance via 4D_Tech
A ListBox is a boolean array, with an element returning True representing a selected rows. On Fri, Mar 10, 2017 at 8:56 PM, bob.miller--- via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi Everyone, > > Call it Friday, call it memory loss, but don't call it lack of effort. > I've been scouring the

Re: Which rows are selected?

2017-03-10 Thread Keith Culotta via 4D_Tech
listBox{$row}=true Keith - CDI > On Mar 10, 2017, at 1:56 PM, bob.miller--- via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Everyone, > > Call it Friday, call it memory loss, but don't call it lack of effort. > I've been scouring the docs looking for how, using an array-type listbox >

Which rows are selected?

2017-03-10 Thread bob.miller--- via 4D_Tech
Hi Everyone, Call it Friday, call it memory loss, but don't call it lack of effort. I've been scouring the docs looking for how, using an array-type listbox with the 'Selection Mode = Multiple' attribute set, how can I detect which rows are selected? It's going to be a big 'ah, duh!' moment,

Re: sending mail with Exchange server

2017-03-10 Thread Koen Van Hooreweghe via 4D_Tech
Pretty weird, this message arrived in my spam (Apple Mail)... Kind regards, Koen Op 10-mrt.-2017, om 16:06 heeft Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com> het volgende geschreven: > Thanks, Lutz. > > Will look into these. > > I know it’s a Pandora’s box and it gets very frustrating,

RE: sending mail with Exchange server

2017-03-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, you just opened the whole box of Pandora regarding email sending. In the last years more and more techniques are evolved to prevent spam, SPF, DKIM, DMARC to name a view. And if someone argue "it worked in the past for years" it is the best sign, there could be something wrong. We are

Re: sending mail with Exchange server

2017-03-10 Thread Randy Jaynes via 4D_Tech
Thanks, Lutz. Will look into these. I know it’s a Pandora’s box and it gets very frustrating, for sure. So many variables. I suspect something on Exchange, but I’m told it’s managed by Comcast, so it’s not going to be fun getting any changes made that we might need. Randy

sending mail with Exchange server

2017-03-10 Thread Randy Jaynes via 4D_Tech
We’ve been using 4D InternetCommands for many years to connect to SMTP servers directly and send emails out of our database. In the last few years it’s been getting harder and harder to keep up with the various security requirements of different servers. The most recent issue is that a

Re: 4D v15.4: Sequence number issue / Duplicate key error

2017-03-10 Thread Bernd Fröhlich via 4D_Tech
Kirk Brooks: > If a subsequent call to sequence number is made it causes the sequence to > increment. So the final call my test method makes causes the sequence to > increment by 3 even through at the time that call is made the other > processes have quit and 'released' their numbers. Yes, if