I then Alt-Tab to the other app and paste (Control+V) into its data capture applet and Alt-Tab back to VFP and run either of the two PRGs (my choice at this point, it's not always the same) by clicking it in the Command Window and hitting. Then I run either of two PRGs from the Command Window to put appropriate text on my clipboard. This thing is something I've developed over the last few months, further refinement would nice, fun too! I first run a little PRG to open a table, set index and find the initial record. Maybe incorporating that into my routine will further automate the entire process, make it go faster and easier. I'm curious about that Windows API code, could you paste in an example call? I've never done that. I guess it's not a big deal because my Win7 laptop should be up in a day or so. I do the Alt-Tab thing over 50 times at a sitting, possibly closer to 100 times, depending on the state of the data in the other application. It's just me running this thing, but when I do this (once a week) I have to do it many times and I have a muscle-memory kind of activity going on. Probably changing the dockable state is the easy answer. VFP screen focus issue dmusicant (Programmer) Why is the behavior different for my two machines and is there a way I can eliminate having to press Alt+Tab twice to get back to my other app? RE: Command Window vs. It seems that this is because on this machine (and not the other, evidently), the Command Window has focus and I have to first give the VFP main screen focus before I can get back to the other app, therefore having to press Alt+Tab twice. But on the WinXP machine I have to press Alt+Tab twice instead of once. I then Alt+Tab back to the other app to paste. This works like so: I run the code from the Command Window, rerunning one of two routines (depending on what data I want on the clipboard) by clicking my cursor next to the command and pressing Enter. and I'm using another of my machines to run all this. I've been using one particular Windows (Win7) machine to do this, but right now that machine is down for repairs, etc. This works nicely in that I can Alt+Tab from VFP 9.0 to my other app, and do my pastes. I have written some code that puts data on the clipboard that I paste into a totally different (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |