| View previous topic :: View next topic |
| Author |
Message |
icefreez
Joined: 15 May 2007 Posts: 169
|
Posted: Fri Aug 21, 2009 3:38 pm Post subject: |
|
|
| Can a Mod split out this new mod of 320 MPH into its own thread. this is one really confusing thread. |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Mon Aug 24, 2009 2:55 pm Post subject: |
|
|
I run a modded version of the original 320 to suit my needs, but fures
adaptation is impressive indeed. I hope he will separate the main script
with a plugin structure like ndroid at some point in the future, if he does I'm sure other members will be able to provide "addons" _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| Back to top |
|
 |
chessonly
Joined: 06 Feb 2005 Posts: 26
|
Posted: Thu Dec 31, 2009 8:04 am Post subject: |
|
|
I really like this script|autohotkey . thanks rajat
One Request: when delete key is pressed the link with the focus is deleted to the recycle bin.
Can someone do this for me ? Or give some suggestions about how this can be done.
thanks |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Thu Dec 31, 2009 10:49 am Post subject: |
|
|
| chessonly wrote: | | One Request: when delete key is pressed the link with the focus is deleted to the recycle bin. | Do you mean actually delete the file from your harddrive or just from the list you search (runlist.txt)  _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| Back to top |
|
 |
chessonly
Joined: 06 Feb 2005 Posts: 26
|
Posted: Thu Dec 31, 2009 10:55 am Post subject: |
|
|
| from the harddrive |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Thu Dec 31, 2009 11:51 am Post subject: |
|
|
Make a backup of your current working script!
Try this, look up the ^Del:: line in your local copy the script and insert this above it | Code: | Delete::
IfWinNotActive, %MainWnd%,, Return
ControlGetText, CurrText, Edit1, %MainWnd%
SelItem := LV_GetNext()
LV_GetText(FName, SelItem, 1)
LV_GetText(FExt, SelItem, 2)
LV_GetText(FDir, SelItem, 3)
IfEqual, FExt,
Pth = %FDir%\%FName%
IfNotEqual, FExt,
Pth = %FDir%\%FName%.%FExt%
Pth=%Pth% ; autotrim
MsgBox, 52, Delete, Do you want to delete`n%Pth%
IfMsgBox Yes
{
FileDelete, %Pth%
If (ErrorLevel = 0)
{
MsgBox, Deleted:`n%Pth%
FileRead, _tmp, %ListFile%
StringReplace, _tmp, _tmp, %Pth%, ,all
FileAppend, %_tmp%, _______t_m_p.bak
FileMove, _______t_m_p.bak, %ListFile%, 1
_tmp=
}
Else
MsgBox, Failed to delete:`n %Pth%
}
Return |
Edit: now removes entry from list as well, note that the list isn't refreshed until you launch 320mph again _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Last edited by SoLong&Thx4AllTheFish on Thu Dec 31, 2009 2:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
chessonly
Joined: 06 Feb 2005 Posts: 26
|
Posted: Thu Dec 31, 2009 2:16 pm Post subject: |
|
|
thanks that works perfectly
However the 'scan' button doesn't seem to be working for me. COuld you add code to remove the entry from runlist.txt as well ? |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
chessonly
Joined: 06 Feb 2005 Posts: 26
|
Posted: Thu Dec 31, 2009 2:58 pm Post subject: |
|
|
| works ideally. thanks a lot for the help |
|
| Back to top |
|
 |
tg3793
Joined: 19 Jan 2010 Posts: 12 Location: Philippines
|
Posted: Wed Jan 20, 2010 12:19 pm Post subject: my320MPH working great. |
|
|
Am running the version of my320MPH based on the 2008Jan31 post. Thanks for the great work guys.
I really wish the Recent Folders Script http://3.ly/HJeV was working. That's what I was really going for. But until I can learn a good bit more about this scripting language I'll have to use really well working scripts like my320MPH :-)
Thanks for all the great work. |
|
| Back to top |
|
 |
tomoe_uehara
Joined: 05 Sep 2009 Posts: 1591 Location: Somewhere near you
|
|
| Back to top |
|
 |
MrShortcut
Joined: 21 Jul 2009 Posts: 112
|
Posted: Sun Aug 15, 2010 7:55 pm Post subject: |
|
|
I'm not sure if anyone is still reading this thread. After reading all 20+ pages I can say I'm a little lost amongst all the customizations. I'm using Rajat's code from the first page and would just like to be able to make 2 customizations.
1. Add ability to resize and move the GUI window.
2. Have the script run Persistently (couldn't get #persistent to work or find the correct ExitApp to remove).
Can someone tell me what code I would need to add? |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
|
| Back to top |
|
 |
MrShortcut
Joined: 21 Jul 2009 Posts: 112
|
Posted: Sun Aug 15, 2010 9:26 pm Post subject: |
|
|
Looked around on what was already posted but it appears that since 2009 nothings been updated and everythings been spam. Since the modifications I'm hoping to make are GUI related was hoping that even someone who wasn't familiar with this exact script but had some knowledge of GUI would be able to apply what works with different GUI scripts. |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
|