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
{"lastUpload":"2019-05-29T06:29:28.503Z","extensionVersion":"v3.2.9"} |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MaterialApp(home: MyApp())); | |
} | |
void pn(num n) => print(n); | |
class MyApp extends StatelessWidget { | |
@override |
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
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(new MyAppWidget()); | |
class MyAppWidget extends StatefulWidget { | |
@override | |
_MyAppWidgetState createState() => _MyAppWidgetState(); | |
} |
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
#SingleInstance Force | |
SetTitleMatchMode 2 | |
#n:: | |
run notepad | |
Return | |
^!f4:: | |
WinGetTitle sTitle, A | |
; MsgBox %sTitle% |
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
#SingleInstance Force | |
sFileName := A_Args[1] ;; 傳入參數必須帶有路徑 | |
if (sFileName = "") { | |
MsgBox 必須傳入完整檔名 | |
return | |
} | |
pmsg := ComObjCreate("CDO.Message") | |
;;pmsg.Charset := "UTF-8" | |
pmsg.From := """SendByAHK"" <你的Gmail帳號@gmail.com>" |
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
#SingleInstance Force | |
!NumpadAdd:: Send {Volume_Up} ;//Alt + numpad plus | |
!NumpadSub:: Send {Volume_Down} ;//Alt + numpad minus | |
!Numpad0::Send {Volume_Mute} ;//Alt + numpad 0 | |
~MButton:: | |
WinGetClass,sClass,A | |
;//MsgBox class=%sClass% | |
;//FM=7-zip window, TFcFormMain=FreeCommander |
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
#SingleInstance, force | |
:CO:,pc::電腦 | |
:O:,tw::台灣 | |
:*:,ks::高雄 | |
:O:,addr:: | |
( | |
台北市 | |
信義區 | |
信義路100號 |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MaterialApp(home: MyApp())); | |
} | |
void pn(num n) => print(n); | |
// Column -> container | |
class MyApp extends StatelessWidget { |
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
;; 將DOCX匯出為PDF | |
sFolder := "Z:\DOC" | |
sOutputExt := ".pdf" | |
Loop %sFolder%\*.docx { | |
sInputFilename = %A_LoopFileName% | |
;MsgBox filename=%sPdfFileName% | |
iPos := InStr(sInputFilename, "~") | |
if (iPos = 1) { |
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
; conv.ahk有兩種模式 | |
; 1. conv.ahk 輸入路徑檔名 輸出路徑檔名 | |
; 必須含有資料夾,否則會出錯 | |
; 2. conv.ahk 輸入路徑檔名有星號 輸出副檔名 | |
; 將輸入資料夾裡符合的檔案轉換成輸出副檔名格式 | |
iParamCount := A_Args.Length() | |
if (iParamCount <> 2) { | |
MsgBox 命令:conv.ahk 輸入檔名 輸出檔名`n conv.ahk 有萬用字元的檔名 輸出副檔名`n`n請重新執行。`n | |
Exit 1 |
OlderNewer