forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Capture text from a DOS window

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Aug 05, 2002 11:33 pm    Post subject: Capture text from a DOS window Reply with quote

hello all i have been playing with the vdsconsole.dll but i can't seem to get it to work.what i need to do is to Capture text from a DOS window and feedthat into other program.. any ideas any Example scripts around

thanks




P.S. also to to let you knwo the dos | and >>,> won't work for me in this case.


thanks
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 2:11 am    Post subject: hummmm Reply with quote

yea this is s tought one....i can get that dll to pas commads BUT still no go Sad
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sun Aug 11, 2002 12:17 am    Post subject: not good Reply with quote

I really need some help/ or ideas for this one...any one thanks
Back to top
View user's profile Send private message
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Fri Aug 16, 2002 1:03 pm    Post subject: Capture text from a DOS window Reply with quote

I saw (from the Window Spy Tool) that you can use (like Mac said in the other topic) @WINTEXT() (ex. %%Text = @WINTEXT(@WINATPOINT(10,10)), where the numbers are the X and Y position of the text.

Well, I thought this code would work, bit it didn't:

Code:

TITLE Get Text From Window - by Tsunami1988
  DIALOG CREATE,Get Text From Window,-1,0,200,29,NOMIN
  DIALOG ADD,EDIT,EDIT1,5,5,190,19
  DIALOG SHOW

REPEAT
%%WinPosT = @WINPOS(#TScriptWin,T)
%%WinPosL = @WINPOS(#TScriptWin,L)
%%TextPosT = @SUM(%%WinPosT,40)
%%TextPosL = @SUM(%%WinPosL,40)
%%Text = @WINTEXT(@WINATPOINT(%%TextPosT,%%TextPosL))

DIALOG SET,EDIT1,%%Text
UNTIL @EVENT()
  EXIT
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Aug 25, 2002 5:11 pm    Post subject: Reply with quote

Eeeeeeeeh... If you don't want to have a visible window it doesn't work.
That is, I think, the reason why Tim want's to use the vdsconsole.dll...

But you can also move the DOS-Window to X:9999 Y:9999 or something.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group