• بادئ الموضوع بادئ الموضوع ashalshaikh
  • تاريخ البدء تاريخ البدء
  • المشاهدات 114,207
السلام عليكم ورحمت الله وبركاته
حياكم الله
الف مبروك على النجاح الباهر يا شيخ عسا الله تكون الاول دائما
درس التحديث جميل جااااااااااااااااارى التحديث واطلاعك بالنتائج
وعليكم السلام ,,
الله يبارك فيك ,,
وألف شكر ,,
<<<<< أخيرا أحد علق على درس التحديث ,,

<<<< جالس يعد في درس المصفوفات الجاي :hh::hh::hh: سوف نعمل برامج مع بعض !! :d:
 

<<<< جالس يعد في درس المصفوفات الجاي :hh::hh::hh: سوف نعمل برامج مع بعض !! :d:

طيب يلا انا نفسي اعمل برامج علشان انا اتخنقت من الجلوس بدون عمل
 
ماشاء الله هذا هو الأبداع بكل معانيه
مبروك
يجب عليك تسجيل الدخول او تسجيل لمشاهدة الرابط المخفي
اتمنى لك التوفيق يارب

وفى شئ للجميع اتمنى تفكرون به

تدريب 115
-----------
كيف يمكنك العمل على نافذه معمول لها minimize أى تم تنزيلها على taskbar وغير منشطه ؟
العمل على النافذه كأرسال entre مثلا على احد ازرار هذه النافذه ولكن دون تطلع النافذه من على taskbar
اثناء القيام بعملك

فيها شئ من الصعوبه

لو لها حل يبقى فكره برنامج جديد وصلت
 
توقيع : himoScript
معاك حق :d:
سبقتني ,,

أشكرك أخي HemoScript نشطت الموضوع ,,
وأرجو ألا تحرمنا من طلتك !!

هاه ما اشوفك تسوي درس :d:
 
السلام عليكم ورحمت الله وبركاته
ما بال الاخوه اراكم كسالى
هيا ياشباب من لديه جديد فليكتب قناص اين روائعك هيا لا تكسل ياشيخ
 
توقيع : فدى الرسول
امر InetGet

امر يستخدم في التحميل من المواقع

صيغة الامر

كود:
InetGet ( "URL" [,"filename" [, reload [, background]]]  )
URL = رابط التحميل
FileName = مكان واسم البرنامج المحمل ( اختياري )
reload = له حالتين (اختياري)

0 = اذا حملت البرنامج من قبل يرجعه من local cache (وهو الافتراضي)

1 = يحمل البرنامج حتى لو كان موجود في local cache

background = له حالتين ايضا ^_^(اختياري)

0 = الانتظار الى ان يكمل البرنامج التحميل ثم يكمل الاوامر اللي بعدها (وهو الافتراضي)

1 = تكملة الاوامر والتحميل في الخلفية

مثال

