sending keystrokes in VBScript -
Does anyone out there know of a command similar to SendKeys in VB for use in VBScript? I am trying to open a Dos window from VBScript code and send it some commands to automate a service. If anyone has any tips, i would appreciate it.
Thanks
sending keystrokes in VBScript -
Does anyone out there know of a command similar to SendKeys in VB for use in VBScript? I am trying to open a Dos window from VBScript code and send it some commands to automate a service. If anyone has any tips, i would appreciate it.
Thanks
Sending keystrokes to a Directx Game (VC6) -
Hi!
it's about 1 week that i'm trying to send keystrokes to a windowed 3d videogame.
It's a game where I'm able to chat or to use Keys to perform actions.
If chatting, (same window) i'm able to send keystrokes...if I'd want to eg:move my character, it just ignores the keystrokes I s
Sending Keystrokes to a file -
Hi,
I was wondering how to send keystrokes to a file. I can get my vb program to display the keystrokes but do not know how to make it send them to a file. I am using VB 5. Please Help.
Kevin
Sending Keystrokes to the System -
Hello!
I want to send some keystrokes to my OS. I just tried to do it via SendKeys, but it seems dono work.
I want to send :: Chr(51) & Chr(76), in order to lock Windows XP.
I tried it with keybd_event, dono work either.
Somebody have any ideas?
Thanks in andvance, any
Sensing keystrokes -
I need a routine that will allow me to sense the keyboard and keystokes. I have tryed to use the Form_KeyPress and FormKeyDown routines with only partial success. After a while they seems to lock up and stop functioning.
Is there another routine that uses the API or something, that
Mixed Keystrokes -
I am making a text editor and a RTB servers as the main interface. I have a form with key preview turned on. When someone types in the RTB the form doesn't get the keystrokes at all? How can I let the form get the keystrokes first, deal with them and then let the RTB have them?
Sending Keystrokes to another app -
Hi
Simple question..
How do i send a keystroke ( F12 for example ) to another program that is running by using its hwnd?
Thanks
Global Keystrokes Capturing -
does anyone know how to capture keystrokes globally. What i mean Globally is that anything that is being typed on the computer, not only in my application. For example, capture the keys when typing something in the MS Word or anything else.
I just want to be able to send these keystro
SetWindowPos -
These are my steps:
1) Set my VB form always on top using SetWindowPos.
2) Call another application, X.
3) Get its handle, using FindWindow.
4) Set foreground window to X, using SetForegroundWindow to let X receives all the keystrokes.
4) Send keystrokes to X using SendKeys.
sending mail through vbscript -
can anybody help me to send mail to account through vbscript code
thanx
Calling a VBScript from within a VBScript -
I have a VBScript that needs to call another VBScript and I'm not sure how to do it. The called VBScript also has 3 command line parameters. Any ideas on this?
Thanks,
intercepting keystrokes! -
how can i intercept all keystrokes, even when my application doesnt have focus and is running in the background? thanks
Trapping keystrokes -
HI,
How can I trap keystrokes of my computer through API. Can any one please help me through code.
Capturing Keystrokes...sorta but not really important... -
Hey all,
Is there any way for VB to capture keystrokes even if it doesn't have the focus? I need to close in on some person(s) who think they're being cute and wrecking network IDs at work.
Sending file in VBScript -
hi to all,
please help me how can i send file using vbscript...do you have sample code?...
is there a special code for that?
thanks!
Stopping Keystrokes -
Hi,im a fairly new vb programmer and i was curious....
is there a way to actualy STOP people from using keystrokes like alt-f4,ctrl-alt-delete,[windows key] etc....
any response would be appreceated
help with sending request to web application -
I'm new to vbscript and asp, could anyone tell me how to send a request, when the request your sending is basically an xml document. I'm not sure if that makes sense, but i'd appreciate any help.
VB or VBScript -
Hey, posted this over in VBScript also. I am very new to VBScript. I know VB pretty good though, so hopefully this helps. I am trying to use VB or VBScript to open or pass a command line to Monarch Pro to take a report and put it into a template, that is already created, load it to a
Detecting keystrokes within other programs -
I`ve been developing a add-on program for a game named Subspace, which is supposed to detect a certain combination of keys which is, in turn, going to trigger an action that sends text back to the game...
Now, Sending text to the programs goes all fine & dandy using the AppActiv
VBScript - Catch keystrokes -
You know, like the old KeyPress(Keyascii as Integer) thing. Can it be done? I know the txtTextBox_OnKeyPress bit works, but the KeyAscii as Integer don't - how do I do that bit?
TN3270 or HLLAPI sendkey -
I'm trying to create a simple script to send some keystrokes to a TN3270 terminal session (Hummingbird HostExplorer). If I send normal characters, the vbscript works fine, but when I use a command like SendKeys "{ENTER}" nothing happens. From what I've read, the TN3270 window
Dynamically creating a form and control in a VBscript -
I need to create a VBscript which has 1 form, and at least one control.
I want to prompt the use to change the drive letter.
So I need a form, and a Dir List Box.
However, I don't know how to add a form or control to a vbscript, since it seems to be limited to variant data types
Sending keys to DOS program -
I have a DOS program and i want to send keystrokes to it just simple things like key 'z' is is down and when release sends its released... sendkeys and sendmessage dont seem to work.
Manipulating other applications -
Does anyone know of a way to manipulate another application from within VB.
I would like to manipulate Paint Shop Pro from VB in order to do some batch functions to a list of files. Sending keystrokes to PSP would do nicely, but I know no way of doing this.
Cheers,
Jez
[2005] get keystrokes(best rate) -
well putting getasynckeystate into a timer and check doesnt work well because the rate with recieving and sending is different.
i was wondering if there is a way to capture keys as windows does.
Sending Keystrokes to Game Window -
What I want to do is create a program that sends one keystroke (the number '1') to a game window every minute or so. I searched for many different ways and tried them all (I think) and the keystrokes never each the app (at least the game never performs the function tied to '1')
I'
[2008] How to code this -
I want to automate the deletion of certain parts in my forum. What I'm trying to do is this: I enter a string, then it calculates the ammount of characters, then keystrokes the delete button or backspace button, a radio button option switches between them, the same ammount of times as
Simulating typing -
Is there a way to simulate keystrokes, so that they will appear in another program? What I want to do is have a list of links that my browser visits on a regular basis, being controlled by a program running in the background. I'd need to know how to do special keystrokes (tab and ent
Keystrokes... -
Can ne1 tell me how to send keystrokes as if the user had pressed them? And is it possible to send them to a particular program while its running?
Reading Keystrokes -
Hey,
I have a question regarding reading keystrokes when the program is minimized and is not in focus... For example the user has word open and types something. Is there a way to record their typing. It should work similar to Keydown. I am thinking a way using some API it should be
Setting focus to textbox of a external application -
Hello,
I have this VB.NET application from which I would like to automate simple tasks on external applications like clicking on a button or sending text to a specific textbox.
I am able to activate the external app and send the keystokes to it but when that external application
Do I need VBScript for this -
I am very new to VBScript. I know VB pretty good though, so hopefully this helps. I am trying to use VB or VBScript to open or pass a command line to Monarch Pro to take a report and put it into a template, that is already created, load it to a certain website, login automatically w/
Re: VBScript vs. ASP -
Hello.
I am starting to learn ASP and VBScript. Could you please tell me how they are different, how they are related, or whatever in terms of HTML?
I know that the tag to start any VBScript (ditto to Javascript) is <SCRIPT LANGUAGE="VBScript">, and the code f
[2005]Transferring data between apps -
Hey everybody.
Right now I am working on a program that will automate a design process. The end goal is to create a relatively simple 2D Cad drawing with some information in a title block. Along with this I need to get relevant data into a database.
The DB end has gone fine so f
Using Keystrokes.... -
OK, I need a little help... I was wondering how to capture keystrokes. I'm making a little game here and was wonding how to use the arrow keys as controls.
I can build the logic behind this, but would just like a form to start with. When the form is up and you press either up, down,
VBScript Newbie Question (VERY EASY) -
Ok, I'm new to VBScript, so don't laugh.
How do I take the VBScript source I made in MSE and create a vbscript file?
Do I just copy/paste it and change the extension like I would an HTML file?
A somewhat difficult question about VBscript -
Is there any way I could allow VBScript to run under Mozilla and other alternative browsers? I know VBScript only work under Internet Explorer. I wonder is there's any hidden tweak or special program to allow VBScript to be enable in Mozilla?
Thanks,
Greg
vbscript lost focus routine -
what the heck is the proper syntax for writing a lost focus routine in either vbScript or ASP? I know VB but am new to both vbScript and ASP. I noticed that what is Text1_GotFocus in VB is Text1_OnFocus in vbScript. What is the vbScript equivalent of Text1_LostFocus?
[2005] Detecting Keystrokes -
Hi guys, I can detect key strokes using the keydown function, but this only works when the form has focus, I am after a way to detect all keystrokes despite what program has the focus, can any one help?
Intercept keystrokes to browser -
Hey guys...
i'm wondering how i would go about intercepting or hooking or whatever a couple of keystrokes going to any browser window...
how would i go about doing this?
let's say the user entered something into a textbox on my page, i want to be able to intercept that....