JonM Posted March 24, 2010 Posted March 24, 2010 Just upgraded to latest version and my script which is a loop with a waitwin, and enter and a waitwinclose now dings on each loop. How do I get rid of the sound? Searching forum for terms like noise, quiet, ding etc don't give me anything.
Moderators Melba23 Posted March 24, 2010 Moderators Posted March 24, 2010 JonM, Please post the code, no matter how simple it looks. Guessing at the problem is unlikely to give you a good solution. 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
JonM Posted March 24, 2010 Author Posted March 24, 2010 JonM,Please post the code, no matter how simple it looks. Guessing at the problem is unlikely to give you a good solution. M23$jpeg = InputBox("Jpeg quality","Enter 1-12","7")$loopc = InputBox("Loop Counter","Enter 1 or more","100")#csMsgBox(0,"Parameters",$jpeg)MsgBox(0,"Parameter2",$loopc)#ce$count2 = Number($loopc)For $count = 1 To $count2 WinWait("JPEG Options")Send("$jpeg{ENTER}")WinWaitClose("JPEG Options")NextMsgBox(0,"Exit",$loopc)
Moderators Melba23 Posted March 24, 2010 Moderators Posted March 24, 2010 JonM,Try changing the Send line:Send($jpeg & "{ENTER}")At the moment you are sending the following to your "JPEG Options" window:$ j p e g {ENTER}when I assume you want to send the value of the $jpeg variable followed by {Enter}. I imagine the "ding" is the window getting annoyed at receiving invalid inputs. 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
JonM Posted March 24, 2010 Author Posted March 24, 2010 Many thanks and many apologies for my ignorance.
Moderators Melba23 Posted March 24, 2010 Moderators Posted March 24, 2010 JonM,many apologies for my ignoranceNothing to apologise for - glad I could help. 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
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