Sign in to follow this  
Followers 0
pcirrus

simple photoshop

7 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Send("^n")

:D

Edit: Typo

Edited by Paulie

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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]

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  
Followers 0