AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compile_AHK II - for those who compile!
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 26, 27, 28  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Sun Jul 05, 2009 8:49 am    Post subject: Reply with quote

win2000? does this work?
Code:
start -> run -> cmd
del C:\Docume~1\Admin\Locals~1\Temp\AutoHotkey\Compiler\AddResource.script
Back to top
View user's profile Send private message
pekkle



Joined: 20 Jan 2009
Posts: 13

PostPosted: Mon Jul 06, 2009 9:21 am    Post subject: Reply with quote

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 Razz
Back to top
View user's profile Send private message
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Mon Jul 06, 2009 9:39 am    Post subject: Reply with quote

no, no, he is the user "admin", cause there is always %AppData% used.
Back to top
View user's profile Send private message
pekkle



Joined: 20 Jan 2009
Posts: 13

PostPosted: Mon Jul 06, 2009 10:38 am    Post subject: Reply with quote

btw, is it the up-to-date version?
I find that version in mid June should not prompt that message Twisted Evil
Back to top
View user's profile Send private message
m0h4n



Joined: 22 Jul 2007
Posts: 86

PostPosted: Mon Jul 06, 2009 4:50 pm    Post subject: Reply with quote

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... Rolling Eyes
Back to top
View user's profile Send private message Yahoo Messenger
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Tue Jul 07, 2009 10:08 am    Post subject: Reply with quote

ladiko wrote:
...
does this work?
Code:
start -> run -> cmd
del C:\Docume~1\Admin\Locals~1\Temp\AutoHotkey\Compiler\AddResource.script
Back to top
View user's profile Send private message
m0h4n.
Guest





PostPosted: Tue Jul 07, 2009 2:37 pm    Post subject: Reply with quote

yes ladiko... That command works fine... Even ahk script does it...
Back to top
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Tue Jul 07, 2009 3:15 pm    Post subject: Reply with quote

crazy hmm
Back to top
View user's profile Send private message
Drugwash



Joined: 07 Sep 2008
Posts: 921
Location: Ploiesti, RO

PostPosted: Wed Jul 08, 2009 9:02 pm    Post subject: Reply with quote

It may just be a matter of timing. Try to add a Sleep delay of 1000-3000 ms after the delete.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Wed Jul 08, 2009 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
pekkle



Joined: 20 Jan 2009
Posts: 13

PostPosted: Thu Jul 09, 2009 6:01 am    Post subject: Reply with quote

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 Twisted Evil
Back to top
View user's profile Send private message
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Thu Jul 09, 2009 6:55 am    Post subject: Reply with quote

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
View user's profile Send private message
forgotten_soul



Joined: 22 Jan 2009
Posts: 4

PostPosted: Tue Jul 21, 2009 3:01 pm    Post subject: Change Values from inside my script Reply with quote

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
View user's profile Send private message
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Tue Jul 21, 2009 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
forgotten_soul



Joined: 22 Jan 2009
Posts: 4

PostPosted: Tue Jul 21, 2009 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 26, 27, 28  Next
Page 15 of 28

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group