Jump to content
Sign in to follow this  
bettenrid

Navision Attain 3.70

Recommended Posts

bettenrid

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

Share this post


Link to post
Share on other sites
seandisanti

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

Share this post


Link to post
Share on other sites
big_daddy

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")

Share this post


Link to post
Share on other sites
bettenrid

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.

Share this post


Link to post
Share on other sites
slapin

: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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.