Je ne comprends pas comment incorporer mon dossier image à mon executable. J'ai chercher sur ce forum mais je n'ai pas trouvé ma réponse.
Merci si vous pouvez m'aider.


Je pense que vous avez fait la faute d'écrire en source un macro ( genre : @ScriptDir & '\test.jpg' )FileInstall ( "source", "dest" [, flag] )
Parameters:
source The source path of the file to compile. This must be a literal string; it cannot be a variable or the result of a function call. It can be a relative path (using .\ or ..\ in the path) to the source file (.au3).
dest The destination path of the file with trailing backslash if only the directory is used. This can be a variable.
flag [optional] this flag determines whether to overwrite files if they already exist:
0 = (default) do not overwrite existing files
1 = overwrite existing files
Code : Tout sélectionner
FileInstall('C:\Users\Uranium\Destkop\test.jpg',@ScriptDir & '\test.jpg',1)Code : Tout sélectionner
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Images\icones\Box.ico
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_Description=AAA - v1.2
#AutoIt3Wrapper_Res_Fileversion=1.2.0.0
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_LegalCopyright=ENTREPRISE
#AutoIt3Wrapper_Res_Language=1036
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
[color=#FF0000]#AutoIt3Wrapper_Res_File_Add=D:\TOTO\Créations\Programmation\AutoIt\AAA\Images\Pour V2[/color]
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Code : Tout sélectionner
#AutoIt3Wrapper_Res_File_Add= ; Filename[,Section [,ResName[,LanguageCode]]] to be added.
Code : Tout sélectionner
Fileinstall("D:\dev\toto.bmp", @tempdir&"toto.bmp",1)
Code : Tout sélectionner
@tempdir & "[color=#DF0000]\[/color]toto.bmp"