كود:
[COLOR=#000090]InetGet[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe"[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff][COLOR=#ff33ff]@scriptdir[/COLOR][/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\AutoIt.exe"[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]0[/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=#9999cc]"تم التحميل بنجاح"[/COLOR][COLOR=#ff0000])[/COLOR]
 
السلام عليكم ورحمت الله وبركاته
ما بال الاخوه اراكم كسالى
هيا ياشباب من لديه جديد فليكتب قناص اين روائعك هيا لا تكسل ياشيخ

سويت درس لعيونك
 
أخي فدى الرسول ,,
المسألة ليست كسل ,,
ولكن ........... :no:
بالنسبة لي ,,
معدل ممتاز كل يوم درس :y:
امر InetGet

امر يستخدم في التحميل من المواقع

صيغة الامر

كود:
InetGet ( "URL" [,"filename" [, reload [, background]]]  )
URL = رابط التحميل
FileName = مكان واسم البرنامج المحمل ( اختياري )
reload = له حالتين (اختياري)

0 = اذا حملت البرنامج من قبل يرجعه من local cache (وهو الافتراضي)

1 = يحمل البرنامج حتى لو كان موجود في local cache

background = له حالتين ايضا ^_^(اختياري)

0 = الانتظار الى ان يكمل البرنامج التحميل ثم يكمل الاوامر اللي بعدها (وهو الافتراضي)

1 = تكملة الاوامر والتحميل في الخلفية

مثال

كود:
[COLOR=#000090]InetGet[/COLOR][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe"[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#ff33ff][COLOR=#ff33ff]@scriptdir[/COLOR][/COLOR] [COLOR=#ff0000]&[/COLOR] [COLOR=#9999cc]"\AutoIt.exe"[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]1[/COLOR] [COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9]0[/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=#9999cc]"تم التحميل بنجاح"[/COLOR][COLOR=#ff0000])[/COLOR]
أححححححححححححححححححححححححححححححححححلى درس ,,
سلمت يمينك !!
جزاك الله ألف ألف خير
 
وهذا عشانك يا فدى الرسول :ok:
درس
الأمر Random
توليد قيمة عشوائية !!

إعداد : Ashalshaikh
ويمكن عمله بحيث يخرج حروف ,, وحركات ,, وأشياء أخرى :wink:

شرحته لأنه فيه مثال بكرة ,, يتعلق به !!

صيغته كالتالي ::
كود:
[/FONT][FONT=Times New Roman][COLOR=Navy]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=Red]([/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=Navy][Min [[COLOR=Red],[/COLOR] Max [[COLOR=Red],[/COLOR] Flag]]][/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=Red])[/COLOR][/FONT][FONT=Times New Roman]
كما اتفقنا من قبل ,, ما بين الـ [] خيارات زيادة !!
ويمكن عمل الأمر من دونها ,,
التفصيل
Min = الحد الأدنى للقيمة العشوائية
Max = الحد الأعلى للقيمة
Flag = الراية وهي خيارات
بببببببببببببببببببببببببببببببببببببببب1 = يخرج رقم صحيح ,, أي بدون فاصلة
ببببببببببببببببببببببببببببببببببببببببببب أي رقم آخر مثل 2 = يخرج أرقام بفاصلة ,,

الآن ناخذ أمثلة ,,
ستة أمثلة حلوة ,, وتوضح كافة الخيارات :q:
وفي الأخير مع حلقة :ok:
كود:
[/FONT]  [FONT=Times New Roman][COLOR=#009933];Example 1[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 2[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]5[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 3[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 4[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 5[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 6 With Loop[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#0000ff]While[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman]
    [/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
    [/FONT][FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#0000ff]WEnd[/COLOR][/FONT][FONT=Times New Roman]
وسلمتكم
 
القنـاص
ashalshaikh

نورتوا الحته من جديد :y: :hh:

أوامر على كيفكم :ok: والف شكر على جهوودكم :b:

معاي مشكلة nsis في الجهاز :mad: ,, أنظفه وأنزل درس :bleh:
 
توقيع : HaMuDi
القنـاص
ashalshaikh

نورتوا الحته من جديد :y: :hh:

أوامر على كيفكم :ok: والف شكر على جهوودكم :b:

معاي مشكلة nsis في الجهاز :mad: ,, أنظفه وأنزل درس :bleh:
النور نورك والله

ننتظر دروسك على احر من الجمر :d:
 
و انا منتظر ردك بعد التجربة

اول شي اعتذر عن التأخر في الرد :b:

الشي الثاني تجربة الأمر كانت ناجحه ما شاء الله عليك :ok:
والله يجزاك كل خير يا elawady
ولا انسى اخي ashalshaikh لاني اتعبته كثير في كثرة الاسئله عن هذا الباتش وتغيير الأمر

جزاكم الله كل خير انتم ومن سعى في مساعدتي :smile:

ودمتم بود
 
امر inetget

امر يستخدم في التحميل من المواقع

صيغة الامر

كود:
inetget ( "url" [,"filename" [, reload [, background]]]  )
url = رابط التحميل
filename = مكان واسم البرنامج المحمل ( اختياري )
reload = له حالتين (اختياري)

0 = اذا حملت البرنامج من قبل يرجعه من local cache (وهو الافتراضي)

1 = يحمل البرنامج حتى لو كان موجود في local cache

background = له حالتين ايضا ^_^(اختياري)

0 = الانتظار الى ان يكمل البرنامج التحميل ثم يكمل الاوامر اللي بعدها (وهو الافتراضي)

1 = تكملة الاوامر والتحميل في الخلفية

مثال

كود:
[color=#000090]inetget[/color][color=#ff0000]([/color][color=#9999cc]"http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe"[/color] [color=#ff0000],[/color] [color=#ff33ff][color=#ff33ff]@scriptdir[/color][/color] [color=#ff0000]&[/color] [color=#9999cc]"\autoit.exe"[/color] [color=#ff0000],[/color] [color=#ac00a9]1[/color] [color=#ff0000],[/color] [color=#ac00a9]0[/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=#9999cc]"تم التحميل بنجاح"[/color][color=#ff0000])[/color]

السلام عليكم ورحمت الله وبركاته
اى نعم هذه القنصه رهيبه ياقناص لا اسكت الله بندقيتك ابدااااااااااا
وجعلك تتحفنا دئما بالروائع
جزاك الله خير
 
توقيع : فدى الرسول
وهذا عشانك يا فدى الرسول :ok:
درس
الأمر Random
توليد قيمة عشوائية !!

إعداد : Ashalshaikh
ويمكن عمله بحيث يخرج حروف ,, وحركات ,, وأشياء أخرى :wink:

شرحته لأنه فيه مثال بكرة ,, يتعلق به !!

صيغته كالتالي ::
كود:
[/FONT][FONT=Times New Roman][COLOR=Navy]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=Red]([/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=Navy][Min [[COLOR=Red],[/COLOR] Max [[COLOR=Red],[/COLOR] Flag]]][/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=Red])[/COLOR][/FONT][FONT=Times New Roman]
كما اتفقنا من قبل ,, ما بين الـ [] خيارات زيادة !!
ويمكن عمل الأمر من دونها ,,
التفصيل
Min = الحد الأدنى للقيمة العشوائية
Max = الحد الأعلى للقيمة
Flag = الراية وهي خيارات
بببببببببببببببببببببببببببببببببببببببب1 = يخرج رقم صحيح ,, أي بدون فاصلة
ببببببببببببببببببببببببببببببببببببببببببب أي رقم آخر مثل 2 = يخرج أرقام بفاصلة ,,

الآن ناخذ أمثلة ,,
ستة أمثلة حلوة ,, وتوضح كافة الخيارات :q:
وفي الأخير مع حلقة :ok:
كود:
[/FONT]  [FONT=Times New Roman][COLOR=#009933];Example 1[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 2[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]5[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 3[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 4[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 5[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#009933];Example 6 With Loop[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#0000ff]While[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman]
    [/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#000090]Random[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]6[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
    [/FONT][FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman] [/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]":"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$Rand[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT][FONT=Times New Roman]
[/FONT] [FONT=Times New Roman][COLOR=#0000ff]WEnd[/COLOR][/FONT][FONT=Times New Roman]
وسلمتكم


السلام عليــــــــــــــــــــــكم ورحمت الله وبركاته
:?::?::?::i:
:eek::cr: اعتقد اانا هشرب كوب شاى (فى الخمسينه) واارجع اقرا الدرس مرة أخرى:bleh:
 
توقيع : فدى الرسول
القنـاص
ashalshaikh

نورتوا الحته من جديد :y: :hh:

أوامر على كيفكم :ok: والف شكر على جهوودكم :b:

معاي مشكلة nsis في الجهاز :mad: ,, أنظفه وأنزل درس :bleh:
تسلم ياغالي !!
إن شاء الله تتصلح ,,
منتظرين درسك على أحر من الجمر !!
 
اول شي اعتذر عن التأخر في الرد :b:

الشي الثاني تجربة الأمر كانت ناجحه ما شاء الله عليك :ok:
والله يجزاك كل خير يا elawady
ولا انسى اخي ashalshaikh لاني اتعبته كثير في كثرة الاسئله عن هذا الباتش وتغيير الأمر

جزاكم الله كل خير انتم ومن سعى في مساعدتي :smile:

ودمتم بود
عفوا أخي ,,
بالخدمة دوما با أستطيع !!
 
السلام عليــــــــــــــــــــــكم ورحمت الله وبركاته
:?::?::?::i:
:eek::cr: اعتقد اانا هشرب كوب شاى (فى الخمسينه) واارجع اقرا الدرس مرة أخرى:bleh:
وعليكم السلام
خخخخخخخخخخخخخخ
لا سهل جدا جدا جدا !! :ok:
بس يحتاج تفكير صافي :hh::hh::hh:
 
بسم الله الرحمن الرحيم
درس
FileReadLine
قراءة سطر من ملف !!
إعداد : Ashalshaikh
أيضا شرحته لأن فيه مثال اليوم :y: يتعلق به :d:

صيغته كالتالي ::
كود:
  [FONT=Times New Roman][COLOR=Blue][COLOR=Navy]FileReadLine[/COLOR] [COLOR=Red]([/COLOR] "filename" [[COLOR=Red],[/COLOR] line][COLOR=Red] )[/COLOR][/COLOR][/FONT]
حيث
بببببببب filename = اسم الملف الذي تريد تقرأه
ببببببب line = رقم السطر الذي تريد تقرأه !!

مثال :
كود:
[FONT=Times New Roman][COLOR=#aa0000]$line[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000]=[/COLOR][/FONT][FONT=Times New Roman][COLOR=#000090]FileRead[/COLOR][/FONT][FONT=Times New Roman][COLOR=Navy]Line[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff33ff]@WindowsDir[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000]&[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]"\system.ini"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]1[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT]
[FONT=Times New Roman][COLOR=#000090]MsgBox[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000]([/COLOR][/FONT][FONT=Times New Roman][COLOR=#ac00a9]0[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#9999cc]"Line read:"[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000],[/COLOR][/FONT][FONT=Times New Roman][COLOR=#aa0000]$line[/COLOR][/FONT][FONT=Times New Roman][COLOR=#ff0000])[/COLOR][/FONT]
والسلام عليكم ورحمة الله وبركاته !!
 
عودة
أعلى