Portál AbcLinuxu, 1. května 2025 09:27
http://thedailywtf.com/forums/thread/54930.aspx
Asi nejlepsi ukazka je tato:
function AddElevenToX( int x ) {
System.Clipboard.put( x );
System.run("calc.exe");
System.keyboard.press("V", "Ctrl");
System.keyboard.press("+", none);
System.keyboard.press("1", none);
for ( i = 1; i <= 11; i++ ) {
System.keyboard.press( "=", none);
}
System.keyboard.press("C", "Ctrl");
System.Clipboard.get( x );
return x;
}
Tiskni
Sdílej:
A jeste je to urcite i multiplatformni, staci preci calc.exe nahradit za kcalcTo je hloupost. Já bych před))
calc.exe
dal wine
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.