Jump to content
Sign in to follow this  
Xav

ini won't work.

Recommended Posts

Xav

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
Kerros

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
Xav

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
Dickb

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
Xav

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
Dickb

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
aslani

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.