Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 23:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Shellexecute Hilfe ._.

Discussion on Shellexecute Hilfe ._. within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 108
Received Thanks: 3
Shellexecute Hilfe ._.

Hallo ich bin es mal wieder ,




ich hänge seit knapp 3 tagen in der autoit hilfe und checke es net ..

Ich will mit
Shellexecute
eine musik datei öffnen...
Das script und die musik sind im selbern ordner


Also :

Musik name = Test

PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"11726883123)
$Button1 GUICtrlCreateButton("Muuuusik x3"0011525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            ShellExecute
("Test")
            ;
Waaaarum geht das net .. ?  mus ich dahinter noch 
            
;Play schreiben oder was muss ich dan noch machen :?

    EndSwitch
WEnd 
Danke schon mal fuer die hilfe (: !
Hackerfreak1 is offline  
Old 09/29/2010, 21:45   #2
 
Imaginär's Avatar
 
elite*gold: 255
Join Date: Nov 2009
Posts: 2,900
Received Thanks: 1,408
Fehlt da nicht die Dateiendung? - .mp3 - .wma ... usw.
Imaginär is offline  
Old 09/29/2010, 21:49   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 108
Received Thanks: 3
-.- Okay Danke ...xD
Hackerfreak1 is offline  
Old 09/29/2010, 21:51   #4
 
h0fi00's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 74
Received Thanks: 19
ja die endung und ich weiss auch ned ob das überhaupt geht mit. mp3 ich meinte nur mit. exe bin mir aber nicht sicher
h0fi00 is offline  
Old 09/30/2010, 19:27   #5
 
elite*gold: 0
Join Date: Mar 2010
Posts: 79
Received Thanks: 32
Du könntest auch einfach
PHP Code:
SoundPlay("test.mp3"
benutzen .
luckkylooser is offline  
Old 09/30/2010, 19:36   #6
 
elite*gold: 0
Join Date: Jan 2010
Posts: 108
Received Thanks: 3
Quote:
Originally Posted by luckkylooser View Post
Du könntest auch einfach
PHP Code:
SoundPlay("test.mp3"
benutzen .


Wollte ich aber das wil der i wie net :/


Aber ich habs schon ^^
habe nur .mp3 vergessen ._.


Naja aber ztozdem Danke D
Hackerfreak1 is offline  
Reply


Similar Threads Similar Threads
Problem mit ShellExecute!
09/21/2010 - General Coding - 3 Replies
Hallo, ich hab ein Fehler im Code unzwar: error C3861: "ShellExecuteA": Bezeichner wurde nicht gefunden. Kann mir vllt. jmd. helfen?
"run" & "ShellExecute" gehen nicht
04/21/2009 - Guild Wars - 3 Replies
Hey wollte mal fragen warum ich damit nicht die mit Multi client erstellte "Gw Start 1 öffnen kann ! hier : run("C:\Dokumente und Einstellungen\****\Desktop\GW Start 1") *** = benutzer



All times are GMT +2. The time now is 23:43.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.