Re: V19 Issues

2023-10-09 Thread Keisuke Miyako via 4D_Tech
you need to open database settings, compatibility, and activate "save method in unicode" https://discuss.4d.com/t/bug-de-compilation/23267 it seems very few developers are using this list. only 2 or 3 users have posted in the last couple of years. the majority of the community discussion has

Re: CONVERT BLOB

2023-09-15 Thread Keisuke Miyako via 4D_Tech
you must specify the byte value of $vBlob for the correct answer. it is not a syntax problem. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options:

Re: Field calculations

2023-09-10 Thread Keisuke Miyako via 4D_Tech
or maybe have an array and make the data source of each checkbox a{1}, a{2}, and so on. then Count in array. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html

Re: Modern 4D Skills...

2023-04-24 Thread Keisuke Miyako via 4D_Tech
there is a brand-new training course that features ORDA, project mode and panel-based user interface. https://us.4d.com/training/online-training/build-your-first-4d-application-orda-project-mode after the webinar you get a workbook, demo project and an 8-part video. Did you ever get info on

Re: [QUAR] EXCEL CSV conversion

2022-08-26 Thread Keisuke Miyako via 4D_Tech
let me be more specific: in my work when I only need to extract values from XLSX, I just use this: https://github.com/miyako/4d-plugin-xlsxio xlsx or xls? ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com

Re: [QUAR] Re: EXCEL CSV conversion

2022-08-26 Thread Keisuke Miyako via 4D_Tech
do you expect xlsx r xls? ** 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:

Re: How to convert date to integer or vice versa

2022-08-07 Thread Keisuke Miyako via 4D_Tech
triggers! https://doc.4d.com/4Dv19R5/4D/19-R5/Triggers.300-5831495.en.html Can you help with the proper method to do so. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive:

Re: How to Sort with Quick Report V17.5

2022-07-26 Thread Keisuke Miyako via 4D_Tech
the last time I used Quick Report was v2003 so this information might be trash, but isn't there an option to sort in the contextual menu when you click a column? ** 4D Internet Users Group (4D iNUG) New Forum:

Re: Choice list in a list box

2022-07-14 Thread Keisuke Miyako via 4D_Tech
if you want to populate the list with values different to the original list defined in toolbox you need to use the command https://doc.4d.com/4Dv19/4D/19.1/OBJECT-SET-LIST-BY-REFERENCE.301-5653488.en.html make sure you clear the list when you exit the form. Where i must populate the choice

Fwd: Built app in v18 can't find data file

2022-04-05 Thread Keisuke Miyako via 4D_Tech
https://discuss.4d.com/t/data-file-open-order-bug/14037/2 TL;DR you might want to check the latest deployment options: - the build key "dataFilePath" - new deployment architecture - the "default data" feature ** 4D Internet

Re: [SPAM] Image from print form

2022-03-19 Thread Keisuke Miyako via 4D_Tech
you can do that with any command line program that does PDF to image. there is no need to do it with 4D code. just use LAUNCH EXTERNAL PROCESS. I need to convert in image file only one page. I need to assing a path and name to the image file.

Re: [SPAM] Re: Finding duplicates

2022-03-18 Thread Keisuke Miyako via 4D_Tech
correction: I meant to say, you can't fix records one by one if there are duplicates remaining in the database. > you can't assign a new value to the first found duplicate because it is a > duplicate nonetheless. ** 4D

Re: [SPAM] Image from print form

2022-03-18 Thread Keisuke Miyako via 4D_Tech
if you print to PDF in a single print job, you get a PDF with multiple pages. if you want each page to be converted to an image file such as PNG or JPEG or TIFF, there are command line tools for that. you can LAUNCH EXTERNAL PROCESS to invoke the external program.l 2022/03/19

Re: [SPAM] Re: Finding duplicates

2022-03-18 Thread Keisuke Miyako via 4D_Tech
I don't feel like I have enough information to write a code snippet, but here are a few thoughts: 1. I suppose you are aware of DISTINCT VALUES. but if you suspect that the indexes are somehow corrupt, you can no longer trust the command either. 2. the duplicates could be null. by

Re: [SPAM] Image from print form

2022-03-17 Thread Keisuke Miyako via 4D_Tech
you want to conver pdf to picture? ** 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:

