Jump to content
Sign in to follow this  
Marjij

Key combination failing

Recommended Posts

Marjij

Hello,

Two things...

=============================

#1

First I am tryign to envoke a certain action by CNTRL+SHIFT+F.

I have tried:

Send("{CTRLDOWN}{SHIFTDOWN}f{SHIFTUP}{CTRLUP}")

And occasionally it fires as CNTRL+F without the SHIFT.

So I tried the helpflie and started using:

Send("^F") which seems to do the same thing..

Now I do not get any CNTRL+F Missfires but..

I had to add a do until loop with a pixel search because it still doesn't always fire it seems.. The script would continue and the action was never envoked..

This is working but causes delays when it requires several retries.. Any suggestions. on a better way to do this with less problems?

Current Code:

Do

Send("^F")

Sleep (10000)

Until PixelGetColor(1161, 293) = Dec("00FD00")

============================

#2

I have a loop within a loop.

It performs a certain action 7 times then continues on with the main script..

Sometimes I have to change something and restart it but the action performed 7 times in the first loop is no longer necessary..

My question is, can I add some sort of feature to skip the inner loop like a hotkey for example and continue on with the rest of the script..

Some code available.. if necessary on request..

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.