iNvokeMePlz Posted February 22, 2012 Share Posted February 22, 2012 hello, i am having some problems with my AutoIt Project, its simple and its all about "MouseMove, ToolTip, MsgBox, Send" functions .. i just wanted to use SplashImageOn and HotkeySet, But Obivously not working .. code is expandcollapse popupGlobal $Pause HotKeySet("!P", "TogglePause") ;Alt + P HotKeySet("!S", "Terminate") ;Alt + S _GDIPLUS_ MsgBox(48, "Microsoft Office Learning", "لقد اخترت تعليم برنامج مايكروسوفت اوفيس 2010 .. سيقوم البرنامج ببدء التعليم الآن", 5) MouseClick("Left", 26, 748, 1, 50) MouseClick("Left", 98, 658, 1,50) MouseClickDrag("left", 253, 379, 254, 531, 50) MouseClick("Left", 112, 481, 1,50) MouseClick("Left", 112, 521, 1,50) WinWaitActive("Document1 - Microsoft Word Starter") MsgBox(48, "مرحبًا بكم في برنامج الوورد", "مرحبًا بكم في أول تشغيل لبرنامج الوورد، سنقوم بالتعلم معُا دون لمس شيء :)", 5) WinWaitActive("Document1 - Microsoft Word Starter") Send("الآن سوف نتعلم كيفية فتح وحفظ واغلاق المستندات") MouseMove(30, 40, 50) ToolTip("من هذه القائمة يمكنك اختيار بين عدة خيارات، فتح، حفظ، اغلاق المستندات", 30, 40, "ToolTip") sleep(5000) Send("{ENTER}") Send("2- الآن سوف نتعلم كيفية التحكم بخصائص الخط من تغيير الحجم ، اللون ، العرض إلخ ") Sleep(2000) MouseMove(282, 120, 50) ToolTip("يمكنك التحكم في خصائص الخط من الحجم والعرض واللون و عدة خصائص اخرى من هذه النافذة", 282, 120, "ToolTip") sleep(5000) Send("{ENTER}") Send("3- والآن سوف نتعلم عن كيفية ضبط تباعد الفقرات وحجمها و التنصيص إلخ") MouseMove(550, 120, 50) ToolTip("يمكنك التحكم في الفقرة والتنصيص وأشياء أخرى من خلال التحكم من هذه النافذة", 550, 120, "ToolTip") Sleep(5000) Send("{ENTER}") Send("4- يمكنك التحكم بخصائص الخط كمجموعة معينة أنت تنشئها كلون خط و حجمه و عرضه ودمجه بخيار واحد من خلال الذهاب الى هنا") MouseMove(911, 120, 50) ToolTip("هنا يمكنك القيام بما سبق في خصائص الخط ودمجها و يوجد خصائص مجهزة مسبقًا ", 911, 120, "ToolTip") Sleep(5000) Send("{ENTER}") Send("دعونا ننتقل الى القائمة الثانية") MouseClick("left", 143, 35, 1, 50) Send("{ENTER}") Send("في هذه القائمة سأكتفي بشرح بسيط وعام نظراً لضيق الوقت والسرعة في الأداء") Send("{ENTER}") Send("في هذه القائمة هناك العديد من الخيارات كـ ادخال صورة او انشاء رابط تشعبي ينقلك الى صفحة عند الضغط عليه وانشاء ترويسة وخلفية للصفحة و إنشاء الجداول وغلاف للصفحة و إنشاء الأشكال و ترقيم الصفحات إلخ ") MouseMove(65, 125, 50) ToolTip("للتحكم في خصائص الصفحة من هنا", 65, 125, "ToolTip") Sleep(5000) MouseMove(160, 125, 50) ToolTip("من هنا يمكنك إنشاء جداول واشكال", 160, 125, "ToolTip") Sleep(5000) MouseMove(400, 125, 50) ToolTip("من هنا يمكنك ادراج رابط تشعبي والتحكم بالترويسة", 400, 125, "ToolTip") Sleep(5000) MouseMove(666, 125, 50) ToolTip("من هنا يمكنك ادراج خط مزين وبأشكال متعددة", 666, 125, "ToolTip") Sleep(5000) MouseMove(780, 125, 50) ToolTip("من هنا يمكنك اضافة بعض الرموز الموجودة مسبقًا في البرنامج", 780, 125, "ToolTip") Sleep(5000) Send("{ENTER}") Send("دعونا ننتقل الى القائمة التالية") MouseClick("left", 217, 35, 1, 50) MouseMove(60, 125, 50) ToolTip("يمكنك التعديل على السمات واضافة تأثيرات جميلة من هنا", 60, 125, "ToolTip") Sleep(5000) MouseMove(267, 125, 50) ToolTip("من هنا يمكنك التعديل على حجم الصفحة وتنسيق الكلمات", 267, 125, "ToolTip") Sleep(5000) MouseMove(515, 125, 50) ToolTip("من هنا يمكنك التعديل على خلفيه الصفحة من خلال اللون و الطبعة المائية", 515, 125, "ToolTip") Sleep(5000) MouseMove(730, 125, 50) ToolTip("من هنا يمكنك التعديل على التباعد بين الكلمات والاسطر", 730, 125, "ToolTip") Sleep(5000) MouseClick("left", 300, 35, 1, 50) Send("{ENTER}") Send("القائمة الأخيرة عبارة عن نموذج وطرق لارسال المستند بعد الانتهاء منه") Send("{ENTER}") Send("إلى هنا نقف في نهاية هذه السلسلة التعليمية البسيطة، راجي من الله التوفيق في هذا العمل وأرجو أن ينال إعجابكم والحمدلله رب العالمين") Sleep(3000) SplashOff() Func TogglePause() $Paused = Not $Paused While $Paused Sleep(100) ToolTip('البرنامج متوقف مؤقتًا"', 0, 0) WEnd ToolTip("") EndFunc ;==>TogglePause Func Terminate() Exit 0 EndFunc ;==>Terminate There are some "Arabic words", they don't belong to the code, just fix it for me please .. and last problem is in my GUI i added GUICtrlCreateEdit but i dont want it to be edited ;S as long im putting "About" Me .. Help me please .. i need it before saturday morning, its thursday already here :S .. thanks Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 22, 2012 Moderators Share Posted February 22, 2012 NvokeMePlz,just fix it for me pleaseNo the best way to get help here. i need it before saturday morning, its thursday already hereAnd it might be urgent to you - but it is not to anyone else. Furthermore you expect us to be able to debug your code without any comments on what it is supposed to do, no idea of what you want to do with SplashImageOn and HotkeySet, and no suggestion of what the problems you are having might be. So all in all a pretty epic failure as a first post. I am closing this thread. I suggest you start another one with more information and less arrogance. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts