Created
June 21, 2015 08:48
-
-
Save flarn2006/2bcf04bc00a5870a771d to your computer and use it in GitHub Desktop.
Screenshot button for Google Translate (useful in Word Lens)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TaskerData sr="" dvi="1" tv="4.7m"> | |
<dmetric>1080.0,1920.0</dmetric> | |
<Profile sr="prof18" ve="2"> | |
<cdate>1428440396939</cdate> | |
<clp>true</clp> | |
<edate>1428440437425</edate> | |
<id>18</id> | |
<mid0>23</mid0> | |
<State sr="con0" ve="2"> | |
<code>120</code> | |
<Int sr="arg0" val="4"/> | |
</State> | |
</Profile> | |
<Profile sr="prof19" ve="2"> | |
<cdate>1428317713419</cdate> | |
<clp>true</clp> | |
<edate>1428440075842</edate> | |
<id>19</id> | |
<mid0>21</mid0> | |
<mid1>22</mid1> | |
<App sr="con0" ve="2"> | |
<cls0>com.google.android.apps.translate.TranslateActivity</cls0> | |
<flags>2</flags> | |
<label0>Translate</label0> | |
<pkg0>com.google.android.apps.translate</pkg0> | |
</App> | |
</Profile> | |
<Profile sr="prof27" ve="2"> | |
<cdate>1428440447826</cdate> | |
<clp>true</clp> | |
<edate>1428440470518</edate> | |
<id>27</id> | |
<mid0>28</mid0> | |
<State sr="con0" ve="2"> | |
<code>120</code> | |
<Int sr="arg0" val="5"/> | |
</State> | |
</Profile> | |
<Project sr="proj0" ve="2"> | |
<cdate>1428351725384</cdate> | |
<name>Screenshots</name> | |
<pids>19,18,27</pids> | |
<scenes>Screenshot Display,Screenshot Button,Popup</scenes> | |
<tids>8,24,17,28,26,21,2,23,25,22</tids> | |
<Img sr="icon" ve="2"> | |
<cls>com.google.android.apps.translate.TranslateActivity</cls> | |
<pkg>com.google.android.apps.translate</pkg> | |
</Img> | |
</Project> | |
<Scene sr="scenePopup"> | |
<cdate>1428352130945</cdate> | |
<edate>1428352130945</edate> | |
<heightLand>-1</heightLand> | |
<heightPort>562</heightPort> | |
<nme>Popup</nme> | |
<widthLand>-1</widthLand> | |
<widthPort>675</widthPort> | |
<TextElement sr="elements0" ve="3"> | |
<flags>4</flags> | |
<geom>13,0,661,162,6,0,294,72</geom> | |
<Str sr="arg0" ve="3">Title</Str> | |
<Str sr="arg1" ve="3">Title</Str> | |
<Int sr="arg2" val="28"/> | |
<Int sr="arg3"/> | |
<Str sr="arg4" ve="3">#FF0099CC</Str> | |
<Str sr="arg5" ve="3"/> | |
<Int sr="arg6" val="3"/> | |
<Int sr="arg7"/> | |
<Int sr="arg8"/> | |
</TextElement> | |
<RectElement sr="elements1"> | |
<flags>4</flags> | |
<geom>0,162,675,6,-1,-1,-1,-1</geom> | |
<Str sr="arg0" ve="3">Header</Str> | |
<Int sr="arg1" val="0"/> | |
<Str sr="arg2" ve="3">#77333333</Str> | |
<Str sr="arg3" ve="3"/> | |
<Int sr="arg4" val="0"/> | |
<Str sr="arg5" ve="3">#FF000000</Str> | |
<Int sr="arg6" val="0"/> | |
<Int sr="arg7" val="0"/> | |
</RectElement> | |
<TextElement sr="elements2" ve="3"> | |
<clickTask>-936</clickTask> | |
<flags>5</flags> | |
<geom>15,177,643,328,-1,-1,-1,-1</geom> | |
<Str sr="arg0" ve="3">Text1</Str> | |
<Str sr="arg1" ve="3">Text</Str> | |
<Int sr="arg2" val="22"/> | |
<Int sr="arg3"/> | |
<Str sr="arg4" ve="3">#FFFFFFFF</Str> | |
<Str sr="arg5" ve="3"/> | |
<Int sr="arg6" val="0"/> | |
<Int sr="arg7" val="1"/> | |
<Int sr="arg8"/> | |
</TextElement> | |
<PropertiesElement sr="props"> | |
<Int sr="arg0" val="1"/> | |
<Int sr="arg1" val="0"/> | |
<Str sr="arg2" ve="3">#FF000000</Str> | |
<Int sr="arg3" val="0"/> | |
<Str sr="arg4" ve="3">Popup</Str> | |
<Str sr="arg5" ve="3"/> | |
<Img sr="arg6" ve="2"/> | |
<Str sr="arg7" ve="3"/> | |
</PropertiesElement> | |
</Scene> | |
<Scene sr="sceneScreenshot Button"> | |
<cdate>1428317368631</cdate> | |
<edate>1428530513284</edate> | |
<heightLand>168</heightLand> | |
<heightPort>168</heightPort> | |
<nme>Screenshot Button</nme> | |
<widthLand>162</widthLand> | |
<widthPort>162</widthPort> | |
<OvalElement sr="elements0"> | |
<flags>6</flags> | |
<geom>0,0,162,168,0,0,162,168</geom> | |
<Str sr="arg0" ve="3">Oval1</Str> | |
<Int sr="arg1" val="2"/> | |
<Str sr="arg2" ve="3">#80FF0000</Str> | |
<Str sr="arg3" ve="3">#806E0000</Str> | |
<Int sr="arg4" val="0"/> | |
<Str sr="arg5" ve="3">#FF000000</Str> | |
</OvalElement> | |
<ImageElement sr="elements1" ve="2"> | |
<clickTask>17</clickTask> | |
<flags>4</flags> | |
<geom>6,9,149,149,6,9,149,149</geom> | |
<Str sr="arg0" ve="3">Image1</Str> | |
<Img sr="arg1" ve="2"> | |
<nme>hd_device_access_camera</nme> | |
</Img> | |
<Int sr="arg2" val="192"/> | |
<Str sr="arg3" ve="3">#FFFF0000</Str> | |
</ImageElement> | |
<PropertiesElement sr="props"> | |
<Int sr="arg0" val="1"/> | |
<Int sr="arg1" val="0"/> | |
<Str sr="arg2" ve="3">#00FFFFFF</Str> | |
<Int sr="arg3" val="0"/> | |
<Str sr="arg4" ve="3">Screenshot Button</Str> | |
<Str sr="arg5" ve="3"/> | |
<Img sr="arg6" ve="2"/> | |
<Str sr="arg7" ve="3"/> | |
</PropertiesElement> | |
</Scene> | |
<Scene sr="sceneScreenshot Display"> | |
<cdate>1428350719368</cdate> | |
<edate>1428440773565</edate> | |
<heightLand>864</heightLand> | |
<heightPort>1356</heightPort> | |
<nme>Screenshot Display</nme> | |
<widthLand>1314</widthLand> | |
<widthPort>954</widthPort> | |
<TextElement sr="elements0" ve="3"> | |
<flags>4</flags> | |
<geom>0,0,953,158,0,0,1313,158</geom> | |
<Str sr="arg0" ve="3">Text1</Str> | |
<Str sr="arg1" ve="3">Screenshot Taken</Str> | |
<Int sr="arg2" val="36"/> | |
<Int sr="arg3" val="100"/> | |
<Str sr="arg4" ve="3">#FFFFFFFF</Str> | |
<Str sr="arg5" ve="3"/> | |
<Int sr="arg6" val="0"/> | |
<Int sr="arg7" val="0"/> | |
<Int sr="arg8" val="0"/> | |
</TextElement> | |
<ImageElement sr="elements1" ve="2"> | |
<flags>4</flags> | |
<geom>180,158,593,1014,210,159,917,521</geom> | |
<Str sr="arg0" ve="3">Image1</Str> | |
<Img sr="arg1" ve="2"> | |
<var>%ScreenshotFilename</var> | |
</Img> | |
<Int sr="arg2" val="255"/> | |
<Str sr="arg3" ve="3">#FF0099CC</Str> | |
</ImageElement> | |
<ButtonElement sr="elements2" ve="3"> | |
<clickTask>24</clickTask> | |
<flags>4</flags> | |
<geom>501,1220,452,136,681,728,631,136</geom> | |
<Str sr="arg0" ve="3">Button1</Str> | |
<Str sr="arg1" ve="3">Keep</Str> | |
<Int sr="arg2" val="24"/> | |
<Int sr="arg3" val="100"/> | |
<Str sr="arg4" ve="3">#FFFFFFFF</Str> | |
<Str sr="arg5" ve="3"/> | |
<Int sr="arg6" val="0"/> | |
<Img sr="arg7" ve="2"/> | |
</ButtonElement> | |
<ButtonElement sr="elements3" ve="3"> | |
<clickTask>25</clickTask> | |
<flags>4</flags> | |
<geom>0,1220,452,136,0,728,631,136</geom> | |
<Str sr="arg0" ve="3">Button2</Str> | |
<Str sr="arg1" ve="3">Delete</Str> | |
<Int sr="arg2" val="24"/> | |
<Int sr="arg3" val="100"/> | |
<Str sr="arg4" ve="3">#FFFFFFFF</Str> | |
<Str sr="arg5" ve="3"/> | |
<Int sr="arg6" val="0"/> | |
<Img sr="arg7" ve="2"/> | |
</ButtonElement> | |
<TextElement sr="elements4" ve="3"> | |
<flags>4</flags> | |
<geom>0,1172,946,50,0,680,1313,50</geom> | |
<Str sr="arg0" ve="3">Text2</Str> | |
<Str sr="arg1" ve="3">%ScreenshotFilename</Str> | |
<Int sr="arg2" val="8"/> | |
<Int sr="arg3" val="100"/> | |
<Str sr="arg4" ve="3">#FFFFFFFF</Str> | |
<Str sr="arg5" ve="3"/> | |
<Int sr="arg6" val="0"/> | |
<Int sr="arg7" val="0"/> | |
<Int sr="arg8" val="0"/> | |
</TextElement> | |
<PropertiesElement sr="props"> | |
<Int sr="arg0" val="1"/> | |
<Int sr="arg1" val="0"/> | |
<Str sr="arg2" ve="3">#FF282828</Str> | |
<Int sr="arg3" val="0"/> | |
<Str sr="arg4" ve="3">Screenshot Display</Str> | |
<Str sr="arg5" ve="3"/> | |
<Img sr="arg6" ve="2"/> | |
<Str sr="arg7" ve="3"/> | |
</PropertiesElement> | |
</Scene> | |
<Task sr="task17"> | |
<cdate>1428317463298</cdate> | |
<edate>1428317463298</edate> | |
<id>17</id> | |
<pri>12</pri> | |
<Action sr="act0" ve="7"> | |
<code>48</code> | |
<Str sr="arg0" ve="3">Screenshot Button</Str> | |
<Int sr="arg1" val="1"/> | |
</Action> | |
<Action sr="act1" ve="7"> | |
<code>130</code> | |
<Str sr="arg0" ve="3">Take Screenshot</Str> | |
<Int sr="arg1"> | |
<var>%priority+1</var> | |
</Int> | |
<Str sr="arg2" ve="3"/> | |
<Str sr="arg3" ve="3"/> | |
<Str sr="arg4" ve="3"/> | |
<Int sr="arg5" val="0"/> | |
</Action> | |
<Action sr="act2" ve="7"> | |
<code>47</code> | |
<Str sr="arg0" ve="3">Screenshot Button</Str> | |
<Int sr="arg1" val="1"/> | |
<Int sr="arg2"> | |
<var>%ScreenshotButtonX</var> | |
</Int> | |
<Int sr="arg3"> | |
<var>%ScreenshotButtonY</var> | |
</Int> | |
<Int sr="arg4" val="0"/> | |
<Int sr="arg5" val="0"/> | |
<Int sr="arg6" val="1"/> | |
</Action> | |
</Task> | |
<Task sr="task2"> | |
<cdate>1428439697605</cdate> | |
<edate>1428439945096</edate> | |
<id>2</id> | |
<nme>Show Screenshot Button</nme> | |
<Action sr="act0" ve="7"> | |
<code>47</code> | |
<Str sr="arg0" ve="3">Screenshot Button</Str> | |
<Int sr="arg1" val="1"/> | |
<Int sr="arg2"> | |
<var>%par1</var> | |
</Int> | |
<Int sr="arg3"> | |
<var>%par2</var> | |
</Int> | |
<Int sr="arg4" val="0"/> | |
<Int sr="arg5" val="0"/> | |
<Int sr="arg6" val="1"/> | |
</Action> | |
<Action sr="act1" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%ScreenshotButtonX</Str> | |
<Str sr="arg1" ve="3">%par1</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
<Action sr="act2" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%ScreenshotButtonY</Str> | |
<Str sr="arg1" ve="3">%par2</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
</Task> | |
<Task sr="task21"> | |
<cdate>1428317721762</cdate> | |
<edate>1428440075842</edate> | |
<id>21</id> | |
<Action sr="act0" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%ScreenshotLocation</Str> | |
<Str sr="arg1" ve="3">/mnt/extSdCard/WordLensScreenshots</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
<Action sr="act1" ve="7"> | |
<code>130</code> | |
<Str sr="arg0" ve="3">Show Screenshot Button</Str> | |
<Int sr="arg1"> | |
<var>%priority</var> | |
</Int> | |
<Str sr="arg2" ve="3">180</Str> | |
<Str sr="arg3" ve="3">40</Str> | |
<Str sr="arg4" ve="3"/> | |
<Int sr="arg5" val="0"/> | |
</Action> | |
</Task> | |
<Task sr="task22"> | |
<cdate>1428317778968</cdate> | |
<edate>1428317787696</edate> | |
<id>22</id> | |
<Action sr="act0" ve="7"> | |
<code>48</code> | |
<Str sr="arg0" ve="3">Screenshot Button</Str> | |
<Int sr="arg1" val="0"/> | |
</Action> | |
</Task> | |
<Task sr="task23"> | |
<cdate>1428440415614</cdate> | |
<edate>1428440437425</edate> | |
<id>23</id> | |
<Action sr="act0" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%LandscapeSide</Str> | |
<Str sr="arg1" ve="3">left</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
</Task> | |
<Task sr="task24"> | |
<cdate>1428350990655</cdate> | |
<edate>1428350990655</edate> | |
<id>24</id> | |
<pri>14</pri> | |
<Action sr="act0" ve="7"> | |
<code>48</code> | |
<Str sr="arg0" ve="3">Screenshot Display</Str> | |
<Int sr="arg1" val="0"/> | |
</Action> | |
</Task> | |
<Task sr="task25"> | |
<cdate>1428351001233</cdate> | |
<edate>1428351001233</edate> | |
<id>25</id> | |
<Action sr="act0" ve="7"> | |
<code>48</code> | |
<Str sr="arg0" ve="3">Screenshot Display</Str> | |
<Int sr="arg1" val="0"/> | |
</Action> | |
<Action sr="act1" ve="7"> | |
<code>406</code> | |
<Str sr="arg0" ve="3">%ScreenshotFilename</Str> | |
<Int sr="arg1" val="0"/> | |
<Int sr="arg2" val="0"/> | |
</Action> | |
</Task> | |
<Task sr="task26"> | |
<cdate>1428352125784</cdate> | |
<edate>1428530483592</edate> | |
<id>26</id> | |
<nme>Take Screenshot</nme> | |
<Action sr="act0" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%ScreenshotFilename</Str> | |
<Str sr="arg1" ve="3">%ScreenshotLocation/%DATE_%TIMES.png</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
<Action sr="act1" ve="7"> | |
<code>10112</code> | |
<se>false</se> | |
<Bundle sr="arg0"> | |
<Vals sr="val"> | |
<CaptureScreen>%ScreenshotFilename</CaptureScreen> | |
<CaptureScreen-type>java.lang.String</CaptureScreen-type> | |
<IssueCommandName><null></IssueCommandName> | |
<IssueCommandName-type>java.lang.String</IssueCommandName-type> | |
<IssueCommandString><null></IssueCommandString> | |
<IssueCommandString-type>java.lang.String</IssueCommandString-type> | |
<KeyCodePress><null></KeyCodePress> | |
<KeyCodePress-type>java.lang.String</KeyCodePress-type> | |
<PlaybackSpeed><null></PlaybackSpeed> | |
<PlaybackSpeed-type>java.lang.String</PlaybackSpeed-type> | |
<com.twofortyfouram.locale.intent.extra.BLURB>Capture Screen: %ScreenshotFilename</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>%capturepath | |
Captured Screenshot File Path | |
Captured Screenshot File Path</_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> | |
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>plugininstanceid plugintypeid IssueCommandName IssueCommandString PlaybackSpeed KeyCodePress CaptureScreen </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> | |
<plugininstanceid>1621cbe4-bbe9-4257-b0d0-f2cb9ffe68a9</plugininstanceid> | |
<plugininstanceid-type>java.lang.String</plugininstanceid-type> | |
<plugintypeid>com.joaomgcd.autoinput.intent.IntentIssueCommand</plugintypeid> | |
<plugintypeid-type>java.lang.String</plugintypeid-type> | |
</Vals> | |
</Bundle> | |
<Str sr="arg1" ve="3">com.joaomgcd.autoinput</Str> | |
<Str sr="arg2" ve="3">AutoInput Root</Str> | |
<Int sr="arg3" val="100"/> | |
</Action> | |
<Action sr="act2" ve="7"> | |
<code>37</code> | |
<ConditionList sr="if"> | |
<Condition sr="c0" ve="3"> | |
<lhs>%err</lhs> | |
<op>12</op> | |
<rhs></rhs> | |
</Condition> | |
</ConditionList> | |
</Action> | |
<Action sr="act3" ve="7"> | |
<code>550</code> | |
<Str sr="arg0" ve="3">Save Error</Str> | |
<Str sr="arg1" ve="3">%ScreenshotFilename</Str> | |
<Str sr="arg2" ve="3"/> | |
<Str sr="arg3" ve="3">Popup</Str> | |
<Int sr="arg4" val="5"/> | |
<Int sr="arg5" val="1"/> | |
</Action> | |
<Action sr="act4" ve="7"> | |
<code>43</code> | |
</Action> | |
<Action sr="act5" ve="7"> | |
<code>130</code> | |
<Str sr="arg0" ve="3">Rotate Screenshot</Str> | |
<Int sr="arg1"> | |
<var>%priority-1</var> | |
</Int> | |
<Str sr="arg2" ve="3"/> | |
<Str sr="arg3" ve="3"/> | |
<Str sr="arg4" ve="3"/> | |
<Int sr="arg5" val="0"/> | |
</Action> | |
<Action sr="act6" ve="7"> | |
<code>47</code> | |
<Str sr="arg0" ve="3">Screenshot Display</Str> | |
<Int sr="arg1" val="5"/> | |
<Int sr="arg2" val="100"/> | |
<Int sr="arg3" val="100"/> | |
<Int sr="arg4" val="10"/> | |
<Int sr="arg5" val="0"/> | |
<Int sr="arg6" val="1"/> | |
</Action> | |
<Action sr="act7" ve="7"> | |
<code>38</code> | |
</Action> | |
</Task> | |
<Task sr="task28"> | |
<cdate>1428440456627</cdate> | |
<edate>1428440470518</edate> | |
<id>28</id> | |
<Action sr="act0" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%LandscapeSide</Str> | |
<Str sr="arg1" ve="3">right</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
</Task> | |
<Task sr="task8"> | |
<cdate>1428440161387</cdate> | |
<edate>1428440662534</edate> | |
<id>8</id> | |
<nme>Rotate Screenshot</nme> | |
<pri>10</pri> | |
<Action sr="act0" ve="7"> | |
<code>348</code> | |
<Int sr="arg0" val="1"/> | |
<Str sr="arg1" ve="3"/> | |
<Str sr="arg2" ve="3">%orientation</Str> | |
</Action> | |
<Action sr="act1" ve="7"> | |
<code>37</code> | |
<ConditionList sr="if"> | |
<Condition sr="c0" ve="3"> | |
<lhs>%orientation</lhs> | |
<op>0</op> | |
<rhs>landscape</rhs> | |
</Condition> | |
</ConditionList> | |
</Action> | |
<Action sr="act2" ve="7"> | |
<code>188</code> | |
<Img sr="arg0" ve="2"> | |
<var>%ScreenshotFilename</var> | |
</Img> | |
<Int sr="arg1" val="0"/> | |
<Int sr="arg2" val="0"/> | |
</Action> | |
<Action sr="act3" ve="7"> | |
<code>191</code> | |
<Int sr="arg0" val="1"/> | |
<Int sr="arg1" val="1"/> | |
<ConditionList sr="if"> | |
<Condition sr="c0" ve="3"> | |
<lhs>%LandscapeSide</lhs> | |
<op>0</op> | |
<rhs>left</rhs> | |
</Condition> | |
</ConditionList> | |
</Action> | |
<Action sr="act4" ve="7"> | |
<code>191</code> | |
<Int sr="arg0" val="0"/> | |
<Int sr="arg1" val="1"/> | |
<ConditionList sr="if"> | |
<Condition sr="c0" ve="3"> | |
<lhs>%LandscapeSide</lhs> | |
<op>0</op> | |
<rhs>right</rhs> | |
</Condition> | |
</ConditionList> | |
</Action> | |
<Action sr="act5" ve="7"> | |
<code>187</code> | |
<Str sr="arg0" ve="3">%ScreenshotFilename</Str> | |
<Int sr="arg1" val="100"/> | |
<Int sr="arg2" val="1"/> | |
</Action> | |
<Action sr="act6" ve="7"> | |
<code>38</code> | |
</Action> | |
</Task> | |
</TaskerData> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment