How to obtain the name of car and pass it to my script (SimHub).

I'm using SimHub for my shakers. I know this program can obtain information from the game. I suppose the name of the car you are driving is one of those pieces of information. Now, how can I write that information to a file or pass it to my AutoHotkey script? My idea is to make a list of all the cars and make 2 groups (with roof and without roof). With that information my script would force the fan mode automatically (which I currently select manually from my button box) , to either car fan or to wind simulator. If there's any other way, such as reading a temporal file with information created by the game when the track loads (I have no idea if this happens), it would be a solution too.
 
I have found the solution with a text search tool (searching for the name of car in files while AC is loaded). I have found that the name of the car appears here:

C:\Users\******\Documents\Assetto Corsa\cfg\race.ini

So, problem solved. Now, time to program my script.
 

Latest News

What does easier access mean to you?

  • Free access

    Votes: 71 71.0%
  • Better structured events

    Votes: 25 25.0%
  • Better structured forum

    Votes: 18 18.0%
  • Standard game content

    Votes: 18 18.0%
  • No 3pa registration pages

    Votes: 20 20.0%
  • Too casual

    Votes: 9 9.0%
  • Other, please post

    Votes: 5 5.0%
Back
Top