Keyboard scripting ? possible?

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
User avatar
rovingcowboy
Posts: 1504
Joined: Wed Dec 18, 2002 10:14 pm

Keyboard scripting ? possible?

Post by rovingcowboy »

:banghead: :banghead: :banghead: :banghead: :banghead:

its a 5 headbanger question. :blink:

look out here it comes a possible newbie style question. :stir the pot:



can you script a vb script to control the keyboard strokes.
so you don't have to push each one of a millon buttons on
some program, all the time?


:unsure:


okay i know you can do macro's and i know you can do scripting with vbs to control keyboard operations.
what i posted that for was to get you in the right mode of thinking because that
is what i need some help with. no i am not codeing what the trouble is as follows"

media player has script in vbs that will press the shortcut keys to change the song genera for each song when the song starts to play or load in the player.

the media program keeps tossing out at random intervals an error alert and crashes the media program when i click on the okay button of the error alert.

this error alert is always.
"insert the meda program name" has caused an page fault in the
EQ .dll at .........................................................
....................................................................
......................................................................"


the ............ are all kinds of memory location numbers. and blocks.

they always seem to be the same numbers.

what i am starting to wonder is if the window's os of any version has any known or thought fixed errors that are dealing with scripts pressing the shortcut keys for any program..

does any one here know of any or remember something happening that is along this situation and how to fix it if it can be fixed? :unsure: :(


Archived topic from Iceteks, old topic ID:4728, old post ID:37473
roving cowboy/ keith
User avatar
richardj
Posts: 1382
Joined: Fri Sep 10, 2004 11:02 pm

Keyboard scripting ? possible?

Post by richardj »



Try increasing the size of your virtual memory. (page file)

If that doesn't do it , uninstall & reinstall the media player. :awesome:

Archived topic from Iceteks, old topic ID:4728, old post ID:37477
User avatar
rovingcowboy
Posts: 1504
Joined: Wed Dec 18, 2002 10:14 pm

Keyboard scripting ? possible?

Post by rovingcowboy »

already done that richardj the swap is on a different hd,
one i use for only the swap and the temp files.
but win98 don't like swaps that are larger then 1250 mb's it starts doing
even stranger things when i go over that limit so i set it back to that one.

but that should be enough for the swap file.

i have uninstallled the media player and reinstalled the updated version.
but the error still shows up at times.

which is why i am wondering about the keyboard connection to the possible
cause of this error.

the other strange thing is that the error is also showing up on winXp some times.


:(

Archived topic from Iceteks, old topic ID:4728, old post ID:37478
roving cowboy/ keith
User avatar
richardj
Posts: 1382
Joined: Fri Sep 10, 2004 11:02 pm

Keyboard scripting ? possible?

Post by richardj »



What to do about a Page-fault, Illegal operation, or Fatal exception Error

Intended For
Windows Me
Windows 98
Windows 95

These errors are usually caused by a bug in software, where two applications (or drivers) try to use the same part of your memory. For the most part, these are intermittent errors, and aside from the annoyance, they can be ignored.

If, however, this is happening frequenty, it can be caused by anything, including bad RAM, buggy drivers, and disk errors (run SCANDISK to correct). The best strategy is to try to figure out how to reproduce the problem, and then contact the manufacturer of the offending product. Write the message down, but keep in mind that all of those numbers (memory addresses) are absolutely useless to you; don't bother recording them unless a technician specifically asks you to do so. See Resolving Hardware Conflicts is you have reason to believe it's hardware related, or check out disk and file corruption for yet another direction.

I would start by going HERE

Do a full scan--mine takes overnight to do it.

It works great, scans for virus & bad registry items & junk files.

Then run scandisk. :thumbsup:

TRY THIS:

RESOLUTION

To resolve this issue:
1. Click Start, point to Find, and then click Files or Folders.
2. In the Named box, type win386.swp.
3. In the Look in box, click Drive C, and then click Find Now.
4. Right-click the Win386.swp file, click Properties, and then click to clear the Read-only check box.
5. Click Apply, and then click Close.


Virtual memory is designed to be dynamic. If the swap file (Win386.swp) is set to read only, Windows uses the amount of memory that is allocated. When Windows attempts to expand to compensate for programs that exceed the physical memory, system error messages are generated.

Archived topic from Iceteks, old topic ID:4728, old post ID:37479
User avatar
rovingcowboy
Posts: 1504
Joined: Wed Dec 18, 2002 10:14 pm

Keyboard scripting ? possible?

Post by rovingcowboy »

wow since you posted that for me
i ran a check and came up to what might be the cause of the trouble.

since it i happening on both computers win98 and winXp ,
and i don't use one script for the program on win Xp, i can then eliminate
that as the cause of it.

what i do use on both is the media program, and the same keyboard and that
makes me think it is the keyboard drivers messing up with the program
and trying to use the same memory at the same time. since this and the win98

came out clean on any tests which i do i use other third party software
on he win98 since it is not online anymore. and the stuff in this win Xp is only
3 years old and no other programs have issues like this. so it is most likely the program and the keyboard drives.
i use the ergonomics keyboard from microsoft the white one with the ps2 cord.

since the program has a keyboard monitor to watch it for the pressing of shortcut keys that seems the most likely critter to cause the troubles.

thanks richard that has been driving me nuts the last 8 months or so.

:awesome:


Archived topic from Iceteks, old topic ID:4728, old post ID:37480
roving cowboy/ keith
User avatar
richardj
Posts: 1382
Joined: Fri Sep 10, 2004 11:02 pm

Keyboard scripting ? possible?

Post by richardj »

You're welcome, I hope you actually find the problem

Page faults are memory or driver conflicts, as far as I know.

If you are installing drivers for XP, uninstall the keyboard & see if XP can install it's own drivers.

Here's a site with a ton of drivers, see if your keyboard is here.


CLICK :thumbsup:

If you go to the Microsoft site & page down there is a wizard to help you find software for your keyboard/mouse.

CLICK :handintest:

Archived topic from Iceteks, old topic ID:4728, old post ID:37481
User avatar
rovingcowboy
Posts: 1504
Joined: Wed Dec 18, 2002 10:14 pm

Keyboard scripting ? possible?

Post by rovingcowboy »

no i am not installing drivers. the trouble is only with this one media program. and it is on both computers i use that program on. i been trying to find
the cause for months. they did not believe me that there was any trouble when
told them but after so many times of me telling them and some one else told them.
then they also started to hunt for it. but they could not find it either.

i think it is the keyboard because that is the only thing that is used on both
computers besides this program. that would have anything to do with the areas of the error reports. if i don't use that program i dont get the reports so it has to be something in that programs code. with your post i told them what i thought might be the cause of it and maybe they can find it now. ? B)

and they even have a debug program for their program to help find the errors. but that could not even catch it. :cry:


Archived topic from Iceteks, old topic ID:4728, old post ID:37482
roving cowboy/ keith
User avatar
richardj
Posts: 1382
Joined: Fri Sep 10, 2004 11:02 pm

Keyboard scripting ? possible?

Post by richardj »



If the installation package does NOT use the Windows installer,

I would uninstall the program & reinstall it in safe mode

Windows installer won't run in safe mode. :dosgonebad:

Archived topic from Iceteks, old topic ID:4728, old post ID:37486
Locked