Autor Beitrag
O'rallY
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 563



BeitragVerfasst: Fr 12.03.04 15:50 
Ich suche für mein Programm eine gute Scriptsprache die auch WinAPI-Befehle ausführen kann. Kennt da vielleicht jemand was?

_________________
.oO'rallY
Linux is like a tipi: No gates, no windows and a gnu-eating apache inside...
JoelH
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Fr 12.03.04 16:31 
Titel: hmm,
RUby => www.ruby-lang.org is ne klasse OOP Scriptsprache mit supervielen features etc. WinApi geht auch damit =>
www.joelh.de/jbb/top...?nr=1256&seite=1

_________________
mfg. Joel
O'rallY Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 563



BeitragVerfasst: Fr 12.03.04 18:04 
Wow, das nenn ich mal ne Scriptsprache! So ne mächtige Scriptsprache hab ich noch nie gesehen :wink:. Nur schade, dass der Interpreter an die 10 MB groß ist. Ist also eher ungegeignet, um es mit dem Programm auszuliefern.

[edit] Ah, moment. Wie ich sehe, ist im Installer auch noch n Editor und verschiedene andere Dinge vorhanden. Der Interpreter scheint schon klein zu sein.
Darf ich eigentlich nur den Interpreter mit meinem Programm ausliefern?

_________________
.oO'rallY
Linux is like a tipi: No gates, no windows and a gnu-eating apache inside...
MartinPb
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 698



BeitragVerfasst: Fr 12.03.04 18:30 
Ich weiß zwar nicht was Du vorhast, aber was hälst Du von VBScript oder von JScript? Lokal können sie so ziemlich alles und sind, vorausgesetzt Internet Explorer 4 oder höher ist installiert, schon im System drin.

_________________
Gruß
Martin
O'rallY Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 563



BeitragVerfasst: Fr 12.03.04 18:49 
Soweit mir bekannt ist, kann man beim WindowsScript keine WinAPI-Funktion aufrufen. Falls doch wär das natürlich auch nocht eine möglichkeit.

_________________
.oO'rallY
Linux is like a tipi: No gates, no windows and a gnu-eating apache inside...
MartinPb
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 698



BeitragVerfasst: Fr 12.03.04 20:01 
Was verstehst Du unter API? So direkt wie in Delphi kannst Du nicht zugreifen. Allerdings kannst Du über Objekte indirekt auf viele Funktionen zugreifen. Auf welche API Funktionen willst Du zugreifen?

_________________
Gruß
Martin
O'rallY Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 563



BeitragVerfasst: Fr 12.03.04 21:13 
MartinPb hat folgendes geschrieben:
Auf welche API Funktionen willst Du zugreifen?

Z.B. GetForegroundWindow, PostMessage, oder ShowWindow. Ruby hat vollen Zugriff auf die API, allerdings glaub ich, dass Ruby vielleicht ein wenig overkill ist. Aber es wäre sicherlich eine Möglichkeit, die ich, wenn ich sonst nichts finde wahrscheinlich nehmen werde.

_________________
.oO'rallY
Linux is like a tipi: No gates, no windows and a gnu-eating apache inside...