Jump to content

How i can copy a number from one window and paste it into my script to equal a variable?


Recommended Posts

So this is what i have so far:

WinActivate("Window with thing i want to copy")

Send("{LSHIFT down}")
Send("{LEFT down}")
Sleep(550)
Send("{LSHIFT up}")
Send("{LEFT up}")

Send("{LCTRL down}")
Send("{c down}")
Sleep(250)
Send("{LCTRL up}")
Send("{c up}")

WinActivate("My script that is running all of this")

MouseClick("left", 1348, 190)

Send("{LCTRL down}")
Send("{v down}")
Sleep(250)
Send("{LCTRL up}")
Send("{v up}")

Link to comment
Share on other sites

  • Moderators

@Astro_Kitty welcome to the forum. Number one, you state "this is what I have so far" - you don't state whether it is working as written, or giving you an error, or precisely what you need help with. Secondly, if you would explain exactly what you are trying to accomplish it would be much easier to help you; at present we're simply having to guess at a bunch of Send commands. Help us help you with a detailed explanation ;)

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Once you copy with the ctrl+c you can then use ClipGet ( ) to assign to a variable.

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

Thats good but it probably could be done better and or faster. ;)

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...