jeantje Posted May 6, 2009 Posted May 6, 2009 Does anyone know something about u3 because i want to make my autoit app support u3 but i know that i can acces the data folder of an u3 app with the var %U3_APP_DATA_PATH% but it doesn't work? Test App MsgBox(0, "", IniRead("%U3_APP_DATA_PATH%\App.ini", "app", "text", "Failed!")) App.ini [app] text=Succes!
martin Posted May 6, 2009 Posted May 6, 2009 Does anyone know something about u3 because i want to make my autoit app support u3 but i know that i can acces the data folder of an u3 app with the var %U3_APP_DATA_PATH% but it doesn't work? Test App MsgBox(0, "", IniRead("%U3_APP_DATA_PATH%\App.ini", "app", "text", "Failed!")) App.ini [app] text=Succes!I know nothing about U3 but I guess that what you need is MsgBox(0, "", IniRead(EnvGet("U3_APP_DATA_PATH") & "\App.ini", "app", "text", "Failed!")) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Authenticity Posted May 6, 2009 Posted May 6, 2009 Actually what he did is correct but you need also to set the ExpandEnvStrings option like: Opt("ExpandEnvStrings", 1)
jeantje Posted May 6, 2009 Author Posted May 6, 2009 I know nothing about U3 but I guess that what you need is MsgBox(0, "", IniRead(EnvGet("U3_APP_DATA_PATH") & "\App.ini", "app", "text", "Failed!")) Yay, you actually saved my day! and why Authenticity it works without?
martin Posted May 6, 2009 Posted May 6, 2009 Actually what he did is correct but you need also to set the ExpandEnvStrings option like:Opt("ExpandEnvStrings", 1)True, I had forgotten that. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
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