Re: 4D scanning

2021-06-24 Thread Peter Mew via 4D_Tech
s. > I am unaware of any TWAIN scanners for Mac. > > 2021/06/24 6:26、Peter Mew via 4D_Tech <4d_tech@lists.4d.com 4d_tech@lists.4d.com>>のメール: > Id quite like to try Miyakos Twain PlugIn 4d-plugin-twain-v2 > Ho

Re: 4D scanning

2021-06-23 Thread Peter Mew via 4D_Tech
Id quite like to try Miyakos Twain PlugIn 4d-plugin-twain-v2 . How do I get a Binary for this. Ive been to Git Hub but cant see any way to just download the plug in. Any help please thanks -pm On Tue, Jun 22, 2021 at 10:17 AM Claudio Braga via 4D_Tech

Re: 4D scanning

2021-06-17 Thread Peter Mew via 4D_Tech
at Github you'll get a list of his > repositories. > -- > Douglas von Roeder > 949-910-4084 > > > On Thu, Jun 17, 2021 at 8:55 AM Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi >> I havent done any of this for a while so Im a bi

4D scanning

2021-06-17 Thread Peter Mew via 4D_Tech
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

Re: selecting pixels

2019-10-10 Thread Peter Mew via 4D_Tech
Thanks Could you expand a bit on your reply Thanks -pm On Thu, Oct 10, 2019 at 1:06 PM Spencer Hinsdale via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > -> On Event Call `lmk if you need more suggestions > > On 10/10/19, 4:12 AM, "4D_Tech on behalf of Peter Mew via

selecting pixels

2019-10-10 Thread Peter Mew via 4D_Tech
Hi Is it possible to select a group of pixels by dragging across them. So you get Mouse down position (in Pixels) Drag to new position (Leaving a Trail) Mouse Up position (In pixels) I'm only interested in a Horizontal Movement A pointer to which commands to read up on would be good enough (I

zooming and panning

2019-08-26 Thread Peter Mew via 4D_Tech
Hi Heres the thing I have an audio waveform (You can think of it as a map) I want to be able to choose a location somewhere in the waveform, move the waveform so the chosen location is in the centre of the waveform, and zoom in X 2 to the location. Then drop a marker at that point and then to be

save listbox

2019-08-13 Thread Peter Mew via 4D_Tech
Hi Does anyone have a routine, component, plugin, or pointer to the right direction, that will save the contents of an array based listbox, so that the data can be restored at a later date thanks -pm 4d v13 ** 4D Internet Users

Creating Hierarchical Listbox

2019-07-29 Thread Peter Mew via 4D_Tech
Hi I havent used this kind of listbox before so a few pointers would be gratefully received. At the moment my listbox contains 9 columns, some hidden, some not. One of the arrays holds information as to whether a row is designated as "start" or "end" If a row is designated as "Start", columns

Re: not enough space in memory

2019-04-16 Thread Peter Mew via 4D_Tech
e, Apr 16, 2019 at 8:15 PM Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi >> I'm trying to load a large, 1.5G, audio file into a blob using document to >> blob, and Im getting a not enough spce in memory error. I can load a file >> that is 1G o

not enough space in memory

2019-04-16 Thread Peter Mew via 4D_Tech
Hi I'm trying to load a large, 1.5G, audio file into a blob using document to blob, and Im getting a not enough spce in memory error. I can load a file that is 1G ok. Is there a setting I can change to stop this error. The Machine has 16G of Ram installed. thanks -pm

Re: Count in Text

2019-04-09 Thread Peter Mew via 4D_Tech
; > >>> The second way is to do a position inside a repeat loop > >>> c_Longint($pos_l;$start_l;$Count_L) > >>> $start_l:=0 > >>> $Count_L:=0 > >>> repeat > >>> $pos_l:=position("the";$string;$start_L) > >>>

Count in Text

2019-04-09 Thread Peter Mew via 4D_Tech
Hi Is there a 4D command that will count the number of occurences of character, in string thanks -pm ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Re: Reporting progress

2019-03-20 Thread Peter Mew via 4D_Tech
Hi Jeremy I start a new process <>NewProcess and open a window with a text variable, vProgress, on a form. When ever I want a new message displayed I Do <>Message:= "Hello World"+char(13) Call Process(New Process) Then in the form method for New Process I do IF(Form event = on outside call)

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: Write Hex Bytes

2019-02-21 Thread Peter Mew via 4D_Tech
PM Arnaud de Montard via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> >> > Le 21 févr. 2019 à 22:09, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> >> a écrit : >> > >> > Hi >> > This is driving me mad, so I hope someone will point m

Re: Write Hex Bytes

2019-02-21 Thread Peter Mew via 4D_Tech
Hi Yes, Thats it almost exactly, I just need to convert to little endian, I think I can manage that! Thanks -pm On Thu, Feb 21, 2019 at 10:45 PM Arnaud de Montard via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > > Le 21 févr. 2019 à 22:09, Peter Mew via 4D_Tech <4d_tech@lists

Re: Create text object

2018-12-04 Thread Peter Mew via 4D_Tech
//object to be moved is a text or other object which can't be > referenced via pointer > OBJECT GET COORDINATES(*;$Object_Name;$Left;$Top;$Right;$Bottom) > > $Right:=$Right+($New_Left-$Left) > $Bottom:=$Bottom+($New_Top-$Top) > OBJECT MOVE(*;$Object_Name;$New_Left;$New_Top;$Right

Transform picture

2018-12-04 Thread Peter Mew via 4D_Tech
Hi Im using Transform picture to Zoom in and out. Horizontally, of a graphic. The Graphic starts out about 4500 (This will vary) pixels wide, using transform picture to fit it in a window 930 pixels wide. the code to zoom in is <>ScrollRatio:=<>ScrollRatio*2 //Zoom Ratio $ScaledL:=OrigL_3

Creating a text object

2018-11-27 Thread Peter Mew via 4D_Tech
Hi I should have said 4D v13.6 Mac Yosemite thanks -pm ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Create text object

2018-11-27 Thread Peter Mew via 4D_Tech
Hi Is it possible to, programatically, create an object that consists of text from an element of an array, and place it at a specific location on a form thanks -pm ** 4D Internet Users Group (4D iNUG) Archive:

Re: dragging an object

2018-11-21 Thread Peter Mew via 4D_Tech
ct name";$dX;$dY) > > The code is off the top of my head so it will need some tweaking but that's > the mechanics. If you are moving a picture on top of another picture (like > a background graphic) you use Drop position to get the drop xy. > > > On Tue, Nov 20, 2018 at

dragging an object

2018-11-20 Thread Peter Mew via 4D_Tech
Hi Any ideas on how to implement the following Click on an object on a form(a Picture) Drag it to a new location Have it stay at the new location a bonus would be if it could be shown being dragged Ive tried various combinations of form events involving the mouse (Mouse Enter Mouse Move etc) in

Re: Placing a picture or graphic object

2018-11-12 Thread Peter Mew via 4D_Tech
sor2”;55;0;55;60;*) > > Regards, > Jeremy French > > On Nov 11, 2018, at 2:56 PM, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I want to place a Grapic called "Cursor" at absolute > coordinates ^0 pixels from the top of the form, and 55 pixels f

Placing a picture or graphic object

2018-11-11 Thread Peter Mew via 4D_Tech
Hi I am creating a graphic object, could be a line or rectangle or a picture. Having created it, how do I place it on the form where I Want it. Bear in mind Im on v13 and dont have access to object set coordinates, only move picture, transform picture, and object get coordinates. Object Move,

Making a selection

2018-11-09 Thread Peter Mew via 4D_Tech
Hi My Prevoius post wasnt very clear. Im asking that the user can select an object or objects, by clicking on an object, say a rectangle, and draging it to change its size, for example. or the user can add multiple objects, by surrounding them with a box, to an array of object names. thanks -pm

Making a Selection

2018-11-09 Thread Peter Mew via 4D_Tech
Hi Is it possible to make a selection of objects on a form, by dragging a box around the objects, and issuing a command to select them, possibly adding the object names to an array Thanks -pm Mac Yosemite 4D 13.6 ** 4D Internet

Scroll keys

2018-10-17 Thread Peter Mew via 4D_Tech
Hi I have a forn, on which there are two pictures, which scroll in sync using a single horizontal scroll bar. How do I get the left/right arrow keys to operate the scroll bar. The language ref says Scroll keys are automatically available for users when a picture type object has a scroll bar. but

Re: 13.x Quick Report Export Max Output File Size?

2018-07-24 Thread Peter Mew via 4D_Tech
Certain File types, ie WAV files, have a 4Gig size limit due to the number of bytes allocated in the header. that contains the file size. Regardless of the disc file system. cheers -pm On Tue, Jul 24, 2018 at 7:53 PM, Timothy Penner via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Is the file system

Re: v13 version of v16 code

2018-03-30 Thread Peter Mew via 4D_Tech
terday, in fact… > > Old code = Document to BLOB > > New code = Document to text > > -- > Douglas von Roeder > 949-336-2902 > > On Fri, Mar 30, 2018 at 12:59 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > Hi does anyone have a v13 versio

v13 version of v16 code

2018-03-30 Thread Peter Mew via 4D_Tech
Hi does anyone have a v13 version for the line of code containing the v16 command "document to text" $tContent:=Document to text($tPath2XMLFile;"UTF-8";Document with CR) thanks -pm ** 4D Internet Users Group (4D iNUG) FAQ:

Re: xml to array

2018-03-29 Thread Peter Mew via 4D_Tech
Hi Olivier Am I missing a method called "Uty_Arrays_SetSize" I am trying to get it to run in a demo version of v16, and the test file chokes at the line with that command in It appears the command document to text is different in v13, Ill have to try and work round this once I have it working in

Re: xml to array

2018-03-27 Thread Peter Mew via 4D_Tech
Hi Tom I would very much like to see your method thanks -pm On Tue, Mar 27, 2018 at 10:04 PM, Benedict, Tom wrote: > Hi Peter, > > > > > > > >Is there a 4D command that will take a block of xml, and turn it into a > number of arrays (or pairs of arrays (attribute and

xml to array

2018-03-27 Thread Peter Mew via 4D_Tech
Hi Is there a 4D command that will take a block of xml, and turn it into a number of arrays (or pairs of arrays (attribute and value) Or is this a stupid question Thanks -pm ** 4D Internet Users Group (4D iNUG) FAQ:

Re: localisation (again)

2017-12-13 Thread Peter Mew via 4D_Tech
Hi But Thats what I'm doing, and its not working. The string looks like "12345.12345" and the Conversion looks like C_REAL($Number) C_TEXT($NumString) $NumString:-"12345.12345" $Number:=Num($NumString;".") On a UK system $Number = 12345.12345 On a German system $Number = 12345 any ideas would

Re: localisation (again)

2017-12-12 Thread Peter Mew via 4D_Tech
u will have to identify what system you are on and what localization is > set to and then understand what localization created text file for import > > > Regards > > Chuck > > On Tue, Dec 12, 2017 at 4:24 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com > > wro

localisation (again)

2017-12-12 Thread Peter Mew via 4D_Tech
Hi I thought I had this understood, but aparrently not. Im Importing some numbers from a file as strings.The Numbers have a period as decimal point. Because they are long decimal numbers and I need to do some calculations I convert them to longints with NUM() everything works fine on a UK system

Re: localisation

2017-12-05 Thread Peter Mew via 4D_Tech
Hi I upgraded from 13.3 to 13.6 and I now have a compatibility tab, but all it has under it is "web" under which is "automatic variable assignment", which is checked. Nothing Else thanks -pm On Tue, Dec 5, 2017 at 8:57 PM, Peter Bozek wrote: > > > On Tue, Dec 5, 2017 at

Re: localisation

2017-12-05 Thread Peter Mew via 4D_Tech
Hi I dont have a Compatibilty tab, under database sttings. v13,3 thanks -pm On Tue, Dec 5, 2017 at 8:41 PM, Peter Bozek <peter.bo...@gmail.com> wrote: > > > On Tue, Dec 5, 2017 at 9:22 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi >> I

localisation

2017-12-05 Thread Peter Mew via 4D_Tech
Hi I have an app that works fine, when used on a machine running English language. When run on a machine running German, real numbers get messed up because the decimal point is a dot and a comma is expected. what do I need to change, so that the decimal point is a comma and the German language is

Listbox resize

2017-11-23 Thread Peter Mew via 4D_Tech
Hi I have a Listbox with 8 columns. The Listbox and all the columns are set to grow horizontally The Listbox will grow when resized to the right, but it wont shrink if pulled to the left. How can I make it do that The Listbox is in a type 8 window. 4D v13 Mac Yosemite thanks -pm

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
approach with different types of arrays > but it's a lot more work whereas converting to and from text is easy. ​And > this works complied. > > D > ​oes that make sense? ​Do I get your need correctly? > > On Tue, Oct 31, 2017 at 12:42 PM, Peter Mew via 4D_Tech < > 4d_tech@li

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
OK thanks There will be a maximum of 16 passes through the loop, with a maximum of 14 arrays declared on each pass. each array could have between 1 and a couple of hundred elements. it depends on the size of the original document, from where all the original data is imported. each one of the 14

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
OK If I read that correctly, that will create the arrays for pass 1 through the loop, but what about creating the arrays for pass 2, and any subsequent passes. I expected to create the arrays, as they were needed, for each pass. something like For ($i;1;Size of array(EDLBlockArray)) If ($i<10)

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
Thank You And How do I create the Arrays in the First Place -pm On Tue, Oct 31, 2017 at 7:32 PM, npdennis wrote: > > Im pretty sure I need to use pointers to accomplish this, but I dont > know how. > > Try the command Get Pointer… > > $p:=Get Pointer(“Array201”) > or >

pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
Hi I want to achieve the following: To Loop through a block of code (the number of times will be determined elsewhere, but may well be different each time). Create a set of arrays that will have the same name + the loop counter, for each pass through the loop So pass 1 might create 3 arrays called

Re: find only partial strings

2017-10-27 Thread Peter Mew via 4D_Tech
n task. :-) > > Randy > > -- > Randy Jaynes > Senior Programmer and Customer Support > > http://printpoint.com <http://printpoint.com/> • 845.687.3741 • > PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964 >

find only partial strings

2017-10-27 Thread Peter Mew via 4D_Tech
Hi If I have a document, that has both the word "seg" and the word "segment", is there a way I can find the positions of just the word "seg" I can look at the character following "seg" to see if its an "m", but I wondered if there was a more direct route. thanks -pm

Re: Facial Detection/recognition

2017-07-14 Thread Peter Mew via 4D_Tech
Lewinsky stood in front of me. Hi Monica, it's Bal Clinton > :-) > > On 14 July 2017 at 17:16, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Hi >> Im interested in playing with Facial Detection/Recognition, from within 4D >> Ive found this demo databa

Facial Detection/recognition

2017-07-14 Thread Peter Mew via 4D_Tech
Hi Im interested in playing with Facial Detection/Recognition, from within 4D Ive found this demo database kb.4d.com/assetid=77536, in the knowledge base. However, I cant open it in v13.6, and while I can run it in a demo version of v15, I cant open it in designer mode. Could some one please open

Re: Rotate Picture in 4D

2017-06-27 Thread Peter Mew via 4D_Tech
V13 I'm afraid Thanks -pm Sent from my iPad > On 27 Jun 2017, at 08:52, Vincent de Lachaux via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hello, > > If you are using v14 or more, you can try the command SVG_ROTATION_CENTERED ( > svgObject ; angle ) > > > > > >> On 27 Jun 2017, at

Re: Rotate Picture in 4D

2017-06-27 Thread Peter Mew via 4D_Tech
Hi Bernd I went with LEP and imagemagick, which is also quite slow. I will try your code and see how it compares" Thanks -pm Sent from my iPad > On 27 Jun 2017, at 07:53, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Peter Mew: > >> I am trying to use Miyako's rotate picture

Re: Rotate Picture in 4D

2017-06-25 Thread Peter Mew via 4D_Tech
Yes Same Result Thanks -pm On Sun, Jun 25, 2017 at 9:49 PM, Spencer Hinsdale <spen...@bigsoftware.com> wrote: > > did you try 270? > > > On Jun 25, 2017, at 12:51 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Hi > > I am trying

Rotate Picture in 4D

2017-06-25 Thread Peter Mew via 4D_Tech
Hi I am trying to use Miyako's rotate picture component in v13. I dont know if its not compatible but It wont run. So Ive extracted the code and made it a subroutine (Rotate_Picture) C_PICTURE($1;$0) C_REAL($2;$w;$h;$ww;$hh;$s;$c) PICTURE PROPERTIES($1;$w;$h) $s:=Sin($2*Degree)

Query selection by example.

2017-05-18 Thread Peter Mew via 4D_Tech
Hi Is there a way of doing a query by example, on an aleady queried selection of records? I want to create a selection of records, based on some internal criterea, and then present that selection, in the form of Query by Example, to the user. thanks -pm

Re: How to detect EOL character in text file

2017-05-14 Thread Peter Mew via 4D_Tech
That should have read replace string of course if you change all the possible EOL characters to CR, then position will find all the CRs or have I missed something? pm On Sat, May 13, 2017 at 8:30 PM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On May 13, 2017, at 8:53 AM,

Re: How to detect EOL character in text file

2017-05-13 Thread Peter Mew via 4D_Tech
Replace text($text;lf;cr) Replace text($text;crlf;cr) Position($text;cr) -pm Sent from my iPad > On 13 May 2017, at 09:16, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > G’day Guys, > > I’m not sure if this was already a topic in the past, at least I couldn’t > find anything in

Button Variables

2017-05-11 Thread Peter Mew via 4D_Tech
Hi I have a form with 4 pages. each page has a button to create a new record. Each button also does some slightly different stuff depending which page its on. Which is why there is a button on each page, rather than a single button on Page 0 All the buttons have the variable name bNewRecord. My

Re: Off topic, sending binary files

2017-04-10 Thread Peter Mew via 4D_Tech
ech <4d_tech@lists.4d.com> > wrote: > >> On Apr 9, 2017, at 7:09 AM, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> I want to send a small Mac binary file to a friend. >> [snip] >> The binary is a command line program called scanimage, whic

Off topic, sending binary files

2017-04-09 Thread Peter Mew via 4D_Tech
Hi I turn to your combined wisdom, because I don't know where else to go. I want to send a small Mac binary file to a friend. All the methods I've tried so far result in the unsetting of the executable bit. I know this can be reset using chmod +x, but he is reluctant to use any terminal command

Too Many Debug Windows

2017-03-26 Thread Peter Mew via 4D_Tech
Hi Stupidly, I have opened too many debug windows whilst developing, and now the development app quits as soon as it has opened all the debug windows. Ive had this happen before, but was able to retreive the situation, now I cant remember what I did. Is there a way I can start up 4D with all the

Where is the error?

2017-02-14 Thread Peter Mew via 4D_Tech
Hi This snippet of code is in a loop, of typically 10 to 20 items. The Array <>StartsampleArray holds the start time, in samples, of the tracks on a CD. It all works fine interpreted, but when compiled, when <>StartSampleArray{$i} exceeds around 26655216 or thereabouts $Duration turns negative,