[a105] for loop _newEnum problem in office

Discuss the future of the AutoHotkey language
Cicin
Posts: 1
Joined: 06 Oct 2019, 23:08

[a105] for loop _newEnum problem in office

06 Oct 2019, 23:44

Code: Select all

		
test()
{
	app := ComObjActive("word.Application")
	appshapes := app.selection.range.InlineShapes
	For shp in app.selection.range.InlineShapes
	{
		msgbox(1)
	}
	
	Return
}
problem description: tips _newenum is not a method
version: ahk2 a105
for loop problem.png
for loop problem.png (6.46 KiB) Viewed 246 times

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: blue83 and 4 guests