AutoHotkey Community

It is currently May 27th, 2012, 3:54 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 356 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23, 24  Next
Author Message
 Post subject:
PostPosted: August 21st, 2009, 4:38 pm 
Offline

Joined: May 15th, 2007, 8:59 pm
Posts: 169
Can a Mod split out this new mod of 320 MPH into its own thread. this is one really confusing thread.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 24th, 2009, 3:55 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 9:04 am 
Offline

Joined: February 6th, 2005, 10:40 pm
Posts: 26
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 11:49 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 11:55 am 
Offline

Joined: February 6th, 2005, 10:40 pm
Posts: 26
from the harddrive


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 12:51 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 FAQ
TF : Text files & strings lib, TF Forum


Last edited by SoLong&Thx4AllTheFish on December 31st, 2009, 3:28 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 3:16 pm 
Offline

Joined: February 6th, 2005, 10:40 pm
Posts: 26
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 ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 3:28 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Update code above, should now remove entry from runlist.txt as well.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 3:58 pm 
Offline

Joined: February 6th, 2005, 10:40 pm
Posts: 26
works ideally. thanks a lot for the help


Report this post
Top
 Profile  
Reply with quote  
 Post subject: my320MPH working great.
PostPosted: January 20th, 2010, 1:19 pm 
Offline

Joined: January 19th, 2010, 11:39 am
Posts: 12
Location: Philippines
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2010, 5:23 am 
Offline
User avatar

Joined: September 5th, 2009, 2:06 pm
Posts: 1713
Location: Somewhere near you
Wow Rajat == ahk einstein
hehe...

_________________
Image
The quick onyx goblin jumps over the lazy dwarf


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2010, 8:55 pm 
Offline

Joined: July 21st, 2009, 8:36 pm
Posts: 121
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2010, 9:36 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2010, 10:26 pm 
Offline

Joined: July 21st, 2009, 8:36 pm
Posts: 121
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 16th, 2010, 11:10 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
@MrShortcut you can try Fures's version:
http://www.autohotkey.com/forum/viewtop ... 117#249117
but there are also persistent versions of the original in this thread (somewhere) :-)

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 356 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23, 24  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 23 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