Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/12/2023 in all areas

  1. Quick little bugfix and a third option added. See previous post. I didn't bother to increment the version, as only one person had downloaded ... My apologies to that person.
    2 points
  2. I imagine that you can have "steps" in your script, and a file which tracks which steps or the last step in the process the script has performed. If this is part of an imaging process or some sort of task sequence, then you could log to either the local disk--if appropriate--or to a share folder.
    1 point
  3. I don't know very much about Windows ADK so I can't help you unless you detail about what script are you talking about, what it's suppose to do and how would you normally detect if it's interrupted. Then we can find a solution with AutoIt.
    1 point
  4. Ok, but what kind of information do you want to save/load? Give me an example.
    1 point
  5. This is a basic prototype: ; Program starts here ; Maybe you want to check and load saved stuffs here OnStart() OnAutoItExitRegister('OnExit') ; Press ESC to exit the program HotKeySet('{ESC}', 'Quit') ; Program code here ; ... ; Main loop to keep the program running While True Sleep(10) WEnd Func Quit() Exit EndFunc Func OnExit() ConsoleWrite('The program will close soon.' & @CRLF) ; Do your save stuffs here EndFunc Func OnStart() ConsoleWrite('The program just started.' & @CRLF) ; Do your load stuffs here EndFunc
    1 point
  6. you should not prevent the script from closing but in the 1st example it shows that you can save whatever setting you'd like to save from that function. Unless you go into detail of what are you upto, this is all I'm gonna do.
    1 point
  7. ok, I don't have an environment to play around with this but try _WinAPI_GetSystemPowerStatus(). Let me know if it worked.
    1 point
  8. read about OnAutoItExitRegister().
    1 point
  9. water

    OutlookEX

    Version 1.7.0.1

    10,046 downloads

    Extensive library to control and manipulate Microsoft Outlook. This UDF holds the functions to automate items (folders, mails, contacts ...) in the background. Can be seen like an API. There are other UDFs available to automate Outlook: OutlookEX_GUI: This UDF holds the functions to automate the Outlook GUI. OutlookTools: Allows to import/export contacts and events to VCF/ICS files and much more. Threads: Development - General Help & Support - Example Scripts - Wiki BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort KNOWN BUGS (last changed: 2020-02-09) None
    1 point
×
×
  • Create New...