BetAngel Shell

We were all new to Bet Angel once. Ask any question you like here and fellow forum members promise not to laugh. Betfair trading made simple.
Post Reply
sa7med
Posts: 800
Joined: Thu May 18, 2017 8:01 am

Is there anyway I can tick the connect checkbox in guardian using shell commands?
User avatar
jimibt
Posts: 4204
Joined: Mon Nov 30, 2015 6:42 pm

sa7med wrote:
Sat Mar 07, 2020 10:38 am
Is there anyway I can tick the connect checkbox in guardian using shell commands?
you'd have to use a winspy type utility that was scripted to find the window handle of guardian and then identify the checkbox object and tick it (if it is unticked). there are utilities out there that allow you to do this type of thing, tho' i don't have any suggestions to hand. The other option is to code up a windows spy utility for this purpose using a few win64 api calls.

The simplest route is obviously the 3rd party util -will see if i can dig any potentials out for you. likewise, if you find anything that works, post it back here for general ref.
sa7med
Posts: 800
Joined: Thu May 18, 2017 8:01 am

jimibt wrote:
Sat Mar 07, 2020 12:07 pm
sa7med wrote:
Sat Mar 07, 2020 10:38 am
Is there anyway I can tick the connect checkbox in guardian using shell commands?
you'd have to use a winspy type utility that was scripted to find the window handle of guardian and then identify the checkbox object and tick it (if it is unticked). there are utilities out there that allow you to do this type of thing, tho' i don't have any suggestions to hand. The other option is to code up a windows spy utility for this purpose using a few win64 api calls.

The simplest route is obviously the 3rd party util -will see if i can dig any potentials out for you. likewise, if you find anything that works, post it back here for general ref.
Thanks. Don't bother, seems too complicated. Was hoping for a one line shell command. Cheers jimbt!
sniffer66
Posts: 1836
Joined: Thu May 02, 2019 8:37 am

Auto-it or autohotkey should both be able to do it. Once id'd it's a very simple script to click a handle
greenmark
Posts: 6268
Joined: Mon Jan 29, 2018 2:15 pm

sa7med wrote:
Sat Mar 07, 2020 12:27 pm
jimibt wrote:
Sat Mar 07, 2020 12:07 pm
sa7med wrote:
Sat Mar 07, 2020 10:38 am
Is there anyway I can tick the connect checkbox in guardian using shell commands?
you'd have to use a winspy type utility that was scripted to find the window handle of guardian and then identify the checkbox object and tick it (if it is unticked). there are utilities out there that allow you to do this type of thing, tho' i don't have any suggestions to hand. The other option is to code up a windows spy utility for this purpose using a few win64 api calls.

The simplest route is obviously the 3rd party util -will see if i can dig any potentials out for you. likewise, if you find anything that works, post it back here for general ref.
Thanks. Don't bother, seems too complicated. Was hoping for a one line shell command. Cheers jimbt!
Theres utility called autohotkey that would do what you want.
You're right that there is a learning curve, but having read many of your posts, if I can get my head round autohotkey I'm sure you could.
sa7med
Posts: 800
Joined: Thu May 18, 2017 8:01 am

greenmark wrote:
Sat Mar 07, 2020 12:55 pm
sa7med wrote:
Sat Mar 07, 2020 12:27 pm
jimibt wrote:
Sat Mar 07, 2020 12:07 pm


you'd have to use a winspy type utility that was scripted to find the window handle of guardian and then identify the checkbox object and tick it (if it is unticked). there are utilities out there that allow you to do this type of thing, tho' i don't have any suggestions to hand. The other option is to code up a windows spy utility for this purpose using a few win64 api calls.

The simplest route is obviously the 3rd party util -will see if i can dig any potentials out for you. likewise, if you find anything that works, post it back here for general ref.
Thanks. Don't bother, seems too complicated. Was hoping for a one line shell command. Cheers jimbt!
Theres utility called autohotkey that would do what you want.
You're right that there is a learning curve, but having read many of your posts, if I can get my head round autohotkey I'm sure you could.

Thanks guys, I already use AutoHotKey, but AFAIK you have to be logged in to your VPS in order for them to work.
sniffer66
Posts: 1836
Joined: Thu May 02, 2019 8:37 am

sa7med wrote:
Sat Mar 07, 2020 1:39 pm
greenmark wrote:
Sat Mar 07, 2020 12:55 pm
sa7med wrote:
Sat Mar 07, 2020 12:27 pm


Thanks. Don't bother, seems too complicated. Was hoping for a one line shell command. Cheers jimbt!
Theres utility called autohotkey that would do what you want.
You're right that there is a learning curve, but having read many of your posts, if I can get my head round autohotkey I'm sure you could.

Thanks guys, I already use AutoHotKey, but AFAIK you have to be logged in to your VPS in order for them to work.
I don't know about autohotkey but with auto-it you can compile a script as an exe, with one click. You could then run that exe as a Windows service, removing the need to be logged on
sa7med
Posts: 800
Joined: Thu May 18, 2017 8:01 am

sniffer66 wrote:
Sat Mar 07, 2020 3:08 pm
sa7med wrote:
Sat Mar 07, 2020 1:39 pm
greenmark wrote:
Sat Mar 07, 2020 12:55 pm

Theres utility called autohotkey that would do what you want.
You're right that there is a learning curve, but having read many of your posts, if I can get my head round autohotkey I'm sure you could.

Thanks guys, I already use AutoHotKey, but AFAIK you have to be logged in to your VPS in order for them to work.
I don't know about autohotkey but with auto-it you can compile a script as an exe, with one click. You could then run that exe as a Windows service, removing the need to be logged on
I'll try that, thanks
sa7med
Posts: 800
Joined: Thu May 18, 2017 8:01 am

sniffer66 wrote:
Sat Mar 07, 2020 3:08 pm
sa7med wrote:
Sat Mar 07, 2020 1:39 pm
greenmark wrote:
Sat Mar 07, 2020 12:55 pm

Theres utility called autohotkey that would do what you want.
You're right that there is a learning curve, but having read many of your posts, if I can get my head round autohotkey I'm sure you could.

Thanks guys, I already use AutoHotKey, but AFAIK you have to be logged in to your VPS in order for them to work.
I don't know about autohotkey but with auto-it you can compile a script as an exe, with one click. You could then run that exe as a Windows service, removing the need to be logged on
Can you clarify how you are setting up EXEs as a service? I've compiled my script as a EXE and installed it as a service but it doesn't load. Keep getting "the service could not be started in a timely fashion".
Post Reply

Return to “Bet Angel for newbies / Getting started”