AutoHotkey Community

It is currently May 27th, 2012, 12:54 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: August 22nd, 2011, 2:23 pm 
Offline

Joined: August 22nd, 2011, 2:20 pm
Posts: 31
Hi All,
I am using this code to retrieve window's data but it returns only
command bar...
favorite command bar
navigation bar.........so on......

for example: i have opened www.autohotkey.com then all data displaying on landing page should be retrieve..




IfWinNotActive, Cox Admin Agilyst - Windows Internet Explorer, Favorites Command Ba,
WinActivate, Cox Admin Agilyst
WinWait, Cox Admin Agilyst
WinGetText, text ; The window found above will be used.
MsgBox, The text is:`n%text%



Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2011, 3:09 pm 
Offline

Joined: March 23rd, 2005, 7:53 am
Posts: 321
Location: Germany
Hello yash.dhiman,

you could select all the content of the page with ^a and then copy it to the clipboard with ^c.

Example (Hotkey: Windows+c):
Code:
#IfWinActive, Internet Explorer
#c::
clipboard=
send, ^a
sleep, 500
send, ^c
ClipWait, 5
MsgBox %clipboard%
return
#IfWinActive

_________________
Hasso

Programmers don't die, they GOSUB without RETURN


Report this post
Top
 Profile  
Reply with quote  
PostPosted: August 24th, 2011, 7:25 am 
Offline

Joined: August 22nd, 2011, 2:20 pm
Posts: 31
Thanks.......Hasso


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 25th, 2011, 1:57 pm 
Offline

Joined: August 22nd, 2011, 2:20 pm
Posts: 31
Now i have a major problem.....I don't have any authentication to copy data......so now do you have any other way to resolve this issue..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 25th, 2011, 7:08 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
What do you mean, 'authentication'?

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 26th, 2011, 1:59 pm 
Offline

Joined: August 22nd, 2011, 2:20 pm
Posts: 31
it means that CTRL A or ^a doesn't work on my software window.....so i need other way to retrieve data......


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 26th, 2011, 7:30 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
You might have to resort to OCR

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey, chaosad, MSN [Bot] and 22 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group