topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday June 14, 2025, 5:18 pm
  • 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

Recent Posts

Pages: prev1 ... 173 174 175 176 177 [178] 179 180 181 182 183 184next
4426
Oops... Sorry!
THANKS rjbull!
4427
Mini-Reviews by Members / Re: TopDesk
« Last post by jgpaiva on February 10, 2006, 06:20 AM »
Another similar program you can check you is WinPlosion, it has some of those features too, but i think it's not as good.
4428
This is a very useful tip! Thanks mouser!
Allen: the attachment is a compiled script that launches a windows message-box, you can test it there ;)
4429
Developer's Corner / Re: indent wars..
« Last post by jgpaiva on February 10, 2006, 05:31 AM »
I also use a similar indentation to the one Allen uses, but with a tab instead of two spaces. IMO it makes more sense to have the last bracket aligned with the function that opened it, it's easier to know when there's a bracket missing.
I think this indentation is the default for emacs, at least, i use it in emacs. Although in the page mentions that it should be "gnu style" indentation, i think it's more similar to K&R indentation, if not that one.
4430
Developer's Corner / Re: Source code colors: Contrast / Readability / Ergonomics
« Last post by jgpaiva on February 10, 2006, 05:03 AM »
http://www.writer200...m/colwebcontrast.htm
Thanks for that page! The black on soft green at the end of the page is the one that fits me best, i don't know why, but it's the one the provies me with more readability.
4431
Living Room / Re: Recommendations for good computer 2.1 speaker system?
« Last post by jgpaiva on February 10, 2006, 04:52 AM »
I have exactlly the same problem, i want to buy a 2.1 speaker system, but I can't decide between any of them.
For 100€, i've heard logitech z-4 and jbl creature II. Both are very good, but the jbl have a very clear sound, i might buy them.
I've also heard logitech's x-230, for 40€, they have a nice sound, not as good as the ones mentioned above, but still nice.
I think the better way to decide, might be just go to a store and hear them live, it takes out some doubts.
4432
General Software Discussion / Re: Firefox url entry problem ...
« Last post by jgpaiva on February 09, 2006, 05:23 PM »
Copying brotherS's post on the WMP post..
Your problem is right there:
Firefox
:P Try opera ;)
4433
Finished Programs / Re: Edit a txt file gui
« Last post by jgpaiva on February 09, 2006, 02:21 PM »
Ok... Check if this fits you ;)
NLines = 7
Loop %NLines%
{
FileReadLine, line, url.txt, %A_Index%
if ErrorLevel <> 0
MsgBox, something went wrong. reading line: %a_index%
Line%A_index%=%line%
}
GoSub GuiShow
return

GuiShow:
;;fill from url.txt
Gui, Add, Text, x130 y62 w100 h30 , Line1
Gui, Add, Text, x130 y97 w100 h20 , Line2
Gui, Add, Text, x130 y137 w100 h20 , Line3
Gui, Add, Text, x130 y177 w100 h20 , Line4
Gui, Add, Text, x130 y217 w100 h20 , Line5
Gui, Add, Text, x130 y257 w100 h20 , Line6
Gui, Add, Text, x130 y297 w100 h20 , Line7

Gui, Add, Edit, x166 y57 w250 h30 vLine1, %Line1%
Gui, Add, Edit, x166 y97 w250 h30 vLine2, %Line2%
Gui, Add, Edit, x166 y137 w250 h30 vLine3, %Line3%
Gui, Add, Edit, x166 y177 w250 h30 vLine4, %Line4%
Gui, Add, Edit, x166 y217 w250 h30 vLine5, %Line5%
Gui, Add, Edit, x166 y257 w250 h30 vLine6, %Line6%
Gui, Add, Edit, x166 y297 w250 h30 vLine7, %Line7%
Gui, Add, Button, x50 y337 w100 h30,&Save
Gui, Add, Text, x196 y7 w140 h30,Link Editor
Gui, Show, x249 y99 h388 w452, Link Editor
Return

