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

8
LINES

< > BotCompany Repo | #1026368 // stefan_startWebCam

JavaX fragment (include)

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

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: #1026368
Snippet name: stefan_startWebCam
Eternal ID of this version: #1026368/2
Text MD5: 62e738ecbf71793baf1b9c3171b55123
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-25 20:39:29
Source code size: 227 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 185 / 255
Version history: 1 change(s)
Referenced in: [show references]