Jump to content

Recommended Posts

Posted

I am trying to do something trivial. Run photoshop and open a new file. The new file option is one of many on a "File" combobox. I tried something like

Run("C:\Program Files\Adobe\Adobe Photoshop CS2\Photoshop.exe")

sleep(15000)

WinWaitActive("Adobe Photoshop")

ControlCommand("Adobe Photoshop","File","","ShowDropDown","")

but also variations with "ControlSend". The problem is that from AutoIt v3 Active Windows Info I do not see any ControID for the combobox. I couldn't find any examples.

Posted

Send("^n")

:D

Edit: Typo

Yes, I tried

ControlClick("Adobe Photoshop","",1)

Send("^n")

but that doesn't seem to work, because 1 is probably not prpoer ID.

Posted

Yes, I tried

ControlClick("Adobe Photoshop","",1)

Send("^n")

but that doesn't seem to work, because 1 is probably not prpoer ID.

In this, are you trying to click on an icon? because that won't work with controlclick, use run
Posted

He needs to have it click

File>New

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

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
  • Recently Browsing   0 members

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