buttonsave:
Gui, Submit
FileDelete, url.txt
Loop, %NLines%
{
  temp := (line%A_Index%)
  FileAppend, %temp%`n, url.txt
}
return

GuiClose:
ExitApp
4434
Finished Programs / Re: Edit a txt file gui
« Last post by jgpaiva on February 09, 2006, 01:37 PM »
Ok, no problem, i should postit still today ;)
4435
Finished Programs / Re: Edit a txt file gui
« Last post by jgpaiva on February 09, 2006, 01:22 PM »
I think i got what you were referring to.
Are the urls one per line?
If not, they have one space before and after them, don't they?
Can there be more then one url in the file containing "www.google.com"?
4436
Finished Programs / Re: Edit a txt file gui
« Last post by jgpaiva on February 09, 2006, 12:14 PM »
Hello Candle, wellcome to the donationcoder!
I couldn't understand a one thing about the program you're requesting:
Do you want to edit the links, and then replace them on the url.txt file? In the same places they were before?
Or can the txt file be truncated (deleted) and then, all the links be added to it again?
4437
Gerome: If you can do this in Fbsl, please do, as i think I can't do that program in ahk (i mean, i started using ahk 2 weeks ago, i'm no expert ;) )
brotherS: I also don't think that can work with those windows, using ahk, but maybe skrommel does. What i can do, is do the sketch i presented before, that is within my knowledge reach :)
If nobody presents a better solution to do this, I will do it. Otherwise, i will only use it ;)
4438
I made this small sketch of the script's core, please check if it's what you want, if it is, say something, and i'll convert this to a program ;)

-> Load Process List
-> wait for each of the processes
-> for each processes, launch a timer
-> last window active set to null
GoTo Loop


loop:
if window active is last window active
  sleep 200
  GoTo Loop
if last window active's process is in the list
  activate process's timer
if window active's process is in the list,
  stop window active's process's timer
last window active set to name of window active
GoTo Loop
4439
Ooops brotherS.. I understood you completely wrong.
That's easier to do, i think ;)
So, the idea here is to have a script that contains a list of processes to be closed, and close them if that processes' windows have not been used for a specifiably amount of time, right?
4440
The good news is: THIS CAN BE DONE!
And actually, is a nice idea.

I just made a small sketch on how to do it in ahk:
;IdleClose
WinGet, id, list,,,Program Manager
WindowList =
Loop, %id%
{
  StringTrimRight, this_id, id%a_index%, 0
  WinGetTitle, this_name, ahk_id %this_id%
  if this_name !=
  {
    MsgBox, the name is: %this_name%`nand it has this id: %this_id%
    ;£ divides the srting for the several programs existing
    ;§ divides the string between {ahk_id} and {time_idle}
    windowlist =%windowlist%£%this_id%§0
  }
}
Loop, Parse, WindowList, £
{
  Loop,Parse, A_LoopField,§
  {
  If A_Index = 1
    Id =%A_LoopField%
  else
    MsgBox, Id: %Id%`nidle time: %A_LoopField%
  }
}
return
The code above lists all windows that exist (and have name!!), and puts their ids to a list, folowed by another parameter, that will be used to put the time idle. After that, it runs through that list, and gets the ids and time idle again.
I launched this code, because i need to know if it finds the windows you'd like it to find. In my computer, it found every window i had open, please run it in yours and tell me if something is missing!

The problem is, that i don't think you'd like it to close every window, possibilly it should leave some windows open.
And i still don't know how to handle a small thing that was forgotten in this post: how about when you go away, and leave the pc? When you return, it'd have closed all the programs you have. Maybe the concept should be redefined.
I'll try to do this program today during the afternoon, I'll keep you posted ;)
4441
JeffK:
I think there might be a way to do this, but it would be necessary that there was soma way of exporting the playlist as a text file, i think.
4442
Find And Run Robot / Re: an alias to search donationcoder.com forums from farr
« Last post by jgpaiva on February 09, 2006, 06:34 AM »
This sure is a nice proposition!
But i think the regex should be: ^dc[ ]*(.*)
So as 'dc' is only matched at the beginning of the line, and you can have access to the "critical dcforum features" without having to type the space after dc (i.e. "dc ")
Good idea you both had!  :Thmbsup: :Thmbsup:
4443
General Software Discussion / Re: wanted: nice and small screensaver
« Last post by jgpaiva on February 09, 2006, 05:45 AM »
Now I'm searching for a screensaver that just turns the monitor off - but wasn't able to find a (freeware) saver to do so... who could help?
Why don't you check that option in the "energy management" section in control panel?
That could be done in ahk, but if the program didn't work flawlesslly, things could go wrong (specially if you've got a laptop)
4444
Find And Run Robot / Re: FARR version 2 - discuss the best way to handle 'actions'
« Last post by jgpaiva on February 08, 2006, 05:02 PM »
This is my "compilation" of farr's actions, most of them based on this thread:
1-> screenshotcaptor launches screenshot captor (aka farr's classical mode)

// the following implement the way emails can be formated
2-> email [email protected] or email [subject] [email protected] or screenshotcaptor.zip email [email protected]

3-> define subjunctive verb (i don't understand what this one does, mouser please explain it a little better ;) )

4a-> Farr.ini edit to open the text file in the default editor
  4b-> Farr.ini edit {program to edit} to open the text file in another editor other then the default

//The following implement the context menu for a file
5a-> {file} properties to open the properties of a file
  5b-> {file} rename to rename a file
    5c-> {file} delete to delete a file
      5d-> {file} move to move a file
        5e-> {file} copy copy a reference to the file to paste in explorer
          5f-> {file} zip to add a file to zip
            5g-> {file.mp3} play play a mp3 on default player

//the following are process management-related:
6a-> process kill kills a process
  6b-> {name of app} to switch to app (first result is the already running instance, second opens a new instance)
    tray process minimizes a process to tray (only exemplifying another possibility)

//Farr-related options
7a-> {file} Alnew creates a new alias for that file
  7b-> {file} AlAdd adds file to an alias
    7c-> {file} SetRule set a new rule for the file

//farr's launchbar related options:
8a-> {file} BarNew Creates a new button with this file
  8b-> {file} BarNew {group} Creates a new button for this file, in a group
    8c-> {file} BarDel removes the button for this file from the bar

//explorer options:
9a-> {file} CpPath copies the path of the file to the clipboard
  9b-> {file} ExpHere explores at the file's path
    9c-> {file} ExpLink explores at linked location

//control panel:
10a-> control open control panel
  10b-> control {item} opens {item} in control panel

// "mouser's search modifiers":
11a-> mp3 restrict search to music-defined folders
  11b-> editors modify priorities to give more priority to text editors

//web options:
12a-> g {something} search for {something} in google
  12b-> i {something} search for {something} in imdb
    12c-> define {something} search for a definition of {something}
      12d-> www.donationcoder.com open donationcoder's website on the default browser
        12e-> inie www.donationcoder.com open donationcoder's website on internet explorer
          12f-> ff www.donationcoder.com open donationcoder's website on firefox

These actions are not necessarily what i am looking for in Farr, but more of a resume of this thread, and possible ideas for development.
Looking up at all these actions, i find that this is too much work. Maybe the best way would be to have a way to create new actions, and have people on the forum do their own and post them.
4445
Living Room / Re: P-P-P-Powerbook!
« Last post by jgpaiva on February 07, 2006, 06:41 PM »
I had never read it, thanks for posting!
That guy was owned.. Good to know that sometimes, scammers get scamed :)
4446
Post New Requests Here / Re: DONE - Idea: Commandline Calculator (for Farr)
« Last post by jgpaiva on February 07, 2006, 12:14 PM »
I love this program!
It does exactly what i was needing, and the "copy to clipboard" feature is extremelly handy, thanks mouser for remembering it :D
Looks like Fbsl is very powerfull, maybe it should be more featured in coding snacks!
I surelly will look into it ;)
Thanks Gerome!

PS: i have set my regex to be activated with "+", i think it's easier than writing "calc".
4447
Post New Requests Here / Re: Farr's calculator
« Last post by jgpaiva on February 06, 2006, 03:23 PM »
1) Very good idea! When i found out how to do this, I'll add that option!
2 )I already have the alias calc for windows calculator ;) And i prefer to just type ahead, usually, i want to know the result as fast as possible :D
4448
Find And Run Robot / Re: FARR version 2 - discuss the best way to handle 'actions'
« Last post by jgpaiva on February 06, 2006, 03:18 PM »
let me try to work up a little document about the plans for Farr2 (aka "Mercury Runner")
Good to know that! ( i had already forgotten about farr's new name ;) )
I think that until then, this thread could become the "actions requests" thread, right?
Might help in creating new ideas and redefining concepts, possibly eliminating some of the problems that we had until now.
I'll try to search through this thread, collect some actions ideas, try to redefine them, (especially into the action-file structure, to simplify), and try to have some ideas about what Farr (aka MR) could do. I'll try to post this tomorrow, but probably, i can only have this by the day after tomorrow.
(exam tomorrow.. :( )
4449
Find And Run Robot / Re: FARR version 2 - discuss the best way to handle 'actions'
« Last post by jgpaiva on February 06, 2006, 02:47 PM »
maybe the stack/queue and double editbox are really closer than we think.
I know what you mean, and i think that you are right, they are similar. But only under the conditions that you don't have several actions in one command, nor several files for the same alias, nor the "file"-"command"-"parameters" structure (like the "screenshotcaptor.exe email [email protected]" mentioned before).
I think that the matter that we need to discuss here, is more around the funcionalities that Farr will have, so as we can perfect the ui to use them. The examples i mentioned before, become confusing when the double-editbox appearance is used, but to use the action-file structure, the double editbox becomes much more fit, since it helps new users, yet allowing power-users to still have all their commands close.
4450
General Software Discussion / Re: Winamp Advanced Control
« Last post by jgpaiva on February 06, 2006, 01:31 PM »
I just found another interesting plugin that is relevant to this thread:
http://www.winamp.co.../details.php?id=9316
It allows you to have small buttons in the title bar of every window, to control winamp.
Pages: prev1 ... 173 174 175 176 177 [178] 179 180 181 182 183 184next