Jump to content

snoopy.pa30

Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Location
    Great White North

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

snoopy.pa30's Achievements

Seeker

Seeker (1/7)

3

Reputation

  1. Turns out it was a Windows Issue.... While I had the settings to avoid the Lock Screen, it did not work. I went in and changed all the settings (radio buttons/selections) to something different, and then switched them right back. Saved the Task again, and it started working. Thanks Subz for the help.
  2. Sometimes I like to solve the problem elegantly. More often I need to solve it quickly. That is when the BFI methods come in to play. BFI - Brute Force and Ignorance. "Git er Done"
  3. In many windows boxes you can use the TAB key to move between input fields. So you might be back to the SEND("{TAB 5}") idea.
  4. In my (limited) experience with AutoIT, I either use the SEND, or get the actual pixel location of what I have to click on. I assume you know how to get the pixel location using AutoIT Window Info and Finder Tool. Sorry I can't suggest anything better.
  5. Can you use : Send("{Down 20}") to move the cursor/selection down 20 times? put whatever number if lines/menu items in you need instead of the 20.
  6. I have a Windows 7 machine that is running a series of AutoIT 3 scripts from a master script. When run manually, the entire set of scripts runs fine. The scripts downloads data and do conversions and email results. When run from task scheduler, the machine awakes and starts running the master script. The first script runs fine, but the second part fails. The first script is a simple call to an exe file that just runs. The second script calls another exe file, but requires a few mouse clicks to run. The further on scripts all run fine. When letting the script run from task scheduler (after being put to sleep) , if I move the mouse (or press a key), the login screen comes up (Strange, as No Password is set, and when machine boots, it comes straight into desktop). If I click on the icon (no password) the scripts run fine. I am sure there is a setting somewhere that I have to set differently in task scheduler, or there is something in a W7 setting I need to change. My Task Scheduler quick tests are in the lines of: Run only when user is logged on / Run whether user is logged on or not Run with Highest Privileges / or Not Configure for: (W7 / Vista / XP) Getting lost in the combinations, so will have to do a methodical series of tests, but hoping someone here might have some experience or suggestions. So, is it a Task Scheduler Setting (what combo) or a Windows 7 setting (what and where)? Any help or suggestion is appreciated. Thanks in Advance.
  7. Just found Valuater's AutoIT Wrappers from Launching .au3 script within a Script Looks like it might be what I can use. Now I can get some sleep and try it in the morning with a clear head.
  8. Thanks MPH. I am trying to go through it, but it does not render properly on my system (I don't know why), so I can't see full descriptions of Exam Questions, and the Break time example (Object) did not work either. Anyway, as I have managed to make several smaller individual scripts that I am now trying to piece together, just looking for a little guidance on best practices for joining scripts in a manner that can isolate functional processes to make it easier to handle adjustments and errors. Essentially, do I make I HUGE (ugly) script and just brute force my way through, or can I make a pretty Master/Slave type of script to call individual apps from their respective slave process? Thanks
  9. Newbie here tyring to handle joining many different pieces of different scripts to form a new script. I would like to have a master script file that launches sub scripts that need to finish (with a time out failsafe) before processing continues, ideally passing back a return code to indicate what has transpired. Not sure what commands to use and how to structure. I have been trying to READ the Manual, but not sure what I need. I am looking at the following possibilities: Call, Run, RunAs, RunAsWait, RunWait, ShellExecute, and ShellExecuteWait as the launch methods. So, what are preferred methods and what problems should I be watching out for? Thanks. Snoopy
  10. Thanks D Will Download latest and see what happens. Have a good weekend. Won't be able to work on this till sometime next week. Snoopy
  11. Thanks D, but there isn't much in the way of documentation on the parameters for ShellExecute. I did look in the FAQ, and it shows a couple of examples, but does not explain all the parms. I have tried it - but it gives me an error - Unknown function name for the ShellExecuteWait here is my calling line(s): ShellExecuteWait("C:\QPD\6Scripts\QPDProcess.rb ") ShellExecuteWait("C:\QPD\6Scripts\QPDProcess.rb", "", "", "") ShellExecute("C:\QPD\6Scripts\QPDProcess.rb ") ShellExecute("C:\QPD\6Scripts\QPDProcess.rb", "", "", "") I Assume I have to "include" something to get the ShellExecute to work. But What? But where can I find docs on it???? Thanks
  12. Help! I am running an automation script that pieces together MANY programs in sequence. One of the pieces is a Ruby script that does some file merging and data manipulation (that I don't think AutoIT could do). My problem is that when I run the Ruby Script from within my AutoIT script it does not work properly. When I run the Ruby Script manually it runs properly. Any ideas?? Here is the line that calls my Ruby Script: RunWait("C:\ruby\bin\ruby.exe C:\QPD\6Scripts\QPDProcess.rb ") After the above processing I run a PERL script that works fine. The line that calls Perl Script is: RunWait("C:\Perl\bin\perl.exe C:\QPD\6Scripts\addntdays.pl ") Any help would be greatly appreciated. Snoopy "Still trying to shoot down that Red Baron"
×
×
  • Create New...