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 


[re-]beginners help. basic file open and save button pushes

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


Joined: 24 Jun 2010
Posts: 5

PostPosted: Fri Jun 25, 2010 6:48 pm    Post subject: [re-]beginners help. basic file open and save button pushes Reply with quote

hi all,

I'm working with vds 2.2, but will be upgrading to the latest very shortly but while I'm testing I'm having trouble with what should be a simple thing, but the functionality is escaping me.

I have an open Notepad session and with @winatpos I got the window identifier.

I am able to write using the window send, <<the indentifer>>, bla, bla, bla.

I can even write to the end of the file using window send,<<the identifier>>,@ctrl(@key(end)) now I'm writing the last line.@cr()

However what I'm having trouble doing is USING MOUSE CONTROLS to click on the word "file" on the blue bar and then click on the word "save" from the drop down list. question 1) how can I do this?

I also tried to program <ALT-F>S, but that didn't work either. question 2) how can I do this?

I'm not sure but I'm pretty sure I couldn't even get <ctrl>-S to work question 3) how can I do this?

I used SPY.EXE to locate the x,y coordinates if that helps.

I imagine things might be different in VDS6 vs VDS2.2 any help sample code would be aprreciated. I realize that I've asked for 3 different ways to solve the same problem, but this is a learning situation and I'll need to be able to program all three situations going forward.

Also going forward, to expand this to "file--> save as" and then typing in the "save as" dialog, quesition 4) how is that done?

Cut and paste sample code using notepad would be great.

TIA,

Jleslie
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat Jun 26, 2010 4:35 am    Post subject: Reply with quote

Personal VDS 4

This freeware version is intended for students and home PC users. The package includes a short tutorial and full online help which includes many example scripts. The software is not licensable for commercial use.

http://www.dialogscript.com/index.php?option=com_remository&Itemid=75&func=fileinfo&id=5

The above version will have at least much more than your older 2.2 version and hold you over until you get the latest version. I believe the restriction is that it can't compile, but I could be wrong.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
jleslie
Newbie


Joined: 24 Jun 2010
Posts: 5

PostPosted: Sat Jun 26, 2010 1:49 pm    Post subject: Reply with quote

Garrett wrote:
Personal VDS 4

This freeware version is intended for students and home PC users. The package includes a short tutorial and full online help which includes many example scripts. The software is not licensable for commercial use.

http://www.dialogscript.com/index.php?option=com_remository&Itemid=75&func=fileinfo&id=5

The above version will have at least much more than your older 2.2 version and hold you over until you get the latest version. I believe the restriction is that it can't compile, but I could be wrong.


are you saying that the examples will in VDS4 will answer my questions??
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat Jun 26, 2010 5:24 pm    Post subject: Reply with quote

No, I'm saying that if VDS 2.2 is holding you back, get this free version of VDS 4 which has much more to offer than the old VDS 2.2 that you currently have.

BTW, have you scanned the examples section of VDS World yet? There might be some code already available for what you are looking for.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Sun Jun 27, 2010 12:41 pm    Post subject: Reply with quote

Things have changed a lot since VDS 2, and most of us here probably don't remember most of the syntax.
Moving to the most recent demo version will be your best starting point.
Then you will need time to get a grasp on the new syntax.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Sun Jul 04, 2010 8:34 pm    Post subject: Reply with quote

@winatpos is bad syntax.

@winatpoint is correct, but vds is forgiving.

Window click is based on the window position specified as a parameter.

If Notepad resides T = 40 and L = 40 on screen then

Code:
 window click,#notepad,1,1


will click on notepad at 1,1, or screen position 41 41.

Code:

window send,@winactive(),@alt(f)s

window send,@winactive(),@ctrl(s)


Code:

window send,@winactive(),@alt(f)a
window send,Save As,FILENAME.EXT


PS - UPGRADE.
Back to top
View user's profile Send private message AIM Address
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