{"action":"created","issue":{"url":"https://api.github.com/repos/jarmo/RAutomation/issues/103","repository_url":"https://api.github.com/repos/jarmo/RAutomation","labels_url":"https://api.github.com/repos/jarmo/RAutomation/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/jarmo/RAutomation/issues/103/comments","events_url":"https://api.github.com/repos/jarmo/RAutomation/issues/103/events","html_url":"https://github.com/jarmo/RAutomation/issues/103","id":136540371,"number":103,"title":"NoMethodError: undefined method 'hwnd' for :win10:Symbol","user":{"login":"srkrkalyan","id":9273282,"avatar_url":"https://avatars.githubusercontent.com/u/9273282?v=3","gravatar_id":"","url":"https://api.github.com/users/srkrkalyan","html_url":"https://github.com/srkrkalyan","followers_url":"https://api.github.com/users/srkrkalyan/followers","following_url":"https://api.github.com/users/srkrkalyan/following{/other_user}","gists_url":"https://api.github.com/users/srkrkalyan/gists{/gist_id}","starred_url":"https://api.github.com/users/srkrkalyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srkrkalyan/subscriptions","organizations_url":"https://api.github.com/users/srkrkalyan/orgs","repos_url":"https://api.github.com/users/srkrkalyan/repos","events_url":"https://api.github.com/users/srkrkalyan/events{/privacy}","received_events_url":"https://api.github.com/users/srkrkalyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-25T23:08:21Z","updated_at":"2016-02-26T03:08:27Z","closed_at":null,"body":"Hi - I am trying to get the list of items in a list box of a desktop app using the List Box class under MsUia. \r\n\r\nrequire 'rautomation'\r\nwin10=RAutomation::Window.new :title => /part of the title/, :adapter => :ms_uia\r\nwin10.exists? #Received True\r\nwin10.minimize #Window Successfully minimized\r\nListBox1 = RAutomation::Adapter::MsUia::ListBox.new :win10 :value => \"value of 1st item in list box\" #identified value of list box using a spying tool\r\n\r\nLast line of above program returning below error.\r\nNoMethodError: undefined method 'hwnd' for :win10:Symbol\r\n\r\nCould you please advise if I am missing anything?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jarmo/RAutomation/issues/comments/189090299","html_url":"https://github.com/jarmo/RAutomation/issues/103#issuecomment-189090299","issue_url":"https://api.github.com/repos/jarmo/RAutomation/issues/103","id":189090299,"user":{"login":"leviwilson","id":574434,"avatar_url":"https://avatars.githubusercontent.com/u/574434?v=3","gravatar_id":"","url":"https://api.github.com/users/leviwilson","html_url":"https://github.com/leviwilson","followers_url":"https://api.github.com/users/leviwilson/followers","following_url":"https://api.github.com/users/leviwilson/following{/other_user}","gists_url":"https://api.github.com/users/leviwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/leviwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviwilson/subscriptions","organizations_url":"https://api.github.com/users/leviwilson/orgs","repos_url":"https://api.github.com/users/leviwilson/repos","events_url":"https://api.github.com/users/leviwilson/events{/privacy}","received_events_url":"https://api.github.com/users/leviwilson/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T03:08:27Z","updated_at":"2016-02-26T03:08:27Z","body":"The best way to look at some of the usages for various control is going to be in the specs. Here is the [spec for ListBox controls](https://github.com/jarmo/RAutomation/blob/master/spec/adapter/ms_uia/listbox_spec.rb#L6) for the `ms_uia` adapter."}}