Robertkb3lnn Posted October 15, 2014 Share Posted October 15, 2014 Let me tell you a little about myself. I use to write code in Basic back in the 1970's on a Radio Shack color computer & color computer Three. I had wrote a program that let me play the game Othello on two different computers at two locations Via. a Radio link @ six miles. I have since been out of the game and now own four Dell computers running Windows XP, Windows 7. I am very new to this type of script and trying to get a handle on it. This is why I come here , I have no were else to go. I am trying to write a script that will do a mouse click on a video capture program. I can get it to run but then I need to click on the Record button. Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 15, 2014 Moderators Share Posted October 15, 2014 Hi, Robertkb3lnn, welcome to the forum. A couple of suggestions to get you the most help: Ask that a Mod move this to the General Help and Support forum; you'll get many more eyes on the problem Please expand on the problem you are having - what is the application you're using, etc. etc. Post any code you have written thus far, even if it is not working, so we can assist. Try to be patient - we ask that you give up to 24 hours for someone answers before you bump your thread. Those that volunteer their time here are spread all over the globe, sometimes the person best suited to help you won't be on until the middle of the night (for you) "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Developers Jos Posted October 15, 2014 Developers Share Posted October 15, 2014 Ask that a Mod move this to the General Help and Support forum; you'll get many more eyes on the problem Done pro-actively Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
czardas Posted October 15, 2014 Share Posted October 15, 2014 Welcome to the forum. So long as you are not automating the program Othello (game automation is not allowed - see forum rules), people will gladly try and help. Have you tried using the AutoIt Window Info tool? Perhaps you can get information about the control you want to click. operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
Robertkb3lnn Posted October 16, 2014 Author Share Posted October 16, 2014 This has nothing to do with automating the program Othello that just was just an example of what type of programming I have done in the past. What I am trying to do now is I have this USB Video Capture and it came with a program when you run it it comes up as a video window and displays what ever composite video you have fed to it. In my case it is a satellite receiver. Well the problem is I would like to have the program run while I am not home I.E. a show is on the air that I would like to record. I can get the program to run at the time I would like to but then to record the program the record button has to be pressed, but you see the problem is I am not at the computer to do this. Now I know that the script can do this. I just need some examples on how to do this. let me tell you that I am very new to this. The programs name is ENMVG-3 by Encore electronics. Any help on this matter would be great. Thank you in advance. Link to comment Share on other sites More sharing options...
alienclone Posted October 16, 2014 Share Posted October 16, 2014 a temporary solution until you get your script working could be to install TeamViewer, LogMeIn, or Chrome Remote Desktop (still lots of work bugs to work out on that one) on your pc and you can remote access from any smartphone or tablet with internet connection. If @error Then MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!") EndIf "Yeah yeah yeah patience, how long will that take?" -Ed Gruberman REAL search results | SciTE4AutoIt3 Editor Full Version Link to comment Share on other sites More sharing options...
Zedna Posted October 16, 2014 Share Posted October 16, 2014 (edited) 1) use "C:Program Files (x86)AutoIt3Au3Info.exe" to see ClassNameNN of controls inside target window 2) use ControlClick() function - details in AutoIt's helpfile "C:Program Files (x86)AutoIt3AutoIt.chm" Edited October 16, 2014 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
spudw2k Posted October 16, 2014 Share Posted October 16, 2014 (edited) You might even be able to use another program to record from the USB video capture device. I can't imagine it only works with the included software...but that's an assumption I'm making. If you must use the included capture software and it does not support standard windows controls you could automate clicking the button by "finding" the button by color and sending a mouse at the button position. Look up the PixelSearch function. edit: Try Zedna's suggestion first as it is a more elegant and reliable solution if the application supports it. Edited October 16, 2014 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now