I do many simulations with HFSS and it is long… I found a solution to be noticed when the simulation is done, very useful to know when you can come to get the results.
To do it, open your project, and record a macro, click on the button "Analyse All", abort the Analysis and stop the recording.
You have just to modify the vbscript by adding a line at the end of file :
oDesktop.RunProgram "iexplore.exe", "C:/Program Files (x86)/Internet Explorer","" , "www.??????.com/simulationdone.php"
You may have to adapt the path to iexplorer. The principe is to call a webpage when your simulation is done. The webpage has to contain a script to send a mail, a tweet or what you want…
You can use other programs, but you have to know that is impossible to send directly a mail with outlook, you have to click on the send button…
In my case the file is like this :
' Script Recorded by Ansoft HFSS Version 13.0.1
' 3:59:59 ??avr. 16, 2011
Set oAnsoftApp = CreateObject("AnsoftHfss.HfssScriptInterface")
Set oDesktop = oAnsoftApp.GetAppDesktop()
Set oProject = oDesktop.SetActiveProject("MySimRFID_Ansoft_V2_rotation")
Set oDesign = oProject.SetActiveDesign("Patch_Antenna_ADKv1")
oDesktop.RunProgram "iexplore.exe", "C:/Program Files (x86)/Internet Explorer","" , "www.????.com/hfss/simulationdone.php"