AutoHotkey Community

It is currently May 26th, 2012, 7:52 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 414 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18 ... 28  Next
Author Message
 Post subject:
PostPosted: July 5th, 2009, 9:49 am 
Offline

Joined: July 14th, 2006, 12:31 am
Posts: 290
Location: Berlin
win2000? does this work?
Code:
start -> run -> cmd
del C:\Docume~1\Admin\Locals~1\Temp\AutoHotkey\Compiler\AddResource.script


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2009, 10:21 am 
Offline

Joined: January 20th, 2009, 3:29 am
Posts: 13
m0h4n wrote:
I get this error message when i add something in the resource tab

Image

any solution for that?
I have no problem, may be you don't have administrator authority :P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2009, 10:39 am 
Offline

Joined: July 14th, 2006, 12:31 am
Posts: 290
Location: Berlin
no, no, he is the user "admin", cause there is always %AppData% used.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2009, 11:38 am 
Offline

Joined: January 20th, 2009, 3:29 am
Posts: 13
btw, is it the up-to-date version?
I find that version in mid June should not prompt that message :twisted:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2009, 5:50 pm 
Offline

Joined: July 22nd, 2007, 3:18 pm
Posts: 86
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... :roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 7th, 2009, 11:08 am 
Offline

Joined: July 14th, 2006, 12:31 am
Posts: 290
Location: Berlin
ladiko wrote:
...
does this work?
Code:
start -> run -> cmd
del C:\Docume~1\Admin\Locals~1\Temp\AutoHotkey\Compiler\AddResource.script


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 7th, 2009, 3:37 pm 
yes ladiko... That command works fine... Even ahk script does it...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 7th, 2009, 4:15 pm 
Offline

Joined: July 14th, 2006, 12:31 am
Posts: 290
Location: Berlin
crazy hmm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 8th, 2009, 10:02 pm 
Offline
User avatar

Joined: September 8th, 2008, 12:26 am
Posts: 1048
Location: Ploieşti, RO
It may just be a matter of timing. Try to add a Sleep delay of 1000-3000 ms after the delete.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 8th, 2009, 10:10 pm 
Offline

Joined: July 14th, 2006, 12:31 am
Posts: 290
Location: Berlin
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2009, 7:01 am 
Offline

Joined: January 20th, 2009, 3:29 am
Posts: 13
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:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2009, 7:55 am 
Offline

Joined: July 14th, 2006, 12:31 am
Posts: 290
Location: Berlin
ohh sorry, i'm tooo slow. if you and me have the same point of view, i think it's not a bug!?


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 21st, 2009, 4:01 pm 
Offline

Joined: January 22nd, 2009, 9:56 am
Posts: 4
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 21st, 2009, 4:05 pm 
Offline

Joined: July 14th, 2006, 12:31 am
Posts: 290
Location: Berlin
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?!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 21st, 2009, 4:57 pm 
Offline

Joined: January 22nd, 2009, 9:56 am
Posts: 4
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 414 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18 ... 28  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: infogulch, notsoobvious, tomoe_uehara, Xx7 and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group