skyhigh Posted November 23, 2015 Posted November 23, 2015 (edited) I am working on a script operating in Firefox. I have to loop random urls taken from a list. Thanks to the help of you people I worked the main concept out.In this moment I am struggling with a strange behaviour of SciTE. I need to put an If condtion inside a loop.I did it w/o problems some time ago, as you can see in the screenshot(there is a while condition, although it is not visible)But now I can't do it anymore, and I don't know whyCan you help me? Is this a bug?I have one more question. I want the script to be as reliable as possible. To do so I need a routine that checks if Flash and Firefox are still running and responding, then react to these occurences. I can do the former using ProcessExist, but how about the latter?Does exist a function that verifies if a process is still responding? Edited November 23, 2015 by Melba23 Amended title
PACaleala Posted November 23, 2015 Posted November 23, 2015 Congratulations! You have found a bug.It is called the "missing EndIf" and should be placed right before Wend.Good luck finding the next bug!
skyhigh Posted November 23, 2015 Author Posted November 23, 2015 (edited) edited the open post using this image instead of the former endif-less (nothing changes, btw) Edited November 23, 2015 by skyhigh
Moderators Melba23 Posted November 23, 2015 Moderators Posted November 23, 2015 skyhigh,Re your report: Grow up and accept a little humour in the replies you get.Now you have altered the first post nothing much about this thread makes sense, but let me try and explain:In your original post, you had indeed omitted an EndIf in your code - I was going to respond when I saw that someone else had already done so.In this new code, you have an ElseIf with no associated expression, which will also fail.And when you post code please use Code tags - see here how to do it - so that you get a scrolling box and syntax colouring.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
Moderators Melba23 Posted November 23, 2015 Moderators Posted November 23, 2015 skyhigh,Thanks for the PM, but just start a new thread rather then try to modify this one yet again.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
Recommended Posts