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 


put info in a edit box w/vds4.5

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


Joined: 01 May 2003
Posts: 61

PostPosted: Sun Sep 30, 2007 12:04 am    Post subject: put info in a edit box w/vds4.5 Reply with quote

hi guys,
i know these have asked befor
but i want to put some info in a edit box
in the "shoutcast source" window if you know the program
window spy comes up with the info
%65878 ## 32770 "shoutcast source"
and the spot to put info
%65996 #edit

what is the best way, window send or dde?
i tried dde but get 'invalid when no window' error
maybe a quick example?
tx
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sun Sep 30, 2007 12:27 am    Post subject: Reply with quote

Example::

dialog set,edit,@wintext(%shoutcast_window_handle)

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
harry
Contributor
Contributor


Joined: 01 May 2003
Posts: 61

PostPosted: Sun Sep 30, 2007 1:18 am    Post subject: Reply with quote

but... maybe i didn't explain to good Laughing
the info goes into a editbox in the shoutcast program
not a vds window
i thought "dialog set, edit " works only with vds? Shocked
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sun Sep 30, 2007 5:27 am    Post subject: Reply with quote

You are correct. I misunderstood your question.

Example:

%%text = This is some text
window settext,%%shoutcast_edit,%%text

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
harry
Contributor
Contributor


Joined: 01 May 2003
Posts: 61

PostPosted: Mon Oct 01, 2007 12:26 am    Post subject: Reply with quote

there are no constant window_ids (except window title)
with 4 tabs with 4-6 edit boxes each id changes .
i tried window acuate & posititon and got the cordnates of the edit
but if a window( in this case it was the vds coding window)
is on top it would get the info .
this has to be bullit proof ,any suggestions?
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Mon Oct 01, 2007 12:40 am    Post subject: Reply with quote

Always check for the window ID for the ShoutCast window when you
need or want to set the contents of the editbox.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Oct 01, 2007 1:25 am    Post subject: Reply with quote

I dont know if you could parse @TABs and then WindowSpy the ladder to find class names or Identifiers.

May help:
http://www.vdsworld.com/forum/viewtopic.php?t=4028&highlight=class

I seen a good winSPY program someone wrote here, but accidently clicked the X and cant find the page now Embarassed
Back to top
View user's profile Send private message Visit poster's website
harry
Contributor
Contributor


Joined: 01 May 2003
Posts: 61

PostPosted: Mon Oct 01, 2007 11:34 pm    Post subject: Reply with quote

looks like i might get where i want to go with the bit of code
you posted

but there is not a lot of documation on @window()
CHILD|OWNER|FIRST|LAST|PREV|NEXT

i understand child & owner , what all does FIRST|LAST|PREV|NEXT
really do ?

and how do i know to step in one more layer and read all elements
Back to top
View user's profile Send private message
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Tue Oct 02, 2007 12:25 pm    Post subject: Reply with quote

First and last are pretty much self explanitary.

For a picture and some more info on next and previous have a look at this post:
http://www.vdsworld.com/forum/viewtopic.php?p=32675#32675

_________________
cheers

Dave
Back to top
View user's profile Send private message
harry
Contributor
Contributor


Joined: 01 May 2003
Posts: 61

PostPosted: Tue Oct 02, 2007 4:19 pm    Post subject: Reply with quote

Thanks Dave
i was using windowspy
to help me see what i was calling with @widow()
but your explanation sure helped

the 4.5 version of window spy is kind of
crummy it doesn't display the window ids in a nice order
it was a big help ot use vds 5's window spy
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