Jump to content

Search the Community

Showing results for tags 'id'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Member Title




Found 9 results

  1. Hello again I need to click this Submit button, but it's in a lightbox and has no ID (i think) and I can't figure out a way to target it. _IEFormSubmit doesn't work. Thank you
  2. Hi! I have a button where I need to close it! I was doing through clicking same position in screen but there are some id's that have different sizes. What are the possible ways to click this closable button? Is there a way to close it through id? Is there a way to get it's position through it's ID? Thanks in advance!
  3. Hello my friends I have an inquiry after your permission I found a function to get the special line commands for any operation It requires the name of the process to be searched I want to use it to know the process Is this possible with this function Here is the code Func commandLineGet($proc, $strComputer=".") dim $array[1] local $ArrayNumber local $oWMI = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\" & $strComputer & "\root\cimv2") local $oProcessColl = $oWMI.ExecQuery("Select * from Win32_Process where Name= " & '"'& $Proc & '"') local $Process For $Process In $oProcessColl $Process = $Process.Commandline ReDim $Array[UBound($Array)+1] $ArrayNumber = UBound($Array)-1 $array[$ArrayNumber] = $Process Next $ArrayNumber = UBound($Array)-1 $array[0] = $ArrayNumber return $array EndFunc
  4. Hey guys This may be quite simple, but I haven't manage to solve it yet :/ All I want to do is get the ID of Xitem, so I can click it with " _GUICtrlListView_ClickItem" . So I need to find the item based on the that fact that I know the text/string name of that item. #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <WindowsConstants.au3> Example() Func Example() GUICreate("listview items", 300, 300, -1, -1) Local $idListview = GUICtrlCreateListView("col1", 10, 10, 200, 150) ;,$LVS_SORTDESCENDING) Local $idButton = GUICtrlCreateButton("ID_of_Xitem?", 75, 170, 70, 20) Local $idItem1 = GUICtrlCreateListViewItem("Aitem", $idListview) Local $idItem2 = GUICtrlCreateListViewItem("Xitem", $idListview) Local $idItem3 = GUICtrlCreateListViewItem("Zitem", $idListview) GUISetState(@SW_SHOW) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $idButton MsgBox(0,"","ID of Xitem is ?") _GUICtrlListView_ClickItem($clv, ?) EndSwitch WEnd EndFunc ;==>Example
  5. Hey guys! I need your help again. So I am working on a Project with which I can Logoff a User in a Terminal-Server (Windows Server 2012 R2), logged in as Admin. Then backup the users partition and log him back in. Sounds pretty easy for you guys, right? So my problem is... I seem to not be able to get the User ID. You can see and display the ID in a textfile with: Run("query user>>c:\users\example\desktop\helpmeguys.txt") This line just writes a textfile of "query user" on the desktop. This is an example on what it looks like: BENUTZERNAME SITZUNGSNAME ID STATUS LEERLAUF ANMELDEZEIT >wg console 2 Aktiv 17 25.07.2016 08:19 What I need right now is the ID. Any Idea on how to read it off of the Textfile? Please give me examples because I am still a rookie! With kind regards Eddi96
  6. Like it says in the topic, I need the opposite of _GUICtrlListView_GetItemTextString. So I know the string, but want to get the id at what place it is in the ListView. Thanks a lot Reinhardt1Julian
  7. How to _IEFormElementRadioSelect a radio button that doesn't have a radio group's name or ID? _IEFormElementRadioSelect($o_object, $s_string, $s_name) <fieldset class="share-item"> <legend>share a link or news</legend> <div class="share-item-types"><span class="radio-group-label">Discussion type:</span> <span class="radio-group"> <input type="radio" class="fancy" id="discussion-type-general" name="forumtype" value="7" checked="true" tabindex="0"><label class="radio-label" for="discussion-type-general">General</label> <input type="radio" class="fancy" id="discussion-type-job" name="forumtype" value="5" tabindex="0"><label class="radio-label" for="discussion-type-job">Job</label> <input type="radio" class="fancy" id="discussion-type-promotion" name="forumtype" value="8" tabindex="0"><label class="radio-label" for="discussion-type-promotion">Promotion</label> </span> </div> <div class="share-item-group"> <input type="hidden" value="0" name="contentImageCount" id="share-img-total"> <input type="hidden" value="-1" name="contentImageIndex" id="share-img-selected-idx"> <input type="hidden" value="" name="contentImage" id="share-img-selected-url"> <input type="hidden" value="" name="contentEntityID" id="share-entity-id"> <input type="hidden" value="" name="contentUrl" id="share-entity-url"> <div id="share-mode" class="share-mode"> <div class="share-loading"></div> <div id="share-view" class="share-preview"></div> <div class="share-edit"> <ul id="share-edit-list" class="form"> <li id="share-edit-title-wrapper"> <input type="text" name="contentTitle" value="" id="share-edit-title" tabindex="0" class="text share-edit-title" maxlength="70"> </li> <li id="share-edit-meta"></li> <li id="share-edit-summary-wrapper"> <textarea name="contentSummary" id="share-edit-summary" tabindex="0" class="text" maxlength="250"></textarea> </li> <li id="share-include-photo-wrapper"> <input type="checkbox" name="contentImageIncluded" value="true" id="share-include-photo" class="check" checked="checked" tabindex="0"> <label for="share-include-photo">Include Photo</label> </li> <li> <input type="button" name="#" value="Save" class="btn-primary" id="share-edit-submit" tabindex="0"> or <a href="#" tabindex="0" id="share-edit-cancel">Cancel</a> </li> </ul> </div> </div> <div class="post-actions"> <div class="post-actions-row"> <div class="submit"> <input type="submit" name="postItem" value="Share" class="btn-primary share-submit disabled" id="share-submit" tabindex="0" disabled=""> </div> </div> </div> </div> </fieldset> This is what I want to select: <input type="radio" class="fancy" id="discussion-type-job" name="forumtype" value="5" tabindex="0"><label class="radio-label" for="discussion-type-job">Job</label>
  8. Hi, It sounds quite easy, but I haven't found anything to retrieve a listview item ID. I though it was under my noze, until I found this : Unfortunately it's not working (function returning 0), and I'm using the native GUICtrlCreateListView. As the topic above, I want to retreive the item ID of the inserted item in order to create a context menu on it. Thanks for anyhelp. Br, FireFox.
  9. Hello everybody! Here i am with a new, small but usefull UDF. This UDF is for managing 'special' Arrays: When adding elements, then deleting elements in the middle, then the last elements's ID are not changed, i mean they are not shifted You will ask: Why!? For example: You are managing a TreeView in your program, and you want to associate some data (other than simple numbers, like file paths ...) with the TreeViewItem. I don't know any function to do that, but all you can do, is associate a simple number with a TreeViewItem (_GuiCtrlTreeView_SetItemParam). So, you store the data in a simple array, and the id of the data in the array is associated with the TreeViewItem But there is a problem: when you delete an item, and the array element associated with it, other elements in the array are shifted, and their ID in the array is changed! So, the IDs associated with the TreeViewItem becomes invalid! But, when using this UDF, you will not have this problem! Here is the functions list (with calltips) _FixArray_Create( [ iUBound ] ) Create a Fixed id's Array (required: #include "FixArray.au3") _FixArray_Destroy( aArray ) Destroy a Fixed id's Array (required: #include "FixArray.au3") _FixArray_Add( aArray , aValues ) Add a value, or values to a Fixed ID's Array (required: #include "FixArray.au3") _FixArray_Set( aArray , iId , vNewData , [ iSubItem = 0 ] ) Modify an element's value (required: #include "FixArray.au3") _FixArray_Get( aArray, iId ) Get the value(s) contained in the Fixed id's Array element Id (required: #include "FixArray.au3") _FixArray_Del( aArray, iId ) Delete an element of the Fixed id's Array (required: #include "FixArray.au3") _FixArray_Empty( aArray ) Delete all items in a Fixed id's Array (required: #include "FixArray.au3") _FixArray_UBound( aArray , [ iOnlyValides ] ) Return the number of elements in the Fixed id's Array (required: #include "FixArray.au3") _FixArray_IsValid( aArray , iId ) Check an element's validity (have it been deleted) (required: #include "FixArray.au3") Any comments and suggestions are welcome!!! PS: this is the only example i have, because it's what i did in my Scite Project Manager (still in developpement) UDF_FixArray.zip Important: the guy who downloaded the first archive should redownload, cause i made a mistake and uploaded an outdated version.
  • Create New...