for that, I think you are over-thinking it,
just lookup the DOCUMENT system variable which contains the full path.
> 2017/08/23 4:10、Steve Slanec via 4D_Tech <4d_tech@lists.4d.com> のメール:
> then I could get the path, append the suggested file name, and pass the whole
> string to Select document()
> On Aug 22, 2017, at 9:39 AM, Drew Waddell via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Yeah, it's incredibly noisy but we only keep the information around for a
> release, then we fire up a new Git repo for the next one. Like I said it's
> not perfect, far from it honestly, but it gives
on mac I think the settings can be found in
/Users/{me}/Library/Preferences/com.4d.4d.plist
in other words you can retrieve it with defaults
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/defaults.1.html
2017/08/23 4:10、Steve Slanec via 4D_Tech
Kirk:
The way we did this was to have one picture object on the form for our button
palette. When we built the button pallet we created the SVG on the fly and
positioned the buttons where we wanted them to go. We did this because we
controlled through security what buttons were available for
Keith,
On Tue, Aug 22, 2017 at 3:54 PM, Keith Culotta via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> I think your are right about that. A button is a numeric value. The
> button's picture is an [appendage?] that needs a source. Didn't someone
> come up with a way to "create" variables at
Hi Sujit,
You can try using PHP EXECUTE but it may not have the required modules required
by the script.
http://livedoc.4d.com/4Dv15.4/help/Title/en/page2802.html
You mentioned running the PHP script through Apache and running it from the
browser, but then you also mention CRON.
I assume that
I think your are right about that. A button is a numeric value. The button's
picture is an [appendage?] that needs a source. Didn't someone come up with a
way to "create" variables at runtime?
Keith - CDI
> On Aug 22, 2017, at 5:30 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
>
Keith,
I'm trying to avoid using process vars, on one hand, and a separate var for
the button image, on the other. Pushing the envelope for totally portable
code on forms, I guess. The stuff I'm doing is very simple (things like
plus signs, the small triangular arrows in round buttons, that sort
This got somewhere, but "pic" has to be a process variable, and can't be
cleared (pic:=pic*0).
$svg:=SVG_New
SVG_New_rect ($svg;1;1;4;4)
pic:=SVG_Export_to_picture ($svg)
$format:="1;1;pic;0"
OBJECT SET FORMAT(OBJECT Get pointer(Object named;"Button")->;$format)
SVG_CLEAR ($svg)
Keith - CDI
>
Saved as a method? ..that draws the selected button and returns a picture to
the form object
object get pointer(object named;"myButton")->:= draw_Pic("okbutton")
Haven't tried it
Keith - CDI
> On Aug 22, 2017, at 4:56 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Hi
I have a few scripts that run on an Apache server with the relevant SDK. I
can run these scripts manually from the browser. The result "echo" ed to
the console.
Currently, it is run from a Cron Job but I would like to run it on demand
from 4D and return the result.
What would be the best way to
Hi folks,
I'm playing around with some SVG to create simple button graphics and
icons.
How can I set an SVG object as the picture source for a button without
writing it to a file or saving it in a process var?
Many thanks
--
Kirk Brooks
San Francisco, CA
===
*The only
Ferdinando:
I have sent the contents of the On Backup Shutdown method that we use.
When the backup quits for what ever reason, we determine the results. We then
send a message to the System Admins (and any others needed) to let them know.
I have sent it as an Exported 4D method.
Let me know
Thanks for your suggestion. Sorry, I should have stated my environment:
4D v16.1hf2
Mac OS X 10.11.6
The problem is I want to use a “memorized path” as documented in the Select
document command, which states that if you pass a number instead of a path as
the first parameter, then 4D will use
This will work but I am not the person looking to buy.
Regards
Chuck
Sent from my iPhone
> On Aug 22, 2017, at 6:16 AM, Koen Van Hooreweghe via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> Hi Chuck,
>
> Maybe you can ask your 4D rep if you can buy v15 license with maintenance
> contract
Yeah, it's incredibly noisy but we only keep the information around for a
release, then we fire up a new Git repo for the next one. Like I said it's not
perfect, far from it honestly, but it gives us something which is more than
what is currently capable in native 4D.
Drew
-Original
Neil.
I would be interested in getting some info on doing this.
I would like to move my repositories from local stores to a github. When i
tried to set it up i was getting a problem with MaxBuffer size(not sure if I
need to start with an empty(ish) directory on the local drive.
Anything you
We use this component daily:
https://github.com/elutz/vc-framework-v15
After export, which happens instantaneously, the changes are committed into a
Mercurial VCS. We do the check in manually, but it would be possible to define
hooks to do an automatic check in. All is explained on the github
When are you doing your commits? With each method? Daily? Neil suggested he was
looking for incremental commits. Which seems ‘noisy’.
> On Aug 22, 2017, at 9:00 AM, Drew Waddell via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> I have done this. I used Macros to run methods that would commit
I have done this. I used Macros to run methods that would commit the text of
the methods edited to a Git repo, there is an on save event. It's definitely
not perfect but it helps my team track changes and look up potentially "ghost"
changes in our codebase.
Drew Waddell
Development Team Lead
Hi Jody,
Please send again.
Thanks
/Ferdinando/
Il 21/08/2017 17:48, 4d_tech-requ...@lists.4d.com ha scritto:
Message: 12
Date: Mon, 21 Aug 2017 07:08:13 -0600
From: Jody Bevan
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Backup failure
Hi Chuck,
Maybe you can ask your 4D rep if you can buy v15 license with maintenance
contract and ask for a v11 license as temporary solution?
HTH
Koen
> Op 22 aug. 2017, om 11:54 heeft Chuck Miller via 4D_Tech
> <4d_tech@lists.4d.com> het volgende geschreven:
>
> They can not be legit buying
I guess my old brain is starting to falter.
I still cannot get this right.
Still battling with this problem.
Please forgive my ignorance.
Using Windows 7 Pro (Same as my clients)
On "https://github.com/miyako/4d-plugin-json;, I download the zip & then
copy the JSON.bundle from
Hi Keith,
Thanks… looks like we will have to wait a bit longer to resolve expressions in
the headers…
Regards,
Rudy Mortier
Two Way Communications bvba -
> On 22 Aug 2017, at 15:31, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
>
> Maybe not super useful,
Thx Koen,
I had a look myself at the 4DWRPRO object in the debugger and like you say, not
much there that could be useful…
Regards,
Rudy Mortier
Two Way Communications bvba -
> On 22 Aug 2017, at 15:22, Koen Van Hooreweghe via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
>
I recall that someone has worked with Git as a 4D code repository but I don't
exactly remember where I heard it.
I'm looking to automatically check out and check in 4D methods to Git as they
are modified via a 4D client. To give you the full picture we want to use TFS
and single sign on to
Maybe not super useful, but this:
WP EXPORT VARIABLE(waAreaPtr->;$destination;wk web page html 4D;wk html debug)
SET TEXT TO PASTEBOARD($destination)
gives this result:
http://www.w3.org/1999/xhtml; xmlns:d4="http://www.4D.com;>
4D Write Pro New Document
I am not in a position to look in detail,
however, it is possible to specify a memorized path.
This path is the 'default' path used when an open/save dialog is presented
Then in the open/save dialog you can specify a specific file name
> Does anybody know if there is a way to present a Save As
Rudi,
Probably not for the faint-hearted! But I think it is not possible to access a
4D Write Pro object’s contents and you’re limited to the ST and WP commands.
I did a quick test:
C_OBJECT($wpObject)
C_TEXT($jsonText)
$wpObject:=WP New
ST SET TEXT($wpObject;"Hello World!")
TRACE
Damn it ;-)
Would we be able to check the actual 4D Write PRO object and manipulate it?
After all, it is a C_Object…
Regards,
Rudy Mortier
Two Way Communications bvba -
> On 22 Aug 2017, at 12:13, Koen Van Hooreweghe via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> Hi
Hi Rudi,
Same issue, which makes 4D Write Pro for me a no go (yet).
Koen
> Op 21 aug. 2017, om 13:55 heeft Two Way Communications via 4D_Tech
> <4d_tech@lists.4d.com> het volgende geschreven:
>
> Using the old 4D Write, I loop through all the frames (frames 1-> 7), using
> ‘WR SET FRAME’ .
They can not be legit buying license in this way
Regards
Chuck
Sent from my iPhone
> On Aug 21, 2017, at 9:06 PM, Ronnie Teo via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Hi, thanks for your replies.
> The reason why the customer needs v11 server is this These are new
> users from a
Hi all,
Just a quick tip.
If you get tons of errors on local variables when ‘All variables are typed’ is
turned on (like me, when I checked this in a 20 year old project), it might be
impossible to continue normal development for a while. 4DPop might be the right
tool to make the transition
Hi Steve,
Which 4D version?
Mac or Windows? There should be no difference, but I tested it on Mac using v15.
$path:=“Macintosh HD:Users:myname:Dektop:filename.txt”
$path:=Select document($path;”text”;””;File name entry)
The Save As dialog opens in this case the desktop and sets the file name as
Thanks Justin,
I was afraid I would get this answer…
Rudy Mortier
Two Way Communications bvba -
> On 22 Aug 2017, at 04:03, Justin Carr via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> On 21 Aug 2017, at 9:55 pm, Two Way Communications via 4D_Tech
> <4d_tech@lists.4d.com>
35 matches
Mail list logo