• بادئ الموضوع بادئ الموضوع LINEZERO
  • تاريخ البدء تاريخ البدء
  • المشاهدات 95,725
اخوي يونس

;$Number[0]: الحرف الأخير فمثلا لو كان عدد الاحرف ثلاثة فإن الاخير قيمته ستكون 3

هنا عدد خانات المصفوفه وليس العدد الاخير :kmj-by0000 (72):​
 

توقيع : LINEZERO
بآرك الله فيك ..
 
توقيع : tameromar
بارك الله فيكم اخاونى ماشاء الله تفكرون وتديرون وانا ما نى فاهم اول درس فى الاوتو ات هذا الله يعين بس
 
توقيع : اشرفasser
بخوي بندر كل عام وانت بخير يالغالي
وجزاك الله خير على هالدورة المفيده وجعل عملك في ميزان حسناتك
ودي استفسر عن شئ بسيط لو تسمح

انا عملت برنامج بتنصيب صامت
ابغى عند بداية تشغيل الملف تظهر هالرساله
e46020c5956d832cdc46657bfe64dc87.jpg


علما اني عملت السكربت
بس زي ماقلت لك عند تشغيل ملف التثبيت ابغى اول شئ تظهر هالرساله بعدها يكتمل التثبيت الصامت
شلون ؟

:i:
 
توقيع : فتى الاحزان
بخوي بندر كل عام وانت بخير يالغالي
وجزاك الله خير على هالدورة المفيده وجعل عملك في ميزان حسناتك
ودي استفسر عن شئ بسيط لو تسمح

انا عملت برنامج بتنصيب صامت
ابغى عند بداية تشغيل الملف تظهر هالرساله
e46020c5956d832cdc46657bfe64dc87.jpg


علما اني عملت السكربت
بس زي ماقلت لك عند تشغيل ملف التثبيت ابغى اول شئ تظهر هالرساله بعدها يكتمل التثبيت الصامت
شلون ؟
:i:

بعد إذن أخوي بندر

أخو السكربتات دائماً تنفذ سطر سطر يعني تبي الرسالة تضهر قبل كل شيء حطها أول شيء

:d:
 
توقيع : waget
بخوي بندر كل عام وانت بخير يالغالي
وجزاك الله خير على هالدورة المفيده وجعل عملك في ميزان حسناتك
ودي استفسر عن شئ بسيط لو تسمح

انا عملت برنامج بتنصيب صامت
ابغى عند بداية تشغيل الملف تظهر هالرساله
e46020c5956d832cdc46657bfe64dc87.jpg


علما اني عملت السكربت
بس زي ماقلت لك عند تشغيل ملف التثبيت ابغى اول شئ تظهر هالرساله بعدها يكتمل التثبيت الصامت
شلون ؟

:i:

بعد اذن اخوي بندر واخوي waget تفضل هذا الكود
كود:
MsgBox(0,"[COLOR=Red]title[/COLOR]","[COLOR=Red]text[/COLOR]")
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
GUICreate("Zyzoom.org",400,300)
GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
لاحظي اول سطر هو كود الرسالة

tiltle = عنوان الرسالة
text = محتوى الرسالة




......
 
توقيع : .: Mr.Ali :.
السلام عليكم ورحمة الله وبركاته

جزاكم الله خيرا اخواني

والله استفدت كثيرا من ردود الاخوة زادهم الله من علمه

كود:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

$Form1 = GUICreate("Form1", 393, 153, -1, -1)
GUISetBkColor(0xA0A0A4)
$FILEIN = GUICtrlCreateInput("", 48, 32, 233, 21)
$Input2 = GUICtrlCreateInput("", 48, 72, 233, 21)
$FILEOB = GUICtrlCreateButton("...", 296, 32, 65, 21)
$Button2 = GUICtrlCreateButton("...", 296, 72, 65, 21)
$Button3 = GUICtrlCreateButton("Start", 136, 112, 97, 25)
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
   Case $FILEOB
            $FILE = FileOpenDialog("Select your file", Default, "All Files (*.*)", 1 + 4, "", GUICreate(""))
            If $FILE <> "" Then
                GUICtrlSetData($FILEIN, $FILE)
            EndIf
            EndSwitch
