Jump to content

dont want it running all the time


Recommended Posts

I found your post (wel... posts...) at Acer support :) Too bad no one responded until now.

This is a hardware problem and it is a very old monitor as well. Maybe this is why it was given to you? ;) Anyway, for regular consumer monitors like these, you're not going to be able to affect those kinds of internal monitor settings through software running on your computer because they're internal to the monitor itself. (The only control that you have over it from your computer is of course choosing which video streams in which color depths, resolutions and refresh rates you send to it.)

The only thing I would know to try is setting your screen to different combinations of resolutions, color depths and refresh rates (which you should be able to set in your Windows display/monitor settings) and see if the problem is specific to a certain combination of those. Other than that I guess you're going to have to live with using the OSD menu options manually.

Note that this has nothing to do with AutoIt anymore though :)

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Hi SadBunny,

What can i say? you found my post on that other site,
Your diligence is outstanding.

If you read it through, then you may have missed the bit where i found 
that by pressing the Alt Gr and F11 keys on my computer keyboard, this
kicks the ACER monitor into performing an 'Auto Config' which sets the
screen back into its proper place nicely.

This action is what i wanted to achieve with a batch file, which i am
told cannot be done with a batch file - but can be done with a script
file. I am still wondering if it could be done with a batch file as i
had thought, i vaguely recall stuff like that being done with "COM"
commands, but maybe its only characters and not function keys.

However i am told a script file should be able to do it.

So its not really got anything to do with AutoIt,
but for me its still a script-writing problem,
If i need assistance with it then i shall try to find a place on here
that can help.

When i saw you put "no-one responded til now" i thought blimey some
one has responded, but when i looked there were still no answers.

Yes it is an older monitor, and i had wondered exactly that,
maybe this is why they gave it away.

Yes i have tried various different resolutions and colour settings.
i havent tried diferent refresh rates, but i will now.

I did find that changing from 'Hi color 16 bit' to 'True color 32 bit'
made no difference that i could see, but it did kick in the Auto Config.

If a script can be made to simulate "Alt Gr" + "F11" then i feel this
should do the job.

Meantime, im gonna try fiddling with the refresh rates.
I just hope it doesnt prevent me from seeing the display,
cos then i wont be able to put it back again !

Regards, John :)

 

( and you are correct, i use notepad then copy/paste)

Link to comment
Share on other sites

Ah, indeed, my diligence didn't go that far to read all of that. Yeah I missed that point.

Alt-F11 probably kicks something in full-screen mode or changes something about the video, which can affect the resolution/color depth/refresh rate that the image is sent to the monitor with (depending on what's on display). This does not emulate that hardware button press, it just triggers your monitor's automatic calibration because the video mode changed. Makes it more plausible that you are somehow feeding that monitor a video mode that it may not be "happy with" so to speak. I'd still recommend investing in figuring that out.

Anyway, yeah, just writing a script that "presses" alt-F11 is easy enough. Check the helpfile for the Send command, there are a couple of ways, like:

Send("!{F11}")
Send("{ALTDOWN}{F11}{ALTUP}")

Not sure whether either of these actually does what you need, but you could try.

 

18 minutes ago, John1 said:

( and you are correct, i use notepad then copy/paste)

57.gif

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Wouldn't that send and release RALT and then send and release F11? There's altdown to keep it (androgynous alt? left alt? right alt?) pressed or "!" to combine it with the next keystroke...

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

ALT GR is name on German keyboard for the ALTkey on the right to get special char's like ²,³ {[]}\|@~ €. For € i have to hold ALT GR and press e. But this doesn't work and i (and i think TE also) can't find the similar {ALTDOWN} and {ALTUP} for the ALT GR key. 

 

 

 

Link to comment
Share on other sites

2 hours ago, AutoBert said:

ALT GR is name on German keyboard for the ALTkey on the right to get special char's like ²,³ {[]}\|@~ €. For € i have to hold ALT GR and press e. But this doesn't work and i (and i think TE also) can't find the similar {ALTDOWN} and {ALTUP} for the ALT GR key. 

Yeah... Well, a search turned up that apparently the "AltGr-state" (to coin a phrase) is also invoked if you combine alt and control. Never knew that. For the F11 key, John1 should try:

send("{CTRLDOWN}{ALTDOWN}{F11}{CTRLUP}{ALTUP}")

 

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

4 hours ago, SadBunny said:

Yeah... Well, a search turned up that apparently the "AltGr-state" (to coin a phrase) is also invoked if you combine alt and control. Never knew that. For the F11 key, John1 should try:

send("{CTRLDOWN}{ALTDOWN}{F11}{CTRLUP}{ALTUP}")

I also never knew that, but's  right i tested with the  €  sign it works. I have no app wich uses AltGR+F11.

Link to comment
Share on other sites

Same here. Although I wouldn't be surprised if it turns out that LeftAlt + F11 would also work in this case :) (There we go with the crystal ball again.)

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Hi Y'all

cant stop, real busy now, but will just say that yes there is one other key combo that also does this.

Control + Alt + F11

Ive tried every other combo i can think of

Back later, now trying to fix car, 1995 peugeot 205, both top swivels shot.

Its a diesel and everything is awkard.

Regards, John :)

 

