Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 14:56

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

Advertisement



File Include

Discussion on File Include within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Memphiisto's Avatar
 
elite*gold: 115
Join Date: Feb 2009
Posts: 353
Received Thanks: 44
File Include

Heyy Leute ich hab ein kleines Problem...
Ich wollte in meinen Autotyper + Autoklicker () die Funktion FileInstall benutzen um die ganzen Bilder und Musiken direkt in das Script zu packen...
Doch irgendwie funktioniert das nicht.
Hier der kurze abschnitt meines FileInstall Codes Bitte um hilfe :

PHP Code:
$Musikk FileExists(@ScriptDir "\Musik\1.mp3")
If 
$Musikk 0 Then
    FileInstall
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Musik\1.mp3" ,@ScriptDir "\Musik\1.mp3")
EndIf
$Musikk FileExists(@ScriptDir "\Musik\2.mp3")
If 
$Musikk 0 Then
    FileInstall
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Musik\2.mp3" ,@ScriptDir "\Musik\2.mp3")
EndIf
$Musikk FileExists(@ScriptDir "\Musik\3.mp3")
If 
$Musikk 0 Then
    FileInstall
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Musik\3.mp3" ,@ScriptDir "\Musik\3.mp3")
EndIf
$Musikk FileExists(@ScriptDir "\Musik\4.mp3")
If 
$Musikk 0 Then
    FileInstall
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Musik\4.mp3" ,@ScriptDir "\Musik\4.mp3")
EndIf
$BILDD1 FileExists(@ScriptDir "\Bilder\AutoKlicker.jpg")
If 
$BILDD1 0 Then
FileInstall 
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Bilder\AutoKlicker.jpg" ,@ScriptDir "\Bilder\AutoKlicker.jpg")
EndIf
$BILDD1 FileExists(@ScriptDir "\Bilder\Autotyper.jpg")
If 
$BILDD1 0 Then
FileInstall 
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Bilder\Autotyper.jpg"  ,@ScriptDir "\Bilder\Autotyper.jpg")
EndIf
$BILDD1 FileExists(@ScriptDir "\Bilder\Info.jpg")
If 
$BILDD1 0 Then
FileInstall 
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Bilder\Info.jpg"       ,@ScriptDir "\Bilder\Info.jpg")
EndIf
$BILDD1 FileExists(@ScriptDir "\Bilder\Noten.jpg")
If 
$BILDD1 0 Then
FileInstall 
("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Bilder\Noten.jpg"        ,@ScriptDir "\Bilder\Noten.jpg")
EndIf 

Also wenn ich Compile wird das Script auch Größer... Allerdings wenn ich das Script starte "Entpackt" er die Dateien nicht und dann hatt der Gui keine Bilder USW...


lg MagicDave
Memphiisto is offline  
Old 10/23/2010, 11:25   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 542
Received Thanks: 112
$Musikk = FileExists(".\Musik\1.mp3")
If $Musikk = 0 Then
FileInstall("C:\Users\Anma44\Desktop\Autotyper by MagicDave\Musik\1.mp3" , ".\Musik\1.mp3",1)
maxi39 is offline  
Old 10/23/2010, 11:50   #3
 
Memphiisto's Avatar
 
elite*gold: 115
Join Date: Feb 2009
Posts: 353
Received Thanks: 44
Sry aba klappt imma noch ned -.-

.......

lg Magic
Memphiisto is offline  
Old 10/23/2010, 13:10   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 542
Received Thanks: 112
wie sollte es auch funktionieren wenn die ordner nicht vorhanden ist , der pfad.

mach das mit DirCreate ( "path" )
also DirCreate ( ".\bilder" )
maxi39 is offline  
Thanks
1 User
Old 10/23/2010, 15:14   #5
 
Memphiisto's Avatar
 
elite*gold: 115
Join Date: Feb 2009
Posts: 353
Received Thanks: 44
Uhhhhhh Very nice! Thx jetzt klappts

Dank dir kanns mit der "Produktion" weiter gehen ^^


lg Magic
Memphiisto is offline  
Reply


Similar Threads Similar Threads
145 summy acc/ items Include 145 tb +9
06/12/2010 - Dekaron Trading - 7 Replies
(145 56% sum acc total of 5 backpacks/ wings /perm costume/ 1 skill reset) (close to shield bearer grade) (+9 130 pants white) (+9 132 boots magic 8 def 1% res) (+9 134 glovs DN 2 % crit damage +15 damage +1 % damage) (+7 helm magic 4x 29 meds) (+7 magic armor 4x 29 meds +16 def) (+9 145 TB magic 3x 5% poisons) (2x 140 pure str earings) (+9 DN lvl 42 staff) (crit ring / dark eye) (lots of argates and mavrics)(65 mil dil left on acc) only taking $USD offeres for account or items registered...
Missing file #include "nomadmemory.au3"
06/07/2009 - Guild Wars - 7 Replies
Can someone please supply or explain the use of this file? It is called by tt6.au3, but I cannot find the file, it is included in the .zip file. Thanks



All times are GMT +1. The time now is 14:56.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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