Skip to content

Commit

Permalink
AirFreeServer1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
1anc3r committed May 20, 2016
1 parent 2e775be commit 6e6193a
Show file tree
Hide file tree
Showing 27 changed files with 1,537 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="libs/core-3.0.0.jar"/>
<classpathentry kind="lib" path="libs/org.json.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="output" path="bin"/>
</classpath>
14 changes: 14 additions & 0 deletions .fatjar
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Fat Jar Configuration File
#Mon May 16 22:02:53 CST 2016
onejar.license.required=false
manifest.classpath=
manifest.removesigners=true
onejar.checkbox=true
jarname=F\:\\Distance_fat.jar
manifest.mergeall=true
manifest.mainclass=main.GUI_MAIN
manifest.file=<createnew>
jarname.isextern=true
onejar.expand=
excludes=
includes=
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AirFree</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
3 changes: 3 additions & 0 deletions MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path: libs/org.json.jar libs/core-3.0.0.jar
Main-Class: main.GUI_MAIN
Binary file added command/ClickMonitorDDC.exe
Binary file not shown.
6 changes: 6 additions & 0 deletions command/bright.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Set ws = CreateObject("WScript.Shell")
Set args = WScript.Arguments
For Each argc In args
ws.run("ClickMonitorDDC.exe brightness "+argc)
Next
Set args = Nothing
2 changes: 2 additions & 0 deletions command/cmd.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Set ws = CreateObject("WScript.Shell")
ws.run("cmd"),1,true
2 changes: 2 additions & 0 deletions command/explorer.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Set ws = CreateObject("WScript.Shell")
ws.run("explorer"),1,true
2 changes: 2 additions & 0 deletions command/regedit.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Set ws = CreateObject("WScript.Shell")
ws.run("regedit"),1,true
2 changes: 2 additions & 0 deletions command/taskmgr.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Set ws = CreateObject("WScript.Shell")
ws.run("taskmgr"),1,true
5 changes: 5 additions & 0 deletions command/test.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Set oArgs = WScript.Arguments
For Each s In oArgs
MsgBox(s)
Next
Set oArgs = Nothing
6 changes: 6 additions & 0 deletions command/volume.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Set ws = CreateObject("WScript.Shell")
Set args = WScript.Arguments
For Each argc In args
ws.run("ClickMonitorDDC.exe volume "+argc)
Next
Set args = Nothing
15 changes: 15 additions & 0 deletions src/func/DBright.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package func;
import java.io.IOException;

public class DBright {

private String parameter;

public DBright(String parameter) throws IOException {
this.parameter = parameter;

String[] args = new String[] { ".\\command\\ClickMonitorDDC.exe brightness ", parameter };

Runtime.getRuntime().exec(args[0]+args[1]);
}
}
5 changes: 5 additions & 0 deletions src/func/DComputer.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package func;

public class DComputer {

}
Loading

0 comments on commit 6e6193a

Please sign in to comment.