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 


help with auto type

 
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: Sat Jan 11, 2003 6:44 am    Post subject: help with auto type Reply with quote

hello all

i have made a program that auto types a file name when it saves BUT i can't get it to work.also to the curser is right there in the txt box that is there to enter the file name in..but it don't auto type Sad what i'am doing wrong?

here is part of the code that SHOULD do the typing:
Code:

window send,%W,@CR()
rem wait 1
window settext,%A,test.txt
rem WINDOW SETTEXT,@winatpoint(82,31),test.txt
wait 1
window send,%W,@TAB()
wait 1


notice i even tried winatpoint still no go Sad

thanks
Back to top
View user's profile Send private message
Tsunami1988
Contributor
Contributor


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

PostPosted: Sat Jan 11, 2003 9:48 am    Post subject: Re: help with auto type Reply with quote

tim6389 wrote:
hello all

i have made a program that auto types a file name when it saves BUT i can't get it to work.also to the curser is right there in the txt box that is there to enter the file name in..but it don't auto type Sad what i'am doing wrong?

here is part of the code that SHOULD do the typing:
Code:

window send,%W,@CR()
rem wait 1
window settext,%A,test.txt
rem WINDOW SETTEXT,@winatpoint(82,31),test.txt
wait 1
window send,%W,@TAB()
wait 1


notice i even tried winatpoint still no go Sad

thanks


I think I know what the problem is. Instead of @winatpoint(82,31), use:
Code:
@WINATPOINT(@SUM(@WINPOS(<window>,L),82),@SUM(@WINPOS(<window>,T),31))

That is, when your EDIT is on position 82,31 of the dialog.

Another question: Why do you use WINDOW SETTEXT? If you want "test.txt" to be in your EDIT, just use DIALOG SET,<name>,test.txt. That would also remove your problem with @WINATPOINT() Smile
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: Sat Jan 11, 2003 11:18 am    Post subject: Reply with quote

Can you tell us to which window you want to send the textstring? And also give the values of the variables that you've used...
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sun Jan 12, 2003 12:06 am    Post subject: i feel so dumb Reply with quote

hello all

well after spend many hours on this come to find out I DIDN'T have the window name spelled right Sad sorry all
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