Go Down

Topic: Controlling Arduino IDE remotely (Read 3 times) previous topic - next topic


Dec 14, 2011, 05:48 pm Last Edit: Jan 09, 2012, 04:50 pm by M0rph Reason: 1

I'd like to put an alternative GUI on top of the Arduino IDE - what would be the most straight forward approach? My first idea was to use some sort of messages to instruct compiling/uploading like UDP OSC messages. Is there anything like that implemented? Main functionality I need:
_adding code
_removing code
+selecting board and COM port

Is there something like a command line version which I could easily integrate in my project?
Thank you
"Be the change you want to see in the world."



I'd love to be able to command line control the IDE so I can use Notepad++ to not only edit my source but to compile/upload.

Please Arduino.cc...............make this happen!



use makefiles to bypass the IDE completely, e.g. check - http://arduino.cc/forum/index.php/topic,88989.0.html - or google ...
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


Hi all,


Use UltraEdit as your editor.
Create a custom toolbar button to run the following VBS script. You can assign a suitable .BMP as the button graphic, I used the Arduino logo.

Code: [Select]
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.AppActivate "Arduino 1.0"
objShell.SendKeys "^u"

So, you open the IDE and load the main .PDE/.INO and thats the last you'll touch it.
From now on as you edit via UltraEdit you can simply press the custom button and it will control the IDE.




Code: [Select]
'Arduino compile/upload script

Dim AllProcess
Dim Process
Dim strFoundProcess
strFoundProcess = False
Set AllProcess = getobject("winmgmts:") 'create object
For Each Process In AllProcess.InstancesOf("Win32_process") 'Get all the processes running in your PC
If (Instr (Ucase(Process.Name),"JAVAW.EXE") = 1) Then 'Made all uppercase to remove ambiguity. Arduino IDE runs as JAVAW.EXE

'Arduino app is running
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.AppActivate "Arduino 1.0" 'Arduino IDE Ver 1.0
'objShell.AppActivate "Arduino 0022" 'Arduino IDE Ver 0022
objShell.SendKeys "^u" 'Send CTRL U key to initiate compile/upload

strFoundProcess = True
Exit for
End If
If strFoundProcess = False Then

msgbox "The Arduino IDE is not open with your sketch!"

End If
Set AllProcess = nothing

Go Up