Sign in to follow this  
Followers 0
JohnBailey

send :

8 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Edited by BigDod


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

send(chr(58))

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


A decision is a powerful thing

Share this post


Link to post
Share on other sites

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.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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")

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

AutoIt is simple, subtle, elegant. © AutoIt Team

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

: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.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
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
Sign in to follow this  
Followers 0