├── .gitignore ├── Automator ├── Automator.sln └── Automator │ ├── App.config │ ├── Application.xaml │ ├── Application.xaml.vb │ ├── Automator.vbproj │ ├── MainWindow.xaml │ ├── MainWindow.xaml.vb │ ├── Modules │ └── DuckyScript.vb │ ├── My Project │ ├── AssemblyInfo.vb │ ├── MyExtensions │ │ └── MyWpfExtension.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ ├── Settings.settings │ └── app.manifest │ ├── Resources │ ├── 128.png │ ├── 16.png │ ├── 24.png │ ├── 256.png │ ├── 32.png │ ├── 64.png │ ├── CubePreview.png │ ├── NewRequest_8796.png │ ├── StatusAnnotations_Information_16xLG_color.png │ ├── auto-fix.png │ ├── automator_2_preview.png │ ├── icon.ico │ └── icon.png │ ├── obj │ └── Debug │ │ ├── Automator.Resources.resources │ │ ├── Automator.vbproj.FileListAbsolute.txt │ │ ├── Automator.vbproj.GenerateResource.Cache │ │ ├── Automator.vbprojResolveAssemblyReference.cache │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ └── TempPE │ │ └── My Project.Resources.Designer.vb.dll │ └── packages.config ├── LICENSE ├── README.md └── assets ├── automator_icon.png └── automator_text.png /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | x64/ 19 | x86/ 20 | bld/ 21 | [Bb]in/ 22 | [Oo]bj/ 23 | [Ll]og/ 24 | 25 | # Visual Studio 2015 cache/options directory 26 | .vs/ 27 | # Uncomment if you have tasks that create the project's static files in wwwroot 28 | #wwwroot/ 29 | 30 | # MSTest test Results 31 | [Tt]est[Rr]esult*/ 32 | [Bb]uild[Ll]og.* 33 | 34 | # NUNIT 35 | *.VisualState.xml 36 | TestResult.xml 37 | 38 | # Build Results of an ATL Project 39 | [Dd]ebugPS/ 40 | [Rr]eleasePS/ 41 | dlldata.c 42 | 43 | # DNX 44 | project.lock.json 45 | artifacts/ 46 | 47 | *_i.c 48 | *_p.c 49 | *_i.h 50 | *.ilk 51 | *.meta 52 | *.obj 53 | *.pch 54 | *.pdb 55 | *.pgc 56 | *.pgd 57 | *.rsp 58 | *.sbr 59 | *.tlb 60 | *.tli 61 | *.tlh 62 | *.tmp 63 | *.tmp_proj 64 | *.log 65 | *.vspscc 66 | *.vssscc 67 | .builds 68 | *.pidb 69 | *.svclog 70 | *.scc 71 | 72 | # Chutzpah Test files 73 | _Chutzpah* 74 | 75 | # Visual C++ cache files 76 | ipch/ 77 | *.aps 78 | *.ncb 79 | *.opendb 80 | *.opensdf 81 | *.sdf 82 | *.cachefile 83 | *.VC.db 84 | *.VC.VC.opendb 85 | 86 | # Visual Studio profiler 87 | *.psess 88 | *.vsp 89 | *.vspx 90 | *.sap 91 | 92 | # TFS 2012 Local Workspace 93 | $tf/ 94 | 95 | # Guidance Automation Toolkit 96 | *.gpState 97 | 98 | # ReSharper is a .NET coding add-in 99 | _ReSharper*/ 100 | *.[Rr]e[Ss]harper 101 | *.DotSettings.user 102 | 103 | # JustCode is a .NET coding add-in 104 | .JustCode 105 | 106 | # TeamCity is a build add-in 107 | _TeamCity* 108 | 109 | # DotCover is a Code Coverage Tool 110 | *.dotCover 111 | 112 | # NCrunch 113 | _NCrunch_* 114 | .*crunch*.local.xml 115 | nCrunchTemp_* 116 | 117 | # MightyMoose 118 | *.mm.* 119 | AutoTest.Net/ 120 | 121 | # Web workbench (sass) 122 | .sass-cache/ 123 | 124 | # Installshield output folder 125 | [Ee]xpress/ 126 | 127 | # DocProject is a documentation generator add-in 128 | DocProject/buildhelp/ 129 | DocProject/Help/*.HxT 130 | DocProject/Help/*.HxC 131 | DocProject/Help/*.hhc 132 | DocProject/Help/*.hhk 133 | DocProject/Help/*.hhp 134 | DocProject/Help/Html2 135 | DocProject/Help/html 136 | 137 | # Click-Once directory 138 | publish/ 139 | 140 | # Publish Web Output 141 | *.[Pp]ublish.xml 142 | *.azurePubxml 143 | # TODO: Comment the next line if you want to checkin your web deploy settings 144 | # but database connection strings (with potential passwords) will be unencrypted 145 | *.pubxml 146 | *.publishproj 147 | 148 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 149 | # checkin your Azure Web App publish settings, but sensitive information contained 150 | # in these scripts will be unencrypted 151 | PublishScripts/ 152 | 153 | # NuGet Packages 154 | *.nupkg 155 | # The packages folder can be ignored because of Package Restore 156 | **/packages/* 157 | # except build/, which is used as an MSBuild target. 158 | !**/packages/build/ 159 | # Uncomment if necessary however generally it will be regenerated when needed 160 | #!**/packages/repositories.config 161 | # NuGet v3's project.json files produces more ignoreable files 162 | *.nuget.props 163 | *.nuget.targets 164 | 165 | # Microsoft Azure Build Output 166 | csx/ 167 | *.build.csdef 168 | 169 | # Microsoft Azure Emulator 170 | ecf/ 171 | rcf/ 172 | 173 | # Windows Store app package directories and files 174 | AppPackages/ 175 | BundleArtifacts/ 176 | Package.StoreAssociation.xml 177 | _pkginfo.txt 178 | 179 | # Visual Studio cache files 180 | # files ending in .cache can be ignored 181 | *.[Cc]ache 182 | # but keep track of directories ending in .cache 183 | !*.[Cc]ache/ 184 | 185 | # Others 186 | ClientBin/ 187 | ~$* 188 | *~ 189 | *.dbmdl 190 | *.dbproj.schemaview 191 | *.pfx 192 | *.publishsettings 193 | node_modules/ 194 | orleans.codegen.cs 195 | 196 | # Since there are multiple workflows, uncomment next line to ignore bower_components 197 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 198 | #bower_components/ 199 | 200 | # RIA/Silverlight projects 201 | Generated_Code/ 202 | 203 | # Backup & report files from converting an old project file 204 | # to a newer Visual Studio version. Backup files are not needed, 205 | # because we have git ;-) 206 | _UpgradeReport_Files/ 207 | Backup*/ 208 | UpgradeLog*.XML 209 | UpgradeLog*.htm 210 | 211 | # SQL Server files 212 | *.mdf 213 | *.ldf 214 | 215 | # Business Intelligence projects 216 | *.rdl.data 217 | *.bim.layout 218 | *.bim_*.settings 219 | 220 | # Microsoft Fakes 221 | FakesAssemblies/ 222 | 223 | # GhostDoc plugin setting file 224 | *.GhostDoc.xml 225 | 226 | # Node.js Tools for Visual Studio 227 | .ntvs_analysis.dat 228 | 229 | # Visual Studio 6 build log 230 | *.plg 231 | 232 | # Visual Studio 6 workspace options file 233 | *.opt 234 | 235 | # Visual Studio LightSwitch build output 236 | **/*.HTMLClient/GeneratedArtifacts 237 | **/*.DesktopClient/GeneratedArtifacts 238 | **/*.DesktopClient/ModelManifest.xml 239 | **/*.Server/GeneratedArtifacts 240 | **/*.Server/ModelManifest.xml 241 | _Pvt_Extensions 242 | 243 | # Paket dependency manager 244 | .paket/paket.exe 245 | paket-files/ 246 | 247 | # FAKE - F# Make 248 | .fake/ 249 | 250 | # JetBrains Rider 251 | .idea/ 252 | *.sln.iml 253 | *.psd 254 | -------------------------------------------------------------------------------- /Automator/Automator.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27428.2002 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Automator", "Automator\Automator.vbproj", "{6AC2D287-2A09-420C-BB32-6ED2419ABF06}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {6AC2D287-2A09-420C-BB32-6ED2419ABF06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {6AC2D287-2A09-420C-BB32-6ED2419ABF06}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {6AC2D287-2A09-420C-BB32-6ED2419ABF06}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {6AC2D287-2A09-420C-BB32-6ED2419ABF06}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {5AE32022-E443-4300-B1FA-A1D1471AF6FC} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Automator/Automator/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Automator/Automator/Application.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Automator/Automator/Application.xaml.vb: -------------------------------------------------------------------------------- 1 | Class Application 2 | 3 | ' 应用程序级事件(例如 Startup、Exit 和 DispatcherUnhandledException) 4 | ' 可以在此文件中进行处理。 5 | 6 | End Class 7 | -------------------------------------------------------------------------------- /Automator/Automator/Automator.vbproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Debug 5 | AnyCPU 6 | {6AC2D287-2A09-420C-BB32-6ED2419ABF06} 7 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{F184B08F-C81C-45F6-A57F-5ABD9991F28F} 8 | WinExe 9 | Automator 10 | Automator 11 | v4.5.2 12 | Custom 13 | 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | true 20 | true 21 | true 22 | bin\Debug\ 23 | Automator.xml 24 | 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | false 30 | false 31 | true 32 | false 33 | true 34 | bin\Release\ 35 | Automator.xml 36 | 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314 37 | 38 | 39 | On 40 | 41 | 42 | Binary 43 | 44 | 45 | Off 46 | 47 | 48 | On 49 | 50 | 51 | Resources\icon.ico 52 | 53 | 54 | My Project\app.manifest 55 | 56 | 57 | 58 | ..\packages\DialogBoxForMaterialDesignToolkitInXaml.1.0.0\lib\net45\ExtraTools.dll 59 | 60 | 61 | ..\packages\MaterialDesignColors.1.1.3\lib\net45\MaterialDesignColors.dll 62 | 63 | 64 | ..\packages\MaterialDesignThemes.2.4.0.1044\lib\net45\MaterialDesignThemes.Wpf.dll 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | MSBuild:Compile 83 | Designer 84 | 85 | 86 | MSBuild:Compile 87 | Designer 88 | 89 | 90 | Application.xaml 91 | Code 92 | 93 | 94 | MainWindow.xaml 95 | Code 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | Code 120 | 121 | 122 | Microsoft.VisualBasic.WPF.MyExtension 123 | 1.0.0.0 124 | 125 | 126 | True 127 | True 128 | Resources.resx 129 | 130 | 131 | True 132 | Settings.settings 133 | True 134 | 135 | 136 | VbMyResourcesResXFileCodeGenerator 137 | Resources.Designer.vb 138 | My.Resources 139 | 140 | 141 | 142 | SettingsSingleFileGenerator 143 | Settings.Designer.vb 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /Automator/Automator/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  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 | 54 | 55 | 59 | 63 | 67 | 71 | 75 | 79 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 96 | 97 | 98 | 99 | 102 | 105 | 106 | 107 | 108 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 128 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 148 | 149 | 150 | 151 | 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 | 229 | 230 | 231 | 232 | 233 | 234 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | -------------------------------------------------------------------------------- /Automator/Automator/MainWindow.xaml.vb: -------------------------------------------------------------------------------- 1 | Imports System.Windows.Forms 2 | Imports ExtraTools 3 | 4 | Class MainWindow 5 | 6 | #Region "File operations" 7 | 8 | Private UTF8NoBOM As System.Text.Encoding = New System.Text.UTF8Encoding(False) 9 | 10 | Private Sub btnNewFile_Click(sender As Object, e As RoutedEventArgs) 11 | If txtCode.Text <> "" Then 12 | DialogBox.Show("Create a new file?", "All unsaved changes will be lost.", "YES", "NO") 13 | If DialogBox.Result = DialogBox.ResultEnum.LeftButtonClicked Then 14 | txtCode.Clear() 15 | End If 16 | End If 17 | End Sub 18 | 19 | Private Sub btnSave_Click(sender As Object, e As RoutedEventArgs) 20 | Dim strOut As String = "#include ""DigiKeyboard.h""" & vbCrLf & vbCrLf 21 | If tgbLoop.IsChecked = True Then 22 | strOut = strOut & "void setup() {}" & vbCrLf & vbCrLf 23 | strOut = strOut & "void loop() {" & vbCrLf & "DigiKeyboard.sendKeyStroke(0);" & vbCrLf & "DigiKeyboard.delay(1000);" & vbCrLf 24 | Else 25 | strOut = strOut & "void loop() {}" & vbCrLf & vbCrLf 26 | strOut = strOut & "void setup() {" & vbCrLf & "DigiKeyboard.sendKeyStroke(0);" & vbCrLf & "DigiKeyboard.delay(1000);" & vbCrLf 27 | End If 28 | strOut = strOut & txtCode.Text & vbCrLf & "}" 29 | Dim sfd As New SaveFileDialog 30 | With sfd 31 | .AddExtension = True 32 | .CheckPathExists = True 33 | .DefaultExt = "ino" 34 | .Filter = "Arduino Code File | *.ino" 35 | .Title = "Save Arduino code to..." 36 | End With 37 | If sfd.ShowDialog() = Forms.DialogResult.OK Then 38 | Dim strDir As String = IO.Path.GetDirectoryName(sfd.FileName) & "\" & IO.Path.GetFileNameWithoutExtension(sfd.FileName) 39 | Dim strFileName As String = IO.Path.GetFileName(sfd.FileName) 40 | IO.Directory.CreateDirectory(strDir) 41 | Dim sw As New IO.StreamWriter(strDir & "\" & strFileName, False, UTF8NoBOM) 42 | sw.Write(strOut) 43 | sw.Close() 44 | sw.Dispose() 45 | End If 46 | End Sub 47 | 48 | #End Region 49 | 50 | #Region "Insert codes" 51 | 52 | Private Sub InsertString(ByVal Prompt As String) 53 | Dim index As Integer = txtCode.SelectionStart 54 | txtCode.Text = txtCode.Text.Insert(index, Prompt) 55 | txtCode.SelectionStart = index + Prompt.Length 56 | txtCode.Focus() 57 | End Sub 58 | 59 | Private Sub btnInput_Click(sender As Object, e As RoutedEventArgs) 60 | If tgbReturn.IsChecked = True Then 61 | InsertString(vbCrLf & "DigiKeyboard.println("""");") 62 | Else 63 | InsertString(vbCrLf & "DigiKeyboard.print("""");") 64 | End If 65 | txtCode.SelectionStart -= 3 66 | txtCode.Focus() 67 | End Sub 68 | 69 | Private Sub btnDelay_Click(sender As Object, e As RoutedEventArgs) 70 | InsertString(vbCrLf & "DigiKeyboard.delay();") 71 | txtCode.SelectionStart -= 2 72 | txtCode.Focus() 73 | End Sub 74 | 75 | Private Sub btnAdd_Click(sender As Object, e As RoutedEventArgs) 76 | If lstKeys.SelectedItems.Count = 0 Or cboKey.Text = "" Then Exit Sub 77 | Dim strAdd As String = $"DigiKeyboard.sendKeyStroke(KEY_{cboKey.Text}, " 78 | Dim flgPrimKey As Boolean = False 79 | If keyCmd.IsSelected = True Then 80 | strAdd &= "MOD_GUI_LEFT" 81 | flgPrimKey = True 82 | End If 83 | If keyOption.IsSelected = True Then 84 | If flgPrimKey = True Then 85 | strAdd &= " | MOD_ALT_LEFT" 86 | Else 87 | strAdd &= "MOD_ALT_LEFT" 88 | flgPrimKey = True 89 | End If 90 | End If 91 | If keyControl.IsSelected = True Then 92 | If flgPrimKey = True Then 93 | strAdd &= " | MOD_CONTROL_LEFT" 94 | Else 95 | strAdd &= "MOD_CONTROL_LEFT" 96 | flgPrimKey = True 97 | End If 98 | End If 99 | If keyShift.IsSelected = True Then 100 | If flgPrimKey = True Then 101 | strAdd &= " | MOD_SHIFT_LEFT" 102 | Else 103 | strAdd &= "MOD_SHIFT_LEFT" 104 | End If 105 | End If 106 | strAdd &= ");" 107 | InsertString(vbCrLf & strAdd) 108 | End Sub 109 | 110 | Private Sub btnSendGUI_Click(sender As Object, e As RoutedEventArgs) 111 | InsertString(vbCrLf & "DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);") 112 | End Sub 113 | 114 | Private Sub btnSendReturn_Click(sender As Object, e As RoutedEventArgs) 115 | InsertString(vbCrLf & "DigiKeyboard.sendKeyStroke(KEY_ENTER);") 116 | End Sub 117 | 118 | Private Sub btnSendSpace_Click(sender As Object, e As RoutedEventArgs) 119 | InsertString(vbCrLf & "DigiKeyboard.sendKeyStroke(KEY_SPACE);") 120 | End Sub 121 | 122 | Private Sub btnSendDown_Click(sender As Object, e As RoutedEventArgs) 123 | InsertString(vbCrLf & "DigiKeyboard.sendKeyStroke(KEY_ARROW_DOWN);") 124 | End Sub 125 | 126 | Private Sub btnSendUp_Click(sender As Object, e As RoutedEventArgs) 127 | InsertString(vbCrLf & "DigiKeyboard.sendKeyStroke(KEY_ARROW_UP);") 128 | End Sub 129 | 130 | Private Sub btnSendLeft_Click(sender As Object, e As RoutedEventArgs) 131 | InsertString(vbCrLf & "DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT);") 132 | End Sub 133 | 134 | Private Sub btnSendRight_Click(sender As Object, e As RoutedEventArgs) 135 | InsertString(vbCrLf & "DigiKeyboard.sendKeyStroke(KEY_ARROW_RIGHT);") 136 | End Sub 137 | 138 | #End Region 139 | 140 | #Region "Import ducky script" 141 | 142 | Private Sub btnImport_Click(sender As Object, e As RoutedEventArgs) 143 | Dim dukStr As New DuckyScript 144 | 145 | End Sub 146 | 147 | #End Region 148 | 149 | End Class 150 | -------------------------------------------------------------------------------- /Automator/Automator/Modules/DuckyScript.vb: -------------------------------------------------------------------------------- 1 | Imports System.Text.RegularExpressions 2 | 3 | Public Class DuckyScript 4 | 5 | Private _DefaultDelay As Integer 6 | Private _Body As String 7 | 8 | ''' 9 | ''' Define how long (milliseconds) to wait between each subsequent command. 10 | ''' Default is 100ms. 11 | ''' 12 | ''' 13 | Public ReadOnly Property DefaultDelay As Integer 14 | Get 15 | Return _DefaultDelay 16 | End Get 17 | End Property 18 | 19 | ''' 20 | ''' Return Ducky Script string. 21 | ''' 22 | ''' Ducky Script string 23 | Public ReadOnly Property Body As String 24 | Get 25 | Return _Body 26 | End Get 27 | End Property 28 | 29 | ''' 30 | ''' Create a new instance of Ducky Script 31 | ''' 32 | Public Sub New() 33 | _DefaultDelay = 100 34 | End Sub 35 | 36 | ''' 37 | ''' Create a new instance of Ducky Script from a Ducky Script string. 38 | ''' 39 | ''' Ducky Script string 40 | Public Sub New(ByVal DuckyString As String) 41 | FromDuckyScriptString(DuckyString) 42 | End Sub 43 | 44 | ''' 45 | ''' Load a Ducky Script string. 46 | ''' 47 | ''' Ducky Script string 48 | Public Sub FromDuckyScriptString(ByVal DuckyString As String) 49 | _Body = DuckyString 50 | Dim co As MatchCollection = New Regex("").Matches(DuckyString) 51 | If co.Count > 1 Then 52 | Throw New MultipleDefaultDelayDefinedException("Multiple default delay defined.") 53 | Exit Sub 54 | End If 55 | End Sub 56 | 57 | ''' 58 | ''' Convert Ducky Script into Digispark code. 59 | ''' 60 | ''' Digispark code 61 | Public Function ToDigispark() As String 62 | Return Nothing 63 | End Function 64 | 65 | ''' 66 | ''' Return Ducky Script string. 67 | ''' 68 | ''' Ducky Script string 69 | Public Overrides Function ToString() As String 70 | Return _Body 71 | End Function 72 | 73 | ''' 74 | ''' Exception: Multiple DEFAULTDELAY defind in Ducky Script. 75 | ''' 76 | Public Class MultipleDefaultDelayDefinedException : Inherits ApplicationException 77 | Public Sub New(ByVal message As String) 78 | MyBase.New(message) 79 | End Sub 80 | End Class 81 | 82 | ''' 83 | ''' Exception: Syntax error in Ducky Script. 84 | ''' 85 | Public Class SyntaxErrorException : Inherits ApplicationException 86 | Public Sub New(ByVal message As String) 87 | MyBase.New(message) 88 | End Sub 89 | End Class 90 | 91 | ''' 92 | ''' Exception: No arguments specified after statement. 93 | ''' 94 | Public Class NullArgumentsException : Inherits ApplicationException 95 | Public Sub New(ByVal message As String) 96 | MyBase.New(message) 97 | End Sub 98 | End Class 99 | 100 | End Class 101 | -------------------------------------------------------------------------------- /Automator/Automator/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | Imports System.Globalization 5 | Imports System.Resources 6 | Imports System.Windows 7 | 8 | ' 有关程序集的一般信息由以下 9 | ' 控制。更改这些特性值可修改 10 | ' 与程序集关联的信息。 11 | 12 | '查看程序集特性的值 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | '若要开始生成可本地化的应用程序,请设置 23 | '在您的 .vbproj 文件中的 内设置 CultureYouAreCodingWith。 24 | '例如,如果您在源文件中使用的是美国英语, 25 | '请将 设置为“en-US”。 然后取消下面对 26 | 'NeutralResourceLanguage 特性的注释。 更新下面行中的“en-US” 27 | '以与项目文件中的 UICulture 设置匹配。 28 | 29 | ' 30 | 31 | 32 | 'ThemeInfo 特性说明在何处可以找到任何特定于主题的和一般性的资源词典。 33 | '第一个参数: 特定于主题的资源词典的位置 34 | '(未在页面中找到资源时使用, 35 | '或应用程序资源字典中找到时使用) 36 | 37 | '第二个参数: 一般性资源词典的位置 38 | '(未在页面中找到资源时使用, 39 | '资源词典中找到资源时使用) 40 | 41 | 42 | 43 | 44 | '如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 45 | 46 | 47 | ' 程序集的版本信息由下列四个值组成: 48 | ' 49 | ' 主版本 50 | ' 次版本 51 | ' 生成号 52 | ' 修订号 53 | ' 54 | ' 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 55 | ' 方法是按如下所示使用“*”: : 56 | ' 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /Automator/Automator/My Project/MyExtensions/MyWpfExtension.vb: -------------------------------------------------------------------------------- 1 | #If _MyType <> "Empty" Then 2 | 3 | Namespace My 4 | ''' 5 | ''' 用于定义“我的 WPF 命名空间”中的可用属性的模块 6 | ''' 7 | ''' 8 | _ 9 | Module MyWpfExtension 10 | Private s_Computer As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.Devices.Computer) 11 | Private s_User As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.ApplicationServices.User) 12 | Private s_Windows As New ThreadSafeObjectProvider(Of MyWindows) 13 | Private s_Log As New ThreadSafeObjectProvider(Of Global.Microsoft.VisualBasic.Logging.Log) 14 | ''' 15 | ''' 返回正在运行的应用程序的应用程序对象 16 | ''' 17 | _ 18 | Friend ReadOnly Property Application() As Application 19 | Get 20 | Return CType(Global.System.Windows.Application.Current, Application) 21 | End Get 22 | End Property 23 | ''' 24 | ''' 返回有关主机计算机的信息。 25 | ''' 26 | _ 27 | Friend ReadOnly Property Computer() As Global.Microsoft.VisualBasic.Devices.Computer 28 | Get 29 | Return s_Computer.GetInstance() 30 | End Get 31 | End Property 32 | ''' 33 | ''' 返回当前用户的信息。 如果希望使用当前的 34 | ''' Windows 用户凭据来运行应用程序,请调用 My.User.InitializeWithWindowsUser()。 35 | ''' 36 | _ 37 | Friend ReadOnly Property User() As Global.Microsoft.VisualBasic.ApplicationServices.User 38 | Get 39 | Return s_User.GetInstance() 40 | End Get 41 | End Property 42 | ''' 43 | ''' 返回应用程序日志。可以使用应用程序的配置文件配置侦听器。 44 | ''' 45 | _ 46 | Friend ReadOnly Property Log() As Global.Microsoft.VisualBasic.Logging.Log 47 | Get 48 | Return s_Log.GetInstance() 49 | End Get 50 | End Property 51 | 52 | ''' 53 | ''' 返回项目中定义的 Windows 集合。 54 | ''' 55 | _ 56 | Friend ReadOnly Property Windows() As MyWindows 57 | _ 58 | Get 59 | Return s_Windows.GetInstance() 60 | End Get 61 | End Property 62 | _ 63 | _ 64 | Friend NotInheritable Class MyWindows 65 | _ 66 | Private Shared Function Create__Instance__(Of T As {New, Global.System.Windows.Window})(ByVal Instance As T) As T 67 | If Instance Is Nothing Then 68 | If s_WindowBeingCreated IsNot Nothing Then 69 | If s_WindowBeingCreated.ContainsKey(GetType(T)) = True Then 70 | Throw New Global.System.InvalidOperationException("The window cannot be accessed via My.Windows from the Window constructor.") 71 | End If 72 | Else 73 | s_WindowBeingCreated = New Global.System.Collections.Hashtable() 74 | End If 75 | s_WindowBeingCreated.Add(GetType(T), Nothing) 76 | Return New T() 77 | s_WindowBeingCreated.Remove(GetType(T)) 78 | Else 79 | Return Instance 80 | End If 81 | End Function 82 | _ 83 | _ 84 | Private Sub Dispose__Instance__(Of T As Global.System.Windows.Window)(ByRef instance As T) 85 | instance = Nothing 86 | End Sub 87 | _ 88 | _ 89 | Public Sub New() 90 | MyBase.New() 91 | End Sub 92 | Private Shared s_WindowBeingCreated As Global.System.Collections.Hashtable 93 | Public Overrides Function Equals(ByVal o As Object) As Boolean 94 | Return MyBase.Equals(o) 95 | End Function 96 | Public Overrides Function GetHashCode() As Integer 97 | Return MyBase.GetHashCode 98 | End Function 99 | _ 100 | _ 101 | Friend Overloads Function [GetType]() As Global.System.Type 102 | Return GetType(MyWindows) 103 | End Function 104 | Public Overrides Function ToString() As String 105 | Return MyBase.ToString 106 | End Function 107 | End Class 108 | End Module 109 | End Namespace 110 | Partial Class Application 111 | Inherits Global.System.Windows.Application 112 | _ 113 | _ 114 | Friend ReadOnly Property Info() As Global.Microsoft.VisualBasic.ApplicationServices.AssemblyInfo 115 | _ 116 | Get 117 | Return New Global.Microsoft.VisualBasic.ApplicationServices.AssemblyInfo(Global.System.Reflection.Assembly.GetExecutingAssembly()) 118 | End Get 119 | End Property 120 | End Class 121 | #End If -------------------------------------------------------------------------------- /Automator/Automator/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' 此代码由工具生成。 4 | ' 运行时版本:4.0.30319.42000 5 | ' 6 | ' 对此文件的更改可能会导致不正确的行为,并且如果 7 | ' 重新生成代码,这些更改将会丢失。 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | Imports System 15 | 16 | Namespace My.Resources 17 | 18 | '此类是由 StronglyTypedResourceBuilder 19 | '类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 20 | '若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen 21 | '(以 /str 作为命令选项),或重新生成 VS 项目。 22 | ''' 23 | ''' 一个强类型的资源类,用于查找本地化的字符串等。 24 | ''' 25 | _ 29 | Friend Module Resources 30 | 31 | Private resourceMan As Global.System.Resources.ResourceManager 32 | 33 | Private resourceCulture As Global.System.Globalization.CultureInfo 34 | 35 | ''' 36 | ''' 返回此类使用的缓存的 ResourceManager 实例。 37 | ''' 38 | _ 39 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 40 | Get 41 | If Object.ReferenceEquals(resourceMan, Nothing) Then 42 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Automator.Resources", GetType(Resources).Assembly) 43 | resourceMan = temp 44 | End If 45 | Return resourceMan 46 | End Get 47 | End Property 48 | 49 | ''' 50 | ''' 使用此强类型资源类,为所有资源查找 51 | ''' 重写当前线程的 CurrentUICulture 属性。 52 | ''' 53 | _ 54 | Friend Property Culture() As Global.System.Globalization.CultureInfo 55 | Get 56 | Return resourceCulture 57 | End Get 58 | Set 59 | resourceCulture = value 60 | End Set 61 | End Property 62 | End Module 63 | End Namespace 64 | -------------------------------------------------------------------------------- /Automator/Automator/My Project/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 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 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /Automator/Automator/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' 此代码由工具生成。 4 | ' 运行时版本:4.0.30319.42000 5 | ' 6 | ' 对此文件的更改可能会导致不正确的行为,并且如果 7 | ' 重新生成代码,这些更改将会丢失。 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | 16 | _ 19 | Partial Friend NotInheritable Class MySettings 20 | Inherits Global.System.Configuration.ApplicationSettingsBase 21 | 22 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) 23 | 24 | #Region "My.Settings 自动保存功能" 25 | #If _MyType = "WindowsForms" Then 26 | Private Shared addedHandler As Boolean 27 | 28 | Private Shared addedHandlerLockObject As New Object 29 | 30 | _ 31 | Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) 32 | If My.Application.SaveMySettingsOnExit Then 33 | My.Settings.Save() 34 | End If 35 | End Sub 36 | #End If 37 | #End Region 38 | 39 | Public Shared ReadOnly Property [Default]() As MySettings 40 | Get 41 | 42 | #If _MyType = "WindowsForms" Then 43 | If Not addedHandler Then 44 | SyncLock addedHandlerLockObject 45 | If Not addedHandler Then 46 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 47 | addedHandler = True 48 | End If 49 | End SyncLock 50 | End If 51 | #End If 52 | Return defaultInstance 53 | End Get 54 | End Property 55 | End Class 56 | 57 | Namespace My 58 | 59 | _ 62 | Friend Module MySettingsProperty 63 | 64 | _ 65 | Friend ReadOnly Property Settings() As Global.Automator.MySettings 66 | Get 67 | Return Global.Automator.MySettings.Default 68 | End Get 69 | End Property 70 | End Module 71 | End Namespace 72 | -------------------------------------------------------------------------------- /Automator/Automator/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Automator/Automator/My Project/app.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 51 | 58 | 59 | 60 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /Automator/Automator/Resources/128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/128.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/16.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/24.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/256.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/32.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/64.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/CubePreview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/CubePreview.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/NewRequest_8796.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/NewRequest_8796.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/StatusAnnotations_Information_16xLG_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/StatusAnnotations_Information_16xLG_color.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/auto-fix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/auto-fix.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/automator_2_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/automator_2_preview.png -------------------------------------------------------------------------------- /Automator/Automator/Resources/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/icon.ico -------------------------------------------------------------------------------- /Automator/Automator/Resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/Resources/icon.png -------------------------------------------------------------------------------- /Automator/Automator/obj/Debug/Automator.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/obj/Debug/Automator.Resources.resources -------------------------------------------------------------------------------- /Automator/Automator/obj/Debug/Automator.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.vbprojResolveAssemblyReference.cache 2 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\MainWindow.g.vb 3 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Application.g.vb 4 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\MainWindow.baml 5 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.Resources.resources 6 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.vbproj.GenerateResource.cache 7 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.vbproj.CoreCompileInputs.cache 8 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\MaterialDesignColors.dll 9 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\MaterialDesignThemes.Wpf.dll 10 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\MaterialDesignColors.pdb 11 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\MaterialDesignThemes.Wpf.pdb 12 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\MaterialDesignThemes.Wpf.xml 13 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Application.baml 14 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.vbproj.CopyComplete 15 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\Automator.exe.config 16 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\Automator.exe 17 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\Automator.pdb 18 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\Automator.xml 19 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator_MarkupCompile.cache 20 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator_MarkupCompile.lref 21 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.g.resources 22 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.exe 23 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.xml 24 | C:\Users\me\source\repos\Automator\Automator\Automator\obj\Debug\Automator.pdb 25 | C:\Users\me\source\repos\Automator\Automator\Automator\bin\Debug\ExtraTools.dll 26 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\Automator.exe.config 27 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\Automator.exe 28 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\Automator.pdb 29 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\Automator.xml 30 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\ExtraTools.dll 31 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\MaterialDesignColors.dll 32 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\MaterialDesignThemes.Wpf.dll 33 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\MaterialDesignColors.pdb 34 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\MaterialDesignThemes.Wpf.pdb 35 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\bin\Debug\MaterialDesignThemes.Wpf.xml 36 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.vbprojResolveAssemblyReference.cache 37 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\MainWindow.g.vb 38 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Application.g.vb 39 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator_MarkupCompile.cache 40 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator_MarkupCompile.lref 41 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Application.baml 42 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\MainWindow.baml 43 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.g.resources 44 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.Resources.resources 45 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.vbproj.GenerateResource.cache 46 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.vbproj.CoreCompileInputs.cache 47 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.vbproj.CopyComplete 48 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.exe 49 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.xml 50 | C:\Users\j2415\Documents\GitHub\Automator\Automator\Automator\obj\Debug\Automator.pdb 51 | -------------------------------------------------------------------------------- /Automator/Automator/obj/Debug/Automator.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/obj/Debug/Automator.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /Automator/Automator/obj/Debug/Automator.vbprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/obj/Debug/Automator.vbprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /Automator/Automator/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /Automator/Automator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /Automator/Automator/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/Automator/Automator/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /Automator/Automator/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017-2018 CYRO4S 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 |   3 | Gekko 4 |
5 |

