Jump to content

Recommended Posts

Posted

I don't know how to search the forums using one character (eg : ) , so I started a thread. My apologies if this already exists. Mods can let me know and just remove this one.

I'm wanting to figure out how to send : without having to use shiftdown shiftup. I tried send('{:}'), but that doesn't do the trick.

I'm wanting to use this when sending file save locations. Doing something like this ControlSend("Save As", "" , "Edit1", "C:\temp\file.txt") is inconsistent and sometimes will type C;\temp\file.txt

A decision is a powerful thing
Posted (edited)

send(chr(58))
oÝ÷ ØGb¶·«y§i¢ËZºÚ"µÍÛÛÛÙ[
    ][ÝÔØ]HÉ][ÝË  ][ÝÉ][ÝÈ    ][ÝÑY]I][ÝË ][ÝÐÎÌLÝ[  ÌLÙ[K ][ÝËJB

Edited by BigDod


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted
  JohnBailey said:

thanks! I feel like a yuts. I did a search for ASCII after reading your reply and found the list. thank you BigDod

everybody has days like that man, no worries.
Posted

  cameronsdad said:

everybody has days like that man, no worries.

thanks cameronsdad for the encouragement It's definitely one of those days

I'm still getting the same issue which is totally odd.

This is my exact script (striped down)

$window = "Save As"
ControlSend($window,"","Edit1","i"&chr(58)&"\Download files\testing")
A decision is a powerful thing
Posted

If you want to set text of “Save As” window, maby you can try like this (its faster i think):

ControlSetText("Save As", "", "Edit1", "C:\temp\file.txt")

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  MsCreatoR said:

If you want to set text of Save As window, maby you can try like this (its faster i think):

ControlSetText("Save As", "", "Edit1", "C:\temp\file.txt")

:whistle: I didn't even think about that for Save As windows!! I prefer SetText over Send for the speed reason AND that did it! I guess the speed was causing problems. I'd like to know why though.

A decision is a powerful thing
Posted
  JohnBailey said:

:whistle: I didn't even think about that for Save As windows!! I prefer SetText over Send for the speed reason AND that did it! I guess the speed was causing problems. I'd like to know why though.

Any reason without seeing more code would just be a guess, but my guess would be that the save as window was still refreshing the explorer view when the Send() was executing and it missed the keystroke(s) because of that.

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
  • Recently Browsing   0 members

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