on 2008 Nov 18 8:31 AM
Hi all,
I have a situation where the SAP SBO would have to be able to log in by itself after the workstation reboots.
Is it possible to do that? It doesn't really matter to us under which account it should log in and how.
Thanks for all hints!
Andre
ps: I have posted this same question on SAP SBO section in this forum, but was suggested to post it in here. Hope I have a better luck
Hi Andre,
The only thing I can think of is to use the UI to automatically log on to the database - basically, have it do exactly what would happen if the user opened Business One and clicked "OK" instead of "Choose Company" on the Login screen. (i.e. if using default manager password it will log in without asking for a password)
You can use the UI API to simulate a click on a button and therefore have it automatically click "OK" when it sees the login screen..
For example "oItem.Click" activates a click on the specified item.
There are alot of resources between posts here and the SDK help file that might also be useful in implementing this.
Hope its useful
Regards,
Niall
SAP Business One Forums
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not quite sure with UI, it would take a lot of reading and learning for me. I have found another solution, though. I'm using a script called autohotkey. It's a script to manipulate inputs from keyboard and mouse. It only took me one hour to learn and get it done and running.
Thanks anyway for your hints. When I had a little time, sure I would take a look at UI.
Andre
User | Count |
---|---|
107 | |
9 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.