Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo

2021-03-05 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Everyone,
> 
> Many thanks for the answers and the tips, it was very helpful.
> 
> I followed up on all the tips and tricks
> 
>   • “./“ Yes and no
>   • $MyShellScript.sh 
>   - hard coded in BBedit
>   - created in 4D 
>   - chmod 755 $MyShellScript.sh 
>   • Prepare POSIX-Pathname with Escape-Routines from Chip (Thanks) and
> Keisuke
> 
>   • shorten the depth of the path
>   $FoDoPath:=System folder(Desktop)
>   $FoDoPath:=Convert path system to POSIX($FoDoPath)
>   $cmd:=$FoDoPath+"imagesnap -w 2.0”
> 
> What ever I tried it would not work when called via LEP but always works
> direct in the terminal.
> 
> Since I use other terminal (UNIX) executable stored in the resource
> folder, I guess there is something wrong with “imagesnap”.
> 
> Since Keisukes Cupturev2-Plugin does not work either on Catalina and
> 4Dv18, so I have to cancel that security feature for the Mac-Version of
> the application. 
> This is the first time in 30 years that I have to do this for the
> Mac-side, otherwise it always was the Windows-side with this kind of
> problems.
> 
> 
> 
> Now something almost unrelated.
> 
> If you guys ever need to get the public IP-Address here are some
> suggestions:
> 
> Mac & Windows (result will be returned into $StdOut)
> 
> $cmd:="curl ifconfig.me”
>   OR
> $cmd:="curl icanhazip.com”
> 
> 
> Wndows ONLY
> 
> $cmd:="curl icanhazip.com | clip” // writes the result to the clipboard 
> 
> Cheers
> Jörg
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:

> 4D_Tech-Unsubscribe@.4D

> **

Hi Jörg,

you have to sign and notarize your mac app with the Magic Miyako tool build
application to enable the needed security settings and get the camera
access.

Same with calendar or address book access.

Signing with the 4D integrated option does not add the needed keys to the
Info.plist 

Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF Creation

2020-10-19 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi All,
> 
> I need to generate a PDF document from 4D application.
> 
> Someone know how i can do?
> 
> Thanks
> 
> Ferdinando

If you like to use a commercial plugin with pdf driver, try this link:
http://www.node.de/indexplug.htm

A lot of features and smallest pdf size

Regards Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

alternative to create a mac pkg installer

2020-03-09 Thread ADeeg via 4D_Tech
Hi all,

In the last years I have used the Packages Installer for my macOS apps.
Link: [url]http://s.sudre.free.fr/Software/Packages/about.html[/url]

But since the obligation to notarize the apps, I can't use the Packages
installer builder anymore, because the notarization fails, don't know why.

I have found 2 alternatives that I would like to share.

Link: https://forums.4d.com/Post//34224142/1/


Have fun

Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Write PICT to disk, 64bit

2020-02-15 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi all: We have some 4D Write Pro documents that contain PICT (and other
> format) images. This code will give us a list of all images from the
> document:
> 
> $res := WP Get Elements($area; wk_type_image)
> 
> We would like to be able to write these images to disk - but PICTURE TO
> BLOB and WRITE PICTURE FILE both require a relevant codec, which of course
> for PICT does not exist in 64bit 4D. Does anyone have any idea how we
> might solve this problem?
> 
> 
> Thanks
> 
> - bill

Bill,

Not validated try this coding „.4PCT“ 

Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Menu Bar Associated with Form

2020-01-31 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Is there a way to programmatically get the Menu Bar associated with a
> form?
> 
> FORM GET PROPERTIES does not appear to return the associated Menu Bar.
> 
> The Menu Bar and other parameters of the form are shown in the Form
> Properties dialog.
> 
> 
> Thanks,
> 
> P.S. We have new phone numbers and extensions -- Please update your
> records.
> 
> Jim Medlen

Jim,

the command  Export structure file do the trick:
https://doc.4d.com/4Dv18R2/4D/18-R2/Export-structure-file.301-4803285.en.html

Or FORM Convert to dynamic
https://doc.4d.com/4Dv18R2/4D/18-R2/FORM-Convert-to-dynamic.301-4803672.en.html


Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D write pro add a new section.

2020-01-11 Thread ADeeg via 4D_Tech
I think that invoke action is not the best choice 
Try  
https://doc.4d.com/4Dv17R6/4D/17-R6/WP-Create-subsection.301-4433866.en.html

Instead 

Armin
 
4D Tech mailing list wrote
> I see I can add a new subsection. But I am still trying to figure out how
> I would create new sew section object to append to a document. I see I
> need to have a second section to change from a one column layout to a 2
> column layout. But there does not seem to be ab way to create a section
> object or append a new section to a WP document. Any hints out there. I
> need to do this programmatically.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:

> 4D_Tech-Unsubscribe@.4D

> **





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Pro v17R6 (How to get 2-different layouts on the same page?)

2019-11-03 Thread ADeeg via 4D_Tech
Tom and Jeremy, see this post: http://forums.4d.com/Post//25235802/1/

In 4D Write Pro, a section break necessarily causes a page break.


Regards Armin


4D Tech mailing list wrote
> Maybe I’m not understanding the question, but this blog post seems to
> explain how….
> https://blog.4d.com/manage-sections-with-code-in-a-4d-write-pro-document/
> 
> Tom Benedict
> 
>> On Nov 2, 2019, at 03:22, ADeeg via 4D_Tech <

> 4d_tech@.4d

>> wrote:
>> 
>> 4D Tech mailing list wrote
>>> How would I programmatically format a page, like this:
>>> 
>>> <2-columns>
>>> 
>>> 
> 
>>> <1-column>
>>> 
>>> In other words -- on the **same** page -- I would like to have
>>> **2-different** layouts.
>> 
>> This is not possible with WP at the moment
>> 
>> 
>> Armin
>> 





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Pro v17R6 (How to get 2-different layouts on the same page?)

2019-11-02 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> How would I programmatically format a page, like this:
> 
>  <2-columns>
>  
> 
>  <1-column>
> 
> In other words -- on the **same** page -- I would like to have
> **2-different** layouts.

This is not possible with WP at the moment


Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Write Pro Hide/clear pictures when printing

2019-10-30 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi,
> 
> We want to print a Write Pro document without printing the contained
> pictures
> Say we print to paper that has corporate identity, we don’t want to print
> the logo that is inside the Pro document
> So we want copy the pro document to a new one, and in this new document
> hide/clear the pictures (logo) and then print
> 
> When I set the picture to 0 bytes, the picture is not printed but I see an
> ugly black rectangle around it, so this does not work
> So, is there a way to procedurally hide/clear the pictures
> 
> Gr,
> Piotr

Try something like this as a timesaver


  // 
  // User name (OS): Armin Deeg
  // Date and time: 08.04.19, 14:34:23
  // 
  // Method: WP_ClearPictures
  // Description
  // Clears the pictures inside a WP document and replace them with a 
transparent png
  //
  // Parameters $1 = WParea, $0 = count of replaced pictures
  // 



