On Feb 21, 2020, at 12:45 PM,Keisuke Miyako wrote:
> if the objective is to simply post some key combination:
>
> https://github.com/miyako/4d-plugin-virtual-key/
Yep, that’s the objective.
I wrote my solution back in 2018. I see you created this plugin with first
commit on March 10, 2019.
if the objective is to simply post some key combination:
https://github.com/miyako/4d-plugin-virtual-key/
**
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options:
On Feb 20, 2020, at 11:19 AM,Jody Bevan wrote:
> Thanks for the detailed code on getting this done. I will use that for now.
> When I get time I should be able to write the same type of thing for Windows.
> When I do, I will send it to you.
>
> Nice thing is with multiple tools, one can often
Tim:
Thanks for the detailed code on getting this done. I will use that for now.
When I get time I should be able to write the same type of thing for Windows.
When I do, I will send it to you.
Nice thing is with multiple tools, one can often get done what one cannot do
with ‘plain’ 4D. We
Koen Van Hooreweghe:
> You can set the standard action of the button to 'userMode'. This should do
> the trick imho.
And if that does not work (IIRC it was broken in some version) then put
METHOD OPEN PATH("SomeMethod")
in the buttonscript as a workaround.
Greetings from Germany,
Bernd
reen they click on
> that would post the keyboard shortcuts for the runtime explorer. For example
> on the MacOS doing the following:
>
> If (Is macOS)
> POST KEY(-101;Shift key bit+Command key bit)
> End if
>
> or use
>
>
For example
> on the MacOS doing the following:
>
> If (Is macOS)
> POST KEY(-101;Shift key bit+Command key bit)
> End if
>
> or use
>
> POST KEY(-101;Shift key Mask+Command key mask)
>
> This does not seem to work. Where i
for the runtime explorer. For example on the
MacOS doing the following:
If (Is macOS)
POST KEY(-101;Shift key bit+Command key bit)
End if
or use
POST KEY(-101;Shift key Mask+Command key mask)
This does not seem to work. Where is my thinking wrong?
Thanks
Jody
2017/12/08 20:32、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com d_t...@lists.4d.com>> のメール:
> *POST KEY*(*Character code*("c");Command key mask)
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FA
ON command (16R)
2017/12/08 20:32、Pat Bensky via 4D_Tech
<4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> のメール:
*POST KEY*(*Character code*("c");Command key mask)
**
4D Internet Users Group (4D
I am also having problems with POST KEY in v16. It simply doesn't work :)
Sample code:
*Case of*
*:* ($i="copy")
*POST KEY*(*Character code*("c");Command key mask)
*:* ($i="paste")
*POST KEY*(*Character code*("v");Command key mask)
*:* ($i="cut&qu
em. He prepared a screencast showing me that post key
worked using my database and I noticed during the screencast a message
popped up warning that the database must be used in Unicode mode in order
to be opened and asking to temporarily switch to Unicode mode. I had never
seen that message before and
Hey John,
Yeah, I pretty well guessed something like that was going on in your
case...I mostly answered for the sake of the archives. I often ask
questions and am offered well-meaning and sensible answers...but there's
almost as often a good reason why I'm bearing down on the particular point
Hey David,
Right, CALL FORM will fix a lot of work-arounds needed for previous 4D
versions. But my goal here is to have a single stable code base in 15 until
making the move to version 16. I don't want to maintain two versions if I can
avoid it. That said, I already have some v16 features
Hey John, if you still need to fix what you described, CALL FORM ought to
work. Just past what method you want to run and the target window's form
will run it through EXECUTE for you.
doesn't mean that POST KEY shouldn't be fixed if it's broken, of course
Ken,
I just ran into a problem with POST KEY in 16.2 that works without problems in
15.4. An outside call message is sent from another process and POST KEY is used
in in the outside call event to activate a menu item. For some reason it does
not seem to work right unless I add DELAY PROCESS
> Koen & Steve, thanks for the tip, but in this case I am using POST
> KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
> assigned to a button. It only fails to work in this one converted database.
> I've converted another database to v16 for a differ
lt;kendan...@maxkatzbag.com>
Subject: Re: Post Key command not working in converted 4Dv16 database
Spencer, no change in behavior with disabling any event handler, but thanks
for the suggestion. Ken
**
4D Internet Users Group (
Dv16/4D/16.2/ON-EVENT-CALL.301-3432983.en.html <
> http://doc.4d.com/4Dv16/4D/16.2/ON-EVENT-CALL.301-3432983.en.html>
>
>
>
> > On Oct 9, 2017, at 6:41 AM, Ken Daniel via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Koen & Steve, thanks for the
; wrote:
>
> Koen & Steve, thanks for the tip, but in this case I am using POST
> KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
> assigned to a button. It only fails to work in this one converted database.
> I've converted another database to v16
Ken Daniel via 4D_Tech wrote:
>I am using POST
>KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
>assigned to a button.
In the database settings, do you have the Cancel Input Form
Koen & Steve, thanks for the tip, but in this case I am using POST
KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
assigned to a button. It only fails to work in this one converted database.
I've converted another database to v16 for a different applicatio
Hi Ken,
What particular shortcut are you using?
Also check the case of the character you are using, as Stephen pointed out. In
v14 I discovered a bug when running the command POST KEY(Character
code("A");Command key mask). This was fine in v13 and earlier, but crashes v14,
v15 a
Sent: Sunday, October 08, 2017 8:21 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Ken Daniel <kendan...@maxkatzbag.com>
Subject: Post Key command not working in converted 4Dv16 database
All, I'm having a problem with the Post Key command not working in a
database converted from
All, I'm having a problem with the Post Key command not working in a
database converted from 4Dv14 to v16. Post Key works fine in 4Dv14, and
works in 4Dv15 and even in a newly created database in v16, but not in my
converted database. I've tried resetting the Preferences and Database
Settings
25 matches
Mail list logo