dewild1 Posted October 19, 2007 Posted October 19, 2007 Edit: I should also point out that this is a bug in your code NOT AutoIt and as such does not belong in the AutoIt Bug Reports forum. That is not for reporting bugs in your code.No you shouldn't, because I already did, even calling myself stupid, unless you're trying to be an a$$?
dewild1 Posted October 19, 2007 Posted October 19, 2007 Have you read my reply to your BUG report I locked ? Jos Yes, I am very sorry for being a dumb a$$. Thank you also for enlightening me with @DesktopDir & "\YourProgram.exe" In my defense of being one day old with AutoIT, this is what is in the help file, I was following that and unless some one edumakated me, like you, , i would still be ... Example ; Include a bitmap found in "C:\test.bmp" with the compiled program and put it in "D:\mydir\test.bmp" when it is run $b = True If $b = True Then FileInstall("C:\test.bmp", "D:\mydir\test.bmp")
dewild1 Posted October 19, 2007 Posted October 19, 2007 almost all of the autoit scripts I've written require the admin boost to work in vista. either that or disabling uac. btw you can disable uac by press the windows key + r (to get run box) and use msconfig > tools > disable uac.... for those who don't know.I think ones dealing with the reg, and other "system" type activity, do make UAC go off with a Compiled AutoIT script.In AHK, every Compiled AHK Script sets off UAC.
Nahuel Posted October 20, 2007 Posted October 20, 2007 In my defense of being one day old with AutoIT, this is what is in the help file, I was following that and unless some one edumakated me, like you, , i would still be ... Example ; Include a bitmap found in "C:\test.bmp" with the compiled program and put it in "D:\mydir\test.bmp" when it is run $b = True If $b = True Then FileInstall("C:\test.bmp", "D:\mydir\test.bmp") And... what's wrong with that?
dewild1 Posted October 20, 2007 Posted October 20, 2007 And... what's wrong with that?Nothing, I am just saying that was all I had to go on. and when I was searching the forums, trying to learn more, I came across this three pager, seemed to be the same trouble I was having and I made some stupid posts because I miss spelled something, and that was my main problem, and I was just saying that when one of the developers pointed out that I should have been doing this,@DesktopDir & "\YourProgram.exe"Even though the help file on file install says nothing about that...
BrettF Posted October 20, 2007 Posted October 20, 2007 Nothing, I am just saying that was all I had to go on. and when I was searching the forums, trying to learn more, I came across this three pager, seemed to be the same trouble I was having and I made some stupid posts because I miss spelled something, and that was my main problem, and I was just saying that when one of the developers pointed out that I should have been doing this,@DesktopDir & "\YourProgram.exe"Even though the help file on file install says nothing about that...Its common to know that. If you ever used the likes of AutoIt 1-2-3 by Val, you would probably have picked it up. If you bothered to have a read 2 topics up (FileGetTime) you would have seen the example... Nether less, I do encourage you to perceiver and to continue your career as an AutoIt Coder. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
ResNullius Posted October 20, 2007 Posted October 20, 2007 Its common to know that.Yes, but not necessarily for a noob. However, the helpfile under "Language Reference -> Macros" states AutoIt has an number of Macros that are special read-only variables used by AutoIt. Macros start with the @ character instead of the usual $ so are easy to tell apart. As with normal variables you can use macros in expressions...(emphasis mine). So a noob who spent some time with the helpfile would soon realize that "$" variables aren't enclosed in quotes (with the exception- exception! of course there's an exception- of the expand variables option) and what applies to "$" variables applies to "@" macros too.
BrettF Posted October 20, 2007 Posted October 20, 2007 Exactly... That is a much better way to put it. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Developers Jos Posted October 20, 2007 Developers Posted October 20, 2007 Topic is done ... *click * SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts