Permalink
Browse files

shorten test.ahk

  • Loading branch information...
1 parent 946b5db commit 28e9e8bb68892d3d6d9ebef4f525308638c0e138 @maul-esel committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Misc/test.ahk
View
@@ -69,5 +69,5 @@ try {
GetElementInfo(elem)
{
global UIAutomation
- return "Process ID:`t" elem.CurrentProcessId "`nWindow name:`t" elem.CurrentName "`nControl Class:`t" elem.CurrentClassName "`nUI Framework:`t" elem.CurrentFrameworkId "`nOrientation:`t" (elem.CurrentOrientation == UIAutomation.OrientationType.Horizontal ? "horizontal" : (elem.CurrentOrientation == UIAutomation.OrientationType.Vertical ? "vertical" : "none"))
+ return "Process ID:`t" elem.CurrentProcessId "`nWindow name:`t" elem.CurrentName "`nControl Class:`t" elem.CurrentClassName "`nUI Framework:`t" elem.CurrentFrameworkId
}

0 comments on commit 28e9e8b

Please sign in to comment.