Jump to content

Recommended Posts

Posted

Hi,

1) You try to run notepad.exeDefault Setter.

GuiCTRLRead ($button2) returns text of button!

This doesn't seem to be that what you want. Also there is a missing space behind notepad.exe and the text has blanks.

2) For running windows programs, it's better to use ShellExecute. For your example instead of run:

ShellExecute ("notepad.exe",GuiCTRLRead ($button2))

Have a look in helpfile for function ShellExecute

;-))

Stefan

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
×
×
  • Create New...