Jump to content

Search the Community

Showing results for tags 'Arrays ClipPut Drives'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Categories

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hey guys, back from the grave here(long time no see) I've got a little utility for many of my clients to see and copy-to-clipboard basic computer information for our ticketing system. In this script I want to include any mapped drives during the ClipPut command. Unfortunately I'm not quite sure how to enumerate and convert to text these drives. I can get them to print to console just fine, but I want to include in the ClipPut function. Here is the jist of it. $drives = DriveGetDrive("NETWORK") If @error Then ConsoleWrite("An error occured while retrieving the drives.") Else For $i = 1 To $drives[0] ConsoleWrite(StringUpper($drives[$i]) & " " & DriveMapGet($drives[$i]) & @CRLF) Next EndIf Func Copy() ClipPut("Drives: " & ) EndFunc ;==>Copy Forgive me if I screwed up the autoit-in-forum tags. So at the 3rd to last line after "Drives: " I want it to show each drive letter and path like the ConsoleWrite command does. Any ideas of how to do this without manhandling an array value repeatedly? I'm assuming there has to be a way to do a For...To loop within the ClipPut parenthesis, yes?
×
×
  • Create New...