Skip to content

Commit a954b29

Browse files
committed
service installer
1 parent 409e467 commit a954b29

File tree

3 files changed

+152
-0
lines changed

3 files changed

+152
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSServices</key>
6+
<array>
7+
<dict>
8+
<key>NSMenuItem</key>
9+
<dict>
10+
<key>default</key>
11+
<string>Send to iPhone </string>
12+
</dict>
13+
<key>NSMessage</key>
14+
<string>runWorkflowAsService</string>
15+
<key>NSSendTypes</key>
16+
<array>
17+
<string>public.utf8-plain-text</string>
18+
</array>
19+
</dict>
20+
</array>
21+
</dict>
22+
</plist>
Loading

pushmenu/SendtoiPhone.workflow/Contents/document.wflow

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AMApplicationBuild</key>
6+
<string>329</string>
7+
<key>AMApplicationVersion</key>
8+
<string>2.2</string>
9+
<key>AMDocumentVersion</key>
10+
<string>2</string>
11+
<key>actions</key>
12+
<array>
13+
<dict>
14+
<key>action</key>
15+
<dict>
16+
<key>AMAccepts</key>
17+
<dict>
18+
<key>Container</key>
19+
<string>List</string>
20+
<key>Optional</key>
21+
<true/>
22+
<key>Types</key>
23+
<array>
24+
<string>com.apple.applescript.object</string>
25+
</array>
26+
</dict>
27+
<key>AMActionVersion</key>
28+
<string>1.0.1</string>
29+
<key>AMApplication</key>
30+
<array>
31+
<string>Automator</string>
32+
</array>
33+
<key>AMParameterProperties</key>
34+
<dict>
35+
<key>source</key>
36+
<dict/>
37+
</dict>
38+
<key>AMProvides</key>
39+
<dict>
40+
<key>Container</key>
41+
<string>List</string>
42+
<key>Types</key>
43+
<array>
44+
<string>com.apple.applescript.object</string>
45+
</array>
46+
</dict>
47+
<key>ActionBundlePath</key>
48+
<string>/System/Library/Automator/Run AppleScript.action</string>
49+
<key>ActionName</key>
50+
<string>AppleScript ausführen</string>
51+
<key>ActionParameters</key>
52+
<dict>
53+
<key>source</key>
54+
<string>on run {input, parameters} tell application "pushmenu" sendmessage input end tellend run</string>
55+
</dict>
56+
<key>BundleIdentifier</key>
57+
<string>com.apple.Automator.RunScript</string>
58+
<key>CFBundleVersion</key>
59+
<string>1.0.1</string>
60+
<key>CanShowSelectedItemsWhenRun</key>
61+
<false/>
62+
<key>CanShowWhenRun</key>
63+
<true/>
64+
<key>Category</key>
65+
<array>
66+
<string>AMCategoryUtilities</string>
67+
</array>
68+
<key>Class Name</key>
69+
<string>RunScriptAction</string>
70+
<key>InputUUID</key>
71+
<string>03572CA5-3940-4B52-AC21-23B90FAA4ECE</string>
72+
<key>Keywords</key>
73+
<array>
74+
<string>Ausführen</string>
75+
</array>
76+
<key>OutputUUID</key>
77+
<string>5C69768E-7D3D-4289-9B02-0F32EDFC4ED2</string>
78+
<key>UUID</key>
79+
<string>88976C7D-12E2-4242-A16E-215B165D43C7</string>
80+
<key>UnlocalizedApplications</key>
81+
<array>
82+
<string>Automator</string>
83+
</array>
84+
<key>arguments</key>
85+
<dict>
86+
<key>0</key>
87+
<dict>
88+
<key>default value</key>
89+
<string>on run {input, parameters}
90+
91+
(* Your script goes here *)
92+
93+
return input
94+
end run</string>
95+
<key>name</key>
96+
<string>source</string>
97+
<key>required</key>
98+
<string>0</string>
99+
<key>type</key>
100+
<string>0</string>
101+
<key>uuid</key>
102+
<string>0</string>
103+
</dict>
104+
</dict>
105+
<key>isViewVisible</key>
106+
<true/>
107+
<key>location</key>
108+
<string>309.500000:554.000000</string>
109+
<key>nibPath</key>
110+
<string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/German.lproj/main.nib</string>
111+
</dict>
112+
<key>isViewVisible</key>
113+
<true/>
114+
</dict>
115+
</array>
116+
<key>connectors</key>
117+
<dict/>
118+
<key>workflowMetaData</key>
119+
<dict>
120+
<key>serviceInputTypeIdentifier</key>
121+
<string>com.apple.Automator.text</string>
122+
<key>serviceOutputTypeIdentifier</key>
123+
<string>com.apple.Automator.nothing</string>
124+
<key>serviceProcessesInput</key>
125+
<integer>0</integer>
126+
<key>workflowTypeIdentifier</key>
127+
<string>com.apple.Automator.servicesMenu</string>
128+
</dict>
129+
</dict>
130+
</plist>

0 commit comments

Comments
 (0)