Sign in to follow this  
Followers 0
Xav

ini won't work.

8 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Try

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

Don't work :S

Share this post


Link to post
Share on other sites

Don't work :S

Try the send without quotes....

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thanks

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