VFP -> Checkout -> WSH
VFP -> Checkout -> WSH
(OP)
I am trying to send Ctrl+Enter to the dialog that appears when the VFP Project manager files object checks out a module.
The checkout dialog is inside the vfp window, so AppActivate does not see it appear.
Anyone know how?
The checkout dialog is inside the vfp window, so AppActivate does not see it appear.
Anyone know how?
Mike Yearwood - Former Microsoft Visual FoxPro MVP award winner. TWICE
RE: VFP -> Checkout -> WSH
CODE -->
^{ENTER}
You might also try:
CODE -->
That's a caret followed by a tilde.
But I don't know if it will work in the Project Manager dialogue you mentioned. But worth a try.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads
RE: VFP -> Checkout -> WSH
Mike Yearwood: - unfortunately I don't know the answer.
You keep complaining in your threads that the other members insult you and that you then (also aggressively) defend yourself.
Seeing the dialogue above, I don't know why you respond to Mike Lewis's attempt at help with "my god" and "do you really think I'm stupid?" begins.
Who can still answer you if the person has to fear that you will immediately snap at them?
Hopefully I don't get an aggressive answer now.
greeting from Germany
Klaus
Peace worldwide - it starts here...
RE: VFP -> Checkout -> WSH
Don't get your hopes up
RE: VFP -> Checkout -> WSH
Regarding GoFish: You conclude your fix is rejected. Was that explicitly said or responded to anywhere? Your input could simply not have reached the responsible owner, because he's inactive, resigned, retired or even died. A user reporting the same error twice, he might be forgetful, what's bad or stupid about that? He might just follow up after all that time, not referring back to his first report, because there is no point urging a reaction now when he didn't follow up earlier for not getting a reaction.
There often is no point in getting upset, because in the first place that's causing a bad day for you, not for the other or others witnessing it.
Last not least. You point out that you protest against that and claim all of this to be intolerable behavior of the rest of the world. Well, I'd think about this several times more, if I were you.
Chriss
RE: VFP -> Checkout -> WSH
You seem sure this dialog is a VFP dialog, perhaps mainly because "AppActivate does not see it appear"? Anyway, your focus is on how to send CTRl+Enter to a VFP dialog via WHS SendKeys method, isn't it? I don't think it's stupid or judging you as stupid to point out how keys need to be passed in to the WSH SendKeys method using circumflex. Actually it's the only open question I see.
I'm not sure, but I don't think the dialog you want to automate is a VFP dialog. Before I jumpt to conclusions, if it is a VFP dialog then the simplest of all possible solutions would be a KEYBOARD command right before calling Checkout. I'd guess you tried that, so it's no solution, which would point out it's no VFP dialog once more.
I don't know and I am not willing to set up something to verify it, as I do what I think most do - not use the IDE integration via an MSSCC interface anymore. Almost no SCM supports this legacy interface out of the box, Team Foundation Server and Team Explorer use TFVC. SCC providers only exist for TFS up to 2017, only after installing an add-on. Just like many systems only offer this interface by 3rd party agents acting between IDEs and SCM, like AgentSVN or AgentGit, Tam Tam SVN SCC or others.
To send keys to other process windows, WSH Sendkeys is able, but only after they become active. And when they are active, I think they are modal, so you don't get there this way. So if KEYBOARD doesn't work then SendKeys API to Desktop, meaning HWND=0, right before calling File.CheckOut().
Chriss
RE: VFP -> Checkout -> WSH
Tamar
RE: VFP -> Checkout -> WSH
I could only read very briefly your long answer and explanation concerning my thread (in position 3 here), - Thank you - but now I see - it has been deleted.
I can remember that it was about a GoFish Project - and that you attacked Mike Lewis and someone else with your answer again.
It is my understanding that I am not in a position to initiate such deletions - nor have I lodged a complaint - because I have not been attacked.
The management seems to check here automatically whether someone is being attacked or whether swear words are being used.
So there's no point in portraying someone as stupid, fraudulent, or deceptive - and that's a good thing.
I think if you can only contribute to technical solutions thanks to your great knowledge - then no one will delete your threads - why should they?
It would be a shame if that happened again - after it has happened more than once - and it only ever happens to you.
We are allowed to say anything to each other technically - and there are often pros and cons.
That's a good thing, because sometimes the solutions really aren't easy.
But the climate here in the forum remains clean - and I can't imagine that anyone here would want anything else.
Certainly not you either.
Thank you for your understanding.
Best regards
Klaus
Peace worldwide - it starts here...
RE: VFP -> Checkout -> WSH
Mike Yearwood - Former Microsoft Visual FoxPro MVP award winner. TWICE
RE: VFP -> Checkout -> WSH
That is either malicious or dumb.
Mike Yearwood - Former Microsoft Visual FoxPro MVP award winner. TWICE