Results 1 to 4 of 4

Thread: Back to photo mode after recording video

  • Thread Tools
    • Show Printable Version
    • Subscribe to this Thread…
  • Display
    • Switch to Hybrid Mode
    • Switch to Threaded Mode
  1. #1
    alexp
    alexp is offlineMember
    Join Date
    Nov 2012
    Posts
    30

    Thumbs up Back to photo mode after recording video

    Chris, how easy (or hard) is it to make the photobooth jump back to the photo mode after a video recording? Are there step by step instructions?
    Thanks.
    Reply With Quote Reply With Quote

  2. #2
    yowie
    • View Profile
    • View Forum Posts
    • Private Message
    yowie is offlineJunior Member
    Join Date
    Dec 2011
    Posts
    1

    Default

    No its not hard you just use an application running in the background called AutoHotkey which is free and run a small script file. I just modified one of the samples. This works for me just save the text below as a *.ahk file and put it in the Startup Folder in the Programs directory in windows. This will start Autohotkeys and run the script in the background.

    ;-----------------------------------------------------------------------

    ; Set TimeoutInSecs to the number of seconds before the booth times out
    ; and returns to welcome screen. Set this to 0 to disable the timeout
    TimeoutInSecs = 120

    ; loop forever monitoring the status of the photobooth screen by looking
    ; at the window title which is in the form:
    ; Breeze Systems Photobooth -
    LookForReady = 1
    Timeout = 0
    Loop
    {
    IfWinExist, Breeze Systems Photobooth
    {
    WinGetTitle, Title, Breeze Systems Photobooth
    if Title contains ready.jpg
    {
    ; Photobooth is displaying ready screen - are we looking for ready.jpg?
    if LookForReady
    {
    ; yes, photobooth has just switched from processing.jpg to ready.jpg
    LookForReady = 0
    WinActivate, Breeze Systems Photobooth
    ; Send F6 to switch to standby
    Send ^p
    Send {F6}
    Timeout = 0
    }
    if (Timeout > 0 and A_TickCount > Timeout)
    {
    WinActivate, Breeze Systems Photobooth
    ; Send F6 to switch to standby
    Send ^p
    Send {F6}
    Timeout = 0
    }
    }
    else if Title contains processing.jpg
    {
    ; Photobooth is displaying ready screen - start looking for ready.jpg
    LookForReady = 1
    }
    }
    else
    {
    LookForReady = 1
    }
    Sleep 100 ; sleep for 1/10th sec to avoid hogging the processor
    }
    Return

    ; Exit standby mode when F12 is pressed
    F12::
    IfWinExist, Breeze Systems Photobooth
    {
    WinGetTitle, Title, Breeze Systems Photobooth
    if Title contains welcome.jpg
    {
    if (TimeoutInSecs > 0)
    {
    Timeout := A_TickCount + TimeoutInSecs * 1000
    }
    Reply With Quote Reply With Quote

  3. #3
    Chris Breeze is offlineAdministrator
    Join Date
    Jan 2005
    Posts
    5,730

    Default

    A simpler way to do it is to save the photobooth settings to file (ensuring that "Startup in video booth mode when selecting full screen photobooth" is not selected) and then define this as the default profile. This will load your default settings after each stills or video shooting sequence.
    Reply With Quote Reply With Quote

  4. #4
    alexp
    alexp is offlineMember
    Join Date
    Nov 2012
    Posts
    30

    Default

    Thank you Chris. I followed your instructions, and it worked!

    Yowie, I appriciate you trying to help, but just so you know, the script you gave me is incomplete.
    This is the error message I got:

    Reply With Quote Reply With Quote

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •