Jump to content

Retrospect Backup Software


Recommended Posts

Hello,

 

Anyone have any idea how to interact with a dialog box that has no windows associated to it ( did winlist for all and no results)

 

I want to click on the Edit button  I tried ControlClick("Scripts", "Edit", "[CLASS:Button; INSTANCE:2]") and it did nothing, and @error returns 0

 

 

image.thumb.png.6492a4dc6beb538c756acdf65f4af2f7.png

 

image.png.ff1a0931523da13b6cf46f7250cbee6d.png

Edited by HighlanderSword
update
Link to comment
Share on other sites

Are you in Manage Scripts , and have a list of scripts and have 2 buttons , New.... and Edit ?

I ran the same with just what you had pasted above in a new au3 file and still nothing happens , what am i missing

Do you have any other code in your au3 script besides the controlclick ?

Are you using Retrospect 16.6.0.133

Edited by HighlanderSword
added details
Link to comment
Share on other sites

Hello,

 

Great that has helped me move along very far, now stuck on a edit field and a drop down box.

Date filed appears to be an edit box , and can see the values I set pop in for a few seconds and then pop out

Have not had any luck with the drop down box , trying to set it to recycle.

tried

ControlCommand("Retrospect","","dantzcombobox1","SetCurrentSelection", 2)

ControlCommand("Retrospect", "", "[CLASS:dantzcombobox; INSTANCE:1]","SelectString","Recycle")

 

Appreciate if you could help me a little bit more.....

 

 

;click the edit button 
ControlClick("Retrospect", "", "Button2")
sleep(400)

;Click Schedule Button
ControlClick("Retrospect", "", "Button7")
sleep(400)

;Click add button
ControlClick("Retrospect", "", "Button3")
sleep(400)

;Click Single date radio button
ControlClick("Retrospect", "", "Button3")
sleep(400)

;click the ok button
ControlClick("Retrospect", "", "Button5")


;Set Month
sleep(400)
ControlSend ( "Retrospect", "", "[CLASS:Edit; INSTANCE:4]", "9" , 0)

set day
;~ sleep(400)
;~ ControlSetText("Retrospect", "", "Edit5", "15")

Set year 
;~ sleep(400)
;~ ControlSetText("Retrospect", "", "Edit6", "2020")

 

Edited by HighlanderSword
uypdates
Link to comment
Share on other sites

Haven't had a lot of luck with this myself, while ControlSetText changes the date item, it isn't retained.  If i get more time I'll look into it further, unsure if each system has different backups otherwise I'd suggest either exporting/importing the backup or replacing the catalog files.  I believe the software also allows external scripting, which may also help, unfortunately they don't have command line support which makes it difficult to automate and is usually more robust then Control... functions.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...