6 | 7 |

⌨ Digispark™ Rubber Ducky code editor for Windows.

8 | 9 | ## Intro 10 | Automator is a Windows application helps you easily write "Ducky Script" for your Digispark Arduino chips. 11 | As everyone knows, Ducky Script can not easily convert into Digispark Arduino project. 12 | But with this you can easily write USB HID keyboard payload for Digispark chips. 13 | 14 | ## Screenshot 15 | ![](https://raw.githubusercontent.com/CYRO4S/Automator/master/Automator/Automator/Resources/automator_2_preview.png) 16 | 17 | ## Features 18 | * Add code snippets in one click. 19 | * Save as Arduino's `.ino` file. 20 | * ... And more 21 | 22 | ## Compiling 23 | * .Net Framework 4.5 24 | * Visual Studio 2017 25 | 26 | ## Open source licenses 27 | * MaterialDesignInXamlToolkit: [View on Github](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit) 28 | * NewtonSoft.Json: [View on Github](https://github.com/JamesNK/Newtonsoft.Json) 29 | -------------------------------------------------------------------------------- /assets/automator_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/assets/automator_icon.png -------------------------------------------------------------------------------- /assets/automator_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Catboy96/Automator/680fa3c37f6be21082304754ba8f57bf6ed6eeaa/assets/automator_text.png --------------------------------------------------------------------------------