Jump to content
Sign in to follow this  

Can Text Be Sent To A String Via $cmdline[0]

Recommended Posts

I have list of 3 letter commands like FFS

this is the script I have

If not ProcessExists("UiView32.exe") Then

Run ("C:\Program Files\Peak Systems\UI-View32\Uiview32.exe")



WinSetState ( "UI-NWS V2.71", "", @SW_MAXIMIZE )

WinActivate ( "UI-NWS V2.71")

MouseClick("left", 146, 29 )

WinSetState ( "Finger WxSvr", "", @SW_MAXIMIZE )

WinActivate ( "Finger WxSvr")

MouseClick("left", 14, 560 )

send ("TBW")

send ($cmdline[0])

MouseClick("left", 780, 559 )

WinActivate ( "- TBw$cmdline[0]")

what do i need to do so i can send text as a commd line once it is a exe

thank for all help

Share this post

Link to post
Share on other sites

I'd change the last three lines:

send ($cmdline[0], 1) ;extra parameter specifying "raw" keys
MouseClick("left", 780, 559 )
WinActivate ( "- TBw" & $cmdline[0]);use & to join variables with text

SeeFAQ #9 and #10 in the help file for more explanation.

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...