View Single Post
Kathorus
Member
 
Join Date: Jan 2013
Posts: 61

Old October 10th, 2016, 06:21 PM
Or, AutoHotKeys seems to be very well designed. I was able to setup a simple text file with a list of items. I then went into Realm Works made a new Tag group, Clicked the "add tag" button and run the following script, it will bring focus back to Realm Works and process through the list.
Code:
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

WinActivate, ahk_exe RealmWorks.exe ; Activate RealmWorks
WinWaitActive, ahk_exe RealmWorks.exe ; Wait until RealmWorks is active
Loop, Read, Sample.txt ; Sample.txt needs to be in the directory that the script runs from.
{
	clipboard = %A_LoopReadLine% ; load the current line into the window's clipboard
	Send ^v {Return}	; paste the contents of the clipboard into the testbox and press Enter
}

Which means that a similar script could be created for the topics, there is also some built in parsing in AutoHotKeys that would allow delimited files to be used to enter snippets into the topics, but you'd have to have that planned out well.

Last edited by Kathorus; October 10th, 2016 at 06:29 PM. Reason: additional thoughts
Kathorus is offline   #9 Reply With Quote