Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Installing Script



  • Please log in to reply
3 replies to this topic
Outline
  • Members
  • 14 posts
  • Last active: Oct 20 2015 08:25 AM
  • Joined: 18 Sep 2015

I am having trouble coming up with a way to get the script to copy itself to a different location. I cannot seem to get the script to copy itself. Thank you in advance.

-Outline



boiler
  • Members
  • 252 posts
  • Last active: Nov 07 2015 09:39 PM
  • Joined: 04 Jun 2014
✓  Best Answer
FileCopy, %A_ScriptFullPath%, %A_ScriptDir%\NewName.ahk

If you want it in a different directory, you can change that.



Outline
  • Members
  • 14 posts
  • Last active: Oct 20 2015 08:25 AM
  • Joined: 18 Sep 2015

Haha! Thank you so much! On another note, Do you know where there's a list of the things like %A_ScriptFullPath% and %A_ScriptDir%?



boiler
  • Members
  • 252 posts
  • Last active: Nov 07 2015 09:39 PM
  • Joined: 04 Jun 2014

You're welcome.

 

http://ahkscript.org...les.htm#BuiltIn