Browse Source

增加几个常用脚本

liuyuqi-dellpc 4 years ago
parent
commit
d0404ad67c
4 changed files with 54 additions and 2 deletions
  1. 8 2
      OpenFolderWith.xys
  2. 13 0
      test/get_start.xys
  3. 10 0
      test/show_pic.xys
  4. 23 0
      transfer_file.xys

+ 8 - 2
OpenFolderWith.xys

@@ -29,8 +29,14 @@
 "10. Open Folder With WebStorm..."
     open "D:\Program Files\JetBrains\WebStorm2018.1.5\bin\webstorm64.exe" "<curpath>"
 "11. Open Folder With Android Studio..."
-    open "D:/Program-Files/android-studio/bin/studio.exe" "<curpath>"
+    open "D:/Program-Files/android-studio/bin/studio64.exe" "<curpath>"
 "12. Open Folder With Jupyter lab..."
     run "cmd /k ""jupyter lab --notebook-dir=""<curpath>"""""
 "13. Serve With fs..."
-    run """D:\opt\fs-go\fs-go.exe"" -port 8080 -dir  ""<curpath>"""
+    run """D:\opt\fs-go\fs-go.exe"" -port 8080 -dir  ""<curpath>"""
+"14. Serve With apache..."
+    open """D:\Program-Files\Apache24\apache-here.bat"" ""<curpath>"""
+"15. Serve With nginx..."
+    open """D:\Program-Files\nginx-1.13.1\start-nginx.bat"" ""<curpath>"""
+"16. Pic Manager..."
+    open """D:\Program-Files\gif\FSViewer64\FSViewer.exe"" ""<curpath>"""

+ 13 - 0
test/get_start.xys

@@ -0,0 +1,13 @@
+/*********************
+ @Author  :   liuyuqi
+ @Contact :   liuyuqi.gov@msn.cn
+ @Time    :   2020/04/26 17:40:12
+ @Version :   1.0
+ @License :   (C)Copyright 2019 liuyuqi.
+ @Desc    :   Getting started...
+*********************/
+
+"Introductory Note..."
+    msg "This is a little sample Catalog delivered with fresh installations.<br><br>Simply right-click the Catalog to proceed adding new Categories and Items that suit your personal needs.<br><br>Check out the help file and online documentation for examples.";
+"Catalog Tour (online)..."
+    open "http://www.xyplorer.com/tour.php?page=catalog"

+ 10 - 0
test/show_pic.xys

@@ -0,0 +1,10 @@
+/*********************
+ @Author  :   liuyuqi
+ @Contact :   liuyuqi.gov@msn.cn
+ @Time    :   2020/04/26 17:41:04
+ @Version :   1.0
+ @License :   (C)Copyright 2019 liuyuqi.
+ @Desc    :   None
+*********************/
+
+|*.jpg;*.png;*.gif;*.bmp

+ 23 - 0
transfer_file.xys

@@ -0,0 +1,23 @@
+/*********************
+ @Author  :   liuyuqi
+ @Contact :   liuyuqi.gov@msn.cn
+ @Time    :   2020/04/26 17:43:35
+ @Version :   1.0
+ @License :   (C)Copyright 2019 liuyuqi.
+ @Desc    :   配合 qrcp,mobile/pc 互传文件
+*********************/
+"1. Receive Phone File..."
+    run "D:\opt\qrcp\qrcp.exe receive --output=""<curpath>"""
+"2. Upload File to Phone..."
+    $flist= "";
+        if (get("CountSelected") != 0) {
+            foreach($item,get("SelectedItemsPathNames"),"<crlf>"){
+                $flist=$flist . $item." ";
+            }
+            run "D:\opt\qrcp\qrcp.exe $flist";
+        }else{
+            msg "please choose some files!"
+        }
+"3. Downlaod file..."
+    $a = input("Enter download URL", , , "m");
+    download $a