<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>bundleid</key>
	<string>com.dalimatt.Instastalk</string>
	<key>connections</key>
	<dict>
		<key>479525CE-4660-40B1-B2BC-EEBFC33DCF4E</key>
		<array>
			<dict>
				<key>destinationuid</key>
				<string>A65C69D9-86F8-49CE-863C-EAD6FD5B34F2</string>
				<key>modifiers</key>
				<integer>0</integer>
				<key>modifiersubtext</key>
				<string></string>
			</dict>
		</array>
		<key><KEY></key>
		<array>
			<dict>
				<key>destinationuid</key>
				<string>5848CB44-DFC8-4696-B7C4-E7B2E36BFA2D</string>
				<key>modifiers</key>
				<integer>0</integer>
				<key>modifiersubtext</key>
				<string></string>
			</dict>
		</array>
	</dict>
	<key>createdby</key>
	<string>dalimatt</string>
	<key>description</key>
	<string>Find recent likes from instagram users</string>
	<key>disabled</key>
	<false/>
	<key>name</key>
	<string>Instastalk</string>
	<key>objects</key>
	<array>
		<dict>
			<key>config</key>
			<dict>
				<key>plusspaces</key>
				<false/>
				<key>url</key>
				<string>{query}</string>
				<key>utf8</key>
				<true/>
			</dict>
			<key>type</key>
			<string>alfred.workflow.action.openurl</string>
			<key>uid</key>
			<string>5848CB44-DFC8-4696-B7C4-E7B2E36BFA2D</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
		<dict>
			<key>config</key>
			<dict>
				<key>argumenttype</key>
				<integer>1</integer>
				<key>escaping</key>
				<integer>102</integer>
				<key>keyword</key>
				<string>stalk</string>
				<key>queuedelaycustom</key>
				<integer>3</integer>
				<key>queuedelayimmediatelyinitially</key>
				<true/>
				<key>queuedelaymode</key>
				<integer>0</integer>
				<key>queuemode</key>
				<integer>2</integer>
				<key>runningsubtext</key>
				<string>Loading results..</string>
				<key>script</key>
				<string>python stalk.py "{query}"</string>
				<key>title</key>
				<string>Stalk your favorite Instagram users</string>
				<key>type</key>
				<integer>0</integer>
				<key>withspace</key>
				<true/>
			</dict>
			<key>type</key>
			<string>alfred.workflow.input.scriptfilter</string>
			<key>uid</key>
			<string>7319AAC9-5677-4C72-930A-AD64947EBFDE</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
		<dict>
			<key>config</key>
			<dict>
				<key>plusspaces</key>
				<false/>
				<key>url</key>
				<string>{query}</string>
				<key>utf8</key>
				<true/>
			</dict>
			<key>type</key>
			<string>alfred.workflow.action.openurl</string>
			<key>uid</key>
			<string>A65C69D9-86F8-49CE-863C-EAD6FD5B34F2</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
		<dict>
			<key>config</key>
			<dict>
				<key>argumenttype</key>
				<integer>1</integer>
				<key>escaping</key>
				<integer>102</integer>
				<key>keyword</key>
				<string>stalk.configure</string>
				<key>queuedelaycustom</key>
				<integer>3</integer>
				<key>queuedelayimmediatelyinitially</key>
				<true/>
				<key>queuedelaymode</key>
				<integer>0</integer>
				<key>queuemode</key>
				<integer>1</integer>
				<key>runningsubtext</key>
				<string>...Loading</string>
				<key>script</key>
				<string>python configure.py "{query}"</string>
				<key>subtext</key>
				<string>Add Instagram accounts and other preferences</string>
				<key>title</key>
				<string>Configure Instastalk</string>
				<key>type</key>
				<integer>0</integer>
				<key>withspace</key>
				<false/>
			</dict>
			<key>type</key>
			<string>alfred.workflow.input.scriptfilter</string>
			<key>uid</key>
			<string>479525CE-4660-40B1-B2BC-EEBFC33DCF4E</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
	</array>
	<key>readme</key>
	<string></string>
	<key>uidata</key>
	<dict>
		<key>479525CE-4660-40B1-B2BC-EEBFC33DCF4E</key>
		<dict>
			<key>ypos</key>
			<real>130</real>
		</dict>
		<key>5848CB44-DFC8-4696-B7C4-E7B2E36BFA2D</key>
		<dict>
			<key>ypos</key>
			<real>10</real>
		</dict>
		<key><KEY></key>
		<dict>
			<key>ypos</key>
			<real>10</real>
		</dict>
		<key>A65C69D9-86F8-49CE-863C-EAD6FD5B34F2</key>
		<dict>
			<key>ypos</key>
			<real>130</real>
		</dict>
	</dict>
	<key>webaddress</key>
	<string></string>
</dict>
</plist><commit_msg>Add applescript actions in workflow to handle alt actions<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>bundleid</key>
	<string>com.dalimatt.Instastalk</string>
	<key>connections</key>
	<dict>
		<key><KEY></key>
		<array>
			<dict>
				<key>destinationuid</key>
				<string>A65C69D9-86F8-49CE-863C-EAD6FD5B34F2</string>
				<key>modifiers</key>
				<integer>0</integer>
				<key>modifiersubtext</key>
				<string></string>
			</dict>
		</array>
		<key><KEY></key>
		<array>
			<dict>
				<key>destinationuid</key>
				<string>20A021DB-6E8E-4118-8E4E-6241864C8DC0</string>
				<key>modifiers</key>
				<integer>0</integer>
				<key>modifiersubtext</key>
				<string></string>
			</dict>
			<dict>
				<key>destinationuid</key>
				<string>EEFAB164-42B7-4A52-B231-D05D4ACC73A9</string>
				<key>modifiers</key>
				<integer>524288</integer>
				<key>modifiersubtext</key>
				<string></string>
			</dict>
		</array>
	</dict>
	<key>createdby</key>
	<string>dalimatt</string>
	<key>description</key>
	<string>Find recent likes from instagram users</string>
	<key>disabled</key>
	<false/>
	<key>name</key>
	<string>Instastalk</string>
	<key>objects</key>
	<array>
		<dict>
			<key>config</key>
			<dict>
				<key>concurrently</key>
				<false/>
				<key>escaping</key>
				<integer>68</integer>
				<key>script</key>
				<string>set queryArray to split("{query}", " ")
set firstWord to the first item of queryArray
if the firstWord is "url" then
	set theUrl to the second item of queryArray
	open location theUrl
else
	tell application "Alfred 2" to search "stalk {query}"
end

on split(theString, theDelimiter)
	-- save delimiters to restore old settings
	set oldDelimiters to AppleScript's text item delimiters
	-- set delimiters to delimiter to be used
	set AppleScript's text item delimiters to theDelimiter
	-- create the array
	set theArray to every text item of theString
	-- restore the old setting
	set AppleScript's text item delimiters to oldDelimiters
	-- return the result
	return theArray
end split</string>
				<key>type</key>
				<integer>6</integer>
			</dict>
			<key>type</key>
			<string>alfred.workflow.action.script</string>
			<key>uid</key>
			<string>20A021DB-6E8E-4118-8E4E-6241864C8DC0</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
		<dict>
			<key>config</key>
			<dict>
				<key>argumenttype</key>
				<integer>1</integer>
				<key>escaping</key>
				<integer>102</integer>
				<key>keyword</key>
				<string>stalk</string>
				<key>queuedelaycustom</key>
				<integer>3</integer>
				<key>queuedelayimmediatelyinitially</key>
				<true/>
				<key>queuedelaymode</key>
				<integer>0</integer>
				<key>queuemode</key>
				<integer>2</integer>
				<key>runningsubtext</key>
				<string>Loading results..</string>
				<key>script</key>
				<string>python stalk.py "{query}"</string>
				<key>title</key>
				<string>Stalk your favorite Instagram users</string>
				<key>type</key>
				<integer>0</integer>
				<key>withspace</key>
				<true/>
			</dict>
			<key>type</key>
			<string>alfred.workflow.input.scriptfilter</string>
			<key>uid</key>
			<string>7319AAC9-5677-4C72-930A-AD64947EBFDE</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
		<dict>
			<key>config</key>
			<dict>
				<key>concurrently</key>
				<false/>
				<key>escaping</key>
				<integer>108</integer>
				<key>script</key>
				<string>set ALT to «data utxt00A0» as Unicode text
