-
Posts
294 -
Joined
-
Last visited
-
Days Won
1
Everything posted by EKY32
-
~ Buttons To Scroll IE Obj HTML File Up and Down? (SOLVED)
EKY32 replied to EKY32's topic in AutoIt General Help and Support
Thank you Mr.Danyfirex !!! I tried that but it didn't work, maybe because I used another integer ( $Y ). Thank you. -
Oh Mr.Mat !! thank you! this is really what I need, thank you both.
-
Tank you so much
-
I Have this code, I need to hide the scroll bar and I did it, I could make a button to scroll down the page but i couldn't make another to scroll it up, Healp please? #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Text = "Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>" $oIE = ObjCreate("Shell.Explorer.2") $Form1 = GUICreate("Form1", 380, 300) $Label12 = GUICtrlCreateObj($oIE, 10, 10, 353, 259) $oIE.navigate("") $oIE.document.write($Text) $oIE.document.body.scroll = "no" $oIE.document.body.style.borderWidth = 1 $btn = GUICtrlCreateButton("down", 10, 270, 100, 25) $btn2 = GUICtrlCreateButton("up", 250, 270, 100, 25) GUISetState(@SW_SHOW) $x = 1 While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $btn $oIE .document.parentWindow.scrollTo(0, $x + 10) $x = $x + 10 Case $btn2 ; scroll up EndSwitch WEnd Thank you.
-
Thank you Mr.Danyfirex It works great even if the list view is not a (GUICtrlCreateListView).
-
Is it available to hide a GuiCtrlCreateListView Borders? I hope so Thank you.
-
~ ALT Key to show menu (Like In IE 7) (SOLVED)
EKY32 replied to EKY32's topic in AutoIt General Help and Support
Thank you Mr.abberration Thank you all. -
Is it available to scroll the text in the label using the buttons? it will have a long text inside. #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 298, 201, 192, 124) $Label1 = GUICtrlCreateLabel("Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text END.", 8, 8, 204, 185) $Button1 = GUICtrlCreateButton("Scroll Up", 224, 8, 67, 25) $Button2 = GUICtrlCreateButton("Scroll Down", 224, 168, 67, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Thank you.
-
~ Save Web Page from an external embedded IE Control
EKY32 replied to EKY32's topic in AutoIt General Help and Support
Please help.. -
~ Insert a point in a $ES_NUMBER Input control? (SOLVED)
EKY32 replied to EKY32's topic in AutoIt General Help and Support
Mr.FireFox Thank you very much, thanks to every one who helped. -
~ Insert a point in a $ES_NUMBER Input control? (SOLVED)
EKY32 replied to EKY32's topic in AutoIt General Help and Support
Thank you, but I see this way is too long! I need a best smart way if any. -
I need to insert a point to type a floating-point number, but I also need to deny the user from typing characters.. any help? Thank you. #include <EditConstants.au3> GUICreate("Title", 265, 132) GUICtrlCreateInput("", 32, 32, 121, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER)) GUICtrlCreateLabel("Type 1.25 if you can :'(", 32, 72, 114, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit EndSwitch WEnd
-
Well, here is my script.. I found the real problem but I don't get the solution yet. Even when I'm using a huge quantity of items the ListView never flash if it's created in a normal GUI, and the script works fine, BUT, When I create the ListView in a TabItem.., the ListView starts flickering when I select the "Show All" string from the ComboBox (Means when loading all the items from the database), so how to fix that? Thank you. The Script File: Products.zip
-
~ SQL Question: Collecting a column's values?
EKY32 replied to EKY32's topic in AutoIt General Help and Support
I'm sorry, I was getting a network error, so the topic had been posted many times. I'm sorry again, i mean i need to collect the columns' values. -
~ Save Web Page from an external embedded IE Control
EKY32 replied to EKY32's topic in AutoIt General Help and Support
How can I do that? -
I have an external embedded IE Control in a window, I'm available to control the IE control using ControlHide, ControlMove, .... Is it available to send message to that control? like saving? The problem is the loaded page has a java-script command that disables the right-click menu in the IE control, so is there any way to save the loaded page some how?
-
Well, this script looks good, i'll find a way to combine it with mine. Mr.Melba23, I have a compo box as a filter for the list view items, so when i choose a string from it, it must delete all the items of the list and get them again filtered from the database.. is it really that bad? i must disable or hide the list view? I'll try the script czardas gave me, then get back again, thank you.
-
I have a GuiCtrlCreateListView, and a database with a huge quantity of rows, the scripts loads the data from the database to the list view (GuiCtrlCreateListViewItem), so it makes the window flashes and very slow, so I used _GUICtrlListView_BeginUpdate and _GUICtrlListView_EndUpdate it helped a bit, but the window still flashes as i need to recall the listing func each minute. Is there any way to fix that please? Thank you.
-
~ Limit sizing a window - Problem (SOLVED)
EKY32 replied to EKY32's topic in AutoIt General Help and Support
Well, thank you Mr CaptainClucks, it works fine now. Yes i noticed that as I paid attention to the window's frame Thank you. -
~ View a Printer properties and settings? (SOLVED)
EKY32 replied to EKY32's topic in AutoIt General Help and Support
Solved like so: Run('rundll32 printui.dll,PrintUIEntry /p /n"' & @ComputerName & '' & GUICtrlRead($Printers_List) & '"') Replace GUICtrlRead($Printers_List) with your printer's name. You can use the command "printui" running it from Command Prompt (DOS) and see a HUGE quantity of printing options! Thank You, Me.