bettenrid Posted December 29, 2005 Share Posted December 29, 2005 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 Link to comment Share on other sites More sharing options...
seandisanti Posted December 29, 2005 Share Posted December 29, 2005 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 regardsBetten Ridyou 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 Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted December 29, 2005 Moderators Share Posted December 29, 2005 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") Link to comment Share on other sites More sharing options...
bettenrid Posted January 3, 2006 Author Share Posted January 3, 2006 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. Link to comment Share on other sites More sharing options...
slapin Posted January 17, 2006 Share Posted January 17, 2006 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now