Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes. edit

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

User:Technical 13/SandBox/AutoHotKey/Combine shards or frags

From DDO wiki
Jump to navigation Jump to search
#c:: ;					[Windows Key] - [c]  (Combine frags/shards)
BoxTitle = Combine Epic Fragments and Khyber/Siberys Dragonshards
BoxInstructions = How many times should I activate the altar?
X = 900 ;	You will have to adjust this number to the X coordinate of the center of your "Activate" button
Y = 468 ;	You will have to adjust this number to the Y coordinate of the center of your "Activate" button
BoxX := X - 210 ;	690	!!! DO NOT EDIT THIS LINE !!!
BoxY := Y - 22 ;	446	!!! DO NOT EDIT THIS LINE !!!
Default = 10 ;			Set this to the default number of times to activate the altar
InputBox, Counter, %BoxTitle%, %BoxInstructions%, , 411, 249, %BoxX%, %BoxY%, , , %Default%
if ErrorLevel
{
	MsgBox, Fine, I won't combine them for you!
	exit
}
else
{
	IfWinNotActive, Dungeons and Dragons Online
	{
		WinActivate, Dungeons and Dragons Online
	}
	WinWaitActive, Dungeons and Dragons Online
	Sleep 1000 ;			Wait a second to make sure that DDO is foremost window
	loop %Counter%
	{
		Click, %X%, %Y% ;	Combine a frag/shard
		Sleep 8000 ;	Wait 8 seconds...
	}
}
return