topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 24, 2024, 8:21 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ak_ [ switch to compact view ]

Pages: prev1 2 3 4 [5] 6 7 8 9next
101
I think i'll add a config window with a few options, like :
- custom context-menu text
- convert . - _ %20 to spaces in folder name
- "Custom folder mode" as described there :
It seems to me, though, that the times that you would NOT want to do some small edit of the folder name are very few. I would favor having it go directly to the rename box by default and do away with the shift key altogether. If you didn't want to make a change you're already a lot of clicks and keystrokes ahead of the game and could simply hit the OK button.
-BigJim

Any ideas are welcome :)

102
Ok i think i'll do that nosh. Thanks.

103
BigJim> if a majority of people agrees with you, i'll change it. Thanks.

Curt> ok i'll rename the exe (that shouldn't be too much work :))

CleverCart> You don't have to let it go at a precise time. Just press it before launching FileNanny (via context menu or 'Send to' menu) and release it when the box appears.

104
Finished Programs / Re: SubDude, a subtitle renaming program
« on: October 27, 2007, 06:49 PM »
Dude Spell> the link are working now, thanks :)

105
Actually, the program checks if the Shift key is down when it starts. So you can press the shift key before launching Filenanny (and keep it down when you launch it, of course). That's why Armando's method should work, that's what i do.

106
That's really weird... I don't know where to look for. We'll see.

107
Thanks, glad to see you like it.

I forgot to post the source code :
;; FileNanny
;; "Go to your room !"
;; by ak

GetKeyState kstate, Shift
if kstate = D
  editFolder = 1

#SingleInstance ignore
if 0 = 0
{
if strlen(winX) = 0
  winX := (A_Screenwidth - 180) / 2
if strlen(winY) = 0
winY := (A_Screenheight - 130) / 2
gosub CreateGUI
}

else
{
Loop, %0%
{
param := %A_Index%
SplitPath param, fileName, dirName
StringSplit rawName, fileName, "."
if editFolder = 1
{
  InputBox InputRawName, FileNanny, Name of the folder to create, , 320, 120, , , , , %rawName1%
  rawName1 = %InputRawName%
  if ErrorLevel
    ExitApp
}
dirToCreate = %dirName%\%rawName1%
FileCreateDir %dirToCreate%
FileMove %param%, %dirToCreate%
}
ExitApp
}
return

CreateGUI:
  gui destroy
  RegRead, regTest, HKEY_CLASSES_ROOT, *\shell\FileNanny
  if strlen(regTest) = 0
  {
    button1Text = Add context menu item
    button1Action = addCMI
  }
  else
  {
    button1Text = Remove context menu item
    button1Action = remCMI
  }
 
  sendToFolder = %UserProfile%\SendTo
  ifnotExist %sendToFolder%\filenanny.lnk
  {
    button2text = Add 'Send to' shortcut
    button2action = addST
  }
  else
  {
    button2text = Remove 'Send to' shortcut
    button2action = remST
  }
 
  Gui, Font, s9 w600
  Gui, Add, Text, x20 y10 w150 h20 , FileNanny configuration
  Gui font, norm
  Gui, Add, Button, x14 y35 w150 h30 g%button1Action%, %button1Text%
  Gui, Add, Button, x14 y75 w150 h30 g%button2Action%, %button2Text%
  Gui, Add, Button, x55 y120 w70 h30 gQuit, Quit
  Gui, Show, x%winX% y%winY% h160 w180, FileNanny
return

AddCMI:
RegWrite, REG_SZ, HKEY_CLASSES_ROOT, *\shell\FileNanny, , FileNann&y this
RegWrite, REG_SZ, HKEY_CLASSES_ROOT, *\shell\FileNanny\command, , "%A_ScriptFullPath%" "`%L"
gosub refreshGUI
return

RemCMI:
RegDelete HKEY_CLASSES_ROOT, *\shell\FileNanny
gosub refreshGUI
return

addST:
FileCreateShortcut, %A_ScriptFullPath%, %sendToFolder%\filenanny.lnk
gosub refreshGUI
return

remST:
FileDelete, %sendToFolder%\filenanny.lnk
gosub refreshGUI
return

refreshGUI:
winId := WinExist("FileNanny")
WinGetPos winX, winY, , , ahk_id %winId%
gosub CreateGUI
return

Quit:
GuiClose:
GuiEscape:
  ExitApp
return

108
filenanny-cartoon.jpg

I slightly updated FileNanny, i added the possibility to edit the folder name before its creation. All you have to do is hold the Shift key when you click the FileNanny context entry so it will open an input box before the folder is created. You can cancel the whole operation by clicking the Cancel button.

Enjoy :)

109
Hi :) Nice to see my little nanny is useful. Wolf.b, if i get some time, i'll add the edit field you asked for.

