-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSend_To_Phone.prj.xml
435 lines (432 loc) · 16 KB
/
Send_To_Phone.prj.xml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<TaskerData sr="" dvi="1" tv="5.15.14">
<Profile sr="prof3" ve="2">
<cdate>1654851738338</cdate>
<clp>true</clp>
<edate>1655753061940</edate>
<flags>8</flags>
<id>3</id>
<mid0>5</mid0>
<nme>Ntfy Notification Received</nme>
<Event sr="con0" ve="2">
<code>599</code>
<Str sr="arg0" ve="3">io.heckel.ntfy.MESSAGE_RECEIVED</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="1"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
</Event>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1655755292394</cdate>
<name>Send To Phone</name>
<pids>3</pids>
<tids>8,7,6,4,9,5</tids>
<Kid sr="Kid">
<launchID>9</launchID>
<pkg>com.whipped_cream.send_to_phone</pkg>
<vTarg>29</vTarg>
<vnme>1.0</vnme>
<vnum>3</vnum>
</Kid>
<Img sr="icon" ve="2">
<nme>mw_communication_screen_share</nme>
</Img>
</Project>
<Task sr="task4">
<cdate>1654851753338</cdate>
<edate>1655756758886</edate>
<id>4</id>
<nme>Transfer.sh Handler</nme>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%url</Str>
<Str sr="arg1" ve="3">%message</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%filename</Str>
<Str sr="arg1" ve="3">%url</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%filename</Str>
<Str sr="arg1" ve="3">https://transfer.sh/.*/</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act3" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%filepath</Str>
<Str sr="arg1" ve="3">%download_folder/%filename</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act4" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Download File</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Int sr="arg10" val="1"/>
<Str sr="arg2" ve="3">%url</Str>
<Str sr="arg3" ve="3">%filepath</Str>
<Str sr="arg4" ve="3">%filepath</Str>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
<Int sr="arg9" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Decrypt File</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Int sr="arg10" val="1"/>
<Str sr="arg2" ve="3">%filepath</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3">%filepath</Str>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
<Int sr="arg9" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%filename</lhs>
<op>4</op>
<rhs>.*\.encrypted</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act6" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Uncompress</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Int sr="arg10" val="1"/>
<Str sr="arg2" ve="3">%filepath</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
<Int sr="arg9" val="0"/>
</Action>
<ProfileVariable sr="pv0">
<clearout>true</clearout>
<exportval></exportval>
<immutable>true</immutable>
<pvci>true</pvci>
<pvd></pvd>
<pvdn></pvdn>
<pvid>4</pvid>
<pvit>t</pvit>
<pvn>%download_folder</pvn>
<pvt>d</pvt>
<pvv>/storage/emulated/0/Download/Received</pvv>
<strout>true</strout>
</ProfileVariable>
</Task>
<Task sr="task5">
<cdate>1654861011290</cdate>
<edate>1655756689389</edate>
<id>5</id>
<nme>Ntfy Notification Handler</nme>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Transfer.sh Handler</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Int sr="arg10" val="1"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
<Int sr="arg9" val="0"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%message</lhs>
<op>4</op>
<rhs>https://transfer.sh/.*</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%title</lhs>
<op>1</op>
<rhs>Files shared from: Phone</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
<Task sr="task6">
<cdate>1655753209088</cdate>
<edate>1655754644799</edate>
<id>6</id>
<nme>Download File</nme>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%url</Str>
<Str sr="arg1" ve="3">%par1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%output_file</Str>
<Str sr="arg1" ve="3">%par2</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>339</code>
<Bundle sr="arg0">
<Vals sr="val">
<net.dinglisch.android.tasker.RELEVANT_VARIABLES><StringArray sr=""><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0>%http_cookies
Cookies
The cookies the server sent in the response in the Cookie:COOKIE_VALUE format. You can use this directly in the 'Headers' field of the HTTP Request action</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1>%http_file_output
File Output
Will always contain the file's full path even if you specified a directory as the File to save.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2>%http_response_code
Response Code
The HTTP Code the server responded</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3>%http_headers()
Response Headers
The HTTP Headers the server sent in the response. Each header is in the 'key:value' format</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4>%http_response_length
Response Length
The size of the response in bytes</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4></StringArray></net.dinglisch.android.tasker.RELEVANT_VARIABLES>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>
</Vals>
</Bundle>
<Int sr="arg1" val="0"/>
<Int sr="arg10" val="0"/>
<Int sr="arg11" val="0"/>
<Int sr="arg12" val="1"/>
<Str sr="arg2" ve="3">%url</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">%output_file</Str>
<Int sr="arg8" val="32"/>
<Int sr="arg9" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>126</code>
<Str sr="arg0" ve="3">%output_file</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Str sr="arg4" ve="3"/>
</Action>
</Task>
<Task sr="task7">
<cdate>1655753335056</cdate>
<edate>1655754964342</edate>
<id>7</id>
<nme>Decrypt File</nme>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%filepath</Str>
<Str sr="arg1" ve="3">%par1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%decryptedfilepath</Str>
<Str sr="arg1" ve="3">%filepath</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%decryptedfilepath</Str>
<Str sr="arg1" ve="3">.encrypted</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act3" ve="7">
<code>1256900802</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.termux.execute.arguments>%filepath %decryptedfilepath</com.termux.execute.arguments>
<com.termux.execute.arguments-type>java.lang.String</com.termux.execute.arguments-type>
<com.termux.tasker.extra.BACKGROUND_CUSTOM_LOG_LEVEL><null></com.termux.tasker.extra.BACKGROUND_CUSTOM_LOG_LEVEL>
<com.termux.tasker.extra.BACKGROUND_CUSTOM_LOG_LEVEL-type>java.lang.String</com.termux.tasker.extra.BACKGROUND_CUSTOM_LOG_LEVEL-type>
<com.termux.tasker.extra.EXECUTABLE>decrypt</com.termux.tasker.extra.EXECUTABLE>
<com.termux.tasker.extra.EXECUTABLE-type>java.lang.String</com.termux.tasker.extra.EXECUTABLE-type>
<com.termux.tasker.extra.SESSION_ACTION><null></com.termux.tasker.extra.SESSION_ACTION>
<com.termux.tasker.extra.SESSION_ACTION-type>java.lang.String</com.termux.tasker.extra.SESSION_ACTION-type>
<com.termux.tasker.extra.STDIN><null></com.termux.tasker.extra.STDIN>
<com.termux.tasker.extra.STDIN-type>java.lang.String</com.termux.tasker.extra.STDIN-type>
<com.termux.tasker.extra.TERMINAL>false</com.termux.tasker.extra.TERMINAL>
<com.termux.tasker.extra.TERMINAL-type>java.lang.Boolean</com.termux.tasker.extra.TERMINAL-type>
<com.termux.tasker.extra.VERSION_CODE>6</com.termux.tasker.extra.VERSION_CODE>
<com.termux.tasker.extra.VERSION_CODE-type>java.lang.Integer</com.termux.tasker.extra.VERSION_CODE-type>
<com.termux.tasker.extra.WAIT_FOR_RESULT>true</com.termux.tasker.extra.WAIT_FOR_RESULT>
<com.termux.tasker.extra.WAIT_FOR_RESULT-type>java.lang.Boolean</com.termux.tasker.extra.WAIT_FOR_RESULT-type>
<com.termux.tasker.extra.WORKDIR>/storage/emulated/0/</com.termux.tasker.extra.WORKDIR>
<com.termux.tasker.extra.WORKDIR-type>java.lang.String</com.termux.tasker.extra.WORKDIR-type>
<com.twofortyfouram.locale.intent.extra.BLURB>decrypt %filepath %decrypted
Working Directory ✓
Stdin ✕
Custom Log Level null
Terminal Session ✕
Wait For Result ✓</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES><StringArray sr=""><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0>%stdout
Standard Output
The &lt;B&gt;stdout&lt;/B&gt; of the command.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1>%stdout_original_length
Standard Output Original Length
The original length of &lt;B&gt;stdout&lt;/B&gt;.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2>%stderr
Standard Error
The &lt;B&gt;stderr&lt;/B&gt; of the command.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3>%stderr_original_length
Standard Error Original Length
The original length of &lt;B&gt;stderr&lt;/B&gt;.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4>%result
Exit Code
The &lt;B&gt;exit code&lt;/B&gt; of the command.0 often means success and anything else is usually a failure of some sort.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4></StringArray></net.dinglisch.android.tasker.RELEVANT_VARIABLES>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>com.termux.tasker.extra.EXECUTABLE com.termux.execute.arguments com.termux.tasker.extra.WORKDIR com.termux.tasker.extra.STDIN com.termux.tasker.extra.SESSION_ACTION com.termux.tasker.extra.BACKGROUND_CUSTOM_LOG_LEVEL</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>java.lang.String</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.termux.tasker</Str>
<Str sr="arg2" ve="3">com.termux.tasker.EditConfigurationActivity</Str>
<Int sr="arg3" val="10"/>
<Int sr="arg4" val="1"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%filepath</lhs>
<op>4</op>
<rhs>.*\.encrypted</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act4" ve="7">
<code>406</code>
<Str sr="arg0" ve="3">%filepath</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="1"/>
</Action>
<Action sr="act5" ve="7">
<code>126</code>
<Str sr="arg0" ve="3">%decryptedfilepath</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Str sr="arg4" ve="3"/>
</Action>
</Task>
<Task sr="task8">
<cdate>1655753482682</cdate>
<edate>1655756332854</edate>
<id>8</id>
<nme>Uncompress</nme>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%filepath</Str>
<Str sr="arg1" ve="3">%par1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>476</code>
<Str sr="arg0" ve="3">%filepath</Str>
<Int sr="arg1" val="1"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%filepath</lhs>
<op>4</op>
<rhs>.*(((\.tar)?\.gz)|(\.tgz))</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act2" ve="7">
<code>422</code>
<Str sr="arg0" ve="3">%filepath</Str>
<Int sr="arg1" val="1"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%filepath</lhs>
<op>4</op>
<rhs>.*\.zip</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
<Task sr="task9">
<cdate>1655757070820</cdate>
<edate>1655759343566</edate>
<id>9</id>
<nme>Initial Setup</nme>
<Action sr="act0" ve="7">
<code>377</code>
<Bundle sr="arg0">
<Vals sr="val">
<net.dinglisch.android.tasker.RELEVANT_VARIABLES><StringArray sr=""><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0>%td_button
Button
The label of the button that was clicked</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0></StringArray></net.dinglisch.android.tasker.RELEVANT_VARIABLES>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">Initial setup</Str>
<Str sr="arg2" ve="3">To use this app the Ntfy app needs to first be installed and some topic subscribed to
The Termux app and Termux:Tasker apps also need to be installed
If you have those then copy this command and paste it into the terminal to finish the setup: curl https://raw.githubusercontent.com/whipped-cream/send_to_phone/master/setup.sh | bash</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="30"/>
<Int sr="arg7" val="0"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
</Task>
</TaskerData>