Re: CONVERT PICTURE v17

2019-03-10 Thread Randy Jaynes via 4D_Tech
You have to be careful about the transparency, though. After doing this conversion with transparency, I found that some of our pictures in the picture library (and static pictures on forms) need white in some areas to be meaningful. So we had to carefully look at each one to be sure that

Re: OAuth

2019-03-10 Thread Jeremy Roussak via 4D_Tech
Solved: I wasn’t providing the necessary headers. Jeremy > On 10 Mar 2019, at 18:49, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Miyako, > > That was very helpful, thanks, and I’ve now completed that first step of the > “authentication journey”; I can get an authorization

Windows Build - STR# 10135, 18/19 Folders

2019-03-10 Thread John J Foster via 4D_Tech
Hey All, I couldn’t find anything in KB that explained this situation. Windows 10 - 4D v17r4 I just noticed that the build of an engined version of my app creates two foldersnamed: STR# 10135, 18 -> Appname.4dbase -> includes the .4DC/.4DIndy files STR# 10135, 19 -> Appname -> includes

Re: Highlighting rows using Row Font Color Array

2019-03-10 Thread macjimbo via 4D_Tech
Thanks for the pointers to the blog; surprised 4D doesn't just reverse out in white when a non-standard text colour is used. But it doesn't… Thanks again. -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html **

Re: Windows Build - STR# 10135, 18/19 Folders

2019-03-10 Thread John J Foster via 4D_Tech
Hi Randy, Thanks! I’ll send it to you via your email and reduce my NUG noise. Appreciate, John… > I'll be glad to look at your buildapp.xml file if you want to send it to me. > > Randy Engle ** 4D Internet Users Group (4D

4D Server v17.1 and time change

2019-03-10 Thread Jeffrey Kain via 4D_Tech
Did anyone else have any weirdness with their 4D Server v17.1 and the change to Daylight Savings Time this morning? Most, but not all, of our users got disconnected around the time of the change, the SQL server and the 4D Server UDP port that broadcasts the server name stopped responding (we

Re: OAuth

2019-03-10 Thread Jeremy Roussak via 4D_Tech
Miyako, That was very helpful, thanks, and I’ve now completed that first step of the “authentication journey”; I can get an authorization code which I can copy and paste manually, which is fine: it will last for 18 months. The next step is using the authorization code to get an access token,

Lep Redirect

2019-03-10 Thread Peter Mew via 4D_Tech
Hi I wonder if anyone can help me with this. I have a LEP command that reads a file from disc, does some processing using a program called "shntool", and writes the processed result back to disc C_Blob($in;$out) C_Text($err) Launch external process(<>PathToShntool+" "+"strip"+" "+"-O always"+"

RE: Windows Build - STR# 10135, 18/19 Folders

2019-03-10 Thread Randy Engle via 4D_Tech
John, On our system: (Windows 10 4D 17r4) (We are 100% windows, creating new builds 3x week) On Windows, the built app creates a folder: "AppName" This has the "Appname.exe" in it Inside of that folder is another folder: "Database" This holds the .4DC/.4Dindy files Clicking on the .EXE

Re: Help LEP macOS to open the Emoji viewer

2019-03-10 Thread Keisuke Miyako via 4D_Tech
thanks for your informative reply. I've tried your plugin, but it seems that the plugin only accepts one modifier key. This code opens (only with debugger) the macOS Spotlight and close spotlight after you step over "POST VIRTUAL KEY" $modifiers:=Command key mask+Control key mask

Re: Help LEP macOS to open the Emoji viewer

2019-03-10 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote > P.S. > > to post keystrokes programmatically > > https://github.com/miyako/4d-plugin-virtual-key > > to do it the proper way (it seems, not tested) > > https://developer.apple.com/documentation/appkit/nsapplication/1428455-orderfrontcharacterpalette?language=objc

OAuth

2019-03-10 Thread Jeremy Roussak via 4D_Tech
I’m trying to get an OAuth 2.0 access token. I’m confused about the redirect uri and how to implement it in 4D. The server I’m hoping to talk to is the Value Added Tax server at HMRC in England (in a couple of months’ time, entering figures for VAT returns will have to be done by software

Re: OAuth

2019-03-10 Thread Keisuke Miyako via 4D_Tech
so the first thing to do is Google the docs with the keyword "urn:ietf:wg:oauth:2.0:oob" https://www.google.com/search?client=safari=en=site:developer.service.hmrc.gov.uk+urn:ietf:wg:oauth:2.0:oob=UTF-8=UTF-8 > oob callbacks

Re: OAuth

2019-03-10 Thread Keisuke Miyako via 4D_Tech
if the service provider does not support oob callbacks then you need to start a TCP listener session on localhost. c.f. https://github.com/miyako/console-tcp-listener of course you can use 4D Internet Commands or the built-in web server. if oob is supported (you need to check with the service