قم بمتابعة الفيديو أدناه لمعرفة كيفية تثبيت موقعنا كتطبيق ويب على الشاشة الرئيسية.
ملاحظة: قد لا تكون هذه الميزة متاحة في بعض المتصفحات.
تصميم إيهــاب مصطفى
تصميم إيهــاب مصطفى
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
تصميم Ramy Badraan
هذا كود (ببلاش) من عملي حوله إلى exe وضعه في بدء التشغيل وسيقوم بعمل تقرير: :u:
كود:[url="http://www.autoitscript.com/autoit3/docs/keywords.htm##requireadmin"][color=#f000ff][i]#requireadmin[/i][/color][/url] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#if"][color=#0000ff]if[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@wday"][color=#ff33ff]@wday[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]1[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$day[/color] [color=#ff0000]=[/color] [color=#9999cc]"السبت"[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@wday"][color=#ff33ff]@wday[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]2[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$day[/color] [color=#ff0000]=[/color] [color=#9999cc]"الأحد"[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@wday"][color=#ff33ff]@wday[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]3[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$day[/color] [color=#ff0000]=[/color] [color=#9999cc]"الإثنين"[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@wday"][color=#ff33ff]@wday[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]4[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$day[/color] [color=#ff0000]=[/color] [color=#9999cc]"الثلاثاء"[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@wday"][color=#ff33ff]@wday[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]5[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$day[/color] [color=#ff0000]=[/color] [color=#9999cc]"الأربعاء"[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@wday"][color=#ff33ff]@wday[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]6[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$day[/color] [color=#ff0000]=[/color] [color=#9999cc]"الخميس"[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@wday"][color=#ff33ff]@wday[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]7[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$day[/color] [color=#ff0000]=[/color] [color=#9999cc]"الجمعة"[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#endif"][color=#0000ff]endif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#if"][color=#0000ff]if[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@hour"][color=#ff33ff]@hour[/color][/url] [color=#ff0000]>[/color] [color=#ac00a9][i]12[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$hour[/color] [color=#ff0000]=[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@hour"][color=#ff33ff]@hour[/color][/url] [color=#ff0000]-[/color] [color=#ac00a9][i]12[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/functions/filewrite.htm"][color=#000090][i]filewrite[/i][/color][/url][color=#ff0000]([/color][url="http://www.autoitscript.com/autoit3/docs/macros.htm#@homedrive"][color=#ff33ff]@homedrive[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"\system-s.txt"[/color][color=#ff0000],[/color] [color=#9999cc]"تم تشغيل الجهاز -- "[/color] [color=#ff0000]&[/color] [color=#aa0000]$day[/color] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@year"][color=#ff33ff]@year[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mon"][color=#ff33ff]@mon[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mday"][color=#ff33ff]@mday[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [color=#aa0000]$hour[/color] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@min"][color=#ff33ff]@min[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@sec"][color=#ff33ff]@sec[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" م"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][color=#ff33ff]@crlf[/color][/url][color=#ff0000])[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@hour"][color=#ff33ff]@hour[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]12[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$hour[/color] [color=#ff0000]=[/color] [color=#ac00a9][i]12[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/functions/filewrite.htm"][color=#000090][i]filewrite[/i][/color][/url][color=#ff0000]([/color][url="http://www.autoitscript.com/autoit3/docs/macros.htm#@homedrive"][color=#ff33ff]@homedrive[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"\system-s.txt"[/color][color=#ff0000],[/color] [color=#9999cc]"تم تشغيل الجهاز -- "[/color] [color=#ff0000]&[/color] [color=#aa0000]$day[/color] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@year"][color=#ff33ff]@year[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mon"][color=#ff33ff]@mon[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mday"][color=#ff33ff]@mday[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [color=#aa0000]$hour[/color] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@min"][color=#ff33ff]@min[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@sec"][color=#ff33ff]@sec[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" م"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][color=#ff33ff]@crlf[/color][/url][color=#ff0000])[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#elseif"][color=#0000ff]elseif[/color][/url] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@hour"][color=#ff33ff]@hour[/color][/url] [color=#ff0000]=[/color] [color=#ac00a9][i]0[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#then"][color=#0000ff]then[/color][/url] [color=#aa0000]$hour[/color] [color=#ff0000]=[/color] [color=#ac00a9][i]12[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/functions/filewrite.htm"][color=#000090][i]filewrite[/i][/color][/url][color=#ff0000]([/color][url="http://www.autoitscript.com/autoit3/docs/macros.htm#@homedrive"][color=#ff33ff]@homedrive[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"\system-s.txt"[/color][color=#ff0000],[/color] [color=#9999cc]"تم تشغيل الجهاز -- "[/color] [color=#ff0000]&[/color] [color=#aa0000]$day[/color] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@year"][color=#ff33ff]@year[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mon"][color=#ff33ff]@mon[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mday"][color=#ff33ff]@mday[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [color=#aa0000]$hour[/color] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@min"][color=#ff33ff]@min[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@sec"][color=#ff33ff]@sec[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" ص"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][color=#ff33ff]@crlf[/color][/url][color=#ff0000])[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#else"][color=#0000ff]else[/color][/url] [color=#aa0000]$hour[/color] [color=#ff0000]=[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@hour"][color=#ff33ff]@hour[/color][/url] [color=#ff0000]-[/color] [color=#ac00a9][i]0[/i][/color] [url="http://www.autoitscript.com/autoit3/docs/functions/filewrite.htm"][color=#000090][i]filewrite[/i][/color][/url][color=#ff0000]([/color][url="http://www.autoitscript.com/autoit3/docs/macros.htm#@homedrive"][color=#ff33ff]@homedrive[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"\system-s.txt"[/color][color=#ff0000],[/color] [color=#9999cc]"تم تشغيل الجهاز -- "[/color] [color=#ff0000]&[/color] [color=#aa0000]$day[/color] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@year"][color=#ff33ff]@year[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mon"][color=#ff33ff]@mon[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]"/"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@mday"][color=#ff33ff]@mday[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" | "[/color] [color=#ff0000]&[/color] [color=#aa0000]$hour[/color] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@min"][color=#ff33ff]@min[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]":"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@sec"][color=#ff33ff]@sec[/color][/url] [color=#ff0000]&[/color] [color=#9999cc]" ص"[/color] [color=#ff0000]&[/color] [url="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][color=#ff33ff]@crlf[/color][/url][color=#ff0000])[/color] [url="http://www.autoitscript.com/autoit3/docs/keywords.htm#endif"][color=#0000ff]endif[/color][/url]
طبعا عملته بأكواد سهلة (بالشروط فقط :dويقوم بحفظ التقرير في قرص النظام (c)
بعد إذن أخي يونس ,,وكيف نضعه مع بدء التشغيل وكيف تشتغل الاداة اوتماتيكي باشتغال الجهاز
If FileExists (@StartupCommonDir&"\rebort.exe") = 0 Then
FileCopy (@ScriptFullPath,@StartupCommonDir&"\rebort.exe",1)
EndIf
بعد إذن أخي يونس ,,
قم بأضافه هذا الأمر للسكربت ,,
PHP:[left][size=4][font=times new roman]if fileexists (@startupcommondir&"\rebort.exe") = 0 then[/font][/size] [size=4][font=times new roman]filecopy (@scriptfullpath,@startupcommondir&"\rebort.exe",1)[/font][/size] [size=4][font=times new roman]endif[/font][/size] [size=4][font=times new roman][/font][/size][/left]
و من ثم قم بترجمه السكربت و تشغيله مره واحده ,,
و سيعمل السكربت بشكل تلقائي مع تشغيل الجهاز ,,
الترجمه هي تحويل الغات البرمجيه عاليه المستوى ..ما المقصود بترجمة السكربت والله ما فهمت هالنقطة
الترجمه هي تحويل الغات البرمجيه عاليه المستوى ..
و التي لا يفهمها معالج الكمبيوتر ,,
إلى لغه الأله أو لغه التجميع الـ Assembly
و يتم ذلك عن طريق الـ Compiler على عده مراحل ..
أو إختصاراً كما قل أخي waget .. تحويل السكربت لملف تنفيذي exe <<
بعد إذن أخي يونس ,,
قم بأضافه هذا الأمر للسكربت ,,
كود:[LEFT][SIZE=4][FONT=Times New Roman]If FileExists (@StartupCommonDir&"\rebort.exe") = 0 Then[/FONT][/SIZE] [SIZE=4][FONT=Times New Roman]FileCopy (@ScriptFullPath,@StartupCommonDir&"\rebort.exe",1)[/FONT][/SIZE] [SIZE=4][FONT=Times New Roman]EndIf[/FONT][/SIZE] [SIZE=4][FONT=Times New Roman][/FONT][/SIZE][/LEFT]
و من ثم قم بترجمه السكربت و تشغيله مره واحده ,,
و سيعمل السكربت بشكل تلقائي مع تشغيل الجهاز ,,
وكيف نضعه مع بدء التشغيل وكيف تشتغل الاداة اوتماتيكي باشتغال الجهاز
حاب :d:
بس مو حاب اتورط فيه :hh:
بغيت بندر او عبدالله يتورطوا فيه :d:
أخوي رامي
طورت اشوي في شرح الحبيب بندرينو وخليته يشرح عن حلقتين متداخلتين :d:
هذه الصورة ملطوشة بالرسام :d:
![]()
يتبقى لنا دالتين تتعامل مع الريجستري رأح نأخذها بعد
الدخول في الحلقات لأن فيدتها لاتتحقق إلا بها ..
ماشي يا الغالي طيب ماهي الدالة لاتى لا يتحقق فائدتها الأ في حلقات
نعمل عليه قليل في شكل عملي حتى نتعمق فيه
كما قال أستاذ عبد الله
اولا لمعلوماتك الحلقات في الاوتوات تنحصر في >> For - Do - While
وكل حلقة لها طريقتها في الخروج
بالنسبة للدوال المعتمدة على الحلقات فهناك الكثير
مثلا دالة البحث عن الملفات، نحتاج إلى دالة متكررة لكشف الملف (التالي) في كل مرة
دالة تكرار النسخ
دالة تأكيد إغلاق العملية
دالة تحديث الأزرار أو الكلام في الـ GUI
وهناك الكثير والكثير
والحلقات تستخدم في تأكيد الأمر أو تكراره أو تحديثه أو تتابعه
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#F000FF][I]#include[/I][/COLOR][/URL] [COLOR=#9999CC]<Constants.au3>[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000FF]if[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileExists.htm"][COLOR=#000090][I]FileExists[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir"][COLOR=#FF33FF]@ScriptDir[/COLOR][/URL] [COLOR=#FF0000]&[/COLOR] [COLOR=#9999CC]"\Report.txt"[/COLOR][COLOR=#FF0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000FF]Then[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileDelete.htm"][COLOR=#000090][I]FileDelete[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir"][COLOR=#FF33FF]@ScriptDir[/COLOR][/URL] [COLOR=#FF0000]&[/COLOR] [COLOR=#9999CC]"\Report.txt"[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000FF]endif[/COLOR][/URL]
[COLOR=#AA0000]$hFile[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileOpen.htm"][COLOR=#000090][I]FileOpen[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir"][COLOR=#FF33FF]@ScriptDir[/COLOR][/URL] [COLOR=#FF0000]&[/COLOR] [COLOR=#9999CC]"\Report.txt"[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#AC00A9][I]1[/I][/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"Info Registry "[/COLOR] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@crlf[/COLOR][/URL] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$root_key[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"HKEY_LOCAL_MACHINE\SOFTWARE"[/COLOR]
[COLOR=#AA0000]$prg_name[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"7-Zip | WinRAR | KLCodecPack"[/COLOR]
[COLOR=#AA0000]$i[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000FF]While[/COLOR][/URL] [COLOR=#AC00A9][I]1[/I][/COLOR]
[COLOR=#AA0000]$keyName[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/RegEnumKey.htm"][COLOR=#000090][I]RegEnumKey[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$root_key[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#AA0000]$i[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000FF]If[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@error"][COLOR=#FF33FF]@error[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000FF]then[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#ExitLoop"][COLOR=#0000FF]ExitLoop[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000FF]endif[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000FF]if[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/functions/StringInStr.htm"][COLOR=#000090][I]StringInStr[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$prg_name[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#AA0000]$keyName[/COLOR][COLOR=#FF0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000FF]then[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"=========================================================="[/COLOR] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@crlf[/COLOR][/URL] [COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hFile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"Key : "[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$root_key[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#9999CC]"\"[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$keyName[/COLOR] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@Crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@Crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"Values :- "[/COLOR] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@Crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$n[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000FF]While[/COLOR][/URL] [COLOR=#AC00A9][I]1[/I][/COLOR]
[COLOR=#AA0000]$valName[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/RegEnumVal.htm"][COLOR=#000090][I]RegEnumVal[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$root_key[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#9999CC]"\"[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$keyName[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#AA0000]$n[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000FF]If[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@error"][COLOR=#FF33FF]@error[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000FF]then[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#ExitLoop"][COLOR=#0000FF]ExitLoop[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@Crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"Value Name : "[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$valName[/COLOR] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$data[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/RegRead.htm"][COLOR=#000090][I]RegRead[/I][/COLOR][/URL] [COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$root_key[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#9999CC]"\"[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$keyName[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#AA0000]$valName[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch"][COLOR=#0000FF]Switch[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@extended"][COLOR=#FF33FF]@extended[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]case[/COLOR][/URL] [COLOR=#AA0000]$REG_NONE[/COLOR]
[COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"REG_NONE"[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]case[/COLOR][/URL] [COLOR=#AA0000]$REG_SZ[/COLOR]
[COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"REG_SZ"[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]case[/COLOR][/URL] [COLOR=#AA0000]$REG_BINARY[/COLOR]
[COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"REG_BINARY"[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]case[/COLOR][/URL] [COLOR=#AA0000]$REG_DWORD[/COLOR]
[COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"REG_DWORD"[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]case[/COLOR][/URL] [COLOR=#AA0000]$REG_DWORD_BIG_ENDIAN[/COLOR]
[COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"REG_DWORD_BIG_ENDIAN"[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]case[/COLOR][/URL] [COLOR=#AA0000]$REG_MULTI_SZ[/COLOR]
[COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"REG_MULTI_SZ"[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000FF]case[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Else"][COLOR=#0000FF]Else[/COLOR][/URL]
[COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]""[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch"][COLOR=#0000FF]EndSwitch[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hFile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"Value Data : "[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$data[/COLOR] [COLOR=#FF0000]&[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hFile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"Value Type : "[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$type[/COLOR] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@Crlf[/COLOR][/URL][COLOR=#FF0000])[/COLOR]
[COLOR=#AA0000]$n[/COLOR] [COLOR=#FF0000]+=[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000FF]wend[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000],[/COLOR][COLOR=#9999CC]"=========================================================="[/COLOR] [COLOR=#FF0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#FF33FF]@crlf[/COLOR][/URL] [COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000FF]endif[/COLOR][/URL]
[COLOR=#AA0000]$i[/COLOR] [COLOR=#FF0000]+=[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000FF]WEnd[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/functions/FileClose.htm"][COLOR=#000090][I]FileClose[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AA0000]$hfile[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/functions/ShellExecute.htm"][COLOR=#000090][I]ShellExecute[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"Report.txt"[/COLOR][COLOR=#FF0000])[/COLOR]
بارك الله فيك يونس ..
يوم شرحت دوال التعامل مع سجل النظام بقي دالتين ألي هي
RegEnumVal /RegEnumKey
RegEnumKey
في كل مره ترجع إسم مفتاح فرعي تحت المفتاح الرئيسي ألي ترسله للدالة .
RegEnumVal
في كل مره ترجع إسم قيمة في المفتاح ألي ترسله لها ..
رامي .. شوفها في الكتاب المساعد .في أمثل بسيطه لها ..وأي سؤال أطرحه هنا..
وهذا مثال عليهم في حلقتين متداخله ...
بعد ماتطلع على الشرح والامثله بالكتاب إنسخ هذا المثال وجربه أول
ثم إقرأ الكود :d:
كود:[CENTER][URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<Constants.au3>[/COLOR][/CENTER] [CENTER][URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000ff]if[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileExists.htm"][COLOR=#000090][I]FileExists[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir"][COLOR=#ff33ff]@ScriptDir[/COLOR][/URL] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\Report.txt"[/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000ff]Then[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileDelete.htm"][COLOR=#000090][I]FileDelete[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir"][COLOR=#ff33ff]@ScriptDir[/COLOR][/URL] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\Report.txt"[/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000ff]endif[/COLOR][/URL][/CENTER] [CENTER][COLOR=#aa0000]$hFile[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileOpen.htm"][COLOR=#000090][I]FileOpen[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir"][COLOR=#ff33ff]@ScriptDir[/COLOR][/URL] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\Report.txt"[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000])[/COLOR][/CENTER] [CENTER][URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"Info Registry "[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@crlf[/COLOR][/URL] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR][/CENTER] [CENTER][COLOR=#aa0000]$root_key[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"HKEY_LOCAL_MACHINE\SOFTWARE"[/COLOR] [COLOR=#aa0000]$prg_name[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"7-Zip | WinRAR | KLCodecPack"[/COLOR][/CENTER] [CENTER][COLOR=#aa0000]$i[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#ac00a9][I]1[/I][/COLOR][/CENTER] [CENTER][URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000ff]While[/COLOR][/URL] [COLOR=#ac00a9][I]1[/I][/COLOR][/CENTER] [CENTER] [COLOR=#aa0000]$keyName[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/RegEnumKey.htm"][COLOR=#000090][I]RegEnumKey[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$root_key[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$i[/COLOR][COLOR=#ff0000])[/COLOR][/CENTER] [CENTER] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000ff]If[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@error"][COLOR=#ff33ff]@error[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000ff]then[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#ExitLoop"][COLOR=#0000ff]ExitLoop[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000ff]endif[/COLOR][/URL][/CENTER] [CENTER] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000ff]if[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/functions/StringInStr.htm"][COLOR=#000090][I]StringInStr[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$prg_name[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$keyName[/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000ff]then[/COLOR][/URL][/CENTER] [CENTER] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"=========================================================="[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@crlf[/COLOR][/URL] [COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hFile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"Key : "[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$root_key[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\"[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$keyName[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@Crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@Crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"Values :- "[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@Crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR][/CENTER] [CENTER] [COLOR=#aa0000]$n[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#ac00a9][I]1[/I][/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000ff]While[/COLOR][/URL] [COLOR=#ac00a9][I]1[/I][/COLOR][/CENTER] [CENTER] [COLOR=#aa0000]$valName[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/RegEnumVal.htm"][COLOR=#000090][I]RegEnumVal[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$root_key[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\"[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$keyName[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$n[/COLOR][COLOR=#ff0000])[/COLOR][/CENTER] [CENTER] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000ff]If[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@error"][COLOR=#ff33ff]@error[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000ff]then[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#ExitLoop"][COLOR=#0000ff]ExitLoop[/COLOR][/URL][/CENTER] [CENTER] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@Crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"Value Name : "[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$valName[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$data[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/RegRead.htm"][COLOR=#000090][I]RegRead[/I][/COLOR][/URL] [COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$root_key[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\"[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$keyName[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#aa0000]$valName[/COLOR][COLOR=#ff0000])[/COLOR][/CENTER] [CENTER] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch"][COLOR=#0000ff]Switch[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@extended"][COLOR=#ff33ff]@extended[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]case[/COLOR][/URL] [COLOR=#aa0000]$REG_NONE[/COLOR] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"REG_NONE"[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]case[/COLOR][/URL] [COLOR=#aa0000]$REG_SZ[/COLOR] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"REG_SZ"[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]case[/COLOR][/URL] [COLOR=#aa0000]$REG_BINARY[/COLOR] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"REG_BINARY"[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]case[/COLOR][/URL] [COLOR=#aa0000]$REG_DWORD[/COLOR] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"REG_DWORD"[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]case[/COLOR][/URL] [COLOR=#aa0000]$REG_DWORD_BIG_ENDIAN[/COLOR] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"REG_DWORD_BIG_ENDIAN"[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]case[/COLOR][/URL] [COLOR=#aa0000]$REG_MULTI_SZ[/COLOR] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]"REG_MULTI_SZ"[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]case[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Else"][COLOR=#0000ff]Else[/COLOR][/URL] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]=[/COLOR] [COLOR=#9999cc]""[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch"][COLOR=#0000ff]EndSwitch[/COLOR][/URL][/CENTER] [CENTER] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hFile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"Value Data : "[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$data[/COLOR] [COLOR=#ff0000]&[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hFile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"Value Type : "[/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#aa0000]$type[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@Crlf[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$n[/COLOR] [COLOR=#ff0000]+=[/COLOR] [COLOR=#ac00a9][I]1[/I][/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000ff]wend[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm"][COLOR=#000090][I]FileWrite[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"=========================================================="[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf"][COLOR=#ff33ff]@crlf[/COLOR][/URL] [COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf"][COLOR=#0000ff]endif[/COLOR][/URL][/CENTER] [CENTER] [COLOR=#aa0000]$i[/COLOR] [COLOR=#ff0000]+=[/COLOR] [COLOR=#ac00a9][I]1[/I][/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000ff]WEnd[/COLOR][/URL][/CENTER] [CENTER][URL="http://www.autoitscript.com/autoit3/docs/functions/FileClose.htm"][COLOR=#000090][I]FileClose[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$hfile[/COLOR][COLOR=#ff0000])[/COLOR][/CENTER] [CENTER][URL="http://www.autoitscript.com/autoit3/docs/functions/ShellExecute.htm"][COLOR=#000090][I]ShellExecute[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"Report.txt"[/COLOR][COLOR=#ff0000])[/COLOR][/CENTER]
لكي تظهر النتائج كاملة لازم يكون عندك هذي البرامج 7-Zip WinRAR KLCodecPack
ما عملهم ولماذا وضعنهم
[COLOR=#AA0000]$prg_name[/COLOR] [COLOR=#FF0000]=[/COLOR] [COLOR=#9999CC]"7-Zip | WinRAR | KLCodecPack"[/COLOR]
إسم المفتاح الفرعي هو إسم أحد البرامج فإذا كان الاسم موجود في المتغير الاول نجيبRegEnumKey
في كل مره ترجع إسم مفتاح فرعي تحت المفتاح الرئيسي ألي ترسله للدالة .
RegEnumVal
في كل مره ترجع إسم قيمة في المفتاح ألي ترسله لها ..
طيب يا الغالي أي معلومات يجيبيجيب معلومات لبرامج معينه
$i += 1
$n += 1
$i = $i + 1
$n = $n + 1
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#For"][COLOR=#0000FF]For[/COLOR][/URL] [COLOR=#AA0000]$i[/COLOR][COLOR=#FF0000]=[/COLOR] [COLOR=#AC00A9][I]1[/I][/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#To"][COLOR=#0000FF]to[/COLOR][/URL] [COLOR=#AC00A9][I]10[/I][/COLOR]
[COLOR=#AA0000]$var[/COLOR] [COLOR=#FF0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/RegEnumKey.htm"][COLOR=#000090][I]RegEnumKey[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#9999CC]"HKEY_LOCAL_MACHINE\SOFTWARE"[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$i[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#If"][COLOR=#0000FF]If[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@error"][COLOR=#FF33FF]@error[/COLOR][/URL] [COLOR=#FF0000]<>[/COLOR] [COLOR=#AC00A9][I]0[/I][/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Then"][COLOR=#0000FF]then[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#ExitLoop"][COLOR=#0000FF]ExitLoop[/COLOR][/URL]
[URL="http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm"][COLOR=#000090][I]MsgBox[/I][/COLOR][/URL][COLOR=#FF0000]([/COLOR][COLOR=#AC00A9][I]4096[/I][/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#9999CC]"SubKey #"[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#AA0000]$i[/COLOR] [COLOR=#FF0000]&[/COLOR] [COLOR=#9999CC]" under HKLM\Software: "[/COLOR][COLOR=#FF0000],[/COLOR] [COLOR=#AA0000]$var[/COLOR][COLOR=#FF0000])[/COLOR]
[URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Next"][COLOR=#0000FF]Next[/COLOR][/URL]