Re: Finding duplicates

2022-03-16 Thread Keisuke Miyako via 4D_Tech
I think you need to be more specific: what do you mean by "duplicate" what do you mean by "work the way I want" I am looking for a simple a method to find duplicates. A method that would show only the duplicates if they exist or return a message if there are no such duplicates. I already looked

Re: [SPAM] Image from print form

2022-03-16 Thread Keisuke Miyako via 4D_Tech
this command was added in v12.2 https://doc.4d.com/4Dv19R3/4D/19-R3/FORM-SCREENSHOT.301-5583051.en.html but you must take into account that a screenshot is for displaying on screen. your listbox, text, shape primitives with all show as bitmap with low resolution. I use 4D V16 on windows. I

Re: Head-Scratcher!

2022-03-10 Thread Keisuke Miyako via 4D_Tech
you might want to try v17 32-bit or SET PRINT OPTION + legacy printing layer and see if that makes a difference. also it would be useful to collect more specific information about the error. ** 4D Internet Users Group (4D iNUG)

Re: Can't Save Record Mandatory field is null

2022-01-26 Thread Keisuke Miyako via 4D_Tech
you can "export structure" and parse the xml. I cannot find a way to search for fields with "Reject NULL Values" set to true. Surely this must be possible, so can someone please let me know how to do it? ** 4D Internet Users

Re: Current User and 4D User on Server Are Different

2022-01-25 Thread Keisuke Miyako via 4D_Tech
the current user alias is recorded in the journal. https://blog.4d.com/who-did-what-store-user-aliases-in-the-journal/ 2) What gets recorded in the journal file? ** 4D Internet Users Group (4D iNUG) New Forum:

Re: Web Service "items" Declaration

2021-10-21 Thread Keisuke Miyako via 4D_Tech
if your data type is not a simple array or scalar variable you might have to use Is DOM reference or Is XML https://doc.4d.com/4Dv18/4D/18.4/SOAP-DECLARATION.301-5232871.en.html after all, SOAP DECLARATION converts classic 4D commands such as C_TEXT or ARRAY TEXT to WSDL. anything you

Re: Problem moving SSL cert to a new Amazon server

2021-10-18 Thread Keisuke Miyako via 4D_Tech
isn't the certificate issued for a specific domain or IP address? Any idea what the cause might be? ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options:

Re: Odd Runtime Error in Design

2021-10-18 Thread Keisuke Miyako via 4D_Tech
you can literally Google "RUNTIME_EXPLORER_HDL" and find ACI0101576 > Error when executing the method "RUNTIME_EXPLORER_HDL (runtime)" at line > number 239 ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com

Re: Compiled Structure does not Match Data

2021-10-05 Thread Keisuke Miyako via 4D_Tech
The structure and data files do not correspond to each other. The data file cannot be opened with this structure." That's a holdover from when 4D used the "WEDD" resource but that went away after 2004. the WEDD resource was indeed a token that was used to match a structure file to a data file,

Re: Compiled Structure does not Match Data

2021-10-05 Thread Keisuke Miyako via 4D_Tech
that will happen if you upgrade a structure file, then upgrade its data file, and try to use the 2 files. that is not allowed. you must either migrate both the structure and the data to v11+ at the same time, or use the already upgraded v11+ structure file to migrate the pre-v11 data file, or

Re: Import from an Excell files

2021-09-26 Thread Keisuke Miyako via 4D_Tech
does view pro really support xls? I thought it only accepted xlsx. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options:

Re: "Search References" Behavior Change

2021-09-13 Thread Keisuke Miyako via 4D_Tech
what you explain might already be corrected in ACI0101890 (v19 and R2) it has been described as ACI0101890 [Design mode] Method: selected part of a method name no more searched for edition (whole name searched) before the fix, there was a difference between right-clicking a token with or

Re: "Search References" Behavior Change

2021-09-13 Thread Keisuke Miyako via 4D_Tech
I was not part of the decision making process, honestly, I was unaware that such changes were made. but suppose you do $aMethod:=Formula(a_project_method($pointerA;$pointerB)) in one place, then $ctx.aMethod:=$aMethod in another, then, say DIALOG("a_form";$ctx) and Form.aMethod() //

Re: Duplicate Primary Key

