You can adjust the script, it's pretty simple. The last line of it is a 2.2 second pause which should be adjusted to your ranged attack (the one I used was a 3 second channeled ability).
If you can do this in an instance nobody can train/report you.
Find an area with 2-3 standard mob spawns at your level (or 1 level lower is fine).
Kill off each group of spawns manually and leave a minute between each group so that they don't all re-spawn at once.
Stick your toon in range of the spawns, run the script, go to the bar.
Code:
; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other <> ; ; Script Function: ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder) ; #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. ^q:: ExitApp return ^g:: Loop { ControlSend, ,{Esc}, Star Wars: The Old Republic ;Kill any popups Sleep 100 ControlSend, ,{Esc}, Star Wars: The Old Republic Sleep 100 ControlSend, ,g, Star Wars: The Old Republic ;Select companion Sleep 100 ControlSend, ,{F7}, Star Wars: The Old Republic ;Shield companion Sleep 100 ControlSend, ,{F8}, Star Wars: The Old Republic ;Target nearest enemy Sleep 100 ControlSend, ,{F7}, Star Wars: The Old Republic ;shield self Sleep 100 ControlSend, ,q, Star Wars: The Old Republic ;Cast channeled lighning on enemy; Sleep 100 ControlSend, ,{F1}, Star Wars: The Old Republic ;Use meditate, health/mana regen OOC. Sleep 2200 ;Adjust this depending on the length of your ranged attack } return
Ctrl+g - Start script
Ctrl+q - Kill script
Keybinds:
g - select companion
F7 - cast shield
F8 - target nearest enemy
q - cast ranged attack
F1 - meditate/regen