-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (54 loc) · 2.1 KB
/
index.html
File metadata and controls
61 lines (54 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Window Screenshot App</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<header>
<h1>Window Screenshot Capture</h1>
<p>Select a display/window and capture screenshots with one click</p>
</header>
<div class="controls">
<div class="section">
<h3>Step 1: Select Display/Window</h3>
<button id="refreshBtn" class="btn secondary">Refresh Windows List</button>
<select id="windowSelect" class="window-select">
<option value="">Loading windows...</option>
</select>
</div>
<div class="section">
<h3>Step 2: Set Save Location</h3>
<button id="pathBtn" class="btn secondary">Choose Folder</button>
<p id="pathDisplay" class="path-display">Default: Downloads Folder</p>
</div>
<div class="section">
<h3>Step 3: Capture Screenshot</h3>
<button id="captureBtn" class="btn primary" disabled>
📷 Capture Screenshot
</button>
</div>
</div>
<div class="status" id="status">
Ready to capture screenshots
</div>
<div class="info">
<h4>Instructions:</h4>
<ul>
<li>Click "Refresh Windows List" to see available displays and windows.</li>
<li>(Optional) Choose a custom folder to save screenshots in.</li>
<li>Select the window/display you want to capture from the dropdown.</li>
<li>Click "Capture Screenshot" to take a screenshot.</li>
</ul>
</div>
<div class="recent-captures" id="recentCaptures" style="display: none;">
<h4>Recent Captures:</h4>
<div id="capturesList"></div>
</div>
</div>
<script src="renderer.js"></script>
</body>
</html>