[a105] for loop _newEnum problem in office

Get help for the alpha version of AutoHotkey v2 here. Please state the v2 version you are working with in the title when making a new topic.
Cicin
Posts: 2
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 1210 times

Return to “AutoHotkey v2 Help”

Who is online

Users browsing this forum: No registered users and 1 guest