Link to comment
Share on other sites

4 minutes ago, John1 said:

Back later, now trying to fix car, 1995 peugeot 205, both top swivels shot. Its a diesel and everything is awkard.

Maybe if you're done you can come to Amsterdam and fix my Honda CBR 1000 F cam chain tensioner :)

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Hi,

this is the arrangement that seems to work ok,

well, just by double clicking on it anyway.

I havent put it in the startup folder yet, but thats next.

SADBUNNY,

My friend has a  CBR1000  or it might be 1100 i'm not sure,                                                                                                                 its a bit bigger than anything i used to ride.  

Copy2.jpg

Link to comment
Share on other sites

well,
that does do the job, but only by me double clicking on the script file,
which is on my desktop display so thats definately a step in the right direction.
Ive tried putting the script file into the start folder, but it doesnt
seem to do it. Ive tried putting a shortcut to the script fine into the
startup folder, but that doesn't seem to do it.
I was wondering if its doing it a bit too quick, maybe the machine needs
to actually stop doing stuff before running that script file.
This old wreck seems to have a lot to do when its starting up, most of
which i am pretty sure is of no concern to me, and could be left out.
However i digress, i was wondering if a short 'pause' or two might
help by delaying the operation a little.
If it is running from the startup folder.

Maybe i could include the "Hello World" line, then i would know if its
running, cos "Hello World" would come up.

John :)

Link to comment
Share on other sites

Yes it would seem to be running ok from the startup folder
as i put in the line that includes "hello world", and that
bit comes up fine, but it doesnt kick in the auto-config,
so i'm thinking of putting in a little delay, just three
or four seconds.

John:)

Link to comment
Share on other sites

I always go with beeps as it is very easy identifiable and I don't have to bother with GUIs and messages and finally I have a bit of a visual impairment. For instance, something like:

beep(1200,100)
beep(1800,100)
beep(1200,100)
beep(2400,100)

I do always have my audio system connected though. Also, it may well be that that key combo that you are doing is dependent on something else running, such as some sort of graphics card driver "agent", which may take a while to boot up. You could make your program wait for that process to be completely fired up by looking at running processes. (You'd need to identify what that specific thing to wait of actually is of course :) And if a delay works for you then fine.)

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Well its funny you should suggest beeps, i was thinking of trying beeps to give me a small delay.
But thats only cos i tried 'wait', not recognised, looked through the help, not there,
i tried 'delay',not recognised, looked through the help, not there,
i tried 'pause',not recognised, looked through the help, not there,
but i did notice 'beep',
so i thought a few beeps would give me a brief delay.

but i haven't tried it yet,
now that you have said that, then i will try it.

My mate with the CBR came round yesterday and with both of us looking at my car
and checking here and there, it wasn't long before we found a knackered bottom
ball joint, and we dont think the top swivels are particularly worn, and we
also think that any wear in the top swivels would have very little effect on
the tracking or the steering in general. Whereas the bottom ball joint is only
a few inches from the steering track rod, and this one is very badly loose,
so we both feel that this is the cause of the tracking and steering problems.
Its an old car, im still looking at two possible sources, one at thirty quid
and one at forty five quid. Curiously the main dealers are offering this at
about thirty quid, but they do say there are two types normal and heavy duty
apparently the diesel vehicle should have the heavy duty type. 

Regards, John :)

Link to comment
Share on other sites

Try the Sleep command :) You should not use beep to pause, only to make sweet sweet music. (Or notification sounds :))

Good luck with your car - I am pretty much a noob at vehicle mechanics. I had the bike shop collect my CBR in the mean time, it's in the shop now and they're looking at it but it may be economical total loss as it's a 24 yo bike and it's looking like kind of a biggie to fix :( 

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...