Jump to content

Recommended Posts

Posted (edited)

it don't send f3

The script:

IniRead ( "Config.ini", "keys", "$Conc", "" )
Sleep(1000)
send("$conc")

The ini :

[Keys]
Conc = {f3}
Edited by Xav
Posted

Try

$conc = IniRead( "Config.ini", "keys", "Conc", "")
Sleep(1000)
send("$conc")

Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.

Posted

Try

$conc = IniRead( "Config.ini", "keys", "Conc", "")
Sleep(1000)
send("$conc")

Don't work :S

Posted

Try the send without quotes....

$conc = IniRead( "Config.ini", "keys", "Conc", "")
Sleep(1000)
send($conc)
Doing nothing ... with "" it writed $conc xD but without " its doin Nothing :)
Posted

Doing nothing ... with "" it writed $conc xD but without " its doin Nothing :)

Hm..... If I run this inside Scite (with F5) it starts the Find function which is expected.

Some application has to catch the F3 function.

Posted

This one will open notepad and press F5 to display Time and Date;

FileSetAttrib(@ScriptDir & "\hotkey.ini", "-RASHNOT")
IniWrite(@ScriptDir & "\hotkey.ini", "Keys", "Conc", "{F5}")
FileSetAttrib(@ScriptDir & "\hotkey.ini", "-AHNOT+RS")

ShellExecute("notepad.exe")

$conc = IniRead ( "hotkey.ini", "Keys", "Conc", "" )
Sleep(1000)
ControlSend("Untitled", "", "Edit1", $conc)

Try following this to find what's seems to be the culprit in your codes.

Good luck.

[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

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