Forum Moderators: open
If the code goes as you posted then it wont work because;
1) The last line "Spare1" has a comma after it which does not need to be there and will cause problems running the script
2) ASP code needs to be on a single line unless you manually break it with an underscore e.g. the following is not valid
<%
If VarX = "QWERTY"
And VarY = 180 Then
Response.Write "Pass!"
End If
%>
To make that code work you could write it two ways...
<%
If VarX = "QWERTY" And VarY = 180 Then
Response.Write "Pass!"
End If
%>
or manually escaping the line break
<%
If VarX = "QWERTY" _
And VarY = 180 Then
Response.Write "Pass!"
End If
%>
ecmSearch "StartingFolder", "Recursive", "Target Page", "Text Box", "MaxCharacters", "ButtonSource", "ButtonText", "FontFace", "FontColor" "FontSize", "Horizontal", "Spare1"
%>
I don't know anything about Cold Fusion custom tags, but they appear (after a quick search) to be somewhat functionally equivalent to COM objects.