<commit_before># nativewindowlib

Small library for working with native windows in Windows using JNA

## Dependencies

- [jna](https://github.com/twall/jna)

## Examples

Loop through windows
```java
List<NativeWindow> windows = WindowUtils.getWindows();
		    
for (NativeWindow window : windows) {
	if (window.getTitle().length() > 0) {
		addToList(window);
	}	
}		    
```

Minimize first window in list
```java
List<NativeWindow> windows = WindowUtils.getWindows();
<commit_msg>README.md updated<commit_after># nativewindowlib

Small library for working with native windows in Windows using JNA

## Dependencies

- [jna](https://github.com/twall/jna)

## Examples

Loop through windows
```java
List<NativeWindow> windows = WindowUtils.getVisibleWindows();
		    
for (NativeWindow window : windows) {
	addToList(window);
}		    
```

Minimize first window in list
```java
List<NativeWindow> windows = WindowUtils.getVisibleWindows();

{'fraction_non_alphanumeric': 0.11940298507462686, 'fraction_numerical': 0.0010660980810234541, 'mean_word_length': 4.7607361963190185, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3762746', 'n_tokens_mistral': 300, 'n_tokens_neox': 281, 'n_words': 78}