Jump to content

MYOB BankLink not responding to Autoit


Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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.

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.

Link to comment
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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...