Jump to content

Recommended Posts

Posted

Hi,

After searching this forum, and trying a few tips, I still don't get this working, so I thy it with a new post.

With the following script I'm trying to select a different delivery location for outlook mail. The new location already exists, it's called "Persoonlijke mappen data". I have to select this one for delivery.

ControlCommand("E-mailaccounts","","REComboBox20W1","ShowDropDown","")

If ControlCommand('E-mailaccounts', '', 'REComboBox20W1', 'FindString', 'Persoonlijke mappen data') <> 0 Then ControlCommand("E-mailaccounts", "", "REComboBox20W1", "Selectstring", "Persoonlijke mappen data")

MsgBox (0,"Ok", "Found")

else

MsgBox (0,"ERROR", "Not found")

EndIf

The messagebox says it is found, but it doesn't select the item.

All tips are welcome!!!!

Rene

Posted

I took an other approach that seems to work:

ControlCommand("E-mailaccounts","","REComboBox20W1","ShowDropDown","")

ControlSend("E-mailaccounts","","REComboBox20W1","{END}")

Send("{ENTER}")

:)

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