C_OBJECT($obj;$WP_SourceObject;$1;$obj_section)
C_COLLECTION($collection)
C_LONGINT($i;$n;$posRange;$i_length;$vl_sectinLoop;$vl_Counter;$0)
C_PICTURE($pict)
C_TEXT($text;$vt_expression)
C_REAL($vr_pictSize)
$WP_SourceObject:=$1
READ PICTURE FILE(Tool_GetPath ("4dRes")+"Images"+Folder
separator+"Maske"+Folder separator+"Elemente"+Folder
separator+"transparent.png";$pict)
$collection:=WP Get elements($WP_SourceObject;wk type image inline)
$vl_Counter:=0

$i:=0
$n:=$collection.length
For ($i;0;$n-1)
$obj:=$collection[$i]

$vr_pictSize:=Picture size($obj.image)
If ($vr_pictSize>200)
$vl_Counter:=$vl_Counter+1
$r:=WP Text range($obj;1;2)
$oPicts:=WP Picture range($r)
WP_PictSettings ($oPicts;"Get")  //get width and height
WP INSERT PICTURE($oPicts;$pict;wk replace;wk include in range)
WP_PictSettings ($oPicts;"Set")  //set width and height
End if 
End for 

$collection:=WP Get elements($WP_SourceObject;wk type image anchored)
$i:=0
$n:=$collection.length

For ($i;0;$n-1)
$obj:=$collection[$i]
$vr_pictSize:=Picture size($obj.image)
If ($vr_pictSize>200)
$vl_Counter:=$vl_Counter+1
$text:=JSON Stringify($obj)
If (Position("imageExpression\":\"W";$text)>0)  // check if 
picture comes
from reference
WP_PictSettings ($obj;"Get")  //get width and height
  //WP GET ATTRIBUTES($obj;wk image 
expression;$vt_expression)
WP SET ATTRIBUTES($obj;wk image 
expression;"WP_EmptyPicture")  // method
returns a transparent png
WP_PictSettings ($obj;"Set")  //set width and height
Else 
WP_PictSettings ($obj;"Get")  //get width and height
WP SET ATTRIBUTES($obj;wk image;$pict)
WP_PictSettings ($obj;"Set")  //set width and height
End if 
End if 
End for 

$0:=$vl_Counter

#

  //WP_PictSettings

C_OBJECT($1;$obj)
C_TEXT($2;$what)
C_TEXT(wk_text1;wk_text2)
$obj:=$1
$what:=$2
If ($what="Get")
WP GET ATTRIBUTES($obj;wk width;wk_text1;wk height;wk_text2)
Else 
WP SET ATTRIBUTES($obj;wk width;wk_text1)
WP SET ATTRIBUTES($obj;wk height;wk_text2)
End if 

Regards Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Migrating to 4D Write Pro

2019-10-30 Thread ADeeg via 4D_Tech
Hi for converting old 4W/ or 4W6 write documents to Write Pro, there is a
technote

Link:
https://blog.4d.com/migrate-4d-write-documents-stored-in-picture-fields/

but you have to adjust the component to make it work in 64 bit.

See this forum post from me:

Link: https://forums.4d.com/Post/DE/31137137/1/31147868#31147868

Regards Armin


4D Tech mailing list wrote
> Actually, I *tried* to save my 4D Write letter -- both as a template and
> as
> a file. My "letters" originate in blobs, in a table called [LtrTemplate].
> From the input form of that record, I have the 4D Write area that displays
> the letter's content. I use the 4D Write menu to select File:Save (or
> File:Save As...) and instead of it actually doing this, I get an alert
> that
> says the file has not been saved. What gives?
> 
> Thanks!
> 
> On Tue, Oct 29, 2019 at 1:18 PM Tom Benedict <

> benedict.t@

> > wrote:
> 
>> Hi Doug,
>>
>> I’m pretty sure that the .4W7 format for 4D Write arrived long before
>> v15,
>> so you should be OK. You can confirm by creating a Write document on disk
>> and seeing what extension is assigned.
>>
>> You can also validate your conversions by having both a Write Classic and
>> a Write Pro area on a form so you can visually compare them. I found that
>> built my confidence in the conversion process. Or course, you’ll need to
>> be
>> using a 32bit version of 4D to do this.
>>
>> Another this to keep in mind that the blobs may be compressed, and, if
>> so,
>> will need to be uncompressed prior to conversion.
>>
>> Other than that, WP New makes conversion pretty easy.
>>
>> You may already be aware, though, that if you are doing any custom
>> configuration or formatting under program control in Write Classic, all
>> of
>> that will need to be re-written in Write Pro.
>>
>> HTH,
>>
>> Tom Benedict
>>





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 'Zip.bundle will damage your computer...' Error message in macOS Catalina — how to keep it enabled

2019-10-11 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> I stupidly installed macOS Catalina this week. Now it is ‘protecting me’
> from malware with no obvious option of how to override its silly
> conclusions.
> 
> I particular, I get “Zip.bundle” will damage your computer. You should
> move it to the Trash. 
> 
> Only option is to Move to Trash.
> 
> This is the latest version from Miyako
> 
> Is  there a way to persuade macOS Catalina to stop this behaviour?
> 
> Any help is appreciated
> 
> Thanks,
> Chris

Try to sign the bundle before




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Windows Code Signing

2019-10-10 Thread ADeeg via 4D_Tech


John,

if you purchase the codesign certificate from comodo (don't forget the 15%
coupon)

Then it took 2-3 days until you get it. First you have to verify your mail
and phone.

After the certificate is ready and you download it, this gets stored inside
your browser certificates named "Sectico Limited". You have to export/save
the certificate from your browser certificates and gets a *.p12 file.

You have to double click the *.p12 (*= your choosen name) certificate and
gets a certificate import wizzard on windows. Store it and export it twice
from the windows certificate authorization 
1x as SHA1.pfx
1x as SHA256.pfx

To get signtool.exe I've installed visual studio from Microsoft (free
version). You have to check whre the latest signtool.exe ist stored inside
application files and modify the hardcode path in my sample code.

Within my sample code, modify the path name to the two certificates and
replace the mypass with your choosen passwort during exporting the
p12 certificate from your browser.

I sign the installers and the final compiled build 4D exe files (engine,
Server, Client)

Happy testing

Armin


4D Tech mailing list wrote
> There is a tech note for using signtool.exe
> 
> https://kb.4d.com/assetid=78265
> 4D Partners only
> 
> Regards Armin





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Windows Code Signing

2019-10-09 Thread ADeeg via 4D_Tech
There is a tech note for using signtool.exe


https://kb.4d.com/assetid=78265
4D Partners only

Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Windows Code Signing

2019-10-09 Thread ADeeg via 4D_Tech
Hi FYI,

for a comodo codesign certificate there is a promo coupon code 15% less:
EARLY15LESS

4D Code for code sign windows:

