also you can unarchive the .zip or .dmg that comes with the source
> repository.
>
> ---
>
> there are several ways to communicate with a scanner
>
> ICA the standard on Mac and WIA is the new standard on Windows.
> some hardware vendors may not provide a TWAIN driver for Window
EATE 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)
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
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
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
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
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
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
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
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
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
"
> >>>
> >>> To find "the"
> >>> There are multiple ways, one is to parse the text into arrays based up
> >>> words and find in array. There seems to be a new command in 17 r
> >>> release that will do the parse for you
> >>>
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:
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)
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"+"
padding bytes if necessary
Sorry, long winded explanation
thanks
-pm
On Thu, Feb 21, 2019 at 11:22 PM Peter Mew wrote:
> 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
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
//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
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
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:
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:
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
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
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
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,
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
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
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
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
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
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:
it working in v16
thanks
-pm
On Tue, Mar 27, 2018 at 1:50 PM, Peter Mew <peterm3...@gmail.com> wrote:
> 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 st
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
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:
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
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
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
>
> On Tue, Dec 5, 2017 at 9:47 PM, Peter Mew <peterm3...@gmail.com> wrote:
>
>> Hi
>> I dont have a Compatibilty tab, under database sttings.
>> v13,3
>>
>>
> you should have it:
> http://doc.4d.c
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
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
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
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
arrays will be the same size, to be
displayed in a listbox
The final code will be compiled.
BTW this is v13 MAC Yosemite
Ill give it a try
thanks again
-pm
On Tue, Oct 31, 2017 at 7:29 PM, Peter Mew <peterm3...@gmail.com> wrote:
> Hi
> I want to achieve the following:
> To Loop
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)
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
>
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
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
>
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
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
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
;
>
>
>> On 27 Jun 2017, at 08:53, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com>
>> wrote:
>>
>> Peter Mew:
>>
>>> I am trying to use Miyako's rotate picture component in v13.
>>> I dont know if its not compatible but It wo
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 tryin
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
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)
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
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,
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
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
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
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
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
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,
Hi a user of my app on OSX Sierra
is reporting this error on startup
Circular Reference in records address table of table Resources of database
DDP_Player_v9
Does anyone know what this means, I dont have a table called Resources
thanks
-pm
Mac OSX Sierra 4D v13.6 compiled Standalone app
Hi
I have a time Display on a form, that updates every second
There is a separate process that calls the main form to update the timer.
once a second
The code for this process is:
While (<>MainProc>0) //<>MainProc is the process number of the Main Form
If (<>StartPlay=True) //<>StartPlay is
Hi
I am importing some text, which appears to have apostrophes at various
points in the text file.
Investigation shows that some of these characters evaluate to "'"and others
to "\'92"
I would like to change them all to char(39)
but this expression does not work
Repeat
RECEIVE
Hi
This is driving me mad, I just cant figure it out.
I have a vertical ruler on a form, and a horizontal line.
As the ruler is moved up and down, I want the horizontal line to follow the
position on the ruler.
Im using v13.6 Mac, and there does not seem to be an OBJECT SET COORDINATES
command,
init5.fr> wrote:
>
> > Le 19 nov. 2016 à 00:10, Peter Mew <peterm3...@gmail.com> a écrit :
> >
> > Hi
> > I have a v13 standalone app, to which I would like to add the ability
> for the user to schedule their own 4D backups.
> > I can't find anything in the
Hi
I have a v13 standalone app, to which I would like to add the ability for the
user to schedule their own 4D backups.
I can't find anything in the language to make this possible.
I want to Create a form where the user can choose when the backup happens, how
often, where the backup is stored
Have I read this correctly?
If I write a small standalone app, for a friend, zip it and send it to him,
At some time in the future, there will be an Mac OS version which will say
the equivalent of "I'm sorry Dave, I cant let you do that".
Has the world of Apple gone mad?
-pm
On Mon, Nov 14, 2016
the table and
> field numbers, each zero padded to the left.
>
>
>> On Saturday, November 5, 2016, Peter Mew <peterm3...@gmail.com> wrote:
>>
>> Hi
>> I have an array of pointers, the pointers point to fields in a single
>> table.
>> The user is able t
Hi
I have an array of pointers, the pointers point to fields in a single table.
The user is able to delete elements from the array.
I want to be able to save the status of this array, so it can be loaded the
next time the program is opened.
Save variable can't be used with arrays
Array to list
Try "Pandoc" and LEP
it will transcode almost any text format to any other text format
-pm
On Fri, Oct 28, 2016 at 8:33 PM, Lee Hinde wrote:
> On Thu, Oct 8, 2015 at 9:14 AM, Jeremy Roussak wrote:
>
> > Is there a way to extract the text from simple Word
Hi
Please tell me to go away if this request is inappropriate
Im trying to convert a C function into 4D
I know very very little C, so after 2 days I'm looking for some help
The C function looks like
struct toc {
int min;
int sec;
int frame;
};
struct toc
the session:
> • the current page,
> • the position, size and visibility of each form object (including
> the size and visibility of list box columns)."
>
> v i n c e n td el a c h a u x
>
> Bee green - keep
• the current page,
> • the position, size and visibility of each form object (including
> the size and visibility of list box columns)."
>
> v i n c e n td el a c h a u x
>
> Bee green - keep it on the screen
&g
Hi
If a user resizes a form, is there a command that will take a snapshot of the
new object sizes and positions, so that the form can be reinstated with the new
sizes and positions, at a later date.
Thanks
-pm
Sent from my iPad
ions. You should also be
> able to grab the Header cell of the column and drag it left and right.
>
> Keith - CDI
>
> > On Oct 7, 2016, at 3:08 PM, Peter Mew <peterm3...@gmail.com> wrote:
> >
> > Nope
> > If I do that the column is added at the right hand side,
Hi
I cant find how to do this.
I have an array based listbox, with several columns.
I now want to add another column between my existing column 2 and column 3
not by code, but in the design environment
Ive tried adding a new column at the right hand end and dragging it, I cant
find an insert
This has me stumped.
As part of a small app I'm writing for a friend, I have need display some
pictures that belong to a particular record.
I have a button on a detail form belonging to the record.
when the button is pressed, I collect all the documents in a folder, filter
them so only valid
; p.s.
>
> the "proper" way, I guess, to distribute binaries on github is to use the
> "release" feature,
> but for all practical purposes I normally include the final product (plugin)
> as well as all dependencies.
>
>> 2016/09/26 22:17、Peter Mew <p
Hi
I have a form used for a Query by example.
This works fine, however, I want to be able to switch pages on the form, so
that different fields to query will be displayed, under different
circumstances.
I put some radio buttons on Page 0 of the form, so that I can switch pages,
but no form events
Hi Doug
I upgraded a 2004 database to v13 in one go.
I had to rewrite some code for plugins no longer supported, many of the
routines for which a plug was used, are now available in native 4D.
I upgraded ALP to the latest version. There were no major problems with the 4D
code.
Good luck
-pm
82 matches
Mail list logo