Jump to content

Knab

Members
  • Posts

    2
  • Joined

  • Last visited

About Knab

  • Birthday 11/19/1986

Profile Information

  • Location
    California, US

Knab's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. No, I follow what you are saying. I just tried using Send("Q") and it worked the same as my original code. As for the original question of getting the render to run again, thanks for the input Distrophy. Didn't do it quite the way you did, but you gave me an idea that got the job done. Thanks guys.
  2. Hey everyone, I just started using AutoIT for work a few days ago and I have a quick question. I'm trying to get a script written up to step through a rendering demo and then give an option to re-render if the user wants to see it again. It works fine up to the point of clicking 'ok' but I can't figure out how to have the button push trigger the rendering... my code for this section is below if anyone sees anything I did wrong. Thanks! CODE;Alert user rendering is starting MsgBox(64, "Information", "The scene will now be rendered", 3) ;Starts rendering of scene Send("{LSHIFT}Q") ;Recognize when rendering is over and give option to render again WinWaitClose("Rendering") $Done = MsgBox(36, "Rendering Complete", "Would you like to render again?") ; -If 'No' is selected, do nothing. Image stays open and user can ; fiddle around in program ; -If 'Yes' is clicked, restart the render. If $Done = 1 Then Sleep(100) MouseMove(840, 144) ;on screen location of render button MouseClick("left") EndIf
×
×
  • Create New...