Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/22/2013 in all areas

  1. DW1

    Script job for 50$

    He/she should have never brought it up in a forum where it is against the rules. Doesn't make sense to.
    2 points
  2. ripdad

    Local Proxy Filter v0.9b

    This is a small, and not fully functional, local proxy server. It gives the basic ideas needed to filter web traffic to and from your browser. In order to use it, you must configure your browser to use a proxy. Most are located under Tools->Options->Network. The IP and Port are located at the top of this progams title bar. This script does not support HTTPS, certificates or uploading files. Final Release: December 13, 2013 Now Supports: 1) Cookies 2) Gzip (requires >ZLIB.au3 by ward) 3) Downloading of small files. (5 mb's or less) 4) Blacklist and Whitelist editor. (stored by file) _LocalProxyFilter_v0.9b.au3
    1 point
  3. S3d.au3 This UDF enables you to draw simple 3D graphics. Features: Simple and easy to useDoesn't require external libraries. You don't need OpenGL or DirectX. Available Functions: _S3d_SelectGraphic($hGraphic, $iWidth, $iHeight, $iSmooth = 2) _S3d_SelectPen($hPen) _S3d_SelectBrush($hBrush) _S3d_SelectFont($hFont) _S3d_SelectFormat($hFormat) _S3d_SetClipCount($iCount) _S3d_Dist($nPos1X = 0, $nPos1Y = 0, $nPos1Z = 0, $nPos2X = 0, $nPos2Y = 0, $nPos2Z = 0) _S3d_DistFromCamera($nPosX = 0, $nPosY = 0, $nPosZ = 0) _S3d_SetCamera($nCameraX, $nCameraY, $nCameraZ, $nTargetX, $nTargetY, $nTargetZ, $nVAngle = 0, $nFAngle = 0.8, $nFScale = 1000) _S3d_SetCameraEx($nCameraX, $nCameraY, $nCameraZ, $nXYAngle = 0, $nXZAngle = 0, $nVAngle = 0, $nFAngle = 0.8, $nFScale = 1000) _S3d_SetLocalMatrix($n00 = 1, $n01 = 0, $n02 = 0, $n03 = 0, $n10 = 0, $n11 = 1, $n12 = 0, $n13 = 0, $n20 = 0, $n21 = 0, $n22 = 1, $n23 = 0, $n30 = 0, $n31 = 0, $n32 = 0, $n33 = 1) _S3d_MultiplyLocalMatrix($n00 = 1, $n01 = 0, $n02 = 0, $n03 = 0, $n10 = 0, $n11 = 1, $n12 = 0, $n13 = 0, $n20 = 0, $n21 = 0, $n22 = 1, $n23 = 0, $n30 = 0, $n31 = 0, $n32 = 0, $n33 = 1, $fRefresh = True) _S3d_LocalTranslate($nX, $nY, $nZ, $fRefresh = True) _S3d_LocalScale($nX, $nY, $nZ, $fRefresh = True) _S3d_LocalRotateX($nAngle, $fDeg = False, $fRefresh = True) _S3d_LocalRotateY($nAngle, $fDeg = False, $fRefresh = True) _S3d_LocalRotateZ($nAngle, $fDeg = False, $fRefresh = True) _S3d_GetLocalMatrix() _S3d_SetLocalMatrixEx(ByRef $aMatrix) _S3d_GetPos($nX, $nY, $nZ) _S3d_InitCurrentPos() _S3d_MoveTo($nX, $nY, $nZ = Default) _S3d_Clear($nColor = 0xFF000000) _S3d_Line($nX1, $nY1, $nZ1, $nX2, $nY2, $nZ2) _S3d_LineTo($nX, $nY, $nZ) _S3d_Box($nX1, $nY1, $nZ1, $nX2, $nY2, $nZ2) _S3d_Arrow($nX1, $nY1, $nZ1, $nX2, $nY2, $nZ2, $nLen = 30, $nAngle = 0.6) _S3d_Circle($nX, $nY, $nZ, $nRad, $fFill = False) _S3d_Polygon($aPoints, $fFill = False) _S3d_RegPolygon($nX, $nY, $nZ, $nRad, $iNum, $fFill = True) _S3d_Star($nX, $nY, $nZ, $nRad1, $nRad2, $iNum, $fFill = True) _S3d_Square($nX1, $nY1, $nZ1, $nX2, $nY2, $nZ2, $nX3, $nY3, $nZ3, $nX4, $nY4, $nZ4, $fFill = True) _S3d_MoveTo2($nXL, $nYL, $nZL, $nXR, $nYR, $nZR) _S3d_RibbonTo($nXL, $nYL, $nZL, $nXR, $nYR, $nZR) _S3d_String($sString, $nX, $nY, $nZ) New version!S3d.zip v1.3.1 (09/JUN/2014) * Archives S3d.zip v1.3.0 (05/SEP/2013) S3d.zip v1.2.3 (16/AUG/2013) Enjoy!
    1 point
  4. You probable saw the topic title and went: "Sword Art Online?, Online suggests it's a game, so uhhm, let me report it!" Or if you're a Mod: "Let me band him!!! XDXD" Joking aside, it's not a game, It's an anime. It also has some cool UI styles, which is what I made Files in a 7zip below: Release: SAO.Widgets v2.5 (Release).7z Source: SAO.Widgets v2.5 (Source).7z Previous downloads: 2.4: 496+ 1.3-1.4: 482+ 1.1: 11+ 1.0: 45+ Maybe I should create a UDF that allows easy creation and management of widgets/GDI+. If you have any suggestions/feedback/comments feel free to post here. To-Do: Stability patches if needed [super-extreme priority] HDD widget to swap between hard drives. [Medium priority] Maybe change widget colour scheme? [Low priority] Version history:
    1 point
  5. Newer systems have nicer looking "Browse for folder" UI than older does. AutoIt internally calls older version. Since some time AutoIt can natively access, by definition early bound objects, using special technique of late binding. Function that does this is ObjCreateInterface(). Considering most of the Windows is COM based the advantages are big, you just have to learn how to take them. This small example (attached FileSelectFolder.au3) shows how to create object of IFileDialog interface and by calling its methods customize and invoke "select folder" dialog. In case of older systems where IFileDialog isn't available the function will call internal AutoIt's FileSelectFolder(), so it should be safe to use in any environment. Example of usage is from the help file for normal dialog: #include "FileSelectFolder.au3" Local Const $sMessage = "Select a folder" ; Display an open dialog to select a folder. Local $sFileSelectFolder = FileSelectFolder2($sMessage, "") If @error Then MsgBox(4096, "", "No folder was selected.") Else MsgBox(4096, "", "You chose the following folder:" & @CRLF & $sFileSelectFolder) EndIf ...And the UDF: FileSelectFolder.au3
    1 point
  6. remin, But only in MessageLoop mode where you should just use the built-in pause in GUIGetMsg - that waits up to 12-15ms when the CPU is very busy while the return almost instantaneous if it is idle. In OnEvent mode, and here when only HotKeys are used, the Sleep period has no effect. This is one reason I would not comment on the interaction between your current script and the one with which you wish to merge it - until I see exactly what is involved I am not prepared to say whether problem might arise. In this case as you are comparing numbers, you do not need a case-sensitive string comparison. All you need do is replace the == operator with =: If $State == 1 Then ; should become If $State = 1 Then I see. In Autoit you have 2 options: - 1. Use a variable to contain the expanded text: ; Declare the content $sEM = "myname@domain.com" ; And use it like this $url = $sEM & "\section\item.html" $url will then hold myname@domain.comsectionitem.html -2. Use the Abbrev manager in SciTE4AutoIt3 to create an abbreviation which you can expand as you type. Look under the <Help - SciTE Help - SciTE4AutoIt3 - User Abbreviations> and <Help - SciTE Help - Extra Utilities - Abbrev Manager> to learn more. If you do not have the full SciTE4AutoIt3 package I highly recommend that you download it from here - you get lots of helpful utilities to help you code in AutoIt. M23
    1 point
  7. There are pleanty of ways with the _IE functions. You can use my signature to use xpath to grab the IEdom object by xpath...example ; full $yourXpath = "//span[contains(@id,'somethingContainedWithin')]/div[@title='title_something']/a" ; alternate $yourXpath = "//span[@id='someNumbers']//a[.='Text']" ; simple, if only link with text: $yourXpath = "//a[.='Text']" $aObjects = BGe_IEGetDOMObjByXPathWithAttributes($oIE, $yourXpath) _IEAction($aObjects[0], "Focus") _IEAction($aObjects[0], "Click")  If you absolutly need to click the span, then do this: _IEAction($aObjects[0].parentNode.parentNode, "Click")
    1 point
  8. JLogan3o13

    Script job for 50$

    Changing the wording doesn't mean it doesn't violate the rules (not mentioning how sad it is to A: be cheating at a video game and B: be so bad at cheating you have to pay someone to do it for you). You will not receive help on this request.
    1 point
  9. Soler, The RTF page is created by a UDF and returns a handle, not a ControlID. As a result, you cannot use the GUICtrl* functions as they only work with controls created using AutoIt's native funtions. This amended script - using the correct functions to hide/show the RTF page - shows how it should be done: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <TreeViewConstants.au3> #include <ScrollBarConstants.au3> #include <GuiEdit.au3> #include <file.au3> #include <GuiRichEdit.au3> _Main() Func _Main() Local $maintree, $about, $about_show, $msg, $company Local $page1, $page1_show, $page1_open, $page1_read Local $page2, $page2_show, $page2_open, $page2_read Local $page3, $page3_show, $page3_open, $page3_read Local $hRichEdit ; FILES TO DISPLAY ;Company ;PAGE1 file ;Local $page1_open = FileOpen("page1.txt", 0) ; No need to open the files to read them <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $page1_read = FileRead("page1.txt") ;PAGE2 file ;Local $page2_open = FileOpen ("page2.rtf", 0) $page2_read = FileRead ("page2.rtf") ;PAGE3 file ;Local $page3_open = FileOpen("c:\it\page3.txt", 0) ;$page3_read = FileRead($page3_open) ;<------------------------------------------------------------------------------------------------------------------------------------------------------ ; MAIN GUI $hGui = GUICreate("Company Helpdesk Guide", 1100, 685, -1, -1, BitOR($GUI_SS_DEFAULT_GUI, $WS_SIZEBOX, $WS_THICKFRAME, $WS_SYSMENU, $WS_MAXIMIZEBOX)) ; TreeView main categories $maintree = GUICtrlCreateTreeView(10, 10, 150, 640) $about = GUICtrlCreateTreeViewItem("About", $maintree) $company = GUICtrlCreateTreeViewItem("Company", $maintree) ; SubCategories (COMPANY) $page1 = GUICtrlCreateTreeViewItem("Text file", $company) $page2 = GUICtrlCreateTreeViewItem("RTF file", $company) $webmail = GUICtrlCreateTreeViewItem("Another Page", $company) ; FrontPage $about_show = GUICtrlCreateLabel("Company Helpdesk Guide - v.1.0." & @CRLF & "Copyright" & Chr(169) & "2013 - Company du Nord", 500, 280, 500, 200) ; Make and hide pages ;Company ;PAGE 1 $page1_show = GUICtrlCreateEdit($page1_read, 185, 10, 900, 640, BitOR(0, $ES_READONLY, $WS_VSCROLL)) GUICtrlSetState(-1, $GUI_HIDE) ;PAGE 2 $page2_show = _GUICtrlRichEdit_Create($hGui,$page2_read, 185, 10, 900, 640, BitOR($WS_CHILD, $ES_READONLY, $ES_MULTILINE, $WS_VSCROLL, $ES_AUTOVSCROLL)) WinSetState($page2_show, "", @SW_HIDE) ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;PAGE 3 $page3_show = GUICtrlCreateEdit("Another Page" & @CRLF & $page3_read, 185, 10, 900, 640, BitOR(0, $ES_READONLY, $WS_VSCROLL)) GUICtrlSetState(-1, $GUI_HIDE) GUISetState() ; Cases to show and hide pages While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ; Use proper constants - not magic numbers _GUICtrlRichEdit_Destroy($hRichEdit) ExitLoop Case $msg = $about ;(LABEL) GUICtrlSetState($page1_show, $GUI_HIDE) WinSetState($page2_show, "", @SW_HIDE) ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< GUICtrlSetState($about_show, $GUI_SHOW) ;FileClose($page1_open) ; as yo didi not open - no need to close Case $msg = $page1 ;(TEXT FILE) GUICtrlSetState($about_show, $GUI_HIDE) WinSetState($page2_show, "", @SW_HIDE) ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< GUICtrlSetState($page1_show, $GUI_SHOW) GUICtrlSetBkColor($page1_show, 0xFFFFFF) ;FileClose;$page2_open) Case $msg = $page2 ;(RTF FILE) GUICtrlSetState($page1_show, $GUI_HIDE) GUICtrlSetState($about_show, $GUI_HIDE) WinSetState($page2_show, "", @SW_SHOW) ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;FileClose($page1_open) EndSelect WEnd GUIDelete() Exit EndFunc ;==>_Main I have also added some comments - I hope they are useful. Please ask if you have any questions. M23
    1 point
  10. Hi Wombat it happens that if you are using win7 x64 there are 2 version of IE on your system, 64 and 32 bit versions, well, if this is your case, be aware that some problems arise if you run the 64 bit version in conjuction with some plugins, (i had problems with java runtime 6.xx & IE10 x64 for example). In my case, i solved forcing the use of ie10 x32. just make a link that points to the 32bit version instead of the 64bit. i hope this may help. bye
    1 point
  11. water

    Managing Several exe files

    That's exactly what my code does. I use it in an evironment where 30 instances of a script might be started by an application at the same time.
    1 point
  12. My small stab at it... >Here
    1 point
  13. This might have been it '?do=embed' frameborder='0' data-embedContent>> ward.
    1 point
  14. There is a UDF in Example scripts, well full program, that cam get an image if a full webpage, even while not at that page, I cannot remember name of it though. But studying it would certainly reveal how to take full page image while at it. I think it required Aero theme, but that's all I can recall.
    1 point
×
×
  • Create New...