Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > qemu keystroke - semplicemente macro
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
lordghost
Black Lord

User info:
Registered: Oct 2005
Posts: 232 (0.03 al dì)
Location: Milan
Corso: Informatica
Anno: 3
Time Online: 2 Days, 9:48:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
qemu keystroke - semplicemente macro

Dato che molte operazioni sono molto ripetitive e rompe abbastanza cambiare cartella ogni volta ho pensato di scrivere una piccola utility in C# :D

ecco un'anteprima


C'è una history temporanea ed una lista di macro, che purtroppo si può cambiare solo hardcode:-D
Dal titolo noterete se l'eseguibile è connesso, significa che è possibile inviare messaggi a qemu.exe

Allego i sorgenti e l'eseguibile (ovviamente è richiesto .NET) in vs2010.

Se avete qualche consiglio, oppure qualche altra macro da suggerire non siate timidi!!:D

NB: ormai ho postato, non usate il pulsante Send eseguirebbe dei comandi "cd" e "pwd" inutili, per inviare il comando scritto basta fare INVIO

Ultima versione 0.1.05 (aggiornato ad ogni upload :D)

Attachment: qemu_macro.zip
This has been downloaded 3 time(s).

__________________
My 3D blog: http://www.webgl.it

Last edited by lordghost on 31-05-2010 at 09:46

30-05-2010 20:22
Click Here to See the Profile for lordghost Click here to Send lordghost a Private Message Visit lordghost's homepage! Find more posts by lordghost Add lordghost to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
TheKaneB
.primate.

User info:
Registered: Aug 2009
Posts: 63 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 3
Time Online: 15:29:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ottima idea ;)
PS: potresti importare i comandi da un file di testo... sarebbe molto più comodo e utile :)

__________________
Software Failure: Guru Meditation

31-05-2010 02:24
Click Here to See the Profile for TheKaneB Click here to Send TheKaneB a Private Message Visit TheKaneB's homepage! Find more posts by TheKaneB Add TheKaneB to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DarkSchneider
Why so serious?

User info:
Registered: Feb 2004
Posts: 1250 (0.16 al dì)
Location: Brescia
Corso: Informatica
Anno: out of bounds :/
Time Online: 26 Days, 1:01:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

grande ...:D

31-05-2010 07:39
Click Here to See the Profile for DarkSchneider Click here to Send DarkSchneider a Private Message Find more posts by DarkSchneider Add DarkSchneider to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lordghost
Black Lord

User info:
Registered: Oct 2005
Posts: 232 (0.03 al dì)
Location: Milan
Corso: Informatica
Anno: 3
Time Online: 2 Days, 9:48:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by TheKaneB
ottima idea ;)
PS: potresti importare i comandi da un file di testo... sarebbe molto più comodo e utile :)


Fatto!! Importazione da file XML molto semplice, la lista di comandi viene ovviamente eseguita in cascata sperando che non venga perso niente per strada, ad esempio come i cd seguiti da make :D

Attachment: qemu_macro01_5.zip
This has been downloaded 8 time(s).

__________________
My 3D blog: http://www.webgl.it

31-05-2010 09:42
Click Here to See the Profile for lordghost Click here to Send lordghost a Private Message Visit lordghost's homepage! Find more posts by lordghost Add lordghost to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
TheKaneB
.primate.

User info:
Registered: Aug 2009
Posts: 63 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 3
Time Online: 15:29:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ottimo :)
mi sa che devo imparare anch'io il C#... con C++ ci metterei delle ore a fare la stessa cosa che tu, probabilmente, hai fatto in una manciata di minuti ^_^

__________________
Software Failure: Guru Meditation

31-05-2010 12:23
Click Here to See the Profile for TheKaneB Click here to Send TheKaneB a Private Message Visit TheKaneB's homepage! Find more posts by TheKaneB Add TheKaneB to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lordghost
Black Lord

User info:
Registered: Oct 2005
Posts: 232 (0.03 al dì)
Location: Milan
Corso: Informatica
Anno: 3
Time Online: 2 Days, 9:48:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Già molto utile direi, anche se devo ammettere che ho perso più tempo a cercare le api e la documentazione dei messaggi che la codifica stessa.

__________________
My 3D blog: http://www.webgl.it

31-05-2010 12:54
Click Here to See the Profile for lordghost Click here to Send lordghost a Private Message Visit lordghost's homepage! Find more posts by lordghost Add lordghost to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
TheKaneB
.primate.

User info:
Registered: Aug 2009
Posts: 63 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 3
Time Online: 15:29:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si infatti non c'è nulla a livello algoritmico... si tratta solo di leggere una serie di stringhe, prendere l'handle di una finestra e generare dei keystroke dentro quella finestra...
La cosa comoda però è che il .Net ha già tutto pronto, basta solo vedere come si chiama la classe che cerchi, e usarla!

__________________
Software Failure: Guru Meditation

31-05-2010 15:51
Click Here to See the Profile for TheKaneB Click here to Send TheKaneB a Private Message Visit TheKaneB's homepage! Find more posts by TheKaneB Add TheKaneB to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 21:32.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.064 seconds (63.61% PHP - 36.39% MySQL) con 25 query.