Re: stylized text
my sincere apologies! my previous post was obviously erroneous. the distinction is not between ST and WP, but rather, string manipulation versus range manipulation. > GET HIGHLIGHT, ST SET ATTRIBUTES, etc. > count the "spaces" between characters. > | a | b | c | d | e | > 1 2 3 4 5 6 same rule applies to WP commands that work on range. the other convention applies to commands such as substring, match regex, etc. > a b c d e > 1 2 3 4 5 ** 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: stylized text
HI Thanks for the info. I think it would be a great idea to put this in the documentation, as it is far from intuitive. This is especially true when working from the first character in the text. I for one would never see that there was a space counted in position one even though t did not really exist Great explanation Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. > On May 22, 2018, at 6:52 PM, Charles Miller via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> count the "spaces" between characters. >> >> | a | b | c | d | e | >> 1 2 3 4 5 6 ** 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 **
connect to a pervasive sql database
Hi All, Has anyone done this. I am looking to select some data from a table and import into customer 4D database so as to mark invoices paid. Is the driver only available for windows or is there a UNIX version that can be used on a MAC Thanks and regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ** 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 **
Signature capture from tablet on Mac
Hello, Is someone aware of any solutions available to capture a signature using a Wacom table on osx ? Wacom software seems to be available only on windows, and internet is not helping at the moment Thanks in advance Claudio Braga ** claudiobr...@me.com claudiobr...@mac.com claudiobr...@icloud.com ** ** 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: Signature capture from tablet on Mac
On May 23, 2018, at 8:49 AM, Claudio Braga via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Is someone aware of any solutions available to capture a signature using a > Wacom table on osx ? Wacom software seems to be available only on windows, > and internet is not helping at the moment I can’t help with Wacom, but Scriptel https://scriptel.com offers solutions that work with macOS. They offer plugins to sign PDFs directly or you can interact with the signing app directly via command line to get signatures as PNGs. Jim Crate ** 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: PDFjs component - display PDFs without a plug-in
Hello, thank you for the component! The only thing I´m missing is the "Print the pdf" ? Is there a way to print the displayed PDF-File? Thank you in advance. Axel Kohlepp Jeffrey Kain via 4D_Tech schrieb: Hey everyone, I've created a component and small demo database that lets you use the open source Mozilla PDFjs framework to display PDFs in a web area without using a plug-in. The PDFs are rendered entirely in JavaScript code and does not require anything extra -- no plug-ins in 4D or your browser. It's compatible with 4D 32-bit as well as High Sierra. It's pretty cool. It's supposed to work with Windows on systems with IE versions > 9 installed, but so far I haven't been able to make it work, but I have a very limited test bed of Windows machines to work with. The component and demo are written in 4D v15, and I've included the uncompiled component. The only platform-specific code is in the demo -- the button "Open PDF in Default App" uses AppleScript -- again, there's not much Windows availability here, so I cheated just to get this posted. The PDFjs framework itself is slightly modified - it removes a few buttons from the viewer toolbar that crashed 4D (it's located in the Resources folder inside the component package). But that functionality can be replaced in your 4D form as in the demo. You can print a draft-quality PDF by right-clicking in the web area. A high quality print can be obtained by using the button to save a copy of the PDF or to open it in the default app. You could also script Preview to print it, as well as write scripts to send the PDF to Mail as an attachment. I'll put this on GitHub eventually. In the meantime I'll take any improvements you folks can contribute (just email me). Hope you like it! Download from my OneDrive: https://1drv.ms/u/s!Akpn2ti2N9ePuQFPa0jiG91YjE2z -- Jeffrey Kain jeffrey.k...@gmail.com ** 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 ** ** 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: PDFjs component - display PDFs without a plug-in
Axel, Couldn't you just print the actual document the component is viewing? On Wed, May 23, 2018 at 10:24 AM Axel Kohlepp via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hello, > > thank you for the component! > > The only thing I´m missing is the "Print the pdf" ? > Is there a way to print the displayed PDF-File? > > Thank you in advance. > > Axel Kohlepp > > > Jeffrey Kain via 4D_Tech schrieb: > > Hey everyone, > > > > I've created a component and small demo database that lets you use the > open source Mozilla PDFjs framework to display PDFs in a web area without > using a plug-in. The PDFs are rendered entirely in JavaScript code and does > not require anything extra -- no plug-ins in 4D or your browser. It's > compatible with 4D 32-bit as well as High Sierra. It's pretty cool. > > > > It's supposed to work with Windows on systems with IE versions > 9 > installed, but so far I haven't been able to make it work, but I have a > very limited test bed of Windows machines to work with. The component and > demo are written in 4D v15, and I've included the uncompiled component. The > only platform-specific code is in the demo -- the button "Open PDF in > Default App" uses AppleScript -- again, there's not much Windows > availability here, so I cheated just to get this posted. > > > > The PDFjs framework itself is slightly modified - it removes a few > buttons from the viewer toolbar that crashed 4D (it's located in the > Resources folder inside the component package). But that functionality can > be replaced in your 4D form as in the demo. You can print a draft-quality > PDF by right-clicking in the web area. A high quality print can be obtained > by using the button to save a copy of the PDF or to open it in the default > app. You could also script Preview to print it, as well as write scripts to > send the PDF to Mail as an attachment. > > > > I'll put this on GitHub eventually. In the meantime I'll take any > improvements you folks can contribute (just email me). > > > > Hope you like it! > > > > Download from my OneDrive: > > > > https://1drv.ms/u/s!Akpn2ti2N9ePuQFPa0jiG91YjE2z > > > > > > > > -- > > Jeffrey Kain > > jeffrey.k...@gmail.com > > > > > > > > > > ** > > 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 > > ** > > ** > 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 > ** -- Kirk Brooks San Francisco, CA === *We go vote - they go home* ** 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: procedurally delete anchored image in 4D Write Pro
> On 18 May 2018, at 11:21 pm, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > How can I procedurally delete an anchored image in a 4D Write Pro document? > > I know how to select the image with > WP SELECT(*;"WParea";$image_object) > > But then what? Try: INVOKE ACTION(ak clear;ak current form) cheers J ** 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: procedurally delete anchored image in 4D Write Pro
I think you need to first change the layout to inline (by UI or code), in order to delete an image. but the attribute "wk anchor layout" is not settable with WP SET ATTRIBUTES http://doc.4d.com/4Dv16R6/4D/16-R6/4D-Write-Pro-Attributes.300-3605889.en.html so you need to use INVOKE ACTION instead. syntax: anchorLayout?value=inline http://doc.4d.com/4Dv16R6/4D/16-R6/Using-4D-Write-Pro-standard-actions.200-3605850.en.html#3610756 only then can you clear the selected image. > 2018/05/24 8:03、Justin Carr via 4D_Tech <4d_tech@lists.4d.com> のメール: > INVOKE ACTION(ak clear;ak current form) ** 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: procedurally delete anchored image in 4D Write Pro
On 24 May 2018, at 10:01 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I think you need to first change the layout to inline (by UI or code), in > order to delete an image. > > but the attribute "wk anchor layout" is not settable with WP SET ATTRIBUTES > http://doc.4d.com/4Dv16R6/4D/16-R6/4D-Write-Pro-Attributes.300-3605889.en.html > > so you need to use INVOKE ACTION instead. > > syntax: anchorLayout?value=inline > http://doc.4d.com/4Dv16R6/4D/16-R6/Using-4D-Write-Pro-standard-actions.200-3605850.en.html#3610756 > > only then can you clear the selected image. Seems to make no difference to me? The INVOKE ACTION(ak clear;ak current form) works regardless of the images being forced inline or left as anchored. The main "trick" is that the Write Pro area MUST have the focus, i.e. if you're trying to execute this code from a button, then that button must not be focussable. cheers J ** 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 **
Email Errors - Intermittent - Socket Descriptor Error
About half the emails sent from my application have been returning an error and not sent: (Today, about 60 of 120 failed) Error Text: "Specified socket descriptor is not valid for this application [10038]" I've not got a clue what this means Some go through, some don't. "Usually", it's the same email addresses that fail, but not always. These email typically have 2 pdf attachments Windows 2012 Server 4D Server 16r6 Using "SMTP_Send" Internet Commands Port 587 Authenticated User/Password Any help, most appreciated. Randy Engle, Director XC2 Software LLC – XC2LIVE! ** 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 **
Why are columns of a non-focusable listbox not enterable?
Hi, I need some listboxes that are not focusable However, as a side effect then the columns of these listboxes are not enterable Does anybody know the reason of this? Does this make sense? Gr, Piotr ** 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 **