Sign in to follow this  
Followers 0
Guest winifred

How to get started

6 posts in this topic

I would like to create a script to launch my video editor and move to the create disk window and launch the add file dialog. Pretty simple. But I have only succeeded in launching the program. I have read the tutorials, but no luck. There is a visible text for the screen I want to launch, but I do not understand how to send it as a command.

Also, what is the advantage of scite gui? Should I try it?

Thank you

Share this post


Link to post
Share on other sites



you probably need to look into the Au3info tool that comes with autoit, also function(s) to look at, Send/ControlSend/ControlClick etc...

I use SciTE all the time for autoit scripts, I think it's worth looking at.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Thanks,

I used au3 record in scite and it worked with mouse clicks, but I would prefer to use text since it would be faster and not subject to window position. How do I record a text command, or for that matter, know what the command should be? Are the only text commands available, those that use alt?

Share this post


Link to post
Share on other sites

Here is what is in my info window for the active window that I want to automate. I want to use a text command to launch "Create Disk". Is this possible? I was able to do it with mouse recorder. Thanks

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 15 Y: 129 W: 170 H: 32

Control ID: 3173

ClassNameNN: Button19

Text: Create Disc

Style: 0x50010000

ExStyle: 0x00000004

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

Video

Create Video File

Create Disc

Project Playback

Export

Create Sound File

Share Video Online

Untitled

Share this post


Link to post
Share on other sites

Welcome to the forums!

You might want to give this command a try (filling in the title):

controlClick("(window title here)", "Create Disc", "Create Disc")
; (this should also work...)
  controlClick("(window title here)", "Create Disc", "Button19")
; (...or this...)
  controlClick("(window title here)", "Create Disc", 3173)

Share this post


Link to post
Share on other sites

Thanks, here is what worked:

controlClick("Untitled - Ulead VideoStudio 8.0","Project preview rang", "Button19")

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