Autor Beitrag
JungerIslaender
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 427
Erhaltene Danke: 5

Win XP
Delphi 7; Delphi 2005
BeitragVerfasst: So 25.11.12 18:10 
Hi leute,
Ich würde gerne eine Batchdatei schreiben die folgendes macht:

Bei Klick zwischen 2 audiowiedergabegeräten als standard wiedergabe Gerät wechseln. Lautsprecher <-> Realtek Digital Output

Nur hab ich von Batch Dateien null ahnung.
Einloggen, um Attachments anzusehen!
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19339
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 25.11.12 18:18 
Da reicht auch Ahnung von Batchdateien nicht, da brauchst du ein Programm, dass diese aufrufen um das zu machen. Das müsstest du dir selbst schreiben oder ein fertiges suchen. Das brauchst du dann nur noch aufzurufen.

Für diesen ganz speziellen Fall könnte es reichen einen Registryschlüssel zu ändern, das weiß ich nicht. Wenn das reichen sollte, wäre dies allerdings mit Batchdateien zu machen, dann sollte der Befehl reg dafür reichen.
JungerIslaender Threadstarter
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 427
Erhaltene Danke: 5

Win XP
Delphi 7; Delphi 2005
BeitragVerfasst: So 25.11.12 18:32 
OK schon mal danke
jfheins
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 918
Erhaltene Danke: 158

Win 10
VS 2013, VS2015
BeitragVerfasst: So 25.11.12 22:25 
Mit der Windows Powershell könntest du Erfolg haben. Ich habe mir da mal ein Skript gemacht dass die Systemlautstärke beim 'runterfahren auf 25% gesetzt hat - habe es aber nicht mehr da.
Das hier schaut gut aus: github.com/cdhunt/Wi...ce-Powershell-Cmdlet
JungerIslaender Threadstarter
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 427
Erhaltene Danke: 5

Win XP
Delphi 7; Delphi 2005
BeitragVerfasst: Mo 10.12.12 17:01 
Jo sieht gut aus werd bei Gelegenheit antesten.