Office launcher

« Older   Newer »
  Share  
rayquaza96 the best
CAT_IMG Posted on 19/3/2010, 16:43     +1   -1




Qui posto un programma fatto da me con l'aiuto di nicofossa96:
SPOILER (click to view)
CODICE
#include <GUIListBox.au3>
#include <GUIListview.au3>
#include <GuiConstantsEx.au3>
#include <WindowsConstants.au3>
#include <Constants.au3>
$Debug_LB = False
GUICreate("Microsoft Office Launcher")
$file=GUICtrlCreateMenu("&File")

$esci=GUICtrlCreateMenuItem("Esci", $file)
$hListBox = GUICtrlCreateList("", 2, 2, 396, 296)
$hlistview = $hlistbox
       _GUICtrlListBox_BeginUpdate($hListBox)

   $ciao=_GUICtrlListBox_Dir($hListBox, @userProfileDir&"\Menu Avvio\Programmi\Microsoft Office\*.*")


   _GUICtrlListBox_EndUpdate($hListBox)
$button=guictrlcreatebutton("Apri", 300, 300)
GUIRegisterMsg($WM_COMMAND, "WM_COMMAND")


GUISetState()
Do
       $msg=GUIGetMsg()
       Switch $msg
       case $button

               $fileopen=GUICtrlRead($hlistbox)
               shellexecute(@userProfileDir&"\Menu Avvio\Programmi\Microsoft Office\"&$fileopen)
       case $hlistbox

               
       EndSwitch
until $msg=-3 or $msg=$esci

Func WM_COMMAND($hWnd, $iMsg, $iwParam, $ilParam)
       #forceref $hWnd, $iMsg
       Local $hWndFrom, $iIDFrom, $iCode, $hWndListBox
       If Not IsHWnd($hListBox) Then $hWndListBox = GUICtrlGetHandle($hListBox)
       $hWndFrom = $ilParam

       $iCode = BitShift($iwParam, 16) ; Hi Word

       Switch $hWndFrom
               Case $hListBox, $hWndListBox
                       Switch $iCode
                       Case $LBN_DBLCLK
                               $fileopen=GUICtrlRead($hlistbox)
               shellexecute(@userProfileDir&"\Menu Avvio\Programmi\Microsoft Office\"&$fileopen)
                               EndSwitch
       EndSwitch
       ; Proceed the default Autoit3 internal message commands.
       ; You also can complete let the line out.
       ; !!! But only 'Return' (without any value) will not proceed
       ; the default Autoit3-message in the future !!!
       Return $GUI_RUNDEFMSG
EndFunc


Lo so che è una cavolata, ma ho appena iniziato!
Ciauz! :woot: :woot: :woot: :woot: :woot: :woot:

Edited by rayquaza96 the best - 19/3/2010, 17:21
 
Top
-Anubi-
CAT_IMG Posted on 19/3/2010, 16:48     +1   -1




All'inizio Anubi fece Blad TextEditor xD
 
Top
rayquaza96 the best
CAT_IMG Posted on 19/3/2010, 16:50     +1   -1




XDXDXD
 
Top
xdmisterx
CAT_IMG Posted on 19/3/2010, 17:01     +1   -1




g00d :)
 
Top
rayquaza96 the best
CAT_IMG Posted on 19/3/2010, 17:17     +1   -1




Thanks
 
Top
Gianlu-thebest
CAT_IMG Posted on 19/3/2010, 18:15     +1   -1




A me non funziona...
 
Top
Kurt_Black_hat 2.0
CAT_IMG Posted on 19/3/2010, 19:08     +1   -1




QUOTE (Gianlu-thebest @ 19/3/2010, 18:15)
A me non funziona...

Nemmeno a me, e la colpa non è di Wine <_<
 
Top
CAT_IMG Posted on 20/3/2010, 10:48     +1   -1

So creare belle gui

Group:
Bannato
Posts:
555
Reputazione:
0

Status:


xD
 
Top
rayquaza96 the best
CAT_IMG Posted on 20/3/2010, 16:27     +1   -1




XDXDXD a me funziona non so come mai a voi no!!!
 
Top
Kurt_Black_hat 2.0
CAT_IMG Posted on 20/3/2010, 19:39     +1   -1




QUOTE (rayquaza96 the best @ 20/3/2010, 16:27)
XDXDXD a me funziona non so come mai a voi no!!!

Forse i nostri pc si rifiutano di far funzionare programmi tanto inutili xD

*Scherzo, scherzo xD*
 
Top
Gianlu-thebest
CAT_IMG Posted on 20/3/2010, 19:43     +1   -1




CITAZIONE (Kurt_Black_hat 2.0 @ 20/3/2010, 19:39)
CITAZIONE (rayquaza96 the best @ 20/3/2010, 16:27)
XDXDXD a me funziona non so come mai a voi no!!!

Forse i nostri pc si rifiutano di far funzionare programmi tanto inutili xD

*Scherzo, scherzo xD*

Forse hai ragione , PER UNA VOLTA, xDxDxDxDxDxD
 
Top
Kurt_Black_hat 2.0
CAT_IMG Posted on 20/3/2010, 19:45     +1   -1




QUOTE (Gianlu-thebest @ 20/3/2010, 19:43)
QUOTE (Kurt_Black_hat 2.0 @ 20/3/2010, 19:39)
Forse i nostri pc si rifiutano di far funzionare programmi tanto inutili xD

*Scherzo, scherzo xD*

Forse hai ragione , PER UNA VOLTA, xDxDxDxDxDxD

U.Ù Sono così brutto e cattivo? È.É
 
Top
rayquaza96 the best
CAT_IMG Posted on 20/3/2010, 19:56     +1   -1




XDXDXDXD
 
Top
-Anubi-
CAT_IMG Posted on 20/3/2010, 19:59     +1   -1




CITAZIONE
U.Ù Sono così brutto e cattivo? È.É

Ad Anubi sà di sì xD ( Ora viene leonard a correggere la frase xD )
 
Top
Kurt_Black_hat 2.0
CAT_IMG Posted on 20/3/2010, 20:28     +1   -1




QUOTE (-Anubi- @ 20/3/2010, 19:59)
QUOTE
U.Ù Sono così brutto e cattivo? È.É

Ad Anubi sà di sì xD ( Ora viene leonard a correggere la frase xD )

Famo una petizione per cacciarlo da FC -.-
 
Top
23 replies since 19/3/2010, 16:43   197 views
  Share