Re: 4D Default Folder Structure

2021-06-22 Thread Jörg Knebel via 4D_Tech
Keith,

I don’t mind getting a “RTFM-answer” as long as a pointer tells me what manual 
to look in.

If there is a NEW manual with super duper search function than I don’t know 
about it and I can’t login in my 4D account.

On the other hand the “RTFM-answer” is the most brilliant generic answer one 
can give nowadays. :o))

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-unsubscr...@lists.4d.com
**

Re: 4D Default Folder Structure

2021-06-22 Thread Keith Goebel via 4D_Tech
Jörg, I am disappointed to see disharmony on the 4D list.
As far as I can tell, Jody was trying to help by advising the new 4D manual has 
a good description of the workings of the default folder.
There have been times I read the docs thoroughly without finding out what I 
needed, but overlooked checking for it in the latest docs while upgrading to a 
new 4D version.
Why are you upset with Jody?
Cheers, Keith
There are 3 kinds of mathematician. Those who can count, and those who can't.

**
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: 4D Default Folder Structure

2021-06-22 Thread Jörg Knebel via 4D_Tech


> On 22 /06 /2021, at 23:59, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I have never seen someone be so rude to another 4D developer.

Never did I! 

So, you win again!


**
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: 4D Default Folder Structure

2021-06-22 Thread Jody Bevan via 4D_Tech
You obviously have a problem. I will humor you and ensure to not post here ever 
again. That of course should please you. Only your thoughts are important and 
worthy of this bandwidth. 

Going all the way back to the 4D days on Compuserve I have never seen someone 
be so rude to another 4D developer.

Amazing. You win first prize.

Jody

> On Jun 22, 2021, at 07:52, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> 
> 
>> On 22 /06 /2021, at 23:47, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> Jody
> 
> I’m proud of you!
> **
> 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
> **
**
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: 4D Default Folder Structure

2021-06-22 Thread Jörg Knebel via 4D_Tech


> On 22 /06 /2021, at 23:47, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Jody

I’m proud of you!
**
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: 4D Default Folder Structure

2021-06-22 Thread Jody Bevan via 4D_Tech
Jorg. 

So what dis I do to you that you want to take pot shots. Makes you look rather 
petty.

My point was to congratulate 4D on an excellent section of their documentation. 

I do not always do that.

Yet you want to make a petty comment. Grow up!

Jody

> On Jun 22, 2021, at 07:29, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> 
> 
>> On 22 /06 /2021, at 23:20, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> If I was I…
> 
> Oha, someone is himself…
> 
> Get better mate!
> 
> 
> **
> 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
> **
**
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: 4D Default Folder Structure

2021-06-22 Thread Jörg Knebel via 4D_Tech


> On 22 /06 /2021, at 23:20, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> If I was I would just…

… disappear into the Web-Forum?…

Please do!


**
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: 4D Default Folder Structure

2021-06-22 Thread Jörg Knebel via 4D_Tech


> On 22 /06 /2021, at 23:20, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> If I was I…

Oha, someone is himself…

Get better mate!


**
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: 4D Default Folder Structure

2021-06-22 Thread Jody Bevan via 4D_Tech
Not at my computer so no answer now. If I was I would just copy the description 
on this in the new manual from 4D. Best description in 30 years on this topic.

Jody

> On Jun 22, 2021, at 06:25, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> G’day All,
> 
> How does the default folder structure has to look like in Binary and Project 
> mode?
> 
> Where are the DEFAULT locations of the data-file, the PlugIns-folder and the 
> Component-Folder?
> 
> What about the Active4D-Folders, in case Active4D is used?
> 
> Thanks in advance.
> 
> 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-unsubscr...@lists.4d.com
> **
**
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
**

4D Default Folder Structure

2021-06-22 Thread Jörg Knebel via 4D_Tech
G’day All,

How does the default folder structure has to look like in Binary and Project 
mode?

Where are the DEFAULT locations of the data-file, the PlugIns-folder and the 
Component-Folder?