C_TEXT($1;$path;$vt_SignTool;$vt_pfxSHA1Path;$vt_pfxSHA256Path;$cmd)
C_TEXT($vtin;$vtout;$vterror)
If (Test path name($1)=Is a document)
$path:=$1
$vt_pfxSHA1Path:="\"S:\\SHA1.pfx\""
$vt_SignTool:="\"C:\\Program Files (x86)\\Windows
Kits\\10\\bin\\10.0.18362.0\\x64\\SignTool.exe\""
$cmd:=$vt_SignTool+" sign /f "+$vt_pfxSHA1Path+" /p
"+"\"mypass\""+" /t http://timestamp.comodoca.com "+"\""+$path+"\""
SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
SET ENVIRONMENT VARIABLE("_4D_OPTION_CURRENT_DIRECTORY";"C:\\Program 
Files
(x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\")
$vt_SignTool:="SignTool.exe"
$cmd:=$vt_SignTool+" sign /f "+$vt_pfxSHA1Path+" /p "+"\"nodegmbh\""+" 
/fd
SHA1 /t \"http://timestamp.verisign.com/scripts/timstamp.dll\"; /v
"+"\""+$path+"\""
LAUNCH EXTERNAL PROCESS("cmd.exe /C "+$cmd;$vtin;$vtout;$vterror)
If ($vtout#"@Successfully signed@")
ALERT($vtout)
End if 

$vt_pfxSHA256Path:="\"S:\\SHA256.pfx\""
SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
SET ENVIRONMENT VARIABLE("_4D_OPTION_CURRENT_DIRECTORY";"C:\\Program 
Files
(x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\")
$vt_SignTool:="SignTool.exe"
$cmd:=$vt_SignTool+" sign /f "+$vt_pfxSHA256Path+" /p
"+"\"mypass\""+" /fd SHA256 /tr
\"http://sha256timestamp.ws.symantec.com/sha256/timestamp\"; /td sha256 /as
/v "+"\""+$path+"\""
LAUNCH EXTERNAL PROCESS("cmd.exe /C "+$cmd;$vtin;$vtout;$vterror)
If ($vtout#"@Successfully signed@")
ALERT($vtout)
End if 
End if 

Regards Armin


4D Tech mailing list wrote
> Hi Jim,
> 
> First thank you for viewing and responding.
> 
> I’m playing/learning Inno Setup at this time. I have found a code signing
> certificates service suggested by George Huhn - at Comodosslstore.com.
> There are two types offered and one is extended and cost three times as
> much as a basic one. But the extended handles all the various
> security/trust issues. With my nascent market I don’t need that level of
> “trust”.
> 
> I need to figure out how to have it install the application in the
> “programs folder” and the Data files in a folder in the “user/Documents”.
> Figure less trouble that way when they are adding data.
> 
> I am still managing it manually but would like to automate from 4D in the
> not too distant timeframe.
> 
> Appreciate the offer of help.
> 
> I’ll let you know if I need a clarification or two.
> 
> John...
> 
>> We code sign our installers on Windows, using Inno Setup and an extended
>> validation certificate through https://www.qualityssl.com/, good for 3
>> years (just renewed).
>> Our customers have fewer problems installing our vertical market app
>> because the installer is signed.
>> Over the years we found Inno Setup the easiest installer tool to use, but
>> it is not without effort.  If you have any trouble getting signtool
>> working
>> with Inno Setup, we can probably help.
>> Our build and make installer scripts are all automated - you can update
>> the
>> installer script from 4D with your current build and version info.  It's
>> just a text file.





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PICTs

2019-08-27 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> In v13, or v15 is there a way to tell is a picture in the library is in 
> PICT, or other format?
> 
> Thanks
> Chip

Chip,

this is an easy method to get the picture types without plugin calls:
It checks for PICT, but the code is easy to modify to get the other pictre
formats too.

C_LONGINT($i_lib;$i_byt)
C_PICTURE($pict)
C_TEXT($s)
ARRAY LONGINT($aL_id;0)
ARRAY TEXT($aT_nam;0)
PICTURE LIBRARY LIST($aL_id;$aT_nam)
For ($i_lib;1;Size of array($aL_id))
GET PICTURE FROM LIBRARY($aL_id{$i_lib};$pict)
SET BLOB SIZE($blob;0)
VARIABLE TO BLOB($pict;$blob)
If (BLOB size($blob)>256)
$s:=""

For ($i_byt;0;256)
If (($blob{$i_byt}>31) & ($blob{$i_byt}<127))
$s:=$s+Char($blob{$i_byt})
Else 
$s:=$s+"?"
End if 
End for 

If (Position(".?p?i?c?t?";$s)>1) //If 
(Position(".?p?n?g?";$s)>1) //If
(Position(".?s?v?g?";$s)>1)
GET PICTURE FROM LIBRARY($aL_id{$i_lib};$pict)
CONVERT PICTURE($pict;".png")
SET PICTURE TO 
LIBRARY($pict;$aL_id{$i_lib};$aT_nam{$i_lib})
End if 
End if 
End for 


Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-07-06 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Yes, that works for the most part, but I’m trying to avoid making all
> those changes if there is another solution. Still seems odd that PAGE
> SETUP works for everything but the Windows 10 PDF Printer. Is there any
> way of finding out if it’s a known bug?
> 
> What do you consider to be newest versions of 4D as this was working fine
> as of v16R6. Are you aware of any 4D Blog entry or tech note that details
> how printing/print setup has changed or provide best practices for 4D v17?
> 
>> 
>> The newest versions of 4D do better if you set these options in code
>> instead of a saved page setup.  Try using SET PRINT OPTION to change it
>> to landscape mode.  
>> 
>>> On Jul 3, 2019, at 6:13 PM, Cameron Ambrose via 4D_Tech <

> 4d_tech@.4d

>   4d_tech@.4d

> >> wrote:
>>> 
>>> Just updated to 4D v17r4 and it appears that when using the Windows 10
>>> (64 bit) PDF printer, the client is no longer honouring the PAGE SETUP
>>> definition and instead just printing in portrait letter.
>> 
> 
> I have not played with this setting, so presumably it’s using the default
> which appears to be D2D.
> 
>> We have a similiar problem if we enable gdi-printing (SET PRINT 
>> OPTION(Legacy printing layer option;1)).
>> With D2D the page orientation ist correct (SET PRINT OPTION(Legacy 
>> printing layer option;0))
>> 
>> How are you printing?
>> 
>> Peter
> 
> Thanks,
> Cam

Cam have you tried this ?

set Win 10 print o PDf as default printer
start 4D
Create an output form for printing
Call file page setup
and !
set the printersettings from the property palette window too
save the form quit 4d
set you usual default printer
start 4D and try it again and call page setup with the new form.


Armin

P.S.: If it does not work for you, it works with this pdf printer plugin:
http://www.node.de/indexplug.htm




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Macs slow down generating PDFs

2019-07-02 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Anyone notice that generating a large batch of PDFs on MacOS slows down?
> I'm trying to generate several thousand PDFs, and it starts out (on my
> Mac) at a clip of over 1 per second... after an hour it's down one every
> few seconds... after a few hours its a couple of PDFs per minute.
> 
> Same code on Windows doesn't have this gradual slowdown.

maybe spotlight ? exclude the pdf destination folder from indexing.

Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Apple Notarizing (Where is 4D documentation on how to notarize a 4D merged app?)

2019-06-23 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Is there a Tech Note or Tip detailing the steps to submit signed 4D merged
> app for notarization?
> 
> (Searching the knowledge base didn't find anything for "notarize" or
> "notarizing")
> 
> ***
> 
> 
> Magic Miyako wrote it 
> 
> https://github.com/miyako/4d-utility-build-application
> 
> It shows the correct codesign and notarization upload
> 
> Armin





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4DWrite Pro Toolbar Widget Control

2019-06-19 Thread ADeeg via 4D_Tech
No Tom,
there is only a different icon style 
Inside the source you can see that the toolbar switch changes only the icon
path.

If you have access to the beta forum, I‘ve posted the source of a better
usable toolbar with different color options

https://forums.4d.com/Post/DE/29459505/1/29498004#29498004

Armin


4D Tech mailing list wrote
> Thanks Armin,
> 
>>for 4D partner there is the source of the component available
> 
> I will check it out.
> 
> BTW, the Toolbar1 and Toolbar2 appear to have identical functionality, but
> differ visually in that one is ‘flat’ and the other ‘less flat’.
> 
> Tom
> 
>> On Jun 19, 2019, at 13:04, ADeeg via 4D_Tech <

> 4d_tech@.4d

>> wrote:
>> 
>> 4D Tech mailing list wrote
>>> The 4DWrite Pro Toolbar in v17Rn is a welcome addition. I’m wondering
>>> what
>>> level of program control is available. The setup code which comes with
>>> the
>>> WritePro area when dropped onto a form from the Object Library mentions
>>> the ability to switch toolbars. “Toolbar1" and “Toolbar2” are mentioned.
>>> I’ve switched back and forth and the toolbars change (some icons are
>>> disabled or disappear). Is there any documentation? Are there additional
>>> toolbar modes?
>>> 
>>> Thanks for any info.
>>> 
>>> Tom Benedict
>> 
>> Tom, for 4D partner there is the source of the component available
>> 
>> Armin 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:

> 4D_Tech-Unsubscribe@.4D

> **





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4DWrite Pro Toolbar Widget Control

2019-06-19 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> The 4DWrite Pro Toolbar in v17Rn is a welcome addition. I’m wondering what
> level of program control is available. The setup code which comes with the
> WritePro area when dropped onto a form from the Object Library mentions
> the ability to switch toolbars. “Toolbar1" and “Toolbar2” are mentioned.
> I’ve switched back and forth and the toolbars change (some icons are
> disabled or disappear). Is there any documentation? Are there additional
> toolbar modes?
> 
> Thanks for any info.
> 
> Tom Benedict

Tom, for 4D partner there is the source of the component available

Armin 




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Any 4D Write Pro Features Available Only in 64Bit?

2019-06-19 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> What 4DWrite Pro features, if any, are only available in 64bit? As part of
> an effort to move a large 4DWrite installation onto 4DWrite Pro I’d like
> to run as long as possible with Write Classic and Write Pro ‘side by
> side’. Since WriteClassic can only run under 32bit I won’t be able move to
> 64bit until the conversion is done. 
> 
> Because I need the new Write Pro Toolbar widget I’m currently using
> v17R4-32bit. Are there any Write Pro features which only appear in
> v17R4-64bit? 
> 
> Thanks,
> 
> Tom

Yes Tom, the bug fixes for WP and I‘ve posted a lot of bugs are only in
v17r5 64 cause v17r4 is out of service now.

If you found some bugs test your code with v17r5 

I‘m a write poweruser and ready with the switch to WP and v17r5

Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v15 to v17 Conversion of Obsolete _o_C_STRING/_o_ARRAY STRING Commands

2019-06-09 Thread ADeeg via 4D_Tech
Narinder,

there is a working method from Bertrand.
http://forums.4d.com/Post/DE/17445198/1/17445199

Open the struct, copy the method and enjoy

Regards Armin


4D Tech mailing list wrote
> Hi all. I am migrating a v15 database to v17, 4D Server running on Mac. I
> need some opinions as to what to do with regards to converting commands
> marked as obsolete as per this article:
> 
> https://doc.4d.com/4Dv15/4D/15/Deprecated-or-removed-features-in-v15-product-range.200-2063067.en.html
> 
> I have been addressing them by theme, and in some cases the conversion is
> straight forward, e.g. _o_ENABLE BUTTON/_o_DISABLE BUTTON is replaced by
> OBJECT SET ENABLED whilst some others can be removed completely, e.g.
> _o_REDRAW LIST.
> 
> I am now looking at how to deal with the obsolete Compiler theme commands
> _o_C_INTEGER, _o_C_STRING and _o_ARRAY STRING.
> 
> _o_C_INTEGER I have simply replaced with C_LONGINT as the docs state that
> "...4D and the compiler retype Integers into Longints internally."
> 
> However, I am conflicted as to how best to deal with _o_C_STRING and
> _o_ARRAY STRING which are replaced by C_TEXT and ARRAY TEXT respectively.
> The docs state "The operation of the [_o_C_STRING/_o_ARRAY STRING] command
> is strictly identical to that of the [C_TEXT/ARRAY TEXT]". Of course the
> string length parameter in the obsoleted commands makes the conversion
> non-trivial and code will need to reviewed for any functional regressions,
> e.g. in relation to database fields of type String where the length can
> still be defined (auto-truncation may not be the desired/intended
> behaviour!).
> 
> I have searched the archives on this topic but opinions seem to be divided
> on whether or not to do this conversion? Perhaps I am mistaken, but I am
> of the opinion that it will have to be done sooner or later as 4D reserves
> the right to remove obsoleted commands and will eventually do so?
> 
> TL;DR the options are:
> 1. Replace
> 2. Do nothing for v17
> 
> Thoughts?
> 
> I will deal with my questions and options regarding Subrecords in a
> separate email!
> 
> Regards,
>  
> Narinder Chandi,





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Migrating 4D Write Pictures to 4D Write Pro Objects

2019-05-15 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi All,
> 
> 4D v17R4 Windows and Macintosh Stand alone and 4D Server
> I do not have an old 4D Write plugin only the new 4D Write Pro
> App upgraded from 4D 2012 to 4D V17
> 
> I am working on the final v17 conversion piece migrating older 4D Write
> saved in picture field to 4D Write Pro saved in object field. I am using
> the the code from the component on the blog
> "https://blog.4d.com/migrate-4d-write-documents-stored-in-picture-fields/#component”.
> 
> However, as I watch the code in the debugger, this is what I see:
> 
> $blob:=_Extract4W7From4DPicture ($1)
> If (BLOB size($blob)=0)
>   GET PICTURE FORMATS($1;$codecIDs)
>   If (Size of array($codecIDs)=1)
>   If ($codecIDs{1}=".pict”)
>   !!! // makes it to here so “knows” it’s a pict.
>   $blob:=_Extract4W7FromMacPicture ($1)
>   !!! // returns an empty blob
>   End if 
>   End if 
> End if 
> 
> Inside this routine "Extract4W7FromMacPicture ($1)” this line executes
> 
> PICTURE TO BLOB($1;$blob;"PICT") 
> 
> Always returns an empty blob even though $1 is a picture with a size like
> 25ko.
> 
> So not sure what;’s going on and why it doesn’t work.
> 
> Does anyone have any experience with converting an older 4D Write saved in
> a picture field into a 4D Write Pro object?
> 
> Appreciate,
> John

John, change the codec and it works

The component has an error on this line and you have to change the Codec to
4pct 

PICTURE TO BLOB($1;$blob;".4pct")

Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: AreaList Pro Column Background Color

2019-05-12 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> AreaList Pro question… I have an array based area that has columns for
> each day of the week. I want to have the Sunday and Saturday columns show
> with a light gray background. 
> 
> I can set the background color for rows that have data, but the area is
> not always filled with data. So rows with no data show a white background. 
> 
> What ALP command do I use to set the default background color for a column
> so that it draws that color even there is no data in the area, or if the
> row has no data?
> 
> Tim

Tim, 

the ALP v9 pdf manual shows you the different options at page 127

for column 6 and 7
AL_SetColumnLongProperty (eList;6;ALP_Column_BackColor;0xFFAAEECC)
AL_SetColumnLongProperty (eList;7;ALP_Column_BackColor;0xFFAAEECC)

Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HTTP Get on 4D Server v15 - is it synchronous?

2019-05-01 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi,
> 
> We’re working on incorporating the retrieval of fairly voluminous xml from
> our website in an interactive form in 4D. Since we have workstations
> spread around about 50 locations accessing 4D Server over a VPN and the
> web server is running in the same subnet as 4D Server, it seems logical to
> have the methods with HTTP Get execute on 4D Server. I’m just worried
> about degradation of performance on 4D Server, as some of the HTTP Gets
> can take between 1 and 5 seconds.
> 
> Does anyone know if 4D Server would execute these requests asynchronously
> or synchronously? Would the cooperative thread be stuck while waiting for
> the response?
> 
> Thanks for your thoughts (and prayers :D)
> 
> 
> Paul

Paul,

In v15 this command miss the green multithread icon 

https://doc.4d.com/4Dv15/4D/15.6/HTTP-Get.301-3817787.en.html

https://doc.4d.com/4Dv17/4D/17.1/HTTP-Get.301-4178731.en.html

It is available with v17 and maybe v16/15rx

Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Connecting to FTP

2019-05-01 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> I run an FTP server for my clients. All of the connections are secure FTP
> - port .
> 
> I can’t get the FTP_Login to work. I assume that it is using regular FTP,
> port 21.
> 
> I tried ###.###.###.###: for the address, but no joy.
> 
> Any Ideas?
> 
> _
> Bob McKeever

Bob, I‘ve used sftp with the curl v1 plugin for a long time with 4Dv12

https://github.com/miyako/4d-plugin-curl

The sample database inside should include a sftp sample, if not, I can send
you sample code.

But with the old curl plugin sftp is 3 times slower than ftp. The new curl
v2 plugin or the isolated curl_ftp plugin fixes this issue.

Even with the curl v1 or v2 plugin the ftp/sftp part is supported. And much
faster than the 4D IC plugin

Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizing text on en Entry form

2019-05-01 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> I have code to resize the font in a listbox/listing form.
> 
> I was wondering if there anyone has code they would share to resize all 
> text on an entry form?  something like command/control + (or -) on a 
> web page.
> 
> Thanks
> Chip

Chip, attached to this bug Message, there is a sample database which
demonstrate the zoom, based on the old zoom form component found on the usb
stick from the 4D world tour 2015,

Forgot to paste the link
http://forums.4d.com/Post/DE/29511675/1/29578126#29578126
:-)

Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizing text on en Entry form

2019-05-01 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> I have code to resize the font in a listbox/listing form.
> 
> I was wondering if there anyone has code they would share to resize all 
> text on an entry form?  something like command/control + (or -) on a 
> web page.
> 
> Thanks
> Chip

Chip, attached to this bug Message, there is a sample database which
demonstrate the zoom, based on the old zoom form component found on the usb
stick from the 4D world tour 2015,

Regards Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Printing to PDF (again)

2019-04-04 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Does anybody know of any way to manage the options for printing to PDF?
> Specifically, for example:
> - Specify the resolution
> - Make hyperlinks active
> 
> ?
> Pat

Pat try http://www.node.de/indexplug.htm

Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Printing a PDF document from 4D

2019-03-19 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Has anyone here had the need to print a PDF document from 4D, and found a
> solution?
> 
> I am not talking about generating a PDF from 4D. I have an existing PDF
> document and I need 4D to print it for me! Exactly, user selects a PDF
> document and I have 4D command it to be printed.
> 
> I can use LEP, a plugin, whatever, but so far I have not found a way to do
> it, with a 100% assurance the document will come out faithfully.
> 
> Oh, and this in on Windows.
> 
> Thanks for any pointers.
> --
> Julio Carneiro

Hi Julio,

I use this:

Windows: 
$errText:=sys_ShellExecute ("print";$vt_path;"";"";1)
With Win32Api Plugin

Mac: 
C_TEXT($1;$POSIXPath;$HFSPath)
$HFSPath:=$1
$POSIXPath:=Replace string($HFSPath;":";"/")
LAUNCH EXTERNAL PROCESS("lp \"/Volumes/"+$POSIXPath+"\"")

Regards Armin
And if you need a solution to create pdfs on windows:
http://www.node.de/indexplug.htm




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Help LEP macOS to open the Emoji viewer

2019-03-11 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> it seems the code
> 
> CGEventPost(kCGHIDEventTap, e);
> 
> cancels the pressed state of control, option, fn, command (but not shift)
> implicitly.
> 
> I've changed the code to support a combination of modifiers.
> 
> https://github.com/miyako/4d-plugin-virtual-key
> 
> that said, it will not work in 4D.
> 
> you can confirm that the event is sent correctly by calling DELAY PROCESS
> and focusing on another app.

Hi Miyako,

wow so fast. Thanks for your support.

You are right, it does not work with 4D. The char window opens only if I set
the focus outside of 4D and gets hidden when 4D is in foreground again.

So 4D should add the entry inside the edit menu like other mac apps.
And for windows 4d should call the "charmap.exe" from the edit menu

Thanks Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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

Magic Miyako, a plugin for everything :-)

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  
kVK_Space:=0x0031

POST VIRTUAL KEY (kVK_Space;$modifiers)



Second observation: It seems that 4D blocks this keycode combination, cause
4D adds no entry into the edit menu like other apps. (Word, Excel, OutLook,
Apple Mail, Textedit, ...) all other apps adds the entry to the edit menu.
Why not 4D ?

macOS 10.12.6 
4D v16.4hf1
4D v17r4


Thanks Armin





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v17 conundrum in design

2019-02-10 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi All,
> 
> I have an object method that shows no break points either in the method or
> when I show break points, yet it continues to stop at a particular line of
> code and it is annoying. Any ideas out there what it might be.
> 
> Thanks and regards
> Chuck

Chuck does the code at this line contains the line split Charakter to split
a long code line into several short lines?

Sometimes my code stop at this line when they pasted from other sources 

Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Printing an existing PDF file with 4D silently.

2019-01-26 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi All,
> 
> We have a need to send existing PDF documents to print (paper) without a
> user’s input.  Programmatically we would select the appropriate PDF, set
> the appropriate printer, and print.  Is anyone doing this via 4D with
> success?   Would you be willing to share your technique?
> 
> Thanks,
> Kirk

Kirk,

I use this since years:

C_TEXT($1;$errText;$vt_pfad;$POSIXPath)
$vt_pfad:=$1

If (Test path name($vt_pfad)=Is a document)
If (Folder separator#":")
$errText:=sys_ShellExecute ("print";$vt_pfad;"";"";1)
DELAY PROCESS(Current process;60*5)
If ($errText#"")
ALERT("Error: "+$errText)
End if 
Else 
$POSIXPath:=Replace string($vt_pfad;":";"/")
LAUNCH EXTERNAL PROCESS("lp \"/Volumes/"+$POSIXPath+"\"")
End if 
Else 
ALERT("Document not found: "+$vt_pfad+" !")
End if 


Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Form Scaling & Optimal Fonts...

2018-12-10 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> For many projects, I’m working with a larger team where the precise size
> of fonts and other stylesheet details are already decided. In this case,
> I’m designing new forms and optimizing some old ones via Windows 10 (for a
> legacy application that looks like it ran on a Mac Plus) and I wanted to
> make a wise choice about an approach with respect to: stylesheets; optimal
> fonts and sizes for each platform and what to do about form scaling, if
> anything. I’ve never thought much about the form scaling feature of 4D but
> it seems like scaling is always in effect with a default of  "Windows to
> Mac (75%)”.
> 
> Form Scaling... Is this still a thing? :) 
> 
> While converting a v11-based structure to v17 that started life on a Mac
> many years before, I noticed that most forms seemed rather small on
> Windows (currently the only destination platform but I don’t want to
> exclude Mac clients). At first, the 133% increase in form size seemed
> seemed to fit the bill (if not slightly large). One issue I noticed is
> that the glass button graphics are obviously scaled beyond the bitmap
> (meaning that these buttons only look sharp at 48X48 and all standard 4D
> buttons are this size). I’ve never noticed scaling artifacts on other
> projects.
> 
> V17 Default Stylesheet
> Windows 7 & 8 (Segoe UI, 12 point)
> Windows Classic (MS Sans Serif, 12 point)
> OS X (Lucida Grande, 13 point)
> 
> Regarding the default stylesheet, what is “Windows Classic” and what
> stylesheet would Windows 10 use?
> 
> Which Windows fonts and sizes do you find optimal for your 4D
> applications? Do you use explicit stylesheets? Do you use automatic
> stylesheets too?  Scaling other than 133%? I saw recently where 125% was
> considered optimal. I appreciate your thoughts on modern, high-quality
> form design.
> 
> Thanks,
> 
> Robert

Robert,

there is a 4D Technote from 2015 (World Tour)

08_Zoom_Form

With this Technote and some modifications, you can zoom your forms
individually.
The code resizes and moves the form objects and increase the font sizes with
code.

sample screen from the same form: http://node.de/pic/ex7/zoom.png

I've used this code for 4D v12 and now with v16

Regards Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Mojave full disk access

2018-12-03 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Armin,
>   Thanks! 
> 
>   Could you expand on what you mean by “full disk access”? In Mojave what
> becomes inaccessible?
> John

John, as an example. My App scans the emails from Apple Mail and shows them
inside a Listbox to work with them (grab attachments, archieve to clients,
reply,delete, ..) then I move them into a DMS folder. Without full disk
access it does not work in the usual behaviour like on previous macOS.

Regards Armin





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Mojave full disk access

2018-12-03 Thread ADeeg via 4D_Tech
Hi,

if your app needs full disk access an macOS 10.14.x Mojave and newer, then
the users have to grant the access for your 4D application.


I use this to check the access privileges:

C_TEXT($in;$out;$err;$path)
If ((<>SystemVersion="Mac 10.14") | (<>SystemVersion="Mac 10.15") |
(<>SystemVersion="Mac 10.16"))
ARRAY TEXT($art_Text;0)
$path:=Replace string(System folder(Documents
folder);"Documents";"Library")+"Safari:"
FOLDER LIST($path;$art_Text)
If (Size of array($art_Text)=0)
ALERT("Bla Bla Bla need full disk access bla bla!")
$in:=""
$out:=""
$err:=""
SET ENVIRONMENT 
VARIABLE("_4D_OPTION_BLOCKING_EXTERNAL_PROCESS";"false")
LAUNCH EXTERNAL PROCESS("open
x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles";$in;$out;$err)
End if 
End if 

The second LEP call opens system preferences with the needed pane

Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF generation on Windows - Latest Thinking

2018-09-17 Thread ADeeg via 4D_Tech
For everyone who wants to get small PDF files under 4D windows with the Win
10 PDF printer, but is not interested in purchasing our wonderful PDF plugin
with PDF printer, here is a code snip to reduce the size of PDF files with
the Ghostscript Plugin from Magic Miyako. 

We use it on macOS to reduce the file size of the mac PDFs

Case of 
: ($vl_quality<=20)
$vt_PDFMode:="screen"
: ($vl_quality<=40)
$vt_PDFMode:="ebook"
: ($vl_quality<=60)
$vt_PDFMode:="printer"
Else 
$vt_PDFMode:="prepress"
End case 

// Mac Code for 4D Ghostscript plugin from Magic Miyako
https://github.com/miyako/4d-plugin-gs

ARRAY TEXT($args;0)
APPEND TO ARRAY($args;"-dNOPAUSE")  //important, we can't interact with the
cli
APPEND TO ARRAY($args;"-dBATCH")
APPEND TO ARRAY($args;"-dQUIET")
APPEND TO ARRAY($args;"-sDEVICE=pdfwrite")
APPEND TO ARRAY($args;"-dCompatibilityLevel=1.7")
APPEND TO ARRAY($args;"-dPDFSETTINGS=/"+$vt_PDFMode)
APPEND TO ARRAY($args;"-sOutputFile="+Convert path system to
POSIX($vt_output_path))  //output
APPEND TO ARRAY($args;"-c")
APPEND TO ARRAY($args;".setpdfwrite")
APPEND TO ARRAY($args;"-f")
APPEND TO ARRAY($args;Convert path system to POSIX($vt_input_path))  //Input
GS ($args)


Armin 



4D Tech mailing list wrote
> Chuck,
> 
> the plugin price is listed here: http://www.node.de/indexplug.htm
> 
> The license is per developer. Buy it once and distribute your solutions to
> as many clients and servers as you like.
> 
> Regards Armin





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF generation on Windows - Latest Thinking

2018-09-14 Thread ADeeg via 4D_Tech
Chuck,

the plugin price is listed here: http://www.node.de/indexplug.htm

The license is per developer. Buy it once and distribute your solutions to
as many clients and servers as you like.


Regards Armin


4D Tech mailing list wrote
> Armin
> 
> Can advise pricing for developer and deployment in server environments
> 
> Thanks and regards
> 
> Chuck
> 
> On Thu, Sep 13, 2018 at 10:11 AM ADeeg via 4D_Tech <

> 4d_tech@.4d

>>
> wrote:





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: PDF generation on Windows - Latest Thinking

2018-09-13 Thread ADeeg via 4D_Tech
Hi all,

if you need a stable rock solid solution to print pdf files on windows, have
a look at our pdf plugin with pdf driver.

pdf printer driver and 32/64 Bit 4D plugin (v17 too ;-)
no boring update messages
much smaller pdfs than the win 10 built in driver
add bookmarks
add letter forms
mail with ms outlook
combine different print jobs to a single pdf with bookmarks and letterforms 

and much more features

free up your head, save time and use it for all windows plattforms
Try it, integrate it, buy it and forget all the previous trouble with
different solutions
no annual fees

Link: http://www.node.de/indexplug.htm

We use it in our own vertical market software and the plugin gets updates
since 14 years

Regards Armin


Lutz wrote
> I second the statement below. We did some testing with PDF Creator in the
> Past and were not convinced. Especially we wanted to use it on the server
> side,
> creating PDFs for providing via the webserver.
> First, it was not stable.
> Second, we had to explain which software we want to install on the
> customer's server and we are observed during the install process. And PDF
> creator
> showed a bit strange behavior, it didn't look like a professional software
> at least
> with the version 4D requires (1.7).
> And last but not least, for any reason we leave an installation archive of
> PDF creator on one of our developing servers and got recently an
> information
> From our inhouse IT department because a virus scanner detected it as
> malware:
>   Fileshare : \...\PDFCreator-1_7_3_setup.exe
>   Malware Severity: Severe
>   Category: Potentially Unwanted Software
> 
> Hmm ...
> 
> Regards
> Lutz





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Write Pro WP feature request - need your support

2018-08-29 Thread ADeeg via 4D_Tech
Hi list users,

I've posted some feature requests to speed up the 4d write pro development.

The rule from 4D is, more demand from us, is more chance to get this
features.
So please support me and klick the 4 stars to support these features.

1. 4D Write Pro Toolbar - more features please, images, tables and tabs
link: http://forums.4d.com/Post/DE/25450673/1/25450674

2. 4D Write Pro, smaller horizontal ruler option
link: http://forums.4d.com/Post/DE/22754850/1/22754851

3. 4D Write Pro - need vertical ruler like MS Word
link: http://forums.4d.com/Post/DE/25467416/1/25467417

FR from Alfonso: 4D Write Pro Import-Export Word
link: http://forums.4d.com/Post/DE/25361165/1/25361166


Thanks Armin 



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: pdfCreator problem

2018-08-29 Thread ADeeg via 4D_Tech
Keith wrote
> Hi all.
> We have suddenly struck a problem with pdfCreator v1.7.2 not working when
> using a built 4D Client via Remote Desktop Connection access.
> It used to work, but started giving problems about a month ago (that's
> when we first detected it).
> 
> pdfCreator works just fine when the 4D Client is accessed via Ericom and
> the Chrome browser, but not when accessed via Remote Desktop Connection.
> In the latter case, the problem manifests itself when the document that
> pdfCreator is told to create in the Temp folder in the User folder doesn't
> happen, and an error is then generated when the code tries to access it.
> The error can be trapped but the document is needed.
> It is not a user permissions problem because the code can write csv files
> to the same folder.
> 
> It happens for both 4D v15.2 and v17.0 HF1. 
> The computer is a cloud server VM running OS is Windows Server 2008 R2
> Datacenter / Service Pack 1.
> 
> Has anyone come across this or something like it?
> Thanks, Keith

Keith,

try this pdf plugin http://www.node.de/indexplug.htm

regards Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Printing Write Pro to PDF

2018-06-20 Thread ADeeg via 4D_Tech
Randy,

as mentioned before, try our plugin, within 5 minutes you have a working
solution. It produces very small pdf files and has a lot of features on top.
And yes the sample database has also a Write Pro area to print

The plugin comes with a silent driver installer and works from WinXP up to
the the latest win10

http://www.node.de/indexplug.htm

Regards Armin 

P.S.: I've tried the Win 10 internal pdf printer from 4D v16.3hf3 32Bit. The
result produces big pdf files and the pdf files are corrupted


4D Tech mailing list wrote
> Tim,
> 
> As I mentioned in my original message, I cannot use PDFCreator. So this
> does not work for me on Windows:
>> SET PRINT OPTION(Destination option;3;fileName)
> 
> as per documentation, but that was why I mentioned that I wasn't using
> PDFCreator.
> 
> As per docs, It works fine on Mac, but not Windows. Which is ok. I was
> having issues getting to the other drivers.
> 
> For years we’ve been doing this with 4D Write by simply changing printers
> to
>   Adobe PDF
>   Win2PDF
>   PDF995
> 
> Each of these print drivers provides a way to programmatically set the
> document name so the driver works.
> 
> So I have managed to make this block of code work for all drivers but
> Adobe PDF:
> 
>   GET PRINT OPTION(Destination option;$saveDestination;$savePath) 
>   SET PRINT OPTION(Destination option;2;$tFullDocumentPath)
> 
>   WP PRINT($WriteArea;wk 4D Write Pro layout)
> 
>   SET PRINT OPTION(Destination option;$saveDestination;$savePath)
> 
> I still have to use the mechanisms that each of the printer drivers
> themselves require for giving the driver the document path, but WP PRINT
> still requires me to use the SET PRINT OPTION command to set the path or
> it puts up the save as dialog to get a name even though the printer driver
> itself doesn’t need it or use it.
> 
> So now all I have to do is figure out what the heck is wrong with Acrobat
> PDF. It works fine and produces a proper PDF if I manually print and
> choose Acrobat PDF, but generates a corrupt PDF if try to do the above
> code programmatically.
> 
> The file is not readable by any application (except a text editor) AND
> it’s 11MB in size, where the other printer drivers product a 209KB file.
> 
> Fun. Fun. Fun.
> 
> Getting there, though.
> 
> Randy





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Printing Write Pro to PDF

2018-06-19 Thread ADeeg via 4D_Tech
Randy this one works fine, the demo database shows a Write Pro sample and
creates Bookmarks inside the PDF

http://www.node.de/indexplug.htm

Regards Armin


4D Tech mailing list wrote
> Has anyone successfully used WP Print to print a 4D Write Pro area in v16
> to a PDF?
> 
> It seems we’re expected to go to PDFCreator, which I can’t do.
> 
> However, I don’t seem to be able to do my 4D Write way of change
>   - switch printer to Adobe PDF / Web2Print / PDF995
>   - WR Print 
>   - switch back to normal printer
> 
> We replaced the code for Wr Print with a call to WP Print, but we can’t
> automatically name the document. WP PRINT throws up the SAVE AS dialog to
> name the document.
> 
> I don’t see a way around this. Is there something I’m missing in the docs?
> 
> Thanks





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: IMAP_Download Command and Email Attachments

2018-01-03 Thread ADeeg via 4D_Tech
John,

try this plugin. It is very fast and stable:
https://github.com/miyako/4d-plugin-gmime

Download with 4d imap commands and parse it with this plugin.

Regards Armin



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SFTP and Internet Commands

2017-12-23 Thread ADeeg via 4D_Tech
hmm, something is wrong in my code: it works with ftp and sftp, but not with
ftps (latest build ftp 1.2)

OB SET($options;\
"URL";"ftps://ftp.node.de/auto2.png";\
"USERNAME";"myuser";\
"PASSWORD";"mypass";\
"SSL_VERIFYHOST";0;\
"SSL_VERIFYPEER";0)

$createMissingDir:=1

$cacert:=Get 4D folder(Current resources folder)+"cacert.pem"
OB SET($options;\
"CAINFO";$cacert)  //need this for ftps
$path:=System folder(Desktop)+"auto2.png"

$error:=cURL_FTP_Send (JSON Stringify($options);$path;$createMissingDir)

Regards Armin


4D Tech mailing list wrote
> $path:=System folder(Desktop)+"test.zip"
> 
> C_OBJECT($options)
> 
> OB SET($options;\
> "URL";"ftps://install.herdly.cloud/install/test.zip";\
> "USERNAME";"install";"redacted";"pass";"CONNECTTIMEOUT";5)
> $createMissingDir:=1
> $error:=cURL_FTP_Send (JSON Stringify($options);$path;$createMissingDir)





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: LINE messaging integration

2017-05-05 Thread ADeeg via 4D_Tech
David,

is this what you are looking for
https://github.com/miyako/4d-plugin-common-crypto
Magic Miyako has a lot of plugins ...

Regards Armin



4D Tech mailing list wrote
> Hi all,
> I am wondering if anyone has done an integration with LINE messaging. 
> https://developers.line.me/messaging-api/getting-started#apply_messagingapi
> https://devdocs.line.me/en/#getting-started
> There appears to be a requirement for HMAC-SHA256 algorithm support.
> Thanks in advance,
> David Garrard





--
View this message in context: 
http://4d.1045681.n5.nabble.com/LINE-messaging-integration-tp5751768p5751827.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDFCreator and Windows 7

2017-04-14 Thread ADeeg via 4D_Tech
David, If you like to get a well supported and stable pdf solution with much
more features than pdf creator, then have a look at our plugin. We
distribute it since 2004 (first version)

Link: http://www.node.de/indexplug.htm

Best Regards Armin


David wrote
> I installed PDFCreator v1.7.3 on my Win 7 box. I am running 4D v15
> client/server. In 4D I want to programmatically set the destination folder 
> and
> file name for pdf files. The code below works perfectly most of the time, 
> but
> intermittently the PDFCreator file-saving dialog appears. My code looks
> like
> this:
> 
> Any ideas how to fix this?
> David 





--
View this message in context: 
http://4d.1045681.n5.nabble.com/PDFCreator-and-Windows-7-tp5751292p5751296.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: IMAP_Download and "Error with IMAP PARTIAL"

2017-04-14 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi,
> 
> I'm just investigating to solve an error while downloading an email using
> IMAP. But so far I'm stuck. 
> After using the command "IMAP_Download" of the Internet Commands plugin I
> got an error with code 10099 and the description "Error with IMAP
> PARTIAL".
> 
> I'm not have any clue how to solve the problem, any ideas?
> 
> Regards
> Lutz Epperlein

Lutz,

try this workaround. I thought this was a problem with v12 only, but it
should work with newer versions too

C_LONGINT($errorNum;$0;$vL_ImapID;$1;$2;$vL_msgLfdNum;$vL_pos;$State)
C_TEXT($fileName;$3;$vSentText;$vT_RequestCmd)
C_BLOB($blob;$Blob_Received;$vX_SendingBlob)
$vL_ImapID:=$1
$vL_msgLfdNum:=$2
$fileName:=$3
$vSentText:=""
$vT_RequestCmd:=""
If (Application version#"12@")
$errorNum:=IMAP_Download ($vL_ImapID;$vL_msgLfdNum;0;$fileName;0)
Else 
$vT_ReceivedText:=""
$vT_RequestCmd:="FETCH "+String($vL_msgLfdNum)+" (FLAGS RFC822)"
$vSentText:="A654"+" "+$vT_RequestCmd+Char(13)+Char(10)
$vL_ErrorNum:=TCP_Send ($vL_ImapID;$vSentText)
If ($vL_ErrorNum=0)
SET BLOB SIZE($blob;0)
Repeat 
DELAY PROCESS(Current process;30)
$vT_ReceivedText:=""
$vL_ErrorNum:=TCP_Receive ($vL_ImapID;$vT_ReceivedText)
If ($vT_ReceivedText#"")
If (BLOB size($blob)=0)
$vL_pos:=Position(Char(10);$vT_ReceivedText)
If ($vL_pos>0)
$vT_ReceivedText:=Substring($vT_ReceivedText;$vL_pos+1)
End if 
End if 
$vL_pos:=Position(Char(13)+Char(10)+")"+Char(13)+Char(10)+"A654 OK FETCH
completed";$vT_ReceivedText)
If ($vL_pos>0)
$vT_ReceivedText:=Substring($vT_ReceivedText;1;$vL_pos-1)
End if 
TEXT TO BLOB($vT_ReceivedText;$blob;Mac text without length;*)
End if 
Until ($vT_ReceivedText="") | ($vL_ErrorNum#0)
If (BLOB size($blob)>0)
BLOB TO DOCUMENT($fileName;$blob)
$vL_ErrorNum:=0
End if 
End if 
End if 
$0:=$vL_ErrorNum


Best Regards Armin



--
View this message in context: 
http://4d.1045681.n5.nabble.com/IMAP-Download-and-Error-with-IMAP-PARTIAL-tp5751265p5751283.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D email client from Dave Batton, where to get the old sample 4DB ?

2017-03-28 Thread ADeeg via 4D_Tech
Yes great, thank you very much for your help Tom.

This one looks better, but it seems that this was an early state of the
email client. The pdf doc says, that 4d v11 is needed and the 4d plugins
inside the beta are version 2004. 
But is is a good starter.

the pdf is from 2008 and the demo from 3/2006, it seems that 4d tech has a
newer version. 
Tim Penner have you access to the newer version ? 

Best Regards Armin


Tom Dillon wrote
> Armin wrote:
> 
>>Do you have this newer version too ?
> 
> I ran across 3.0b5. It was on an 8 inch floppy. :-7
> 
> It's at ;.
> 
> -- 
>--
>Tom Dillon   825 N. 500 W.
>DataCraft   Moab, UT 84532
>

> TomDillon@

>720/209-6502





--
View this message in context: 
http://4d.1045681.n5.nabble.com/4D-email-client-from-Dave-Batton-where-to-get-the-old-sample-4DB-tp5750944p5750987.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D email client from Dave Batton, where to get the old sample 4DB ?

2017-03-28 Thread ADeeg via 4D_Tech
Tom,

thanks for your reply. Your link points to the first email client from Dave
Batton, in my linked pdf (found on the 4d server) there are pictures and
descriptions from an enhanced version for 4d v11.

Do you have this newer version too ?

Regards Armin


Tom Dillon wrote
> Armin,
> 
> I think this might be what you're looking for, if it's the email code. I'm
> not sure if it works or if it contains any webarea stuff, but I pulled
> some email code from it awhile back.
> 
> http://datacraft-inc.com/Email.zip





--
View this message in context: 
http://4d.1045681.n5.nabble.com/4D-email-client-from-Dave-Batton-where-to-get-the-old-sample-4DB-tp5750944p5750974.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v13 - Callendars and push to ical

2017-03-25 Thread ADeeg via 4D_Tech
Try this one from Miyako, it works fine.
 https://github.com/miyako/4d-plugin-ical/tree/v2

Regards Armin



--
View this message in context: 
http://4d.1045681.n5.nabble.com/v13-Callendars-and-push-to-ical-tp5750882p5750943.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**