WEnd
اريد اظافة beep و drag and drop

beep عند الضغط على الزر $FILEOB

و
drag and drop في $FILEIN


 
^
^^
^^^

كم تدفع :d:

سم وانا اخوك ..

كود:
[color=#669900][i]#cs ----------------------------------------------------------------------------
    AutoIt Version: 3.3.6.1
    Author:         Expertise
    Script Function:
    Helping Someone
#ce ----------------------------------------------------------------------------
[/i][/color]
[color=#009933][i]; Script Start - Add your code below here[/i][/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ButtonConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<EditConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<GUIConstantsEx.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<WindowsConstants.au3>[/color]
[color=#AA0000]$Form1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm][color=#000090][i]GUICreate[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"Form1"[/color][color=#FF0000],[/color] [color=#AC00A9][i]393[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]153[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000],[/color] [color=#AA0000]$WS_EX_ACCEPTFILES[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUISetBkColor.htm][color=#000090][i]GUISetBkColor[/i][/color][/url][color=#FF0000]([/color][color=#AC00A9][i]0xA0A0A4[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$FILEIN[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm][color=#000090][i]GUICtrlCreateInput[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000],[/color] [color=#AC00A9][i]48[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]32[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]233[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetState.htm][color=#000090][i]GUICtrlSetState[/i][/color][/url][color=#FF0000](-[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000],[/color] [color=#AA0000]$GUI_DROPACCEPTED[/color][color=#FF0000])[/color]
[color=#AA0000]$Input2[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm][color=#000090][i]GUICtrlCreateInput[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000],[/color] [color=#AC00A9][i]48[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]72[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]233[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$FILEOB[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"..."[/color][color=#FF0000],[/color] [color=#AC00A9][i]296[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]32[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]65[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button2[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"..."[/color][color=#FF0000],[/color] [color=#AC00A9][i]296[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]72[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]65[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button3[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"Start"[/color][color=#FF0000],[/color] [color=#AC00A9][i]136[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]112[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]97[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm][color=#000090][i]GUISetState[/i][/color][/url][color=#FF0000]([/color][url=http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show][color=#FF33FF]@SW_SHOW[/color][/url][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#While][color=#0000FF]While[/color][/url] [color=#AC00A9][i]1[/i][/color]
    [color=#AA0000]$nMsg[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm][color=#000090][i]GUIGetMsg[/i][/color][/url][color=#FF0000]()[/color]
    [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch][color=#0000FF]Switch[/color][/url] [color=#AA0000]$nMsg[/color]
        [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$GUI_EVENT_CLOSE[/color]
            [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit][color=#0000FF]Exit[/color][/url]
        [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$FILEOB[/color]
            [color=#AA0000]$FILE[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/FileOpenDialog.htm][color=#000090][i]FileOpenDialog[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"Select your file"[/color][color=#FF0000],[/color] [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Default][color=#0000FF]Default[/color][/url][color=#FF0000],[/color] [color=#9999CC]"All Files (*.*)"[/color][color=#FF0000],[/color] [color=#AC00A9][i]1[/i][/color] [color=#FF0000]+[/color] [color=#AC00A9][i]4[/i][/color][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000],[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm][color=#000090][i]GUICreate[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000]))[/color]
            [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#If][color=#0000FF]If[/color][/url] [color=#AA0000]$FILE[/color] [color=#FF0000]<>[/color] [color=#9999CC]""[/color] [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Then][color=#0000FF]Then[/color][/url]
                [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm][color=#000090][i]GUICtrlSetData[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$FILEIN[/color][color=#FF0000],[/color] [color=#AA0000]$FILE[/color][color=#FF0000])[/color]
            [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf][color=#0000FF]EndIf[/color][/url]
        [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$Button3[/color]
            [url=http://www.autoitscript.com/autoit3/docs/functions/Beep.htm][color=#000090][i]Beep[/i][/color][/url][color=#FF0000]([/color][color=#AC00A9][i]500[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]1000[/i][/color][color=#FF0000])[/color]
            [url=http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm][color=#000090][i]MsgBox[/i][/color][/url][color=#FF0000]([/color][color=#AC00A9][i]4096[/i][/color][color=#FF0000],[/color] [color=#9999CC]"drag drop file"[/color][color=#FF0000],[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm][color=#000090][i]GUICtrlRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$FILEIN[/color][color=#FF0000]))[/color]
    [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch][color=#0000FF]EndSwitch[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd][color=#0000FF]WEnd[/color][/url]
 
توقيع : LINEZERO
^
^^
^^^

كم تدفع :d:

سم وانا اخوك ..

كود:
[COLOR=#669900][I]#cs ----------------------------------------------------------------------------
    AutoIt Version: 3.3.6.1
    Author:         Expertise
    Script Function:
    Helping Someone
#ce ----------------------------------------------------------------------------
[/I][/COLOR]
[COLOR=#009933][I]; Script Start - Add your code below here[/I][/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<ButtonConstants.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<EditConstants.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<GUIConstantsEx.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<WindowsConstants.au3>[/COLOR]
[COLOR=#AA0000]$Form1[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"Form1"[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]393[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]153[/I][/COLOR][COLOR=#FF0000], -[/COLOR][COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000], -[/COLOR][COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000], -[/COLOR][COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$WS_EX_ACCEPTFILES[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUISetBkColor.htm"][COLOR=#000090][I]GUISetBkColor[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AC00A9][I]0xA0A0A4[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$FILEIN[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]""[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]48[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]32[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]233[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]21[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetState.htm"][COLOR=#000090][I]GUICtrlSetState[/I][/COLOR][/URL][COLOR=#FF0000](-[/COLOR][COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$GUI_DROPACCEPTED[/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$Input2[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]""[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]48[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]72[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]233[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]21[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$FILEOB[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"..."[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]296[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]32[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]65[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]21[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$Button2[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"..."[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]296[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]72[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]65[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]21[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$Button3[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"Start"[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]136[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]112[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]97[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]25[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm"][COLOR=#000090][I]GUISetState[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show"][COLOR=#FF33FF]@SW_SHOW[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000FF]While[/COLOR][/URL] [COLOR=#AC00A9][I]1[/I][/COLOR]
    [COLOR=#AA0000]$nMsg[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm"][COLOR=#000090][I]GUIGetMsg[/I][/COLOR][/URL][COLOR=#FF0000]()[/COLOR]
    [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch"][COLOR=#0000FF]Switch[/COLOR][/URL] [COLOR=#AA0000]$nMsg[/COLOR]
        [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]Case[/COLOR][/URL] [COLOR=#AA0000]$GUI_EVENT_CLOSE[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit"][COLOR=#0000FF]Exit[/COLOR][/URL]
        [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]Case[/COLOR][/URL] [COLOR=#AA0000]$FILEOB[/COLOR]
            [COLOR=#AA0000]$FILE[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileOpenDialog.htm"][COLOR=#000090][I]FileOpenDialog[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"Select your file"[/COLOR][COLOR=#FF0000],[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Default"][COLOR=#0000FF]Default[/COLOR][/URL][COLOR=#FF0000],[/COLOR] [COLOR=#9999CC]"All Files (*.*)"[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR] [COLOR=#FF0000]+[/COLOR] [COLOR=#AC00A9][I]4[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#9999CC]""[/COLOR][COLOR=#FF0000],[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]""[/COLOR][COLOR=#FF0000]))[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000FF]If[/COLOR][/URL] [COLOR=#AA0000]$FILE[/COLOR] [COLOR=#FF0000]<>[/COLOR] [COLOR=#9999CC]""[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000FF]Then[/COLOR][/URL]
                [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm"][COLOR=#000090][I]GUICtrlSetData[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$FILEIN[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$FILE[/COLOR][COLOR=#FF0000])[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000FF]EndIf[/COLOR][/URL]
        [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]Case[/COLOR][/URL] [COLOR=#AA0000]$Button3[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/functions/Beep.htm"][COLOR=#000090][I]Beep[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AC00A9][I]500[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]1000[/I][/COLOR][COLOR=#FF0000])[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm"][COLOR=#000090][I]MsgBox[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AC00A9][I]4096[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#9999CC]"drag drop file"[/COLOR][COLOR=#FF0000],[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm"][COLOR=#000090][I]GUICtrlRead[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$FILEIN[/COLOR][COLOR=#FF0000]))[/COLOR]
    [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch"][COLOR=#0000FF]EndSwitch[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000FF]WEnd[/COLOR][/URL]

بسم الله ماشاء الله

بارك الله فيك أخي العزيز


جربته مباشرة واشتغل عادي

لاكن المشكلة اني أظفت

GroupeBox

Group 1

كود:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

$Form1 = GUICreate("Form1", 431, 191, 192, 124)
$Group1 = GUICtrlCreateGroup("Group1", 40, 24, 345, 113)
$FILEIN = GUICtrlCreateInput("", 80, 48, 233, 21)
$FILEOB = GUICtrlCreateButton("...", 320, 48, 49, 25)
$Input2 = GUICtrlCreateInput("", 80, 88, 233, 21)
$Button3 = GUICtrlCreateButton("...", 320, 88, 49, 25)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
   Case $FILEOB
            $FILE = FileOpenDialog("Select your file", Default, "All Files (*.*)", 1 + 4, "", GUICreate(""))
            If $FILE <> "" Then
                GUICtrlSetData($FILEIN, $FILE)
            EndIf
            EndSwitch
WEnd
و $FILEIN وجميع البوتن بداخله

ولم تنجح معي drag and drop

هل يمكن عملها و جعله الله في موازين حسناتك
 
^
^^
^^^
كم تدفع :kmj-by0000 (72):

سم طال عمرك
:d:

كود:
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ButtonConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<EditConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<GUIConstantsEx.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<WindowsConstants.au3>[/color]
[color=#AA0000]$Form1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm][color=#000090][i]GUICreate[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"Form1"[/color][color=#FF0000],[/color] [color=#AC00A9][i]431[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]191[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]192[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]124[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000],[/color] [color=#AA0000]$WS_EX_ACCEPTFILES[/color][color=#FF0000])[/color]
[color=#AA0000]$Group1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateGroup.htm][color=#000090][i]GUICtrlCreateGroup[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"Group1"[/color][color=#FF0000],[/color] [color=#AC00A9][i]40[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]24[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]345[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]113[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$FILEIN[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm][color=#000090][i]GUICtrlCreateInput[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000],[/color] [color=#AC00A9][i]80[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]48[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]233[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetState.htm][color=#000090][i]GUICtrlSetState[/i][/color][/url][color=#FF0000](-[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000],[/color] [color=#AA0000]$GUI_DROPACCEPTED[/color][color=#FF0000])[/color]
[color=#AA0000]$FILEOB[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"..."[/color][color=#FF0000],[/color] [color=#AC00A9][i]320[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]48[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]49[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Input2[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm][color=#000090][i]GUICtrlCreateInput[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000],[/color] [color=#AC00A9][i]80[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]88[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]233[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button3[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"..."[/color][color=#FF0000],[/color] [color=#AC00A9][i]320[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]88[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]49[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateGroup.htm][color=#000090][i]GUICtrlCreateGroup[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000], -[/color][color=#AC00A9][i]99[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]99[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]1[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]1[/i][/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm][color=#000090][i]GUISetState[/i][/color][/url][color=#FF0000]([/color][url=http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show][color=#FF33FF]@SW_SHOW[/color][/url][color=#FF0000])[/color]

[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#While][color=#0000FF]While[/color][/url] [color=#AC00A9][i]1[/i][/color]
    [color=#AA0000]$nMsg[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm][color=#000090][i]GUIGetMsg[/i][/color][/url][color=#FF0000]()[/color]
    [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch][color=#0000FF]Switch[/color][/url] [color=#AA0000]$nMsg[/color]
        [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$GUI_EVENT_CLOSE[/color]
            [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit][color=#0000FF]Exit[/color][/url]
        [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$FILEOB[/color]
            [color=#AA0000]$FILE[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/FileOpenDialog.htm][color=#000090][i]FileOpenDialog[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"Select your file"[/color][color=#FF0000],[/color] [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Default][color=#0000FF]Default[/color][/url][color=#FF0000],[/color] [color=#9999CC]"All Files (*.*)"[/color][color=#FF0000],[/color] [color=#AC00A9][i]1[/i][/color] [color=#FF0000]+[/color] [color=#AC00A9][i]4[/i][/color][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000],[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm][color=#000090][i]GUICreate[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000]))[/color]
            [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#If][color=#0000FF]If[/color][/url] [color=#AA0000]$FILE[/color] [color=#FF0000]<>[/color] [color=#9999CC]""[/color] [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Then][color=#0000FF]Then[/color][/url]
                [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm][color=#000090][i]GUICtrlSetData[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$FILEIN[/color][color=#FF0000],[/color] [color=#AA0000]$FILE[/color][color=#FF0000])[/color]
            [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf][color=#0000FF]EndIf[/color][/url]
    [url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch][color=#0000FF]EndSwitch[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd][color=#0000FF]WEnd[/color][/url]

لاتنسانا من دعائك وانت صائم :smile:
 
توقيع : LINEZERO
هذا ماهو كود هذا شخبطه ...

وبعدين انت المفروض انك تشرح ماتسال :i:


شخبطة :mad::mad::mad::mad::cr::cr::cr:

يلا خبرنا كيف يكون الكود الصحيح بحيث ان الدرايف السيدي مختلف الحرف من جهاز الى جهاز اخر

فانا اريد اعمل اداة فما هي الاكواد الصحيحة


انا لن اشرح بحضور الاساتذه والمعلمين الكبار
 
توقيع : الحلا تبي تتعلم
^

^^
^^^
كم تدفع :kmj-by0000 (72):​

سم طال عمرك
:d:​

كود:
[CENTER][URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<ButtonConstants.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<EditConstants.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<GUIConstantsEx.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<WindowsConstants.au3>[/COLOR]
[COLOR=#aa0000]$Form1[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Form1"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]431[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]191[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]192[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]124[/I][/COLOR][COLOR=#ff0000], -[/COLOR][COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$WS_EX_ACCEPTFILES[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Group1[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateGroup.htm"][COLOR=#000090][I]GUICtrlCreateGroup[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Group1"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]40[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]24[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]345[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]113[/I][/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FILEIN[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]80[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]48[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]233[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]21[/I][/COLOR][COLOR=#ff0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetState.htm"][COLOR=#000090][I]GUICtrlSetState[/I][/COLOR][/URL][COLOR=#ff0000](-[/COLOR][COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI_DROPACCEPTED[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FILEOB[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]320[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]48[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]49[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]25[/I][/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Input2[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]80[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]88[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]233[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]21[/I][/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Button3[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]320[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]88[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]49[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]25[/I][/COLOR][COLOR=#ff0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateGroup.htm"][COLOR=#000090][I]GUICtrlCreateGroup[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000], -[/COLOR][COLOR=#ac00a9][I]99[/I][/COLOR][COLOR=#ff0000], -[/COLOR][COLOR=#ac00a9][I]99[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm"][COLOR=#000090][I]GUISetState[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show"][COLOR=#ff33ff]@SW_SHOW[/COLOR][/URL][COLOR=#ff0000])[/COLOR][/CENTER]
 
[CENTER][URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000ff]While[/COLOR][/URL] [COLOR=#ac00a9][I]1[/I][/COLOR]
   [COLOR=#aa0000]$nMsg[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm"][COLOR=#000090][I]GUIGetMsg[/I][/COLOR][/URL][COLOR=#ff0000]()[/COLOR]
   [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch"][COLOR=#0000ff]Switch[/COLOR][/URL] [COLOR=#aa0000]$nMsg[/COLOR]
       [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR]
           [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit"][COLOR=#0000ff]Exit[/COLOR][/URL]
       [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$FILEOB[/COLOR]
           [COLOR=#aa0000]$FILE[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileOpenDialog.htm"][COLOR=#000090][I]FileOpenDialog[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Select your file"[/COLOR][COLOR=#ff0000],[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Default"][COLOR=#0000ff]Default[/COLOR][/URL][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]"All Files (*.*)"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]1[/I][/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#ac00a9][I]4[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000]))[/COLOR]
           [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000ff]If[/COLOR][/URL] [COLOR=#aa0000]$FILE[/COLOR] [COLOR=#ff0000]<>[/COLOR] [COLOR=#9999cc]""[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000ff]Then[/COLOR][/URL]
               [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm"][COLOR=#000090][I]GUICtrlSetData[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FILEIN[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$FILE[/COLOR][COLOR=#ff0000])[/COLOR]
           [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000ff]EndIf[/COLOR][/URL]
   [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch"][COLOR=#0000ff]EndSwitch[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000ff]WEnd[/COLOR][/URL][/CENTER]


لاتنسانا من دعائك وانت صائم :smile:


:?::?: في كثير ناس مبتدئة :q::q:

ممكن تفهموا الناس وش فايدة هالكود وفي ايه بيستخدم
 
توقيع : الحلا تبي تتعلم
بعد إذن أخوي بندر​

أخو السكربتات دائماً تنفذ سطر سطر يعني تبي الرسالة تضهر قبل كل شيء حطها أول شيء​

:d:​


:ok::ok:

وفي حالة وضع الامر
exit
يتم الخروج من السكربت بدون تنفيذ السطر الذي يليه
 
توقيع : الحلا تبي تتعلم
بعد إذن أخوي بندر​

أخو السكربتات دائماً تنفذ سطر سطر يعني تبي الرسالة تضهر قبل كل شيء حطها أول شيء​

:d:​


هلاا أخوي فاهمك لكن انا ماعملت التنصيب الصامت ببرنامج الاوتوات
انا سويته بالوين رار
:i:

بعد اذن اخوي بندر واخوي waget تفضل هذا الكود
كود:
MsgBox(0,"[COLOR=red]title[/COLOR]","[COLOR=red]text[/COLOR]")
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
GUICreate("Zyzoom.org",400,300)
GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
لاحظي اول سطر هو كود الرسالة

tiltle = عنوان الرسالة
text = محتوى الرسالة




......

الله يعطيك العافيه أخوي
وبانتظار الرد على الاستفسار الي طرحته لأنه مثل ماذكرت لكم
انا سويته بالوين رار
 
توقيع : فتى الاحزان
شخبطة :mad::mad::mad::mad::cr::cr::cr:

يلا خبرنا كيف يكون الكود الصحيح بحيث ان الدرايف السيدي مختلف الحرف من جهاز الى جهاز اخر

فانا اريد اعمل اداة فما هي الاكواد الصحيحة


انا لن اشرح بحضور الاساتذه والمعلمين الكبار

متى بنشوف دروس جديدة
يجب على صاحب الموضوع والمشرفين انزال دروس جديدة واذا مو فاضيين سلموا لي زمام الامور وانا راح اشرح لكم اي موضوع تريدوه

:i:


والكود هو

كود:
[color=#AA0000]$var[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/DriveGetDrive.htm][color=#000090][i]DriveGetDrive[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"CDROM"[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm][color=#000090][i]MsgBox[/i][/color][/url][color=#FF0000]([/color][color=#AC00A9][i]0[/i][/color][color=#FF0000],[/color] [color=#9999CC]"Info.."[/color][color=#FF0000],[/color] [color=#9999CC]" CD Letter is ==>> "[/color] [color=#FF0000]&[/color] [color=#AA0000]$var[/color][color=#FF0000][[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000]])[/color]

:bleh:​
 
توقيع : LINEZERO
يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي

^
^^
^^^

تم وضعك طال عمرك بقائمة التجاهل << يعني بلوووك :p:

لاتتعب عمرك ترد لاني ماراح اشوف ردك
:smile:
 
توقيع : LINEZERO
بارك الله فيك

طبعا الحمدلله فهمت الكود :d:

وفهمت معاه فوائد الـ Func الي عقدتني زمان :cr: :hh:

عموما هذا شرح للكود عشان اخونا رامي :d:

كود:
Run("notepad.exe") ;تشغيل المفكرة
WinWaitActive("[CLASS:Notepad]") ;الانتظار حتى تكون المفكرة في المقدمة لتجنب الكتابة في المكان الخطأ
W_It("This is Done By : ") ;الكلام مع الاعتماد على الدالة
Send("{ENTER}") ;إرسال ضغطة دخول لنزول سطر واحد
W_It("Expertise / yones7x .. ") ;الكلام مع الاعتماد على الدالة
Send("{ENTER}") ;إرسال ضغطة دخول لنزول سطر واحد
W_It("[URL="http://www.zyzoom.org/vb"]www.zyzoom.org/vb[/URL]") ;الكلام مع الاعتماد على الدالة
Send("{ENTER}") ;إرسال ضغطة دخول لنزول سطر واحد
Send("{ENTER}") ;إرسال ضغطة دخول لنزول سطر واحد
Send("{ENTER}") ;إرسال ضغطة دخول لنزول سطر واحد
W_It("Regards .. :)") ;الكلام مع الاعتماد على الدالة
 
Func W_It($string) ;بدء الدالة مع وضع متغير
;$string: تعني تعريف الكلام الذي سيكتب
$Number = StringSplit($string, "") ;وضع أمر التعرف على تسلسل الكلمات والفارق هو حرف واحد ولمزيد من المعلومات استخدم المساعدة الخاصة بالاوتوات
;$Number[2]: الحرف الثاني
;$Number[5]: الحرف الخامس
;$Number[0]: الحرف الأخير فمثلا لو كان عدد الاحرف ثلاثة فإن الاخير قيمته ستكون 3
For $a = 1 To $Number[0] ;أمر الدوران للعد من الحرف الأول إلى الحرف الاخير
Send($Number[$a]) ;إرسال حرف في كل مرة باعتماد على الدوران وستلاحظ أن المتغير يمثل أرقام متتابعة مما يؤدي للأنتقال لكل حرف
sleep(100) ;هذه فائدتها في سرعة الكتابة لانها تعتبر الفارق بين كل حرف
Next ;انتهاء الدوران
EndFunc   ;==>Write_It // إخراج المتغيرات جميعها ونقلها إلى أعلى بحيث يعمل كل حرف على حدة

انسخ الكود للاوتوات واقرأ الملاحظات :d:

تحياتي لك :king:
بارك الله فيك يا الغالي لكن الان جميع الدالة في كود لا أعرف من صعب معرفة كيف يعمل هذا كود

طيب ما العمل الدالة
W_It
func
 
توقيع : ramay
بعد إذن أخوي بندر

أخو السكربتات دائماً تنفذ سطر سطر يعني تبي الرسالة تضهر قبل كل شيء حطها أول شيء

:d:

ياسلام استاذ عبد الله هنا كيفك يا الغالي
:king:​
 
توقيع : ramay
السلام عليكم ورحمة الله وبركاته
مبارك عليكم الشهر
3.gif

شكراا للاخ بندر على متابعتة واهتمامة للموضوع والله يجزاه خير هو وباقي الاعضاء المساهمين

طلب:-أريد منكم كود مسح سطر معين كالاتي:-

كود:
$file = FileOpen(@DesktopDir&"\test.txt", 1)

FileWrite($file, "السلام عليكم" & @CRLF)
FileWrite($file, "أريد منكم" & @CRLF)
FileWrite($file, "طلب" & @CRLF)

FileClose($file)

يعني اريد كود فقط يمسح الكلام اللي كتبه فقط وما يدخل بالباقي:d:
 
^
^^
^^^
كم تدفع :kmj-by0000 (72):

سم طال عمرك
:d:

كود:
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<ButtonConstants.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<EditConstants.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<GUIConstantsEx.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<WindowsConstants.au3>[/COLOR]
[COLOR=#AA0000]$Form1[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"Form1"[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]431[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]191[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]192[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]124[/I][/COLOR][COLOR=#FF0000], -[/COLOR][COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$WS_EX_ACCEPTFILES[/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$Group1[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateGroup.htm"][COLOR=#000090][I]GUICtrlCreateGroup[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"Group1"[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]40[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]24[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]345[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]113[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$FILEIN[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]""[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]80[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]48[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]233[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]21[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetState.htm"][COLOR=#000090][I]GUICtrlSetState[/I][/COLOR][/URL][COLOR=#FF0000](-[/COLOR][COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$GUI_DROPACCEPTED[/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$FILEOB[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"..."[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]320[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]48[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]49[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]25[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$Input2[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]""[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]80[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]88[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]233[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]21[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$Button3[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"..."[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]320[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]88[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]49[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]25[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateGroup.htm"][COLOR=#000090][I]GUICtrlCreateGroup[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]""[/COLOR][COLOR=#FF0000], -[/COLOR][COLOR=#AC00A9][I]99[/I][/COLOR][COLOR=#FF0000], -[/COLOR][COLOR=#AC00A9][I]99[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm"][COLOR=#000090][I]GUISetState[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show"][COLOR=#FF33FF]@SW_SHOW[/COLOR][/URL][COLOR=#FF0000])[/COLOR]

[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000FF]While[/COLOR][/URL] [COLOR=#AC00A9][I]1[/I][/COLOR]
    [COLOR=#AA0000]$nMsg[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm"][COLOR=#000090][I]GUIGetMsg[/I][/COLOR][/URL][COLOR=#FF0000]()[/COLOR]
    [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch"][COLOR=#0000FF]Switch[/COLOR][/URL] [COLOR=#AA0000]$nMsg[/COLOR]
        [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]Case[/COLOR][/URL] [COLOR=#AA0000]$GUI_EVENT_CLOSE[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit"][COLOR=#0000FF]Exit[/COLOR][/URL]
        [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]Case[/COLOR][/URL] [COLOR=#AA0000]$FILEOB[/COLOR]
            [COLOR=#AA0000]$FILE[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileOpenDialog.htm"][COLOR=#000090][I]FileOpenDialog[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"Select your file"[/COLOR][COLOR=#FF0000],[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Default"][COLOR=#0000FF]Default[/COLOR][/URL][COLOR=#FF0000],[/COLOR] [COLOR=#9999CC]"All Files (*.*)"[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR] [COLOR=#FF0000]+[/COLOR] [COLOR=#AC00A9][I]4[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#9999CC]""[/COLOR][COLOR=#FF0000],[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]""[/COLOR][COLOR=#FF0000]))[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000FF]If[/COLOR][/URL] [COLOR=#AA0000]$FILE[/COLOR] [COLOR=#FF0000]<>[/COLOR] [COLOR=#9999CC]""[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000FF]Then[/COLOR][/URL]
                [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm"][COLOR=#000090][I]GUICtrlSetData[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$FILEIN[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$FILE[/COLOR][COLOR=#FF0000])[/COLOR]
            [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000FF]EndIf[/COLOR][/URL]
    [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch"][COLOR=#0000FF]EndSwitch[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000FF]WEnd[/COLOR][/URL]
لاتنسانا من دعائك وانت صائم :smile:
:king:

كم أدفع :kmj-by0000 (72):

دعواتي لك ولواديك :d:

بارك الله فيك ياغالي اشتغل برنامجي و لن أنسى لك مساعدتك ما حييت

جزاك الله خيرا وجعله الله في ميزان حسناتك

 
عودة
أعلى