Xav Posted May 29, 2008 Posted May 29, 2008 (edited) it don't send f3 The script: IniRead ( "Config.ini", "keys", "$Conc", "" ) Sleep(1000) send("$conc") The ini : [Keys] Conc = {f3} Edited May 29, 2008 by Xav
Kerros Posted May 29, 2008 Posted May 29, 2008 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.
Xav Posted May 29, 2008 Author Posted May 29, 2008 Try $conc = IniRead( "Config.ini", "keys", "Conc", "") Sleep(1000) send("$conc") Don't work :S
Dickb Posted May 29, 2008 Posted May 29, 2008 Don't work :STry the send without quotes.... $conc = IniRead( "Config.ini", "keys", "Conc", "") Sleep(1000) send($conc)
Xav Posted May 29, 2008 Author Posted May 29, 2008 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
Dickb Posted May 29, 2008 Posted May 29, 2008 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.
aslani Posted May 30, 2008 Posted May 30, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now