tell application "Alfred 2" to search "stalk " &amp; ALT &amp; "{query}"</string>
				<key>type</key>
				<integer>6</integer>
			</dict>
			<key>type</key>
			<string>alfred.workflow.action.script</string>
			<key>uid</key>
			<string>EEFAB164-42B7-4A52-B231-D05D4ACC73A9</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
		<dict>
			<key>config</key>
			<dict>
				<key>plusspaces</key>
				<false/>
				<key>url</key>
				<string>{query}</string>
				<key>utf8</key>
				<true/>
			</dict>
			<key>type</key>
			<string>alfred.workflow.action.openurl</string>
			<key>uid</key>
			<string>A65C69D9-86F8-49CE-863C-EAD6FD5B34F2</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
		<dict>
			<key>config</key>
			<dict>
				<key>argumenttype</key>
				<integer>1</integer>
				<key>escaping</key>
				<integer>102</integer>
				<key>keyword</key>
				<string>configure.stalk</string>
				<key>queuedelaycustom</key>
				<integer>3</integer>
				<key>queuedelayimmediatelyinitially</key>
				<true/>
				<key>queuedelaymode</key>
				<integer>0</integer>
				<key>queuemode</key>
				<integer>1</integer>
				<key>runningsubtext</key>
				<string>...Loading</string>
				<key>script</key>
				<string>python configure.py "{query}"</string>
				<key>subtext</key>
				<string>Add Instagram accounts and other preferences</string>
				<key>title</key>
				<string>Configure Instastalk</string>
				<key>type</key>
				<integer>0</integer>
				<key>withspace</key>
				<false/>
			</dict>
			<key>type</key>
			<string>alfred.workflow.input.scriptfilter</string>
			<key>uid</key>
			<string>479525CE-4660-40B1-B2BC-EEBFC33DCF4E</string>
			<key>version</key>
			<integer>0</integer>
		</dict>
	</array>
	<key>readme</key>
	<string></string>
	<key>uidata</key>
	<dict>
		<key>20A021DB-6E8E-4118-8E4E-6241864C8DC0</key>
		<dict>
			<key>ypos</key>
			<real>10</real>
		</dict>
		<key><KEY></key>
		<dict>
			<key>ypos</key>
			<real>250</real>
		</dict>
		<key><KEY></key>
		<dict>
			<key>ypos</key>
			<real>10</real>
		</dict>
		<key>A65C69D9-86F8-49CE-863C-EAD6FD5B34F2</key>
		<dict>
			<key>ypos</key>
			<real>250</real>
		</dict>
		<key>EEFAB164-42B7-4A52-B231-D05D4ACC73A9</key>
		<dict>
			<key>ypos</key>
			<real>130</real>
		</dict>
	</dict>
	<key>webaddress</key>
	<string></string>
</dict>
</plist>
{'fraction_non_alphanumeric': 0.19185076092292588, 'fraction_numerical': 0.04879725085910653, 'mean_word_length': 3.5230905861456483, 'pattern_counts': {'":': 0, '<': 671, '<?xml version=': 2, '>': 671, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '7500993', 'n_tokens_mistral': 5206, 'n_tokens_neox': 4198, 'n_words': 570}