Jump to content

Recommended Posts

Posted

Hi,

I need a little help.

I want to control some Navision Attain 3.70 internal functions like the table optimizer.

I´ve tried to send the right keystrokes with the Auto IT Send or the ControlSend Command,

but the application don´t react on the commands.

Some Examples:

ControlSend("Betten Rid - Microsoft Business Solutions-Navision","",65281,"b")

OR:

ControlSend("Betten Rid - Microsoft Business Solutions-Navision","Datenbankinformation",65281,"b")

Any idear where the problem is?

best regards

Betten Rid

Posted

Hi,

I need a little help.

I want to control some Navision Attain 3.70 internal functions like the table optimizer.

I´ve tried to send the right keystrokes with the Auto IT Send or the ControlSend Command,

but the application don´t react on the commands.

Some Examples:

ControlSend("Betten Rid - Microsoft Business Solutions-Navision","",65281,"b")

OR:

ControlSend("Betten Rid - Microsoft Business Solutions-Navision","Datenbankinformation",65281,"b")

Any idear where the problem is?

best regards

Betten Rid

you may be having issues with the win title, often that's the case if a standard control doesn't react to a controlsend() or controlclick(), i'd say copy the title from the au3 win info tool, and make sure you don't omit any leading spaces. you could also try using the macro recorder in scite
  • Moderators
Posted

From my experiences I've had more luck using the ClassNameNN instead of the ControlID.

Something like this, where ClassNameNN is the ClassName of the control:

ControlSend("Betten Rid - Microsoft Business Solutions-Navision", "Datenbankinformation", "ClassNameNN", "b")
Posted

From my experiences I've had more luck using the ClassNameNN instead of the ControlID.

Something like this, where ClassNameNN is the ClassName of the control:

ControlSend("Betten Rid - Microsoft Business Solutions-Navision", "Datenbankinformation", "ClassNameNN", "b")

Hi big_daddy,

Thanks for your hints.

Now I´m using a mixture of ControlSend and Send commands and now it´s working. To reduce the problems

I´m always using the same Navision fin.zup file.

  • 2 weeks later...
Posted

:lmao:

Hi,

I am using too Navision 3.7 and I have encountered the same problems.

Which solution did you use finally.

Can you post one of your script?

Thanks

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