Jump to content
Advert

jdumont

Active Members
  • Posts

    20
  • Joined

  • Last visited

jdumont's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Can't you just have a batch file and use the NET USE LPT1: \\SERVER\PRINTER /PERSISTENT:YES When starting my dos program I insert this to print across the network net use lpt1: \\server\shared_printer /delete net use lpt1: \\server\shared_printer /persistent:yes run program
  2. what happens if you CTRL+A (select all) [^a] rather than dragging the mouse?
  3. hmmm. autoit revealer does not change when you scroll through the alt+tab windows. I would go something like alt+tab but wait for "active window" until your app is active, then exit. good luck
  4. i would try using the ctrl+esc key... this will bring up the start menu and you can go from there. may the force be with you.
  5. have you tried the sleep command? maybe try posting your script. I got this from the help file... Sleep, <milliseconds> Halts execution of the script for the given number of milliseconds. Max is 2147483647. 1000 milliseconds = 1 second.
  6. Is the game running in full screen mode?
  7. I do mass emailers for a guy. No not spam but to people in his windows address book which needs housecleaning. My isp's mail server will bounce failed addresses to me with the old "no such mailbox" etc notices. One email out of maybe 30 will have a huge list of error codes (mailbox full, no such user etc) and the email address that failed. I would like to have autoit go through that email and copy/paste email addresses into notepad. Then I can export his address book and notepad file to a .csv and line em up in excel and nuke the failed ones. Ultimately I'd like to parse only certain error codes because some errors are just 'mailbox full' and want to keep those addresses. This post isn't asking for code on a silver platter but just asking "is it possible with autoit"? I dabble with version2 but doubt it can do what I am asking. Thanks.
  8. One thing I just did today in fact with one of my scripts was to positon the window and size like this:WinMove,Untitled - Notepad,,0,0,800,800 Then I can target the button i want to click no problem. Sure beats the hell out of having the script go Send, {TAB 18} {ENTER}
  9. Thanks. I think my question should have been, (if possible) "how does autoit know if the Group Membership box is empty"? Or if ^a highlighted anything at all? Can autoit know if ^a has highlighted anything (true/false)? Guess I still use v2 because my needs are very basic and support dos pointofsale programs. Same reason why I still use msdos, win98 and w2k; they just work. I wouldn't call it obsolete as v2 does work, but I will have a peek at v3. MS can kiss my a$$ and so can (hasta la)Vista. Hello DesktopBSD! Regards.
  10. I remember something about making an internet explorer window staying maximized everytime I started it.2 things come to mind... a: make the window your preferred size and then hold the ctrl key down when closing the window or b: drag the windows edges to your preferred size to keep the size the same. ??
  11. I don't have the answer but will ask: you did recompile the script after changing/saving it?Is the window position different?? Good Luck
  12. My script scrolls through the Windows Address Book contacts and goes to the "Other" tab for each contact and does a !G to highlight the Group Membership box. This box cannot be edited here but just highlights whatever is in there so I can focus on it as the script goes by quite quickly. Rather than sit there for an hour... what command can I give the script to abort if "My Group Name" is not highlighted or the box is empty? Thanks in advance.
  13. Don't bother.... I fixed it by using a LeftClick, 760,360 As long as i don't highlight any addresses by left clicking in no mans land, it will focus attention on the proper window pane. This allows me to give it the down command to carry on.
  14. This is my second script and should be a no brainer but all I can think of is it is running too fast or a V2 issue. win2000 on a p3 with 392mb ram I have the Windows Address Book (WAB) with about 2200 addresses. There are some groups under the Main Identity Buddy has been adding new contacts under Main Identity and not under a group. Now he has a few hundred contacts with no group attached. I can write a script and run it from the Quick Launch toolbar one by one and is flawless but when I go to loop it, it starts doing the keystrokes on the wrong part of the window pane. using Repeat or Goto has the same result I start by highlighting the top contact of the list in the right hand pane Send,!{ENTER} gets properties for the contact Send,{TAB 15}{RIGHT 5} the lazy way to get to the "other" tab Send, !G this highlights the Group Membership box so I can focus on it and note if it's empty Sleep,500 zzzzzz Send,{ESCAPE} this closes the properties box for the contact Send, {TAB} this is supposed to highlight(activate) the contact I just looked at Send, {DOWN} this goes to the next contact in the list the problem is the Main Identity folder on the left hand pane gets activated and runs the script from there when i put a doitman: at the top and a Goto,doitman at the bottom Repeat, 100 and EndRepeat has the same result. Oooooooo I just read up on SetKeyDelay. Hopefully that is the ticket. Nope. <sigh>
×
×
  • Create New...