| View previous topic :: View next topic |
| Author |
Message |
ladiko
Joined: 13 Jul 2006 Posts: 290 Location: Berlin
|
Posted: Sun Jul 05, 2009 8:49 am Post subject: |
|
|
win2000? does this work? | Code: | start -> run -> cmd
del C:\Docume~1\Admin\Locals~1\Temp\AutoHotkey\Compiler\AddResource.script |
|
|
| Back to top |
|
 |
pekkle
Joined: 20 Jan 2009 Posts: 13
|
Posted: Mon Jul 06, 2009 9:21 am Post subject: |
|
|
| m0h4n wrote: | I get this error message when i add something in the resource tab
any solution for that? | I have no problem, may be you don't have administrator authority  |
|
| Back to top |
|
 |
ladiko
Joined: 13 Jul 2006 Posts: 290 Location: Berlin
|
Posted: Mon Jul 06, 2009 9:39 am Post subject: |
|
|
| no, no, he is the user "admin", cause there is always %AppData% used. |
|
| Back to top |
|
 |
pekkle
Joined: 20 Jan 2009 Posts: 13
|
Posted: Mon Jul 06, 2009 10:38 am Post subject: |
|
|
btw, is it the up-to-date version?
I find that version in mid June should not prompt that message  |
|
| Back to top |
|
 |
m0h4n
Joined: 22 Jul 2007 Posts: 86
|
Posted: Mon Jul 06, 2009 4:50 pm Post subject: |
|
|
ok... sorry for the late reply....
My OS is xp sp2 and the user is fully privileged (group of administrators)
I also checked it with the latest version too.... still same error.. i'm sure there is no problem with compiler as you all hav already tested it... i need to figure it out on my own the prob my pc has...  |
|
| Back to top |
|
 |
ladiko
Joined: 13 Jul 2006 Posts: 290 Location: Berlin
|
Posted: Tue Jul 07, 2009 10:08 am Post subject: |
|
|
| ladiko wrote: | ...
does this work? | Code: | start -> run -> cmd
del C:\Docume~1\Admin\Locals~1\Temp\AutoHotkey\Compiler\AddResource.script |
|
|
|
| Back to top |
|
 |
m0h4n. Guest
|
Posted: Tue Jul 07, 2009 2:37 pm Post subject: |
|
|
| yes ladiko... That command works fine... Even ahk script does it... |
|
| Back to top |
|
 |
ladiko
Joined: 13 Jul 2006 Posts: 290 Location: Berlin
|
Posted: Tue Jul 07, 2009 3:15 pm Post subject: |
|
|
| crazy hmm |
|
| Back to top |
|
 |
Drugwash
Joined: 07 Sep 2008 Posts: 921 Location: Ploiesti, RO
|
Posted: Wed Jul 08, 2009 9:02 pm Post subject: |
|
|
| It may just be a matter of timing. Try to add a Sleep delay of 1000-3000 ms after the delete. |
|
| Back to top |
|
 |
ladiko
Joined: 13 Jul 2006 Posts: 290 Location: Berlin
|
Posted: Wed Jul 08, 2009 9:10 pm Post subject: |
|
|
the best thing is, it looks like a custom error message, not one from autohotkey itself. so now i search in the source code for "couldn't delete" and i found this lines: | Code: | 81 _Error_Exit(Error_Message . "Couldn't delete """ . Log_File . """")
...
2042 _Error_Exit(Error_Message . "Couldn't delete " . UPX_Exe)
...
2204 _Error_Exit(Error_Message . "Couldn't delete folder " . Lib_Dir) | nothing more and AddResource.script is not the log file, upx.exe or the lib dir... |
|
| Back to top |
|
 |
pekkle
Joined: 20 Jan 2009 Posts: 13
|
Posted: Thu Jul 09, 2009 6:01 am Post subject: |
|
|
| ladiko wrote: | the best thing is, it looks like a custom error message, not one from autohotkey itself. so now i search in the source code for "couldn't delete" and i found this lines: | Code: | 81 _Error_Exit(Error_Message . "Couldn't delete """ . Log_File . """")
...
2042 _Error_Exit(Error_Message . "Couldn't delete " . UPX_Exe)
...
2204 _Error_Exit(Error_Message . "Couldn't delete folder " . Lib_Dir) | nothing more and AddResource.script is not the log file, upx.exe or the lib dir... |
that's why I said that version in mid June should not prompt that message  |
|
| Back to top |
|
 |
ladiko
Joined: 13 Jul 2006 Posts: 290 Location: Berlin
|
Posted: Thu Jul 09, 2009 6:55 am Post subject: |
|
|
| ohh sorry, i'm tooo slow. if you and me have the same point of view, i think it's not a bug!? |
|
| Back to top |
|
 |
forgotten_soul
Joined: 22 Jan 2009 Posts: 4
|
Posted: Tue Jul 21, 2009 3:01 pm Post subject: Change Values from inside my script |
|
|
Hello.
I would like to know,
whether there is any way to set certain values
(version info, icon, owner information)
from INSIDE my SCRIPT.
So that I have my script,
and in some sort of compiler-directive (perhaps ina comment ?)
I can then change the version info and the icon.
This would enable me to just have to click on "compile" without having to care about the right data, as it would be set in my script and then parsed by the compiler.
Regards,
Karlheinz Meier |
|
| Back to top |
|
 |
ladiko
Joined: 13 Jul 2006 Posts: 290 Location: Berlin
|
Posted: Tue Jul 21, 2009 3:05 pm Post subject: |
|
|
| what's the problem with the extra ini file? you would like to copy the comment to all your scripts? maybe try to use the defaults button?! |
|
| Back to top |
|
 |
forgotten_soul
Joined: 22 Jan 2009 Posts: 4
|
Posted: Tue Jul 21, 2009 3:57 pm Post subject: |
|
|
the problem is that I already have my comments and a versioning inside the file.
So I would like something like
(in the script)
; comment : actual version 2.20
version:=2.20
which is then transferred automatically.
As we have different verisions of out script running on different machines,
we would never know whether the ini file is the apropriate one for the script version.
Regards,
Karlheinz |
|
| Back to top |
|
 |
|