Freak In The Sheets?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Emtaxx
Posts: 158
Joined: Mon Feb 10, 2025 10:00 pm

Is there an editor that allows you to work on the BAF code?

Conditions can get quite long and tedious. I've tried copy then paste into excel, however does not work.

I just want to speed up the process a little.
sniffer66
Posts: 1799
Joined: Thu May 02, 2019 8:37 am

Emtaxx wrote:
Thu May 08, 2025 7:24 am
Is there an editor that allows you to work on the BAF code?

Conditions can get quite long and tedious. I've tried copy then paste into excel, however does not work.

I just want to speed up the process a little.
If you want to get away from the editor, I recommend Python and the BA API. I don't use baf's much at all these days apart from setting a few Stored Values quickly. I then pull those, prices etc in Python via the API, crunch the data and return my entries. chatgpt can help you put the code together quickly
Emtaxx
Posts: 158
Joined: Mon Feb 10, 2025 10:00 pm

No its not that I want to move away from the code, its just a matter of exporting the code somwhere it can be worked on to quicken up the pace of rewriting code.

I like the BAF scripts, theyre user friendly (I have no programming back ground)
Anbell
Posts: 2348
Joined: Fri Apr 05, 2019 2:31 am

Emtaxx wrote:
Thu May 08, 2025 7:24 am
Is there an editor that allows you to work on the BAF code?

Conditions can get quite long and tedious. I've tried copy then paste into excel, however does not work.

I just want to speed up the process a little.
You can open in notepad. It isnt a very friendly environment but it has its uses.
User avatar
Euler
Posts: 26066
Joined: Wed Nov 10, 2010 1:39 pm

We considered creating automation as a language so you could edit it in a notepad, etc. But based on the sort of support queries we get, we thought that would be a step too far and require teaching people about logic, etc.

It's not impossible to create an 'elite' edition with this. I think it's beyond most ordinary users, but may require a higher level of support so that would need to be reflected in the price.
bdamir
Posts: 6
Joined: Sun Mar 20, 2022 2:13 am

Notepad++ with syntax highlighting works well for BAF code. You could also automate tasks with scripts like AutoHotkey to speed things up.
User avatar
ODPaul82
Posts: 774
Joined: Sun May 08, 2011 6:32 am

Euler wrote:
Fri May 09, 2025 1:52 pm
We considered creating automation as a language so you could edit it in a notepad, etc. But based on the sort of support queries we get, we thought that would be a step too far and require teaching people about logic, etc.

It's not impossible to create an 'elite' edition with this. I think it's beyond most ordinary users, but may require a higher level of support so that would need to be reflected in the price.
I think with it's current file format structure wouldn't be too bad to stick into XML or JSON to give people the option to manually edit it & adapt the code for rules editor to read/save down. That way there's best of both worlds, the people happy to modify manually (which would be caveated as user does so at own risk, if they balls it, their fault, plenty of guides on how to structure files out there) and those happy to use the built-in editor.
Emtaxx
Posts: 158
Joined: Mon Feb 10, 2025 10:00 pm

Euler wrote:
Fri May 09, 2025 1:52 pm
We considered creating automation as a language so you could edit it in a notepad, etc. But based on the sort of support queries we get, we thought that would be a step too far and require teaching people about logic, etc.

It's not impossible to create an 'elite' edition with this. I think it's beyond most ordinary users, but may require a higher level of support so that would need to be reflected in the price.
The programme set up is perfect for someone who doesn't know coding languages (Example me). And would also put off alot of people due to it being a very steep and long learning curve (Example me)

It was more a case of a work space where if I have 30 Lay rules and want to apply an additional 1£ to them, then it takes up alot of time etc. If there was a place to copy paste the conditions and work on them in say excel it would be really fast.

However, its all still totally fine if theres nothing else. I was just curious if you guys who use BAF speed things up with a few tricks you know of
Post Reply

Return to “Bet Angel - Automation”