caramen Posted August 21, 2018 Posted August 21, 2018 I whould like to know if i can skip some code if somthing happen. Exemple : Sleep (500) Sleep (500) Sleep (500) Sleep (500) Sleep (500) If PixelGetColor = 1 Then blablabla Else >>>>Go to last line and msg bloblo<<<< EndIf MsgBox (blabla) Sleep (500) Sleep (500) Sleep (500) Sleep (500) Sleep (500) MsgBox (bloblo) My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
FrancescoDiMuro Posted August 21, 2018 Posted August 21, 2018 (edited) In AutoIt, a quick and easy way to jump over pieces of code, is doing that with functions Put your pieces of code you want to run conditionally in functions, and call them where needed Edited August 21, 2018 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
caramen Posted August 21, 2018 Author Posted August 21, 2018 Unfortunatly i cant i got 1100 line of code My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
FrancescoDiMuro Posted August 21, 2018 Posted August 21, 2018 And so? There are no limits about how many rows could be in a function Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
caramen Posted August 21, 2018 Author Posted August 21, 2018 nvm i gonna rework my code i got no other choice My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
FrancescoDiMuro Posted August 21, 2018 Posted August 21, 2018 If you have to jump portion of codes, that is the way ( as far as I know ). There are no GoTo in AutoIt Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
caramen Posted August 21, 2018 Author Posted August 21, 2018 (edited) 1 hour ago, FrancescoDiMuro said: If you have to jump portion of codes, that is the way ( as far as I know ). There are no GoTo in AutoIt @FrancescoDiMuro I am getting stuck in a condition it s my first time i got this problem..... expandcollapse popupFunc Incident () If ProcessExists ("Chrome.exe") Then $Color51 = PixelGetColor ( 495,321 ) If $Color51 = 0x707070 Then BlockInput($BI_DISABLE) Sleep (500) MouseClick ("Left" , 869,362) BlockInput($BI_DISABLE) BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Champ groupe=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Send ("Support Niveau 1") ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Support niveau 1=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1000) BlockInput($BI_DISABLE) MouseClick ("Left" , 726,388) ; Cliquer sur support niveau 1 BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Terminer Incident=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1500) BlockInput($BI_DISABLE) ;~ MouseClick ("Left" , 1179,783) ; Terminé MouseMove (1179,783) ; Terminé BlockInput($BI_ENABLE) $NombreQualif = $NombreQualif + 1 GUICtrlSetData ($Label3 ,"Nombre de fois F4 : "&$NombreQualif ) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Nombre de fois F4 : "&$NombreQualif) _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $Color51 = 0 ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 111111") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ EndIf ElseIf ProcessExists ("FireFox.exe") Then ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 0101010101") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $Color51 = PixelGetColor ( 494,332 ) If $Color51 = 0x707070 Then BlockInput($BI_DISABLE) Sleep (500) MouseClick ("Left" , 870,375) BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Champ groupe=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Send ("Support Niveau 1") ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Support niveau 1=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1000) BlockInput($BI_DISABLE) MouseClick ("Left" , 728,397) ; Cliquer sur support niveau 1 BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Terminer Incident=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1500) BlockInput($BI_DISABLE) MouseClick ("Left" , 1182,792) ; Terminé ;~ MouseMove (1182,792) ; Terminé BlockInput($BI_ENABLE) $NombreQualif = $NombreQualif + 1 GUICtrlSetData ($Label3 ,"Nombre de fois F4 : "&$NombreQualif ) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Nombre de fois F4 : "&$NombreQualif) _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $Color51 = 0 EndIf ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 222222") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ If ProcessExists ("Chrome.exe") Then ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 333333") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Do ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Attente Chrome") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep(100) $PixelCondition = PixelGetColor (692 , 197) Until $PixelCondition = 0x7A7A7A MouseClick ("left" , 249, 275 ) $PixelCondition = 0 Send ("{TAB}") Send ("^c");Copier ElseIf ProcessExists ("FireFox.exe") Then Do Sleep(100) $PixelCondition = PixelGetColor (689 , 218 ) Until $PixelCondition = 0x7A7A7A MouseClick ("left" , 253, 297 ) $PixelCondition = 0 Send ("{TAB}") Send ("^c");Copier EndIf ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Maj du dernier ticket qualifié.") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $TicketNum = ClipGet () GUICtrlSetData ($Label401 , ""&$TicketNum ) GUICtrlSetData ($Label41 , "Nom dernier ticket qualifié ____: "&$TicketNom ) GUICtrlSetData ($Label42 , "Numéro dossier dernier ticket _: "&$TicketDos ) $Read = GUICtrlRead ($Label42) If $Read = "Numéro dossier dernier ticket _: Pas encore de Scan" Then GUICtrlSetData ($Label42 , "Numéro dossier dernier ticket _: Na" ) EndIf ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"F4 terminé!") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"==========================================================") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ EndIf EndFunc The script is working well but i am getting in my console : At this step : ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 111111") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ EndIf But nothing happen after... like if i am in pause... WTF ?! My console show me Chrome 111111 And pausing... what i am doing wrong it s so frustrating i checked everything 15x Edited August 21, 2018 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
FrancescoDiMuro Posted August 21, 2018 Posted August 21, 2018 @caramen Do you see in your Console "Chrome 111111" ? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
caramen Posted August 21, 2018 Author Posted August 21, 2018 (edited) Yes And this is why it s strange Edited August 21, 2018 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
caramen Posted August 21, 2018 Author Posted August 21, 2018 (edited) Btw It s after a call {Function} And also i add i got EXACTLY the same code for firefox and it work -.-...... Edited August 21, 2018 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
caramen Posted August 21, 2018 Author Posted August 21, 2018 expandcollapse popupFunc Incident () If ProcessExists ("Chrome.exe") Then $Color51 = PixelGetColor ( 495,321 ) If $Color51 = 0x707070 Then BlockInput($BI_DISABLE) Sleep (500) MouseClick ("Left" , 869,362) BlockInput($BI_DISABLE) BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Champ groupe=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Send ("Support Niveau 1") ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Support niveau 1=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1000) BlockInput($BI_DISABLE) MouseClick ("Left" , 726,388) ; Cliquer sur support niveau 1 BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Terminer Incident=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1500) BlockInput($BI_DISABLE) ;~ MouseClick ("Left" , 1179,783) ; Terminé MouseMove (1179,783) ; Terminé BlockInput($BI_ENABLE) $NombreQualif = $NombreQualif + 1 GUICtrlSetData ($Label3 ,"Nombre de fois F4 : "&$NombreQualif ) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Nombre de fois F4 : "&$NombreQualif) _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $Color51 = 0 ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 111111") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ EndIf ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome Après condition") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ ;~ ElseIf ProcessExists ("FireFox.exe") Then EndIf If ProcessExists ("FireFox.exe") Then ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Firefox 0101010101") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $Color51 = PixelGetColor ( 494,332 ) If $Color51 = 0x707070 Then BlockInput($BI_DISABLE) Sleep (500) MouseClick ("Left" , 870,375) BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Champ groupe=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Send ("Support Niveau 1") ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Support niveau 1=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1000) BlockInput($BI_DISABLE) MouseClick ("Left" , 728,397) ; Cliquer sur support niveau 1 BlockInput($BI_ENABLE) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Terminer Incident=>") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep (1500) BlockInput($BI_DISABLE) ;~ MouseClick ("Left" , 1182,792) ; Terminé MouseMove (1182,792) ; Terminé BlockInput($BI_ENABLE) $NombreQualif = $NombreQualif + 1 GUICtrlSetData ($Label3 ,"Nombre de fois F4 : "&$NombreQualif ) ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Nombre de fois F4 : "&$NombreQualif) _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $Color51 = 0 EndIf ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 222222") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ If ProcessExists ("Chrome.exe") Then ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Chrome 333333") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Do ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Attente Chrome") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep(100) $PixelCondition = PixelGetColor (692 , 197) Until $PixelCondition = 0x7A7A7A MouseClick ("left" , 249, 275 ) $PixelCondition = 0 Send ("{TAB}") Send ("^c");Copier ElseIf ProcessExists ("FireFox.exe") Then Do ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Attente Mozilla") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ Sleep(100) $PixelCondition = PixelGetColor (689 , 218 ) Until $PixelCondition = 0x7A7A7A MouseClick ("left" , 253, 297 ) $PixelCondition = 0 Send ("{TAB}") Send ("^c");Copier EndIf ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"Maj du dernier ticket qualifié.") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ $TicketNum = ClipGet () GUICtrlSetData ($Label401 , ""&$TicketNum ) GUICtrlSetData ($Label41 , "Nom dernier ticket qualifié ____: "&$TicketNom ) GUICtrlSetData ($Label42 , "Numéro dossier dernier ticket _: "&$TicketDos ) $Read = GUICtrlRead ($Label42) If $Read = "Numéro dossier dernier ticket _: Pas encore de Scan" Then GUICtrlSetData ($Label42 , "Numéro dossier dernier ticket _: Na" ) EndIf ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"F4 terminé!") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ ;~ ==========================================Console============================================ _GUICtrlListView_AddItem($ConsoleArea,"==========================================================") _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ;~ ==========================================/Console============================================ EndIf EndFunc Console = My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
caramen Posted August 21, 2018 Author Posted August 21, 2018 (edited) No way to skip msg test1 ???? This is the problem of my script. While (1) Sleep (500) WEnd Func Test1 () Test2 () MsgBox (0,"test", "Test1") EndFunc Func Test2 () MsgBox (0,"test", "Test2") EndFunc Becose if i run func Test1 () I got the msgbox Test2 Then after msgbox Test1 So if i was in while i stay stuck ... logic... Edited August 21, 2018 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
FrancescoDiMuro Posted August 21, 2018 Posted August 21, 2018 Try this: Test1() Func Test1() If Test2() = 1 Then MsgBox (0,"test", "Test1") EndFunc Func Test2 () If MsgBox (0,"test", "Test2") Then Return 0 EndFunc Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now