Jump to content

Key combination failing


Recommended Posts

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..

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...