Autor Beitrag
klezmor
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 12:56 
weiß jemand wie man ein resource skript erstellt?
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 03.10.05 13:03 
?? Das ist bei weitem die kürzeste, unverständlichste Frage, die ich beisher gelesen hab. Resource-Skript? Was willst du machen?

Alstar
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 03.10.05 13:04 
user profile iconklezmor hat folgendes geschrieben:
weiß jemand wie man ein resource skript erstellt?

Ja und im Forum dürftest du genug Beiträge zu diesem Thema finden.
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 13:05 
ich will einfach nur das machen, was auf dieser seite steht: www.dsdt.info/tipps/?id=353 aber zuerst muss ich mal eine resourcefile erstellen und ich weiß nicht wie ich das machen soll.
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 03.10.05 13:07 
Ach das meinst du mit "Resource Skript" ...

mhh. und warum machst du es nicht einfach so, wie es da steht?

Alstar
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 13:12 
user profile iconAlstar hat folgendes geschrieben:
Ach das meinst du mit "Resource Skript" ...

mhh. und warum machst du es nicht einfach so, wie es da steht?

Alstar



weil ich nicht weiß wo ich diese 2 zeilen eintippen soll:

1 WAVE "c:\eigenebla.wav"
2 WAVE "c:\eigeneblabla.wav"

bei delphi gibt es kein neu--> resourcefile
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 03.10.05 13:13 
In einen Texteditor. Allerdings ersetzt du '"' durch '"'. Dann folgst du einfach den Anweisungen von DSDT

Alstar
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 13:19 
aber der texteditor erzeugt doch ein textfile und kein rc file.
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 03.10.05 13:21 
Also ich hab mal gehört, dass man mit dem Explorer auch Dateien umbennen kann ... :roll:

Alstar
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 13:23 
gibt es eigentlich nicht eine graphische lösung, für das problem, denn das mit der komandozeil ist schon ziemlich umständlich?
wenn ich eine bildatei als ressource abspeichern will ist das ja eigentlich auch kein problem einfach mit dem imageeditor, gibts sowas auch für andere dateien z.B. wavefile
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 03.10.05 13:26 
Was was? Dafür ne grafische Lösung?! Wozu das denn?
Ich habe den Eindruck, dass Du nicht wirklich weißt, wie es in den Resourcen-Dateien aussieht.
In einer RES-Datei sind einfach nur die binären Daten der Dateien mit Zusatzinformationen gespeichert. Da braucht man keine grafische Lösung. Und dass der Rersource-Compiler nur kommandozeilig läuft, dürfte ja wohl nicht d as Problem sein, oder?

Alstar
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 13:38 
ich drehe jetzt bald durch ich kann doch mit dem windows editor keine rc fiel erstellen, mit dem kann man nur .txt files erstellen.
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Mo 03.10.05 13:40 
Beim Speicherndialog, statt textfile alle Datein auswählen, und dann die Endnug mit zum Dateinamen schreiben... :roll:
Flocke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54

Win 2000, Win XP, Win 2003, Linux
Delphi 2006 Prof.
BeitragVerfasst: Mo 03.10.05 13:50 
... und wenn du die RC-Datei dann zu deinem Delphi-Projekt hinzufügst, dann müsste dir die IDE auch eigentlich die Arbeit abnehmen, die in eine RES-Datei umzuwandeln -- dann hast du überhaupt keine Kommandozeilenarbeit mehr.
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 14:00 
was muss ich dann alles in der kommandozeile eingeben?
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 14:05 
wenn dies hier in die kommandozeile einippe:
C:\Programme\Borland\Delphi6\Bin\brcc32.exe C:\Neu Textdokument.rc kommt bei mir diese fehlermeldung could not open inputfile C:\Dokumente.rc
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 03.10.05 14:07 
Bei Dateinamen die Leerzeichen haben, müssen diese in der Kommandozeile in ' " ' gesetzt werden

Alstar
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.10.05 14:17 
Danke vielmals es hat geklappt, geht das ganze auch mit mp3s
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 03.10.05 14:55 
wenn du das grafisch haben willst, dann programmier dir nen guide. einfach 2 edits, 2 buttons, ein opendialog und einmal shellexecute ausführen, fertig, hab ich auch so gemacht 8)
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 03.10.05 15:00 
user profile iconklezmor hat folgendes geschrieben:
Danke vielmals es hat geklappt, geht das ganze auch mit mp3s

Nein. Aber du kannst WAVE-Sounds abspielen, die MP3 codiert wurden

Alstar