قم بمتابعة الفيديو أدناه لمعرفة كيفية تثبيت موقعنا كتطبيق ويب على الشاشة الرئيسية.
ملاحظة: قد لا تكون هذه الميزة متاحة في بعض المتصفحات.
تصميم إيهــاب مصطفى
تصميم إيهــاب مصطفى
تصميم 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
الله يعطيك الف عافيه
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("ارسال البيانات", 348, 256, -1, -1)
$Button1 = GUICtrlCreateButton("اكتب الاسم", 224, 208, 75, 25)
$Button2 = GUICtrlCreateButton("امسح الاسم", 48, 208, 75, 25)
$input=GUICtrlCreateInput("", 72, 168, 209, 21)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
FileWrite (@ScriptDir&"\888.txt","100.0" & $input)
EndSwitch
WEnd
إلا هالموضوع لابد من تنشيطه من قبل الاداريين والمشرفين والاعضاء ولابد من افكار واسئلة واقتراحات وان شاء الله نحن تحت الخدمة وانا اول وحدة بساعدكم
عندي استفسار وياليت نعرف سبب الالتباس
مثلا لنفترض اني مسوية ملف وهذا الملف اسمه 888 وهو بجانب السكربت
اريد عمل سكربت يوجد به مربع ادخال وعند كتابة اي ملاحظة او اسم وبضغط الزر اكتب بشكل اوتماتيكي يكتب الرقم 100.0 وبجنبه بعد مسافة الملاحظة التي انا كتبتها في مربع الادخال
اليكم السكربت والكود الذي عملته
كود:#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ListViewConstants.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("ارسال البيانات", 348, 256, -1, -1) $Button1 = GUICtrlCreateButton("اكتب الاسم", 224, 208, 75, 25) $Button2 = GUICtrlCreateButton("امسح الاسم", 48, 208, 75, 25) $input=GUICtrlCreateInput("", 72, 168, 209, 21) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 FileWrite (@ScriptDir&"\888.txt","100.0" & $input) EndSwitch WEnd
إلا هالموضوع لابد من تنشيطه من قبل الاداريين والمشرفين والاعضاء ولابد من افكار واسئلة واقتراحات وان شاء الله نحن تحت الخدمة وانا اول وحدة بساعدكم
عندي استفسار وياليت نعرف سبب الالتباس
مثلا لنفترض اني مسوية ملف وهذا الملف اسمه 888 وهو بجانب السكربت
اريد عمل سكربت يوجد به مربع ادخال وعند كتابة اي ملاحظة او اسم وبضغط الزر اكتب بشكل اوتماتيكي يكتب الرقم 100.0 وبجنبه بعد مسافة الملاحظة التي انا كتبتها في مربع الادخال
اليكم السكربت والكود الذي عملته
كود:#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ListViewConstants.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("ارسال البيانات", 348, 256, -1, -1) $Button1 = GUICtrlCreateButton("اكتب الاسم", 224, 208, 75, 25) $Button2 = GUICtrlCreateButton("امسح الاسم", 48, 208, 75, 25) $input=GUICtrlCreateInput("", 72, 168, 209, 21) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 FileWrite (@ScriptDir&"\888.txt","100.0" & $input) EndSwitch WEnd
[color=#669900][i]#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.6.1
Author: myName
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
[/i][/color][url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ButtonConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<EditConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<GUIConstantsEx.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ListViewConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<WindowsConstants.au3>[/color]
[color=#AA0000]$Form1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm][color=#000090][i]GUICreate[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"ارسال البيانات"[/color][color=#FF0000],[/color] [color=#AC00A9][i]348[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]256[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"اكتب الاسم"[/color][color=#FF0000],[/color] [color=#AC00A9][i]224[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]208[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]75[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button2[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"امسح الاسم"[/color][color=#FF0000],[/color] [color=#AC00A9][i]48[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]208[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]75[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$input[/color][color=#FF0000]=[/color][url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm][color=#000090][i]GUICtrlCreateInput[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000],[/color] [color=#AC00A9][i]72[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]168[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]209[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm][color=#000090][i]GUISetState[/i][/color][/url][color=#FF0000]([/color][url=http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show][color=#FF33FF]@SW_SHOW[/color][/url][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#While][color=#0000FF]While[/color][/url] [color=#AC00A9][i]1[/i][/color]
[color=#AA0000]$nMsg[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm][color=#000090][i]GUIGetMsg[/i][/color][/url][color=#FF0000]()[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch][color=#0000FF]Switch[/color][/url] [color=#AA0000]$nMsg[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$GUI_EVENT_CLOSE[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit][color=#0000FF]Exit[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$Button1[/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#@scriptdir][color=#FF33FF]@ScriptDir[/color][/url][color=#FF0000]&[/color][color=#9999CC]"\888.txt"[/color][color=#FF0000],[/color][color=#9999CC]"100.0 "[/color] [color=#FF0000]&[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm][color=#000090][i]GUICtrlRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/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#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$Button2[/color]
[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]"\888.txt"[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm][color=#000090][i]GUICtrlSetData[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/color][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch][color=#0000FF]EndSwitch[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd][color=#0000FF]WEnd[/color][/url]
اظن هذا الكود الذي تريده:
كود:[COLOR=#669900][I]#cs ----------------------------------------------------------------------------[/I][/COLOR] [I][COLOR=#669900]AutoIt Version: 3.3.6.1[/COLOR][/I] [I][COLOR=#669900]Author: myName[/COLOR][/I] [I][COLOR=#669900]Script Function:[/COLOR][/I] [I][COLOR=#669900] Template AutoIt script.[/COLOR][/I] [I][COLOR=#669900]#ce ----------------------------------------------------------------------------[/COLOR][/I] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<ButtonConstants.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<EditConstants.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<GUIConstantsEx.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<ListViewConstants.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<WindowsConstants.au3>[/COLOR] [COLOR=#aa0000]$Form1[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"ارسال البيانات"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]348[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]256[/I][/COLOR][COLOR=#ff0000], -[/COLOR][COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000], -[/COLOR][COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$Button1[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"اكتب الاسم"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]224[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]208[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]75[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]25[/I][/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$Button2[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"امسح الاسم"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]48[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]208[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]75[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]25[/I][/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$input[/COLOR][COLOR=#ff0000]=[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]72[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]168[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]209[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]21[/I][/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm"][COLOR=#000090][I]GUISetState[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show"][COLOR=#ff33ff]@SW_SHOW[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000ff]While[/COLOR][/URL] [COLOR=#ac00a9][I]1[/I][/COLOR] [COLOR=#aa0000]$nMsg[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm"][COLOR=#000090][I]GUIGetMsg[/I][/COLOR][/URL][COLOR=#ff0000]()[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch"][COLOR=#0000ff]Switch[/COLOR][/URL] [COLOR=#aa0000]$nMsg[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit"][COLOR=#0000ff]Exit[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$Button1[/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#@scriptdir"][COLOR=#ff33ff]@ScriptDir[/COLOR][/URL][COLOR=#ff0000]&[/COLOR][COLOR=#9999cc]"\888.txt"[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"100.0 "[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm"][COLOR=#000090][I]GUICtrlRead[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$input[/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#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$Button2[/COLOR] [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]"\888.txt"[/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm"][COLOR=#000090][I]GUICtrlSetData[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$input[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]""[/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch"][COLOR=#0000ff]EndSwitch[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000ff]WEnd[/COLOR][/URL]
أضفت أمر قراءة مساحة الادخال :kmj-by0000 (72):
اظن هذا الكود الذي تريده:
كود:[COLOR=#669900][I]#cs ----------------------------------------------------------------------------[/I][/COLOR] [I][COLOR=#669900]AutoIt Version: 3.3.6.1[/COLOR][/I] [I][COLOR=#669900]Author: myName[/COLOR][/I] [I][COLOR=#669900]Script Function:[/COLOR][/I] [I][COLOR=#669900] Template AutoIt script.[/COLOR][/I] [I][COLOR=#669900]#ce ----------------------------------------------------------------------------[/COLOR][/I] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<ButtonConstants.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<EditConstants.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<GUIConstantsEx.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<ListViewConstants.au3>[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm##include"][COLOR=#f000ff][I]#include[/I][/COLOR][/URL] [COLOR=#9999cc]<WindowsConstants.au3>[/COLOR] [COLOR=#aa0000]$Form1[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm"][COLOR=#000090][I]GUICreate[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"ارسال البيانات"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]348[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]256[/I][/COLOR][COLOR=#ff0000], -[/COLOR][COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000], -[/COLOR][COLOR=#ac00a9][I]1[/I][/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$Button1[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"اكتب الاسم"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]224[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]208[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]75[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]25[/I][/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$Button2[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm"][COLOR=#000090][I]GUICtrlCreateButton[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]"امسح الاسم"[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]48[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]208[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]75[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]25[/I][/COLOR][COLOR=#ff0000])[/COLOR] [COLOR=#aa0000]$input[/COLOR][COLOR=#ff0000]=[/COLOR][URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm"][COLOR=#000090][I]GUICtrlCreateInput[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#9999cc]""[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]72[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]168[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]209[/I][/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#ac00a9][I]21[/I][/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm"][COLOR=#000090][I]GUISetState[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][URL="http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show"][COLOR=#ff33ff]@SW_SHOW[/COLOR][/URL][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#While"][COLOR=#0000ff]While[/COLOR][/URL] [COLOR=#ac00a9][I]1[/I][/COLOR] [COLOR=#aa0000]$nMsg[/COLOR] [COLOR=#ff0000]=[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm"][COLOR=#000090][I]GUIGetMsg[/I][/COLOR][/URL][COLOR=#ff0000]()[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch"][COLOR=#0000ff]Switch[/COLOR][/URL] [COLOR=#aa0000]$nMsg[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$GUI_EVENT_CLOSE[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit"][COLOR=#0000ff]Exit[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$Button1[/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#@scriptdir"][COLOR=#ff33ff]@ScriptDir[/COLOR][/URL][COLOR=#ff0000]&[/COLOR][COLOR=#9999cc]"\888.txt"[/COLOR][COLOR=#ff0000],[/COLOR][COLOR=#9999cc]"100.0 "[/COLOR] [COLOR=#ff0000]&[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm"][COLOR=#000090][I]GUICtrlRead[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$input[/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#Case"][COLOR=#0000ff]Case[/COLOR][/URL] [COLOR=#aa0000]$Button2[/COLOR] [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]"\888.txt"[/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm"][COLOR=#000090][I]GUICtrlSetData[/I][/COLOR][/URL][COLOR=#ff0000]([/COLOR][COLOR=#aa0000]$input[/COLOR][COLOR=#ff0000],[/COLOR] [COLOR=#9999cc]""[/COLOR][COLOR=#ff0000])[/COLOR] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch"][COLOR=#0000ff]EndSwitch[/COLOR][/URL] [URL="http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd"][COLOR=#0000ff]WEnd[/COLOR][/URL]
أضفت أمر قراءة مساحة الادخال :kmj-by0000 (72):
ما شاء الله عليك والله بدون مجاملة خبير :?: من معلمك ووين بتدرس هاللغه :i::q:
مثلا انا كتبت العبارة التالية
red flower works in IT department
واريد احذف العبارة السابقة من الملف وليس حذف الملف بأكمله فما هو الكود -- بصراحة تائهة في ايجاد ذاك الكود
هل يوجد في الاتوات كود مسح جملة معينة ومثلا ما قمنا بادخاله
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ButtonConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<EditConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<GUIConstantsEx.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ListViewConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<WindowsConstants.au3>[/color]
[color=#AA0000]$Form1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm][color=#000090][i]GUICreate[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"ارسال البيانات"[/color][color=#FF0000],[/color] [color=#AC00A9][i]348[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]256[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"اكتب الاسم"[/color][color=#FF0000],[/color] [color=#AC00A9][i]224[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]208[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]75[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button2[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"امسح الاسم"[/color][color=#FF0000],[/color] [color=#AC00A9][i]48[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]208[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]75[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$input[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm][color=#000090][i]GUICtrlCreateInput[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000],[/color] [color=#AC00A9][i]72[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]168[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]209[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$note[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir][color=#FF33FF]@ScriptDir[/color][/url][color=#FF0000]&[/color][color=#9999CC]"\888.txt"[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm][color=#000090][i]GUISetState[/i][/color][/url][color=#FF0000]([/color][url=http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show][color=#FF33FF]@SW_SHOW[/color][/url][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#While][color=#0000FF]While[/color][/url] [color=#AC00A9][i]1[/i][/color]
[color=#AA0000]$nMsg[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm][color=#000090][i]GUIGetMsg[/i][/color][/url][color=#FF0000]()[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch][color=#0000FF]Switch[/color][/url] [color=#AA0000]$nMsg[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$GUI_EVENT_CLOSE[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit][color=#0000FF]Exit[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$Button1[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/FileWrite.htm][color=#000090][i]FileWrite[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$note[/color][color=#FF0000],[/color] [color=#9999CC]"100.0 "[/color] [color=#FF0000]&[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm][color=#000090][i]GUICtrlRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/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#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$Button2[/color]
[color=#AA0000]$readnote[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/FileRead.htm][color=#000090][i]FileRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$note[/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$endwords[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/StringReplace.htm][color=#000090][i]StringReplace[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$readnote[/color][color=#FF0000],[/color] [color=#9999CC]"100.0 "[/color] [color=#FF0000]&[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm][color=#000090][i]GUICtrlRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/color][color=#FF0000]) &[/color] [url=http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf][color=#FF33FF]@CRLF[/color][/url][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/FileDelete.htm][color=#000090][i]FileDelete[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$note[/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]$note[/color][color=#FF0000],[/color] [color=#AA0000]$endwords[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm][color=#000090][i]GUICtrlSetData[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/color][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch][color=#0000FF]EndSwitch[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd][color=#0000FF]WEnd[/color][/url]
كيفك تكتب هذا على أي أساس مثال
WindowsConstants.au3
<ButtonConstants.au3
%programfiles%\AutoIt3\Include
أخي رامي هذه ملفات au3 جاهزة من مؤسسي الأوتوات
وهي دوال جاهزة تنتج أوامر باللون السماوي المعروف مثل (_RunDos)
وهي زائدة على أوامر الاوتوات وتوفر مزيدًا من السهولة كما هو حال الـ func الذي ننشئه بأنفسنا
وهي تتواجد في هذا المجلد:
كود:%programfiles%\AutoIt3\Include
مشكور طيب كيف نعلم من لهذا ومن لهذا
يعني مثال هذا WindowsConstants.au3
ما عمله
هذا قصدي
وشئ أخر هل ممكن أستخراج مفاتيح أو قيم من ريجستري في الايتو
أما عن func ما عمله
:i:
_read("yones","ahmed"&@crlf&"'yones7x'")
_read("ramy","zyzoom"&@crlf&"'ramay'")
Func _read($title,$text)
MsgBox(0,$title,$text)
EndFunc
قد يبدو الأمر معقدا ولكنه سهل
اضفت امر قراءة النص كاملا ومن ثم استبدال الكلمة المراد حذفها مع الـ 100.0 والسطر الجديد بالقيمة ""
أي مسح السطر المحتوي على الكلام :bleh:
WEnd[/CODE]
طيب يا الغالي Func ما العمله وبماذا نستخدمهعبر فتح الملف وقراءة محتوياته
مثلا WindowsConstants.au3
يحتوي على متغيرات جاهزة تفهمها بلغتك وتغنيك عن كتابة الرقم
مثلا أمر تكبير النافذة
وتضع فيه هذا المتغير:
$WS_MAXIMIZEBOX
أسهل لك من:
0x00010000
لان معرف في الدالة
طبعا الـ func هي دالة نضعها نحن بحيث تكون ثابته
مثلا
كود:_read("yones","ahmed"&@crlf&"'yones7x'") _read("ramy","zyzoom"&@crlf&"'ramay'") Func _read($title,$text) MsgBox(0,$title,$text) EndFunc
تلاحظ أننا وضعنا متغير في الدالة بحيث يكون أمر اسمه _read
وهذا الأمر فيه title وفيه text
بحيث أي قيمة تضعها فيهما يظهر كرسالة معبر عن كل قيمة :king:
عيدكم مبارك :king:
تستخدم أخي لبناء دالة جديدة ..لو تشوف الرابط اللي وضعه يونس في ملفات au3 حتوي على كمية كبيرة من الدوال ..راح تلاحظ كلها تبدا ب func بمعني هي عبارة لإنشاء الUDF
[16]
.....
الريجستري مافهمت طلبك :d:
مبارك عليكم يا الغالي
هل الايتو ممكن يستخرج قيمة من ريجستري
يعني لم أجد في الايتو شيئ أسمه regexport
:i: معقولة هذا يونس
بصراحة أبهرتنا وادهشتنا بحركاتك:d: كود ومحلاه من كود وبصراحة مشكور جدا والله بالفعل اصبحت من منافسي عبدالله الزهراني وبندرk: أخاف ما اقول انك تفوقت و يزعلوا علينا :d:
بس والله اريدك يا يونس تتحدى الصعوبات في هذه اللغه فتخيل معي لو طلب شخص ثاني كود في الزر الاول ووظيفته هي انك لما تقوم بكتابة مثلا الجملة التالية
red flower works in IT department
واذا كانت الجملة هي موجوده من قبل في الملف فعند الضغط على زر اكتب البيانات تاتي رسالة وتقول الجملة مسبقا قد قمت بادخالها
بصراحة بدينا نعقد المسألة هههه بس هذا الكود مو مهم لكن من باب التعليم لك يا يونس
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ButtonConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<EditConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<GUIConstantsEx.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<ListViewConstants.au3>[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm##include][color=#F000FF][i]#include[/i][/color][/url] [color=#9999CC]<WindowsConstants.au3>[/color]
[color=#AA0000]$Form1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm][color=#000090][i]GUICreate[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"ارسال البيانات"[/color][color=#FF0000],[/color] [color=#AC00A9][i]348[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]256[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button1[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"اكتب الاسم"[/color][color=#FF0000],[/color] [color=#AC00A9][i]224[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]208[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]75[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$Button2[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateButton.htm][color=#000090][i]GUICtrlCreateButton[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]"امسح الاسم"[/color][color=#FF0000],[/color] [color=#AC00A9][i]48[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]208[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]75[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]25[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$input[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm][color=#000090][i]GUICtrlCreateInput[/i][/color][/url][color=#FF0000]([/color][color=#9999CC]""[/color][color=#FF0000],[/color] [color=#AC00A9][i]72[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]168[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]209[/i][/color][color=#FF0000],[/color] [color=#AC00A9][i]21[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$note[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/macros.htm#@scriptdir][color=#FF33FF]@ScriptDir[/color][/url][color=#FF0000]&[/color][color=#9999CC]"\8.txt"[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUISetState.htm][color=#000090][i]GUISetState[/i][/color][/url][color=#FF0000]([/color][url=http://www.autoitscript.com/autoit3/docs/macros.htm#@sw_show][color=#FF33FF]@SW_SHOW[/color][/url][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#While][color=#0000FF]While[/color][/url] [color=#AC00A9][i]1[/i][/color]
[color=#AA0000]$nMsg[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm][color=#000090][i]GUIGetMsg[/i][/color][/url][color=#FF0000]()[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Switch][color=#0000FF]Switch[/color][/url] [color=#AA0000]$nMsg[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$GUI_EVENT_CLOSE[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit][color=#0000FF]Exit[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$Button1[/color]
[color=#AA0000]$readnote[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/FileRead.htm][color=#000090][i]FileRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$note[/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$check[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/StringInStr.htm][color=#000090][i]StringInStr[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$readnote[/color][color=#FF0000],[/color] [color=#9999CC]"100.0 "[/color] [color=#FF0000]&[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm][color=#000090][i]GUICtrlRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/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#If][color=#0000FF]If[/color][/url] [color=#AA0000]$check[/color] [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/functions/FileWrite.htm][color=#000090][i]FileWrite[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$note[/color][color=#FF0000],[/color] [color=#9999CC]"100.0 "[/color] [color=#FF0000]&[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm][color=#000090][i]GUICtrlRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/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]
[url=http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm][color=#000090][i]MsgBox[/i][/color][/url][color=#FF0000]([/color][color=#AC00A9][i]16[/i][/color][color=#FF0000]+[/color][color=#AC00A9][i]262144[/i][/color][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000],[/color] [color=#9999CC]"الجملة موجودة مسبقُا"[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf][color=#0000FF]EndIf[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#Case][color=#0000FF]Case[/color][/url] [color=#AA0000]$Button2[/color]
[color=#AA0000]$readnote[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/FileRead.htm][color=#000090][i]FileRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$note[/color][color=#FF0000], -[/color][color=#AC00A9][i]1[/i][/color][color=#FF0000])[/color]
[color=#AA0000]$endwords[/color] [color=#FF0000]=[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/StringReplace.htm][color=#000090][i]StringReplace[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$readnote[/color][color=#FF0000],[/color] [color=#9999CC]"100.0 "[/color] [color=#FF0000]&[/color] [url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlRead.htm][color=#000090][i]GUICtrlRead[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/color][color=#FF0000]) &[/color] [url=http://www.autoitscript.com/autoit3/docs/macros.htm#@crlf][color=#FF33FF]@CRLF[/color][/url][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/FileDelete.htm][color=#000090][i]FileDelete[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$note[/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]$note[/color][color=#FF0000],[/color] [color=#AA0000]$endwords[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/functions/GUICtrlSetData.htm][color=#000090][i]GUICtrlSetData[/i][/color][/url][color=#FF0000]([/color][color=#AA0000]$input[/color][color=#FF0000],[/color] [color=#9999CC]""[/color][color=#FF0000])[/color]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#EndSwitch][color=#0000FF]EndSwitch[/color][/url]
[url=http://www.autoitscript.com/autoit3/docs/keywords.htm#WEnd][color=#0000FF]WEnd[/color][/url]
تقصد إستخراج قيم ووضعها في ملف reg
كداله مع اللغه ما اعتقد فية يمكن تلقى UDF .. على العموم
في الوقت الحالي إستخدم اداة الreg اللي تتعامل مع الريجستري من خلال سطر الاامر !!
الاستخراج
[605]
الاضافه
[606]
أو تستخدم ايضاُ محرر الريجستري regedit يقبل مدخلات سطر الاوامر أيضاً
إبحث في قوقل وتلقاها :d:
أعتقد إنك تعرف تستخدمها مع الاتوات الان![]()
#include <Process.au3>
$1 = "reg export"
$3 = InputBox("ramay","zyzoom.org",$1)
_RunDOS($3)