Raised This Month: $ Target: $400
 0% 

[AHK] Move .smx to plugins folder and overwrite old


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 07-29-2014 , 04:14   [AHK] Move .smx to plugins folder and overwrite old
Reply With Quote #1

I made a simple AHK script that searches for newly compiled .smx files and moves them to your plugins folder (overwriting any old version if one exists - didn't bother with making a backup).

Code:
#NoEnv
#SingleInstance, Force

Loop
{
    Loop, .\compiled\*smx
    {
       FileMove, .\compiled\%A_LoopFileName%, ..\plugins, 1
    }
    Sleep, 5000
}
Save as smx.ahk. Install autohotkey if you don't have it.

Put this in your scripting\ folder (same folder that compile.exe is) and run it.

The folders are relatively pathed, so you don't need to change the filepath.

Some day I might figure out how to make it run automatically when you run compile.exe, but I'm not good enough to figure out how to do that immediately ;p
__________________

Last edited by Chdata; 07-29-2014 at 04:36.
Chdata is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode