• بادئ الموضوع بادئ الموضوع ashalshaikh
  • تاريخ البدء تاريخ البدء
  • المشاهدات 114,207
بسم الله الرحمن الرحيم ..
اللهم صلي على محمد وآله وصحبه أجميعين ..


كتابة الـ GUI
إعداد : Ashalshaikh


تحديد الستايل والمقابض

يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي


نكمل ..

بعد عمل جميع الـ Controls
يكون بالشكل التالي :ـ

كود:
[COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Input"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Button"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Button2"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Button"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]

[COLOR=#0000ff]WEnd[/COLOR]
بالشكل التالي :ـ
i65363_2010-03-02-172616.gif


نبدأ الآن نحدد النصوص التلقائية ..
كود:
[COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]

[COLOR=#0000ff]WEnd[/COLOR]
طيب الآن معلومة مهمة جدا ..
دائما دائما دائما ..

الدوال التي تنتهي بـ Create
ترجع مقبض العنصر أو النافذة !!


الآن نضع متغيرات نحدد بها المقابض ..
شوف كذا


كود:
[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]

[COLOR=#0000ff]WEnd[/COLOR]
يمكنك تسميته أي شيء تريده .. ولكن يفضل أن تكون مرتبة تدل على وظيفة العنصر ونوعه



الآن وصلنا مرحلة جيدة ..

لنحدد Style العناصر حسب المراد ..
لنطبق ذلك على Edit نريده ReadOnly القراءة فقط ..

نفتح ملف الـ Help ونذهب إلى العنوان التالي :ـ

i65364_2010-03-02-172616.gif


نختار أي عنصر في القائمة ..
ومن قائمة : Style
تضغط على المحدد بالأصفر

i65365_2010-03-02-172616.gif


تجد أمامك التالي :ـ

i65366_2010-03-02-172616.gif


تنسخ المحدد بالأصفر فوق في السكربت ..
يكون كذا :ـ
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]

[COLOR=#0000ff]WEnd[/COLOR]
الآن يجب أن تعرف أن صيغة إنشاء الـعناصر هكذا
كود:
[FONT=Times New Roman]
GUIXXCreate ("text", left, top , width , height ,[COLOR=Red]style[/COLOR])
[/FONT]

الآن لنبحث عن ReadOnly في القائمة السابقة ..

i65368_2010-03-02-172616.gif


الآن يكون الكود كالتالي :ـ
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]

[COLOR=#0000ff]WEnd[/COLOR]
النتيجة النهائية
i65370_2010-03-02-172616.gif


شكرا لكم ..

شدو حيلكم ..

 

جزاك الله الف خير ,,
لا تحتري تطبيقي :d:
 
توقيع : Future Tank X-1
السلام عليكم وزرحمت الله وبركاته
اخى الكريم على الشرح الممتاز وعلى المتابعه
تطبيقى المتواضع
يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي


طبعا لا تخلوا لى مشاركه من الصداع :bleh:
ممكن تشرح اهميه هذه
PHP:
GUISetState(@SW_SHOW)

وفى حاجه صعبه عليا اوى انا كدا لازم امشى مع الشرح بتاعك بالضبط ودا انا لا اريده :bleh:
لا تسئ فهمى انا قصدى كيف احدد مكان الزر بالتحديد اللى انت بتتبعه انا مش عارف:cr: بصراحه ازاى يعنى شوف الاحداثيات
("Button", 320, 24, 43, 21)
طيب جبتها ازاى طيب انا لو حبيت اعمل مشروع كبير شويه اعمل ايه :f: منتظر ردك الكريم
 
توقيع : فدى الرسول
أخي الكريم فدي الرسول
لن أقول لك إلا أهلا بك في عالم البرمجة الملئ بأشياء غريبة و لن يمشي في دربها إلا من يحبها
أريد أن أقول لك ان أبسط برنامج يستخدم GUI ستكون أوامر الإنشاء فقط فوق 80 سطر بل و أكثر
وهذه الأرقام الكثيرة الموجودة داخل كل امر انشاء هي بعدد البكسلات الموجودة علي الشاشة

لذلك هناك أداه koda وهي لتصميم الgui ولكن يجب عليك ايضا فهم هذه الأوامر علشان لو عايز تعدل عليها
 
جزاك الله الف خير ,,
لا تحتري تطبيقي :d:
حياك الله .. :q:
السلام عليكم وزرحمت الله وبركاته
اخى الكريم على الشرح الممتاز وعلى المتابعه
تطبيقى المتواضع
يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي


طبعا لا تخلوا لى مشاركه من الصداع :bleh:
ممكن تشرح اهميه هذه
PHP:
GUISetState(@SW_SHOW)
وفى حاجه صعبه عليا اوى انا كدا لازم امشى مع الشرح بتاعك بالضبط ودا انا لا اريده :bleh:
لا تسئ فهمى انا قصدى كيف احدد مكان الزر بالتحديد اللى انت بتتبعه انا مش عارف:cr: بصراحه ازاى يعنى شوف الاحداثيات
("Button", 320, 24, 43, 21)
طيب جبتها ازاى طيب انا لو حبيت اعمل مشروع كبير شويه اعمل ايه :f: منتظر ردك الكريم
جميل جدا جدا جدا ..
شكرا لك .. ولكن Button Constants ليس لها داعي ..
أخي الكريم فدي الرسول
لن أقول لك إلا أهلا بك في عالم البرمجة الملئ بأشياء غريبة و لن يمشي في دربها إلا من يحبها
أريد أن أقول لك ان أبسط برنامج يستخدم GUI ستكون أوامر الإنشاء فقط فوق 80 سطر بل و أكثر
وهذه الأرقام الكثيرة الموجودة داخل كل امر انشاء هي بعدد البكسلات الموجودة علي الشاشة

لذلك هناك أداه koda وهي لتصميم الgui ولكن يجب عليك ايضا فهم هذه الأوامر علشان لو عايز تعدل عليها
ماشاء الله تبارك الله .. تعبيرك منتاز :d:
وكلامك عسل :smile:
هذا هدفي بالضبط .. كأنك تقرأ أفكاري ,, سأشرح أولا ثم سأضع Koda لأن بدون فهم الكود ماراح تعمل شيء ..
:ok::ok::ok::ok::ok:

---------------
قديما فعلا .. كنت أحط المقاس وأجرب .. ثم أغيره وأجرب , وأغيره وأجرب .لين أجيبها :d:
 
قديما فعلا .. كنت أحط المقاس وأجرب .. ثم أغيره وأجرب , وأغيره وأجرب .لين أجيبها :d:

انا ايضاً كنت بعمل كدة اول برنامج عملته خلصت تصميمه في 3 ايام
تصميم بس :q::q:
 
الحبايب مجتمعين
 
توقيع : LINEZERO
طيب انا عندي سؤال :d::d:
كيفية تركيب المتغيرات لتصبح متغير واحد
كود:
$num1=5
$num2=6
$num3=2
$num4=4
for $i= 1 to 4
msgbox(0,"",$num$i)
next
كيف يمكن تركيب المتغير
num$i$
وبلاش فكرة المصفوفات انا عايز فكرة التركيبات علشان انا كنت فاكر اني بعمل الحركة دي بطريقة ما بس مش فاكرها

اذا امكن مزيد من الشرح لان الصوره لم تتضح لي ..

يعني لو اتضحت بتحلها <<< برااا :q:

المهم ازادكم الله من علمه وجعل الموضوع في ميزان حسنات كاتبه :ok:
 
توقيع : LINEZERO
الكود يرد عليك المعلم احمد :ok:

اما بخصوص الشق الثاني من السوال فلدي الاجابه بعد اذن الاساتذه جميعاً

جميع ماتريد عمله عن طريق الـ gpedit.msc

وهو خاص بالـ Group Policy تستطيع عمله عن طريق الرجستري :p:

ولدي ملف اكسل يحتوي على هذه التغيرات واعتبره من الكنوز الكبيره جداً لدي
واستخدمته بكثره في مشاريع سابقه ولا استغني عنه ابداً لدرجة انني فكرت بطرحه كموضوع خاص :hh:

المهم هذا هو لك وللجميع

يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي


واتمنى اعادة رفعه على اي موقع لانني رفعته على حساب الربيد شير وبرابط مفتوح
وسابقيه لفترة 3 ايام
 
توقيع : LINEZERO
بارك الله فيك أخوي أحمد على الدرس وعوداً حميداً

وجاري التطبيق والتحليل مع أني ما فهمت كيف المتغيرات نضعها :d::d:
 
توقيع : HaMuDi
المعذرة كنت مشغول قليلاً,
واعتقد أن هذا ما تريد :

كود:
[color="#aa0000"]$num1[/Color][color="#ff0000"]=[/Color][color="#ac00a9"]5[/Color]
[color="#aa0000"]$num2[/Color][color="#ff0000"]=[/Color][color="#ac00a9"]6[/Color]
[color="#aa0000"]$num3[/Color][color="#ff0000"]=[/Color][color="#ac00a9"]2[/Color]
[color="#aa0000"]$num4[/Color][color="#ff0000"]=[/Color][color="#ac00a9"]4[/Color]
[color="#0000ff"]FOr[/Color] [color="#aa0000"]$i[/Color][color="#ff0000"]=[/Color] [color="#ac00a9"]1[/Color] [color="#0000ff"]To[/Color] [color="#ac00a9"]4[/Color]
[color="#000090"]Assign[/Color][color="#ff0000"]([/Color][color="#9999cc"]"num"[/Color][color="#ff0000"],[/Color] [color="#9999cc"]"num"[/Color] [color="#ff0000"]&[/Color] [color="#aa0000"]$i[/Color][color="#ff0000"])[/Color]
[color="#aa0000"]$num[/Color] [color="#ff0000"]=[/Color] [color="#000090"]Eval[/Color][color="#ff0000"]([/Color][color="#aa0000"]$num[/Color][color="#ff0000"])[/Color]
[color="#000090"]MsgBox[/Color][color="#ff0000"]([/Color][color="#ac00a9"]0[/Color][color="#ff0000"],[/Color][color="#9999cc"]""[/Color][color="#ff0000"],[/Color][color="#aa0000"]$num[/Color][color="#ff0000"])[/Color]
[color="#0000ff"]Next[/Color]
 
توقيع : الزري2
ماشاء الله أخي أحمد
ننتظر الدرس القادم :wink:
 
توقيع : الزري2
جزاك الله خيرا على الدروس الرائعه
 
توقيع : zoro779
انا ايضاً كنت بعمل كدة اول برنامج عملته خلصت تصميمه في 3 ايام
تصميم بس :q::q:
:d::d::d: مثلي ..
الكود يرد عليك المعلم احمد :ok:

اما بخصوص الشق الثاني من السوال فلدي الاجابه بعد اذن الاساتذه جميعاً

جميع ماتريد عمله عن طريق الـ gpedit.msc

وهو خاص بالـ Group Policy تستطيع عمله عن طريق الرجستري :p:

ولدي ملف اكسل يحتوي على هذه التغيرات واعتبره من الكنوز الكبيره جداً لدي
واستخدمته بكثره في مشاريع سابقه ولا استغني عنه ابداً لدرجة انني فكرت بطرحه كموضوع خاص :hh:

المهم هذا هو لك وللجميع

يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي


واتمنى اعادة رفعه على اي موقع لانني رفعته على حساب الربيد شير وبرابط مفتوح
وسابقيه لفترة 3 ايام
ماشاء الله تبارك الله .. والله إبداع .. شيء خيالي ..
فعلا فيه كل شيء تتخيله ..
رابط جديد
يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي

تسلم إيديك
بارك الله فيك أخوي أحمد على الدرس وعوداً حميداً

وجاري التطبيق والتحليل مع أني ما فهمت كيف المتغيرات نضعها :d::d:
:d::d:
وفيك ياغالي ..
حياك الله ..
المتغيرات أهم شيء .. رح نعرف ليش بعدين :bleh:
المعذرة كنت مشغول قليلاً,
واعتقد أن هذا ما تريد :

كود:
[COLOR=#aa0000]$num1[/COLOR][COLOR=#ff0000]=[/COLOR][COLOR=#ac00a9]5[/COLOR]
[COLOR=#aa0000]$num2[/COLOR][COLOR=#ff0000]=[/COLOR][COLOR=#ac00a9]6[/COLOR]
[COLOR=#aa0000]$num3[/COLOR][COLOR=#ff0000]=[/COLOR][COLOR=#ac00a9]2[/COLOR]
[COLOR=#aa0000]$num4[/COLOR][COLOR=#ff0000]=[/COLOR][COLOR=#ac00a9]4[/COLOR]
[COLOR=#0000ff]FOr[/COLOR] [COLOR=#aa0000]$i[/COLOR][COLOR=#ff0000]=[/COLOR] [COLOR=#ac00a9]1[/COLOR] [COLOR=#0000ff]To[/COLOR] [COLOR=#ac00a9]4[/COLOR]
[COLOR=#000090]Assign[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"num"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]"num"[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$i[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$num[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]Eval[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$num[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$num[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#0000ff]Next[/COLOR]
بطل :ok::ok::ok::ok::ok::ok:

خطرت في بالي فكرة ثانية .. وهي ناجحة جدا :wink:
كود:
[color="#aa0000"]$num1[/Color] [color="#ff0000"]=[/Color] [color="#ac00a9"]5[/Color]
[color="#aa0000"]$num2[/Color] [color="#ff0000"]=[/Color] [color="#ac00a9"]6[/Color]
[color="#aa0000"]$num3[/Color] [color="#ff0000"]=[/Color] [color="#ac00a9"]2[/Color]
[color="#aa0000"]$num4[/Color] [color="#ff0000"]=[/Color] [color="#ac00a9"]4[/Color]
[color="#0000ff"]FOr[/Color] [color="#aa0000"]$i[/Color] [color="#ff0000"]=[/Color] [color="#ac00a9"]1[/Color] [color="#0000ff"]To[/Color] [color="#ac00a9"]4[/Color]
    [color="#aa0000"]$mmn[/Color] [color="#ff0000"]=[/Color] [color="#000090"]Execute[/Color][color="#ff0000"]([/Color][color="#9999cc"]"$num"[/Color] [color="#ff0000"]&[/Color] [color="#aa0000"]$i[/Color][color="#ff0000"])[/Color]
    [color="#000090"]MsgBox[/Color][color="#ff0000"]([/Color][color="#ac00a9"]0[/Color][color="#ff0000"],[/Color] [color="#9999cc"]""[/Color][color="#ff0000"],[/Color][color="#aa0000"]$mmn[/Color][color="#ff0000"])[/Color]
[color="#0000ff"]Next[/Color]

الحمد لله .. إجابة elawady بطريقتين :ok:

ماشاء الله أخي أحمد
ننتظر الدرس القادم :wink:
تسلم ياغالي ..
جزاك الله خيرا على الدروس الرائعه
الله يسلمك ..
 
مشكور جدا علي المساعدة وبدلا من ان يكون لدي طريقة اصبحت اثنين :y:
كود:
   [B][I][COLOR=#000090]Eval[/FONT][/COLOR][/I][/B][B][COLOR=red]([/FONT][/COLOR][/B][B][COLOR=#9999cc]"num"[/FONT][/COLOR][/B][B][COLOR=red]&[/FONT][/COLOR][/B][B][COLOR=#aa0000]$i[/FONT][/COLOR][/B][B][COLOR=red])[/FONT][/COLOR][/B]
[B][I][COLOR=#000090]Execute[/FONT][/COLOR][/I][/B][B][COLOR=red]([/FONT][/COLOR][/B][B][COLOR=#9999cc]"$num"[/FONT][/COLOR][/B][B][COLOR=red]&[/FONT][/COLOR][/B][B][COLOR=#aa0000]$i[/FONT][/COLOR][/B][B][COLOR=red])[/FONT][/COLOR][/B]
 
اي ها طولت علينا اخي نحنا جاهزين للمتابعة
والله وانا كمان كنت مشغول بدورة سي شارب بس انشاء الله هلأ تمام ومنتظرين كل شي جديد
 
بارك الله فيك
 
توقيع : ramay
بسم الله الرحمن الرحيم
اللهم صلي على محمد وآله وصحبه أجميعين ..
السلام عليكم ..


آسف على القطعة الطويلة ..
المنتدى كان متوقف عندي .. كل مرة يقول تعذر الإتصال طول اسبوعين .. توقعت مشاكل في المنتدى !!

في النهاية اكتشفت إنها من ملف الـHosts :er::b::d:
ما أدري كيف انضاف فيه .. :no:


على كل حال .. حياك الله يا إخوة ..

نكمل <<< توه تذكر :d:

عمل الأكشن مثل ما يقولون :d:

----------------------------------------------------------------------------------------
آخر ما وصلنا إليه هنا ..
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]

[COLOR=#0000ff]WEnd[/COLOR]
..
الآن نستخدم Switch وهو تعلمناها سابقا ..

بهذه الصيغة .. داخل While

كود:
[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUIControl_1[/COLOR]

        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUIControl_2[/COLOR]

        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUIControl_3[/COLOR]

    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
Case $GUIControl_3
يعني في حالة الضغط على المقبض $GUIControl_3

الآن نجرب تجربة !!
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'$Browse_Btn'[/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'$About_Btn'[/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'$Exit_Btn'[/COLOR][COLOR=#ff0000])[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
جمييييييييل :d: !!

الآن نكمل !! ونضع الأكواد المطلوبة ..

كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
في هذا الكود نلاحظ شيئين جديدين !!
وضعنا Parent GUI (HWND) في الـ FileOpenDialog
وفائدته تحديد نافذة الأصل .. جرب ضعها بدون وضع النافذة الأصل . .

ستجد في التاسك بار نافذتين !!
والعكس بالعكس ..
----------------
والملاحظة الثانية : وجود ContinueLoop
كما تشاهد إذا هناك خطأ لا نريد أن نخرج من While ولكن نريد إعادتها ..

طيب ,, نكمل

الآن المطلوب ثلاثة أشياء :ok:
الأول :: تحويل محتوى الـ Input إلى مسار الملف ..
والثاني :: فحص الملف ..
والثالث :: تحويل محتوى الـ Edit إلى معلومات الفحص ! :d:

دالة تحديد المحتويات
كود:
[COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Ctrl[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]'Data'[/COLOR][COLOR=#ff0000])[/COLOR]
نكتب المحتوى ..

كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
            [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'...'[/COLOR] _
            [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
راااااائع ..
بعد التجربة نلاحظ خلل !!
وهو أن الـ Edit ليس فيه ScrolBar عامودي أو أفقي ..
فنصلح الـ Style حقه ..

ونستخدم معرفات النوافذ الإفتراضية ,, نضيف هذه المكتبة
#include <WindowsConstants.au3>


ونضع في الستايل هذا
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <WindowsConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
            [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'...'[/COLOR] _
            [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]


الآن كل شيء ممتاز ..

طيب الآن طفي البرامج ..
تضغط على الإكس X ما يصير شي ..
لأنك ما عينت له أكشن :d:

الآن نكمل ..
نضيف المكتبة
#include <GUIConstantsEx.au3>
وهي التي فيها كثير من الأحداث والخصائص معمولة كـ متغيرات ..

والأحداث كالتالي :ـ
كود:
[COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_MINIMIZE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_RESTORE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_MAXIMIZE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_PRIMARYDOWN[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_PRIMARYUP[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_SECONDARYDOWN[/COLOR] 
[COLOR=#aa0000]$GUI_EVENT_SECONDARYUP[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_MOUSEMOVE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_RESIZED[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_DROPPED[/COLOR]
من أسماءها واضحة ..
الآن نكمل الكود . .
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <WindowsConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <GUIConstantsEx.au3>[/COLOR]


[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
                    [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'...'[/COLOR] _
                    [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
الآن وبعد اكمال الكود بالكامل نجد التالي :ـ
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR]  <EditConstants.au3>
[/COLOR][COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR]  <WindowsConstants.au3[/COLOR][COLOR=#9999cc]>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <GUIConstantsEx.au3>[/COLOR]


[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#9999cc][COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR][/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
                    [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'...'[/COLOR] _
                    [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]6[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'About'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'GUI Example :: By Ashalshaikh'[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]'For Zyzoom.org Members'[/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
ولأن حدث الخروج والضغط على الزر خروج لهم نفس العمل ..
نعملها بالشكل هذا

كود:
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
ويكون الكود بالكامل هو

كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <WindowsConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <GUIConstantsEx.au3>[/COLOR]


[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
                    [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'...'[/COLOR] _
                    [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]6[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'About'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'GUI Example :: By Ashalshaikh'[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]'For Zyzoom.org Members'[/COLOR][COLOR=#ff0000])[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
’’ شكرا ,,

السلام عليكم ورحمة الله وبركاته ..


وآسف مرة أخرى على التأخير ..

 
بسم الله الرحمن الرحيم
اللهم صلي على محمد وآله وصحبه أجميعين ..
السلام عليكم ..


آسف على القطعة الطويلة ..
المنتدى كان متوقف عندي .. كل مرة يقول تعذر الإتصال طول اسبوعين .. توقعت مشاكل في المنتدى !!

في النهاية اكتشفت إنها من ملف الـHosts :er::b::d:
ما أدري كيف انضاف فيه .. :no:


على كل حال .. حياك الله يا إخوة ..

نكمل <<< توه تذكر :d:

عمل الأكشن مثل ما يقولون :d:

----------------------------------------------------------------------------------------
آخر ما وصلنا إليه هنا ..
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]

[COLOR=#0000ff]WEnd[/COLOR]
..
الآن نستخدم Switch وهو تعلمناها سابقا ..

بهذه الصيغة .. داخل While

كود:
[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUIControl_1[/COLOR]

        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUIControl_2[/COLOR]

        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUIControl_3[/COLOR]

    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
Case $GUIControl_3
يعني في حالة الضغط على المقبض $GUIControl_3

الآن نجرب تجربة !!
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'$Browse_Btn'[/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'$About_Btn'[/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'$Exit_Btn'[/COLOR][COLOR=#ff0000])[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
جمييييييييل :d: !!

الآن نكمل !! ونضع الأكواد المطلوبة ..

كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
في هذا الكود نلاحظ شيئين جديدين !!
وضعنا Parent GUI (HWND) في الـ FileOpenDialog
وفائدته تحديد نافذة الأصل .. جرب ضعها بدون وضع النافذة الأصل . .

ستجد في التاسك بار نافذتين !!
والعكس بالعكس ..
----------------
والملاحظة الثانية : وجود ContinueLoop
كما تشاهد إذا هناك خطأ لا نريد أن نخرج من While ولكن نريد إعادتها ..

طيب ,, نكمل

الآن المطلوب ثلاثة أشياء :ok:
الأول :: تحويل محتوى الـ Input إلى مسار الملف ..
والثاني :: فحص الملف ..
والثالث :: تحويل محتوى الـ Edit إلى معلومات الفحص ! :d:

دالة تحديد المحتويات
كود:
[COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Ctrl[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]'Data'[/COLOR][COLOR=#ff0000])[/COLOR]
نكتب المحتوى ..

كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
            [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'...'[/COLOR] _
            [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
راااااائع ..
بعد التجربة نلاحظ خلل !!
وهو أن الـ Edit ليس فيه ScrolBar عامودي أو أفقي ..
فنصلح الـ Style حقه ..

ونستخدم معرفات النوافذ الإفتراضية ,, نضيف هذه المكتبة
#include <WindowsConstants.au3>


ونضع في الستايل هذا
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <WindowsConstants.au3>[/COLOR]

[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
            [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
            [COLOR=#9999cc]'...'[/COLOR] _
            [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]


الآن كل شيء ممتاز ..

طيب الآن طفي البرامج ..
تضغط على الإكس X ما يصير شي ..
لأنك ما عينت له أكشن :d:

الآن نكمل ..
نضيف المكتبة
#include <GUIConstantsEx.au3>
وهي التي فيها كثير من الأحداث والخصائص معمولة كـ متغيرات ..

والأحداث كالتالي :ـ
كود:
[COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_MINIMIZE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_RESTORE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_MAXIMIZE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_PRIMARYDOWN[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_PRIMARYUP[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_SECONDARYDOWN[/COLOR] 
[COLOR=#aa0000]$GUI_EVENT_SECONDARYUP[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_MOUSEMOVE[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_RESIZED[/COLOR]
[COLOR=#aa0000]$GUI_EVENT_DROPPED[/COLOR]
من أسماءها واضحة ..
الآن نكمل الكود . .
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <WindowsConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <GUIConstantsEx.au3>[/COLOR]


[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
                    [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'...'[/COLOR] _
                    [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
الآن وبعد اكمال الكود بالكامل نجد التالي :ـ
كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR]  <EditConstants.au3>
[/COLOR][COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR]  <WindowsConstants.au3[/COLOR][COLOR=#9999cc]>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <GUIConstantsEx.au3>[/COLOR]


[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#9999cc][COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR][/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
                    [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'...'[/COLOR] _
                    [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]6[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'About'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'GUI Example :: By Ashalshaikh'[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]'For Zyzoom.org Members'[/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
ولأن حدث الخروج والضغط على الزر خروج لهم نفس العمل ..
نعملها بالشكل هذا

كود:
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
ويكون الكود بالكامل هو

كود:
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <EditConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <WindowsConstants.au3>[/COLOR]
[COLOR=#9999cc][COLOR=#f000ff]#Include[/COLOR] <GUIConstantsEx.au3>[/COLOR]


[COLOR=#aa0000]$GUI[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICreate[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"FastScanner"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$FilePath_inp[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateInput[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Browse_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"..."[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Report_Edt[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateEdit[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]4[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]5[/COLOR][COLOR=#ac00a9]7[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$ES_READONLY[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_VSCROLL[/COLOR] [COLOR=#ff0000]+[/COLOR] [COLOR=#aa0000]$WS_HSCROLL[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$About_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"About"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]0[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#aa0000]$Exit_Btn[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]GUICtrlCreateButTon[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Exit"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]8[/COLOR][COLOR=#ac00a9]8[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]1[/COLOR][COLOR=#ac00a9]2[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]7[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]2[/COLOR][COLOR=#ac00a9]5[/COLOR][COLOR=#ff0000])[/COLOR]
[COLOR=#000090]GUISetState[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff33ff]@SW_SHOW[/COLOR][COLOR=#ff0000])[/COLOR]

[COLOR=#0000ff]While[/COLOR] [COLOR=#ac00a9]1[/COLOR]
    [COLOR=#0000ff]Switch[/COLOR] [COLOR=#000090]GUIGetMsg[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Exit_Btn[/COLOR]
            [COLOR=#0000ff]Exit[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$Browse_Btn[/COLOR]
            [COLOR=#aa0000]$Path[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#000090]FileOpenDiaLog[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff]@DesktopDir[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'All Files(*.*)'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]3[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]''[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$GUI[/COLOR][COLOR=#ff0000])[/COLOR]
            [COLOR=#0000ff]If[/COLOR] [COLOR=#ff33ff]@error[/COLOR] [COLOR=#0000ff]Then[/COLOR] [COLOR=#0000ff]ContInueLoop[/COLOR]
            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$FilePath_inp[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR]

            [COLOR=#000090]GUICtrlSetData[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Report_Edt[/COLOR][COLOR=#ff0000],[/COLOR] _
                    [COLOR=#9999cc]'File LongName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetLongName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File ShortName : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetShOrtName[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Size : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetSize[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'File Time : '[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#000090]FileGetTime[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$Path[/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] _
                    [COLOR=#9999cc]'...'[/COLOR] _
                    [COLOR=#ff0000])[/COLOR]
        [COLOR=#0000ff]Case[/COLOR] [COLOR=#aa0000]$About_Btn[/COLOR]
            [COLOR=#000090]MsgBox[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#ac00a9]6[/COLOR][COLOR=#ac00a9]4[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'About'[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]'GUI Example :: By Ashalshaikh'[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#ff33ff]@CRLF[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]'For Zyzoom.org Members'[/COLOR][COLOR=#ff0000])[/COLOR]
    [COLOR=#0000ff]EndSwitch[/COLOR]
[COLOR=#0000ff]WEnd[/COLOR]
’’ شكرا ,,

السلام عليكم ورحمة الله وبركاته ..


وآسف مرة أخرى على التأخير ..




السلام عليكم
استاذى الغالى أحمد الشيخ عودة حميدة
كيف الحال انشاء الله ترانى جالس على جهاز عقيم الان :cr:
ان شاء الله بعد بكره ادخل واتابع الدرس واوافيك بتطبيقى :ok:
وياسيدى اعطينى رقم تليفونك منشان نعرف نطمن عليك او على الاقل ايميل فعاااااال:y:
 
توقيع : فدى الرسول
شكرا ياعم الشيخ بس أنا زعلان
 
عودة
أعلى