110
General Software Discussion / Re: Any MWSnap users out there?
« on: September 24, 2007, 05:19 AM »
I use it from to time for a particular reason : when i'm drawing on Photoshop, sometimes i need a photo model, so i make a screenshot with MWSnap, have it displayed, hide all toolbars and made the program window "always on top" so i have the picture displayed in a corner of my screen. I don't know if it's very clear :) I should make a ahk script to replace this.

111
Finished Programs / Re: SOLVED: Screen rotation -> possible in AHK ?
« on: September 17, 2007, 06:24 PM »
Nod5> thanks, but i have a nVidia card :)

Anyway, i should get "RTFM" tattooed on my forehead because iRotate accepts command line parameters, so i just had to create ahk hotkeys and now it's perfect :) You can also redefine hotkeys but it's not very flexible.

112
Finished Programs / Re: SOLVED: Screen rotation -> possible in AHK ?
« on: September 16, 2007, 08:37 PM »
The problem is that these hotkeys already exist in Photoshop, so i'm going to rotate my screen without wanting to :)

113
Finished Programs / SOLVED: Screen rotation -> possible in AHK ?
« on: September 16, 2007, 05:16 PM »
Well, the title sums it up quite well. I have a new monitor that has rotation capabilities. The manual says you have to download some software to take full advantage of it but it sucks. I can change the screen rotation via the display properties but it takes too much time. So i tried iRotate which is pretty much what i'm looking for, but the hotkeys (Ctrl Alt Up, Ctrl Alt Left, etc) can't be changed, so it's really annoying.

So i thought i could try to do an ahk script to rotate display using hotkeys, the only problem is : i don't know where to start :) So i'm not asking for anyone to do it for me, but i'm looking for any lead or information that could help me getting startes on this script.

Thanks :)

114
Living Room / Re: Forum Signature Spam: Let's discuss how to handle..
« on: September 12, 2007, 05:17 PM »
Ok forget about what i said earlier, i didn't have my 24" monitor at this time. Use big signatures, i don't care :D :D

115
Living Room / Re: poll: how old are you?
« on: September 12, 2007, 05:14 PM »
Voted. 27 here.

116
As i said, it will be perfect (for me) when it will save path to clipboard automatically before quitting. Great piece of software anyway.

117
Living Room / Re: Forum Signature Spam: Let's discuss how to handle..
« on: September 12, 2007, 04:35 AM »
There should be a policy about signature's height. It's always a little bit annoying to see someone replying "Eheh ok." and then seeing a 5 feet long signature underneath.

118
General Software Discussion / Re: What's your preferred File Manager
« on: September 12, 2007, 04:00 AM »
Hey, where's Freecommander ? :(

119
Living Room / Re: The Mario Level That Plays Itself
« on: September 12, 2007, 03:29 AM »
WOW ! It's amazing :)

120
Screenshot Captor / Re: FTP Uploader
« on: September 11, 2007, 04:39 AM »
Oh great, i've been looking for something like this for a long time. I used to use my ahk script + FastExplorer context menu editor, but this looks more convenient. Thanks :)

Automatic clipboard copy would be perfect.

121
General Software Discussion / Re: Top 3 programs you use
« on: September 10, 2007, 08:57 AM »
It's not a question of being "hard" or not, it's just that nobody wants to spend time looking for software on Google when you don't even know what it's all about. Therefore, this link doesn't really give any information about Meskalin (no info, no download).

122
General Software Discussion / Re: Top 3 programs you use
« on: September 10, 2007, 07:37 AM »
More generally, links are more than welcome for any software that is not well-known. A brief description could be nice too.

123
There should be a link to the FrappR map somewhere on the forum, maybe here :
Screenshot - 09_09_2007 , 18_16_18.png

124
Christian  a. (3c): decent, civilized.  ;)

Tell that to victims of the crusades (or George Bush/Tony Blair) ...
Ahah :-*

Ok enough with the off-topic posts, sorry.

125
Screenshot Captor / Re: FTP Uploader
« on: September 07, 2007, 08:08 AM »
Well, ok :) It's more or less the same as yours, that's why i said it wasn't very interesting.

; Arguments are passed in this order :
; ftpaddress ftprep user pass url file
; ftpaddress : well, ftp adress...
; ftrep : destination folder
; user : user login
; pass : user password
; url : corresponding url, including folder
; file : file to upload
if 0 != 6
{
msgBox Pas assez d'arguments.
return
}
SplitPath 6, filename
clipboard = %5%/%filename%
whatToRun = c:\program files\ncftp\ncftpput.exe -b -u %3% -p %4% %1% %2% "%6%"
Run %whatToRun%

Pages: prev1 2 3 4 [5] 6 7 8 9next