Sign in to follow this  
Followers 0
leojarrabi

MYOB BankLink not responding to Autoit

3 posts in this topic

We are trying to automate report generation for a software called MYOB BankLink (accounting software).

The program would not open using Run or RunAs command but I was able to run it using

ShellExecute($BankLinkPrg)

I tried sending commands using ControlSend, Send, ControlClick but it isn't responding to any of it.

I could Activate the window using WinActivate.

I have attached here the opening interface of the program.

Using a keyboard, I could do a File open by pressing Alt fgf.

So I tried using:

ControlSend("[CLASS:TfrmMain]", "", "", "{ALT}fgf"), did not work

ControlSend("[CLASS:TfrmMain]", "", "", "!fgf"), did not work

Anyone encountered this or have have created some autoit script for Banklink already? I tried searching this forum for the keyword banklink but it returns nothing.

I am hoping somebody could help me, thanks!

post-84910-0-82511600-1417135436_thumb.p

Share this post


Link to post
Share on other sites



What's the actual output of Au3Info.exe ?

You may need to "focus" on the window first if you're just going to use controlsend.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Using Au3Info.exe, I could get the window information like the Title, Class, Advanced Mode, etc. The common information I usually use is there.

The window class name is [CLASS:TfrmMain]. I could activate it using WinActivate, it returns true for WinExists as well.

I also thought about "focusing the window" so I use WinActivate before using ControlSend, even the Send command, but I got nothing.

I even set the SendKeyDelay thinking that the key press might be too fast for the program  to react but still the same.

What am I missing?

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  
Followers 0