What about the Active4D-Folders, in case Active4D is used?

Thanks in advance.

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-unsubscr...@lists.4d.com
**

Re: 4D scanning

2021-06-22 Thread Claudio Braga via 4D_Tech
Hi, 

On Mac you can use scanline https://github.com/klep/scanline 


It is a cli util so with some launch external process calls you can drive it

i.e.

To get the list of available scanners 

$command:="/usr/local/bin/scanline -list -browsesecs 1 "
$std_in:=""
$std_out:=""
$error:=""
LAUNCH EXTERNAL PROCESS($command;$std_in;$std_out;$error)


To actually do a scan

//vSCANDOCS_scanner is the name of the scanner found with the -browsesecs option

$command:="/usr/local/bin/scanline -scanner \""+vSCANDOCS_scanner   
$command:=$command+"\" -a4 -flatbed -dir \""+Convert path system to 
POSIX($folder)+"\" -name "+$filename_for_scan
$std_in:=""
$std_out:=""
$error:=""
LAUNCH EXTERNAL PROCESS($command;$std_in;$std_out;$error)


So far I’ve been using it up to OS X 10.14, I’m in the process of testing it on 
Catalina, we’ll see

HIH



Claudio Braga
**
claudiobr...@me.com
claudiobr...@mac.com
claudiobr...@icloud.com
**



> Il giorno 21 giu 2021, alle ore 18:53, Jody Bevan via 4D_Tech 
> <4d_tech@lists.4d.com> ha scritto:
> 
> David:
> 
> Thanks for that snip of code. Hopefully someone in the know will be able to 
> let us know about the MacOS.
> 
> Thanks
> 
> Jody Bevan
> 
>> On Jun 21, 2021, at 4:20 AM, David Samson via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> Hello,
>> 
>> I don't know about Macs but on a PC you don't need a plugin for simple
>> scanning. I use
>> 
>> I use a free program called NAPS2 which has proven to be very reliable over
>> the years. I scan the document into a known folder and retrieve it from
>> there and can then do what I want with it.
>> 
>> The code is simply the following:
>> 
>> SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
>> 
>> cDTPath:=System folder(Desktop)
>> cDTPath:=cDTPath+Char(92)+"4DScan"+Char(92)
>> cDTPath:=PATH_Fix (cDTPath)
>> 
>> If (Test path name(cDTPath)#Is a folder)
>>   CREATE FOLDER(cDTPath)
>> Else
>>   DOCUMENT LIST(cDTPath;acOldDocs)
>>   For ($old;1;Size of array(acOldDocs))
>> DELETE DOCUMENT(cDTPath+acOldDocs{$old})
>>   End for
>> End if
>> 
>> cDTPath:=cDTPath+Char(92)+"ScannedPI"+Generate UUID+".pdf"
>> cDTPath:=PATH_Fix (cDTPath)
>> LAUNCH EXTERNAL PROCESS("C:\\Program Files (x86)\\nAPS2\\naps2.console
>> -o"+cDTPath)
>> 
>> All you need to do in setting up NAPS2 is to create a profile which tells
>> it which scanner to use.
>> 
>> HTH
>> David
>> 
>> 
>>> Message: 1
>>> Date: Thu, 17 Jun 2021 16:54:47 +0100
>>> From: Peter Mew 
>>> To: 4D iNug Technical <4d_tech@lists.4d.com>
>>> Subject: 4D scanning
>>> Message-ID:
>>>   <
>>> cao0ooqqc_ribzifseq7h6wsm-u+fejteuww26xnybpme5ax...@mail.gmail.com>
>>> Content-Type: text/plain; charset="UTF-8"
>>> 
>>> Hi
>>> I havent done any of this for a while so Im a bit! rusty.
>>> I looking to download Miyakos twain plug in, Where do I find it? or is
>>> there a better plugin that will capture scans and work with 4D v13 mac and
>>> PC preferably free
>>> thanks
>>> -pm
>>> 
>>> 
>>> 
>> **
>> 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
>> **
> 
> **
> 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
> **

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