Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1026414 // stefan_startOtherWebCam

JavaX fragment (include)

svoid stefan_startOtherWebCam() {
  if (dm_hasSystemWindowWithTitleContainingIC("Believe"))
    print([[Have window with title "Believe"]]);
  else {
    print("Starting webcam preview");
    backtick("webcam-preview-video0");
  }
}

Author comment

Began life as a copy of #1026368

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026414
Snippet name: stefan_startOtherWebCam
Eternal ID of this version: #1026414/2
Text MD5: fd1332f859be78b7d962fb5c4f552207
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-03 15:07:09
Source code size: 239 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 175
Version history: 1 change(s)
Referenced in: [show references]