Moderator: Tech Team

Dako wrote:That is an interesting question. I just didn't understand - what kind of source do you want to extract?
Code: Select all
^!f:: ;Start script with Ctrl+Alt+F
IfWinExist Mozilla Firefox Start Page - Mozilla Firefox
{
WinActivate ;Check for FF Process
}
else ;If none is running
{
Run firefox.exe ;Start FF
WinWait Mozilla Firefox Start Page - Mozilla Firefox ;Wait until FF is launched
WinActivate ;Give FF focus
}
Click 267, 63 ;Give address bar focus
SetKeyDelay, 0 ;No key delay
Send http://tinyurl.com/256o8ga{Enter} ;Input CC API URL
Sleep 1000 ;Allow page load
RightClick 719, 164 ;Open FF context menu
Click 812, 394 ;Select source code page
IfWinExist Source of ;Find source window
{
WinActivate ;Give focus
}
Click 812, 394 ;Click to give focus to text area
send Ctrl+A ;Select source
Sleep 100 ;Sleep for safety
send Ctrl+C ;Copy source
Sleep 100 ;Sleep for safetyI didn't say API, and the game page does not have this info either (aside from scraping), you need an additional parameter.Dako wrote:The game page has that info. Not the API.
Bob only gets the full log if needed, the rest is on the page now (especially the structure of the map and the placing of the armies).chipv wrote:I didn't say API, and the game page does not have this info either (aside from scraping), you need an additional parameter.Dako wrote:The game page has that info. Not the API.