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 

nDroid (formerly 320MPH) Ultra Fast Anything-Launcher
Goto page Previous  1, 2, 3 ... 21, 22, 23, 24  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
icefreez



Joined: 15 May 2007
Posts: 169

PostPosted: Fri Aug 21, 2009 3:38 pm    Post subject: Reply with quote

Can a Mod split out this new mod of 320 MPH into its own thread. this is one really confusing thread.
Back to top
View user's profile Send private message
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Mon Aug 24, 2009 2:55 pm    Post subject: Reply with quote

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



Joined: 06 Feb 2005
Posts: 26

PostPosted: Thu Dec 31, 2009 8:04 am    Post subject: Reply with quote

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



Joined: 27 May 2007
Posts: 4999

PostPosted: Thu Dec 31, 2009 10:49 am    Post subject: Reply with quote

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) Question
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
chessonly



Joined: 06 Feb 2005
Posts: 26

PostPosted: Thu Dec 31, 2009 10:55 am    Post subject: Reply with quote

from the harddrive
Back to top
View user's profile Send private message
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Thu Dec 31, 2009 11:51 am    Post subject: Reply with quote

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



Joined: 06 Feb 2005
Posts: 26

PostPosted: Thu Dec 31, 2009 2:16 pm    Post subject: Reply with quote

thanks that works perfectly Smile
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
View user's profile Send private message
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Thu Dec 31, 2009 2:28 pm    Post subject: Reply with quote

Update code above, should now remove entry from runlist.txt as well.
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
chessonly



Joined: 06 Feb 2005
Posts: 26

PostPosted: Thu Dec 31, 2009 2:58 pm    Post subject: Reply with quote

works ideally. thanks a lot for the help
Back to top
View user's profile Send private message
tg3793



Joined: 19 Jan 2010
Posts: 12
Location: Philippines

PostPosted: Wed Jan 20, 2010 12:19 pm    Post subject: my320MPH working great. Reply with quote

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



Joined: 05 Sep 2009
Posts: 1591
Location: Somewhere near you

PostPosted: Thu Jan 21, 2010 4:23 am    Post subject: Reply with quote

Wow Rajat == ahk einstein
hehe...

_________________

The quick onyx goblin jumps over the lazy dwarf
Back to top
View user's profile Send private message
MrShortcut



Joined: 21 Jul 2009
Posts: 112

PostPosted: Sun Aug 15, 2010 7:55 pm    Post subject: Reply with quote

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



Joined: 26 Dec 2005
Posts: 8688

PostPosted: Sun Aug 15, 2010 8:36 pm    Post subject: Reply with quote

MrShortcut wrote:
Can someone tell me what code I would need to add?


You could try asking here: http://www.codenite.com/forum/index.php
Back to top
View user's profile Send private message Send e-mail
MrShortcut



Joined: 21 Jul 2009
Posts: 112

PostPosted: Sun Aug 15, 2010 9:26 pm    Post subject: Reply with quote

SKAN wrote:

You could try asking here: http://www.codenite.com/forum/index.php


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



Joined: 27 May 2007
Posts: 4999

PostPosted: Mon Aug 16, 2010 10:10 am    Post subject: Reply with quote

@MrShortcut you can try Fures's version:
http://www.autohotkey.com/forum/viewtopic.php?p=249117#249117
but there are also persistent versions of the original in this thread (somewhere) Smile
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
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 ... 21, 22, 23, 24  Next
Page 22 of 24

 
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