Jump to content

Recommended Posts

Posted

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$$?

  • Replies 48
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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 :P ...

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")
Posted

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.

Posted

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?
Posted

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...

Posted

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. <_<
Posted

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.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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