The Restart Page
0Wer bisl an die gute alte Zeit denken will, kann sein damaliges OS auch mal wieder beim Starten betrachten.
Auf The Restart Page stehen unterschiedliche Betriebssysteme in verschiedenen Version bereit. Diese können per klick gebootet werden.
Quelle: The Restart Page
Hab leider nicht alle schon mal im echten Leben gesehen, aber für mein Alter dennoch viele (wie mir gesagt wurde).
Viel Spaß.
PrintPages
2Nachdem wir dank Krischan aus dem grafischen Editor Drucken können, wollte ich die Funktion auch im grafischen Editor haben.
Script laden und es erscheint ein neuer Menüpunkt im Seitennavigator:
PrintPages (24)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | using Eplan.EplApi.ApplicationFramework; using Eplan.EplApi.Base; using Eplan.EplApi.Scripting; public class PrintPages { [DeclareAction("PrintPages")] public void PrintPagesVoid() { CommandLineInterpreter oCLI = new CommandLineInterpreter(); ActionCallingContext acc = new ActionCallingContext(); string strPages = string.Empty; acc.AddParameter("TYPE", "PAGES"); oCLI.Execute("selectionset", acc); acc.GetParameter("PAGES", ref strPages); Progress oProgress = new Progress("SimpleProgress"); oProgress.SetAllowCancel(true); oProgress.SetAskOnCancel(true); oProgress.SetNeededSteps(3); oProgress.SetTitle("Drucken"); oProgress.ShowImmediately(); foreach (string Page in strPages.Split(';')) { if (!oProgress.Canceled()) { acc.AddParameter("PAGENAME", Page); oCLI.Execute("print", acc); } else { break; } } oProgress.EndPart(true); return; } [DeclareMenu] public void MenuFunction() { Eplan.EplApi.Gui.ContextMenu oMenu = new Eplan.EplApi.Gui.ContextMenu(); Eplan.EplApi.Gui.ContextMenuLocation oLocation = new Eplan.EplApi.Gui.ContextMenuLocation( "PmPageObjectTreeDialog", "1007" ); oMenu.AddMenuItem( oLocation, "Seite(n) drucken", "PrintPages", true, false ); return; } } |
Seite drucken
1Mit diesem sehr praktischen Script, wird das Kontextmenü im grafischen Editor um den Punkt Seite drucken erweitert.
Vielen Dank an Krischan für die Umsetzung.
Seite drucken (28)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | // // Dieses Skript fügt einen Menüpunkt "Seite drucken" im Kontextmenü des // grafischen Editors hinzu. Die Seite wird über den vom Benutzer als // Standard definierten Drucker ausgegeben. // // Christian Klasen // using System.Windows.Forms; using Eplan.EplApi.ApplicationFramework; using Eplan.EplApi.Base; using Eplan.EplApi.Scripting; public class Class { [DeclareRegister] public void Register() { MessageBox.Show("Script geladen."); return; } [DeclareUnregister] public void UnRegister() { MessageBox.Show("Script entladen."); return; } [DeclareAction("MenuAction")] public void ActionFunction() { CommandLineInterpreter oCLI = new CommandLineInterpreter(); ActionCallingContext acc = new ActionCallingContext(); string strPages = string.Empty; acc.AddParameter("TYPE", "PAGES"); oCLI.Execute("selectionset", acc); acc.GetParameter("PAGES", ref strPages); acc.AddParameter("PAGENAME", strPages); oCLI.Execute("print", acc); //MessageBox.Show("Seite gedruckt"); return; } [DeclareMenu] public void MenuFunction() { Eplan.EplApi.Gui.ContextMenu oMenu = new Eplan.EplApi.Gui.ContextMenu(); Eplan.EplApi.Gui.ContextMenuLocation oLocation = new Eplan.EplApi.Gui.ContextMenuLocation( "Editor", "Ged" ); oMenu.AddMenuItem( oLocation, "Seite drucken", "MenuAction", true, false ); return; } } |
JustDecompile
0Decompiler sind Programme um aus z.B. EXE/DLL Programmcode rückwärts zu erzeugen.
Hab mir paar Programme von anderen Leuten/Firmen angeschaut, sehr interessant was man alles findet
Das ganze ist kostenlos und zur Zeit noch in der Betaphase.
CleanProject
0Mit CleanProject könnt ihr eure Visual-Studio Projekt säubern um Sie z.B. weiterzugeben.
Quelle: Ron Jacobs
How-To: MSDN