2021-09-05 Thread Keisuke Miyako via 4D_Tech
yes, the previous suggestion might be just fine, but SQL seems better for several reasons - the primary key could be integer 64-bits which is not handled in the other example - all records+order by creates 2 current selections in the other example, none in this one - clean code, the intent is

Re: Duplicate Primary Key

2021-09-01 Thread Keisuke Miyako via 4D_Tech
tou can bump the sequence number generator for a table with set database parameter. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options:

Re: Run v15.4 in demo mode

2021-08-25 Thread Keisuke Miyako via 4D_Tech
by the way, evaluation licenses are only issued for the latest version. the last version that had a "demo mode" with restrictions on the number of new records and tables was v2003. ** 4D Internet Users Group (4D iNUG) New Forum:

Re: Run v15.4 in demo mode

2021-08-25 Thread Keisuke Miyako via 4D_Tech
the partner program should include licenses for all versions going back to the version that was current at the time of joining the program, if membership has been renewed continuously. did you check "my licenses" online? **

Re: setting row and cell color in entity selection listboxes

2021-08-10 Thread Keisuke Miyako via 4D_Tech
for clarification: the reason for using the Form object, as in Form.meta, is to be memory efficient. if you only have 3 possible paint patterns, it would be more efficient to create the objects in advance: e.g. $meta:=New collection(New object;New object;New object;New object;New object;New

Re: setting row and cell color in entity selection listboxes

2021-08-10 Thread Keisuke Miyako via 4D_Tech
I activated on display detail. activating On Display Detail is optional. it is not required for Meta Exp. to work. but your Color method is wrong. you basically need as many meta objects as the number of different colour combinations to display at the same time. in your code you have just

Re: setting row and cell color in entity selection listboxes

2021-08-06 Thread Keisuke Miyako via 4D_Tech
the meta expression is evaluated during the On Display Detail event. that would be all the rows visible on screen, plus a cache of rows prefetched for vertical scroll. typically that would be the same number as the rows visible on screen. how to bind: you create a project method, then enter

Re: setting row and cell color in entity selection listboxes

2021-08-05 Thread Keisuke Miyako via 4D_Tech
if you are looking for practical examples: https://blog.4d.com/display-a-collection-in-a-listbox/ every essential feature since v16 has a featured blog post, often with a video and/or sample code. ** 4D Internet Users Group (4D

Re: New Online Manuals

2021-06-29 Thread Keisuke Miyako via 4D_Tech
its a github repo. https://github.com/4d/docs you can fork it. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options:

Re: v18 Background Image / Win32API

2021-06-24 Thread Keisuke Miyako via 4D_Tech
the plugin only has a Windows64 folder https://github.com/OrchardSoftware/4D-Win64API/tree/master/Win64API.4dbase/Plugins/Win64API.bundle/Contents so it is not for 32-bit. ** 4D Internet Users Group (4D iNUG) New Forum:

Re: 4D scanning

2021-06-24 Thread Keisuke Miyako via 4D_Tech
the minimum version is v17. v16 and earlier does not support object/collection plugin parameters. it would have to be rewritten to use JSON text instead. 2021/06/24 20:03、Peter Mew via 4D_Tech <4d_tech@lists.4d.com>のメール: Thanks for the detailed instructions. I got

Re: Communicating with external electronics

2021-06-23 Thread Keisuke Miyako via 4D_Tech
maybe it is using ActiveX https://en.wikipedia.org/wiki/ActiveX the script could be invoking another OCX component that does the actual heavy lifting. just a guess. 2021/06/24 7:56、nug via 4D_Tech <4d_tech@lists.4d.com>のメール: The scripts, and (as far as I can tell)

Re: v18 Background Image / Win32API

2021-06-23 Thread Keisuke Miyako via 4D_Tech
the plugin replaces the background by intercepting the PAINT event for the MDI window. 4D is Altura-free since v17 https://blog.4d.com/complete-windows-64-bit-product-line-is-now-altura-free/ which drastically changes how (or if at all) plugins can "hack" the GUI. I think it might just be

Re: Communicating with external electronics

2021-06-23 Thread Keisuke Miyako via 4D_Tech
I suppose the scripts are written in Python or some other language. the script language is probably not important. I imagine it is published as a "language neutral" sample code, not as a Software Development Kit or middleware. you might even be able to translate it to native 4D for HTTP or

Re: 4D scanning

2021-06-23 Thread Keisuke Miyako via 4D_Tech
you can click on "Releases" and select a release by tag https://github.com/miyako/4d-plugin-twain-v2/releases/tag/3.4.0 also there is a prebuilt binary, preinstalled in the sample DB when you get the source repository. also you can unarchive the .zip or .dmg that comes with the source

Re: HTML attachment in an email from 4D V17 mac/pc

2021-05-30 Thread Keisuke Miyako via 4D_Tech
I would focus on the email source (MIME) rather than code in 4D. if the email client forever downloading (it probably isn't) I suspect base64 is broken. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com

Re: 4d Graph 8 series limit

2021-05-14 Thread Keisuke Miyako via 4D_Tech
I think at this point the GRAPH command is a lost cause. instead, you really use the web area. after all, it is more than 50% of the total app size (no kidding). chart.js is well documented and easy to use. > 2021/05/15 0:23、Andrea via 4D_Tech <4d_tech@lists.4d.com>のメール: > I need to draw a graph

Re: Miyako's plugin vs CryptoKey

2021-05-12 Thread Keisuke Miyako via 4D_Tech
doc here https://developer.4d.com/docs/en/API/CryptoKeyClass.html CryptoKey was added in v18 R4 it's a class, you need to be in project mode it's a generic crypto tool but designed specifically for JWT tokens in other words, the hash function is not a standalone feature; you can not hash any

Re: 4D Server

2021-04-29 Thread Keisuke Miyako via 4D_Tech
there should be a "factory settings" button to erase the settings for good. 2021/04/29 17:20、Miguel Gonzalez via 4D_Tech <4d_tech@lists.4d.com>のメール: That's why I've used the database parameter so I can decrease those values.

Re: 4D Server

2021-04-28 Thread Keisuke Miyako via 4D_Tech
yes, the sole purpose of the CPU priority pane in database settings is so that you can unset whatever configuration (high, low, doesn't matter) that is stored in the structure file. using "set database parameter" to adjust the settings can only make the scheduler work harder for no gain in

Re: v17.5 Explorer Window - how to delete prefs

2021-04-22 Thread Keisuke Miyako via 4D_Tech
you can also open the Explorer holding down the shift key. ** 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

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

2021-03-26 Thread Keisuke Miyako via 4D_Tech
actually the database kind doesn't matter, there is nothing to do for the structure file or project. it is the app that needs to be notarised. the rules discussed so far are common to all apps, nothing is specific to 4D. ** 4D

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

2021-03-26 Thread Keisuke Miyako via 4D_Tech
info.plist and entitlements are 2 different entities. the com.apple.security.device.camera key needs to be in entitlements, not info.plist. info.plist is where you add NSCameraUsageDescription. if you use a code editor to edit either plist file, you might want to "plutil -convert xml1" to

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

2021-03-24 Thread Keisuke Miyako via 4D_Tech
the "--primary-bundle-id" you pass to "xcrun altool" is actually unrelated to the app's bundle id; it can be any string and it does not have to unique. 2021/03/25 11:31、James Crate via 4D_Tech <4d_tech@lists.4d.com>のメール: just assumed notarization would require a

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

2021-03-24 Thread Keisuke Miyako via 4D_Tech
> Does the —deep option actually work anymore? The signing script I use for an > app compiled with runtime has to sign every executable component in the built > app. yes it works. I use --deep to sign every framework, bundle, plugin from the inside out. think of it like sealing smaller boxes

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

2021-03-21 Thread Keisuke Miyako via 4D_Tech
like I posted earlier, all the steps are implemented in the example: https://github.com/miyako/4d-utility-build-application 2021/03/21 15:41、Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com>のメール: Could you offer a step by step explanation because this is all new to me.

Re: [Fun] Special Query ORDA Replacement

2021-03-20 Thread Keisuke Miyako via 4D_Tech
the general idea is like this: If (False) //create sample data ds.xFieldInfo.all().drop() $exFieldInfo:=ds.xFieldInfo.new() $exFieldInfo.TableIDRef:=Table(->[Table_1]) $exFieldInfo.FieldID:=Field(->[Table_1]Field_2) $exFieldInfo.save() $exFieldInfo:=ds.xFieldInfo.new()

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

2021-03-20 Thread Keisuke Miyako via 4D_Tech
I’ll use the terminal to sign what ever has to be signed that enables me to continue developing: codesign --deep --force --verbose --sign "” $Path/To/My/Development the above code unfortunately will not grant access to the camera because it is missing 2 critical elements: 1. edit "info.plist"

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

2021-03-06 Thread Keisuke Miyako via 4D_Tech
I will answer in place of Armin; yes, it does not matter if you are in development or production, compiled or interpreted. access to the camera requires entitlements, code signature, notarisation, and not of the plugin, but of the app (4D) itself. Since Keisukes Cupturev2-Plugin does not work

Re: Big Sure Application file returning weird information

2021-01-26 Thread Keisuke Miyako via 4D_Tech
sounds like your application has been translocated, running in a sandboxed folder to protect the system. that happens if you drag and drop 4D, 4D Server, 4D Volume Desktop out of the mounted disk image to applications. you should install 4D and 4D Server in applications or one of its subfolders

Re: POSITION COMMAND

2021-01-20 Thread Keisuke Miyako via 4D_Tech
you can also use Split string for processing paths. it works like Position with * but you don't have to iterate. https://doc.4d.com/4Dv18/4D/18.4/Split-string.301-5233802.en.html search character \ into one path. ** 4D Internet

Fwd: Importing PDFs into 4D Win v17R6 - v18 and converting

2021-01-20 Thread Keisuke Miyako via 4D_Tech
I posted an Xpdf plugin https://miyako.github.io/2020/04/19/4d-plugin-xpdf.html but you need to consider that the license is GNU GPL https://en.wikipedia.org/wiki/Xpdf ** 4D Internet Users Group (4D iNUG) New Forum:

Re: Lost autocomplete for constants

2021-01-18 Thread Keisuke Miyako via 4D_Tech
the spec was originally published in the appendix of v13 upgrade reference. but it might be easier to work off an example. https://github.com/miyako/4d-plugin-mdi/blob/master/MDI/constants.xlf I use UUIDs to avoid conflicts with constants from different plugins, components, etc. as you can

Re: PING of life...

2021-01-16 Thread Keisuke Miyako via 4D_Tech
go to preferences, select interface, switch theme to "dark" https://imgur.com/OLQ6jVg ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options:

Re: Remember password

2020-12-22 Thread Keisuke Miyako via 4D_Tech
Hi there is a checkbox in database settings / security Users can change their password Display User List in Password Dialog Box deactivating these will give you a different login dialog. https://doc.4d.com/4Dv18/4D/18/Security-page.300-4575477.en.html

Re: DISPLAY NOTIFICATION

2020-12-13 Thread Keisuke Miyako via 4D_Tech
isn't there a setting for action centre and notifications in https://support.microsoft.com/en-us/windows/change-notification-settings-in-windows-10-ddcbbcd4-0a02-f6e4-fe14-6766d850f294

Re: Record locking woes

2020-12-10 Thread Keisuke Miyako via 4D_Tech
If you CUT NAMED SELECTION when there is a loaded current record, the current selection will be reduced to 0 but the current record will remain loaded (and locked) outside the current selection. 2020/12/11 2:38、Alan Tilson via 4D_Tech <4d_tech@lists.4d.com>のメール:

Re: Running AppleScripts from 4D under Catalina

2020-12-03 Thread Keisuke Miyako via 4D_Tech
it depends on how you implement automation. are you calling osascript via launch-external-process? to control the Mail app, normally you need to use AEDeterminePermissionToAutomateTarget https://github.com/miyako/4d-plugin-apple-file-promises/blob/master/apple-file-promises/4DPlugin.cpp to

Re: MILLISECONDS

2020-11-07 Thread Keisuke Miyako via 4D_Tech
correction: LOG EVENT(Into 4D diagnostic log;"some message") > LOG EVENT(Into 4D commands log;"some message") ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html

Re: MILLISECONDS

2020-11-07 Thread Keisuke Miyako via 4D_Tech
It depends on what you want to measure and with what level of precision. computer uptime TIckcount: ticks Milliseconds: milliseconds Get system info (v18) uptime: seconds application uptime Get application info (v18) uptime: seconds time TImestamp (v17): milliseconds --- if the unit is

Re: SVG Replacement for "GRAPH TABLE"

2020-11-04 Thread Keisuke Miyako via 4D_Tech
Hello, the GRAPH command accepts a picture variable (instead of a graph=4D chart type) and produces an SVG graph. in that capacity, the commands is still supported. G. TABLE is deprecated but you can create an array based on the current selection and pass the data to GRAPH.

Re: Active4D & Java Web Tokens

2020-08-26 Thread Keisuke Miyako via 4D_Tech
There is a native class for that https://developer.4d.com/docs/en/API/cryptoClass.html P.S. you are kindly invited to visit the new forums: https://discuss.4d.com 2020/08/27 6:03、Doug Hall via 4D_Tech <4d_tech@lists.4d.com>のメール: Thanks for any help you can

Re: Can't Disable Catalina Prompt "Do you want the Applicaiton "ApplicationName" to accept incoming network connections?

2020-08-21 Thread Keisuke Miyako via 4D_Tech
developer certificates work similar to HTTPS certificates. you can obtain a certificate that has Apple has its root authority. you can also sign an app with a self-signed certificate and let the user add you to their local keychain. 2020/08/22 14:22、Chip Scheide via 4D_Tech

Re: Can't Disable Catalina Prompt "Do you want the Applicaiton "ApplicationName" to accept incoming network connections?

2020-08-21 Thread Keisuke Miyako via 4D_Tech
I am not 100% sure, but I think macOS GateKeeper (spctl) does not discriminate between apps that all share the app ID. in other words, if a recently downloaded copy of 4D is caught by the system and deemed untrustworthy for any reason, that indictment affects all installed copies of 4D on that

Re: Get 4D file(Last backup file) v17.4 returning wrong file path

2020-08-18 Thread Keisuke Miyako via 4D_Tech
in v18 it is backupHistory.json, I think. https://doc.4d.com/4Dv18R3/4D/18-R3/Configuration-and-trace-files.300-4919427.en.html 2020/08/19 9:21、Dave Nasralla via 4D_Tech <4d_tech@lists.4d.com>のメール: This makes me think something got corrupt. Do you know where the

Re: Get 4D file(Last backup file) v17.4 returning wrong file path

2020-08-18 Thread Keisuke Miyako via 4D_Tech
sidebar technically you should move your fresh 4BK file after On Backup Shutdown, not during, because 4D updates the backup history json file following the database event, and a missing backup file will trigger a runtime error. one way to avoid this is to start a new process and wait a little

Re: Can't Disable Catalina Prompt "Do you want the Applicaiton "ApplicationName" to accept incoming network connections?

2020-08-17 Thread Keisuke Miyako via 4D_Tech
try xattr -rc {path_to_app} from Terminal to clear all extended Finder attributes. 2020/08/18 5:11、Randy Kaempen via 4D_Tech <4d_tech@lists.4d.com>のメール: What if you just want to use it on your own computer.

Re: Can't Disable Catalina Prompt "Do you want the Applicaiton "ApplicationName" to accept incoming network connections?

2020-08-17 Thread Keisuke Miyako via 4D_Tech
Did you code sign and notarise your application? These are mandatory steps to distribute an app over the internet. 2020/08/18 1:02、Ken Eyring via 4D_Tech <4d_tech@lists.4d.com>のメール: Any suggestions on what I need to do to get the prompt to stop popping up is

Re: CHANGE LIST VALUES FOR EVERY LISTBOX ROW

2020-08-16 Thread Keisuke Miyako via 4D_Tech
you can not change the content of a list that is already attached to a listbox column. you need to call OBJECT SET LIST BY REFERENCE or OBJECT SET LIST BY NAME if this is an entity selection or collection list box, you may also need to touch the data source i.e. form.whatever:=form.whatever

Re: ON MOUSE ENTER

2020-08-12 Thread Keisuke Miyako via 4D_Tech
Hello, you can pass the MouseX and MouseY coordinates to LISTBOX GET CELL POSITION https://doc.4d.com/4Dv18R4/4D/18-R4/LISTBOX-GET-CELL-POSITION.301-4982982.en.html then you can look up the header direction (0, 1, or 2) that corresponds to the column. P.S. you are invited to join

Re: Removing an element from an array within an object

2020-08-10 Thread Keisuke Miyako via 4D_Tech
OB SET ARRAY creates a collection based on the array and links that collection with the object. Now that we have object notation, there is really no need to use this command anymore. But that is a matter of preference, you can code however way you like. You can access the collection directly or

Re: Running v15 Server as a Service in Windows Server 2016

2020-08-03 Thread Keisuke Miyako via 4D_Tech
did you start the app as administrator? https://doc.4d.com/4Dv18/4D/18/Registering-a-Database-as-a-Service.300-4672427.en.html P.S. you are kindly invited to join the new discussion forum! https://discuss.4d.com/ 2020/08/03 20:32、Peter Jakobsson via 4D_Tech

Re: PDF Documentation

2020-07-18 Thread Keisuke Miyako via 4D_Tech
Hello! this is my side project of the week: https://discuss.4d.com/t/convert-html-documentation-to-pdf/14712 Regards, 2020/07/10 17:32、Paul Dennis via 4D_Tech <4d_tech@lists.4d.com>のメール: It looks like 4D are phasing out PDF documentation which is a shame because

Re: CURSOR POSITION

2020-07-18 Thread Keisuke Miyako via 4D_Tech
Hello! I believe it's GET HIGHLIGHT https://doc.4d.com/4Dv18/4D/18/GET-HIGHLIGHT.301-4505337.en.html you are kindly invited to join the new community site: https://discuss.4d.com > 2020/07/18 19:56、stardata.info via 4D_Tech <4d_tech@lists.4d.com>のメール: > Someone knows what is the 4d command

Re: Old 4D Transporter (ResTransporter) or Equivalent

2020-07-05 Thread Keisuke Miyako via 4D_Tech
..or just use the standard command mkdir MaBase.WIN cp LAUNCHAPP MaBase.WIN/ LAUNCHAPP.4DB cp LAUNCHAPP/..namedfork/rsrc MaBase.WIN/LAUNCHAPP.RSR we warmly invite you to join the new platform! https://discuss.4d.com > 2020/07/05 4:08、Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com>のメール: > I

Re: V18 plugins not showing as Notarized?

2020-04-30 Thread Keisuke Miyako via 4D_Tech
only the plugins pre-installed with the application (inside 4D or 4D Server) are notarised. the folder adjacent to the application are copies for distribution and therefore not code signed at all. > On May 1, 2020, at 12:00, Ronald Rosell via 4D_Tech <4d_tech@lists.4d.com> > wrote: >

Re: 4D Summit Videos

2020-04-30 Thread Keisuke Miyako via 4D_Tech
Hello, the team has just made the demo DB (v18) available for download. https://events.4d.com/summit2020/session/document-production/ Regards, > On Apr 23, 2020, at 22:37, Eric Naujock via 4D_Tech <4d_tech@lists.4D.com> > wrote: > Keisuke Miyako's presentation on Document Production managed

Re: Object notation replacement for use of Self in a script — v18

2020-04-30 Thread Keisuke Miyako via 4D_Tech
I can only share how I would design my user interface, but in short, I would not have this problem > (Object get name).prettyFormat() and here's why. I see that the form object should either be bound to (=managed automatically by 4D) or divorced from (managed by me) its data source. the

Re: Object notation replacement for use of Self in a script — v18

2020-04-29 Thread Keisuke Miyako via 4D_Tech
my feeling is that generic coding is very much possible in object notation, but we need to accept that the approach is different. if you prefer to use pointers such as "Self", I think it's best to avoid object notation, at least if your goal is to make the code generic. it's not a defect of

Re: 4D Summit Videos

2020-04-23 Thread Keisuke Miyako via 4D_Tech
Hello! first off, you can see from the round orange icon that indeed I am using v18 LTS and not an R (feature) release. preparation for publishing the demo is still ongoing, but you will get access to the source code soon. the seemingly "new" commands are just custom object methods defined by

Re: On Server Open Connection Database Method - User Name

2020-04-23 Thread Keisuke Miyako via 4D_Tech
I am not sure if it will solve your specific problem, but "Get process activity" is more informative than "GET USER LIST" https://doc.4d.com/4Dv17/4D/17.4/Get-process-activity.301-4882774.en.html > On Apr 22, 2020, at 3:02, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com> wrote: > Is there a way to

Re: v18r2 — File Object Folder?

2020-04-22 Thread Keisuke Miyako via 4D_Tech
you could also specify the "fk platform path" constant, if want to start with a system path. https://doc.4d.com/4Dv18/4D/18/File-and-Folder.302-4504493.en.html > On Apr 22, 2020, at 14:32, Chris Belanger via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Sorry about this post. > I figured out

Re: Quick reports not printing to PDF and previewing on macOS with 4D 64-bit versions

2020-04-21 Thread Keisuke Miyako via 4D_Tech
I could be way off, but... 1. try using OPEN PRINTING JOB, CLOSE PRINTING JOB https://doc.4d.com/4Dv17/4D/17.4/OPEN-PRINTING-JOB.301-4883314.en.html or, 2. activate "Legacy printing layer option" https://doc.4d.com/4Dv17/4D/17.4/SET-PRINT-OPTION.301-4883296.en.html On Apr 21, 2020, at 22:11,

Re: New Notarization Issues

2020-04-21 Thread Keisuke Miyako via 4D_Tech
- check if software is signed codesign --verify --verbose {path} - check if software is notarised spctl --assess --verbose --type install {path} --- what you describe is normal behaviour for software that is not signed or notarised. https://support.apple.com/en-us/HT202491 > On Apr 22,

Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread Keisuke Miyako via 4D_Tech
4D v18 is 750 MB. just over half of that size is taken by the embedded CEF web area. So it would be a shame not to use it at all other than for the welcome dialog. my understanding is that the Chrome Embedded Framework is using the same PDF renderer as Chrome, that is, PDFium, a Google edition

Re: With v18r2, can 4D display pdf documents?

2020-04-20 Thread Keisuke Miyako via 4D_Tech
with a plugin-in http://www.pluggers.nl/product/pdf-viewer/ a web thingy https://mozilla.github.io/pdf.js/ --- I would consider the two above to be your top choices. I've posted a few convert-to-picture examples, but it sounds like you would want to render and display, not rasterise.

Re: Administration window on Server

2020-04-20 Thread Keisuke Miyako via 4D_Tech
how about using on server startup? https://doc.4d.com/4Dv17/4D/17.4/On-Server-Startup-Database-Method.301-4899483.en.html https://doc.4d.com/4Dv17/4D/17.4/OPEN-ADMINISTRATION-WINDOW.301-4882847.en.html On Apr 21, 2020, at 7:55, Mitchell Shiller via 4D_Tech

Re: HTTP Request when POSTing does not have a response if the HTTP status code # 200

2020-04-18 Thread Keisuke Miyako via 4D_Tech
that sounds similar to ACI0100045 which was a regression reported and fixed during R6 beta (no problems in versions before or after) it happened, not always, but often with Google API. restricted URL: https://forums.4d.com/Post/FR/31950984/1/31950985#319509852361 so I think it could be

Re: reporting table relations

2020-04-17 Thread Keisuke Miyako via 4D_Tech
you can also introspect relations by parsing the xml from "export structure" example: https://github.com/miyako/4d-utility-structure-to-svg-converter-v2 ** 4D Internet Users Group (4D iNUG) Archive:

Re: Configure 4D server as Windows Service on Windows Server 2016

2020-04-17 Thread Keisuke Miyako via 4D_Tech
4D Server does not have to run on a server OS. many users find the option both practical and affordable. the server side admin window makes perfect sense for those kinds of distribution. for headless deployment, https://blog.4d.com/headless-4d-applications/ you can either: 1. take advantage

Re: Long running reports to disk intermittently disrupted and fail

2020-04-16 Thread Keisuke Miyako via 4D_Tech
also, don't forget to compress the BLOB. text files compact pretty well. > On Apr 17, 2020, at 7:17, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > Once the file is created you can blob it up and move it back to the client. > It will still befaster I bet.

Re: 4D Server v18.1LTS - Startup Takes 10-15 Minutes

2020-04-09 Thread Keisuke Miyako via 4D_Tech
first off, I don't have any answers to your questions. but if I may throw some ideas: > I have an application I'm trying to convert from 4D v17R6 to v18.1LTS. It is > hosted on Windows Server 2016. It was a well-behaved application when running > v17R6 with no notable issues. However, now that

  1   2   3   4   5   6   7   8   9   10   >