Jump to content

ini won't work.


Recommended Posts

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.

Link to comment
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.

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...