Monica Houston
Published © CC BY

The Lazy Person's Guide to Azure Sphere

Get set up with Azure Sphere and connect your device to the cloud daily for 30 days! No work required.

BeginnerProtip2 hours5,977
The Lazy Person's Guide to Azure Sphere

Things used in this project

Story

Read more

Code

Azure Sphere Daily Registration cheat

C#
This is an AutoIt v3 script. You can read AutoIt v3 documentation here - autoitscript.com/autoit3/docs/
Download AutoIt v3, download this file and place it in the directory with the sk_server_registration exe.
; Run the sk server registration
Run("sk_server_registration.exe")

; Initial Setup Screen
While WinWaitActive("Azure Sphere Starter Kit Contest Registration (v1.2)", "", 1) = 0
WinActivate("Azure Sphere Starter Kit Contest Registration (v1.2)")
WEnd
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}")  
Send("{TAB}") 
Send("{TAB}")  
Send("{ENTER}") 

While WinWaitActive(@WindowsDir & "\system32\cmd.exe", "", 1) = 0
WinActivate(@WindowsDir & "\system32\cmd.exe")
WEnd
WinWaitClose( @WindowsDir & "\system32\cmd.exe")

While WinWaitActive("Azure Sphere Starter Kit Contest Registration (v1.2)", "", 1) = 0
WinActivate("Azure Sphere Starter Kit Contest Registration (v1.2)")
WEnd

Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}") 
Send("{TAB}")  
Send("{TAB}") 
Send("{TAB}")
Send("{TAB}") 
Send("{ENTER}")

; Delete this part if you want to visually confirm that your script has run

WinActivate("URL Response OK", "&OK")
Send("{ENTER}")

WinClose("Azure Sphere Starter Kit Contest Registration (v1.2)")

Credits

Monica Houston

Monica Houston

33 projects • 294 followers
I don't live on a boat anymore.

Comments