|
102
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: sort of launcher for command lines with parameter in a pre-defined place
|
on: October 07, 2012, 09:50:52 PM
|
To Target : Hey, not bad  A few things though : - Would it be possible to have options to prevent it from "auto-hiding" and to be able to move it without it sticking to the top edge of the desktop ? - Though I don't have an example yet, I fear there might be issues should any command line require the text "target" (instead of the target's name) to be written within one of its commands. Or is there any syntax trick to prevent it ? - If possible, I'd prefer to enter the target name in a field on the same window as where the buttons are, so I don't need to click "OK" in a second window to actually run the command — though that can act as a "confirmation" dialog - I guess the window should be manually resizable, for with these default commands, the status bar is too short to display the contents of the B3 and B6 command - should we keep the dialog box asking for the target's name, I guess it would be nice if that window also reminded somewhere of which command it will run ok, try this instead [attachthumb=1] - window now floats and doesn't hide
- removed the status bar and used tooltips instead
- replaced the token string with '###' instead of the string TARGET (this could be anything you like)
- added a combobox for the faves list - you can type an entry, or use the drop down to select an existing favourite
- added a confirmation field to the command list. Items tagged for confirmation will be prompted at run time
I haven't done anything about editing the faves list yet, but if you want to you can just edit the INI file (I could make it automagically reload if the ini is edited) as it stands it doesn't actually run anything (it throws a messagebox showing the command). If you like it I'll tidy the code and fix that EDIT: attachment removed (downloaded 4 times)
|
|
|
|
|
103
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: sort of launcher for command lines with parameter in a pre-defined place
|
on: October 05, 2012, 03:40:10 AM
|
come on guys, where are all those solutions you were working on  here's my take click a button to run the command. When you do this you will get prompted for the 'target' info which will then be inserted into the command. Commands are saved to an ini file. They must be typed in full and use TARGET as a token for the...erm...target Commands can be added, deleted, or edited from the gui (press the little button on the right hand end) You can add as many commands as you like, though if you add too many the gui could be wider than the monitor (I don't anticipate this being a problem) I just reread your requirements and there's a few things I haven't done - button captions - this was a space consideration as the button sizes would likely get out of control quick smart. That said the 'command' is displayed in the status bar on mouse over
- Favourite 'targets' - when you click on a button you will get an input box to enter the required 'target' which will then be inserted into the command and run. I've done very limited testing of this as I can't use it the same way you're likely to.
- confirmation before execution of commands - only just noticed this, but it shouldn't be too hard to add
- favourite targets - this is possible, but would require a different gui
Is this going in the right direction? EDIT: attachment removed (downloaded 8 times)
|
|
|
|
|
104
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: sort of launcher for command lines with parameter in a pre-defined place
|
on: October 01, 2012, 02:21:11 AM
|
Hello there :} how picky are you about graphical buttons, and where do you anticipate you would get the icons? Hmm I'm not sure I completely understand the first part. If that means "does it absolutely have to be buttons", then well, I'd really prefer ìt to If that means "is that mandatory that you could put icons on the buttons", then my answer is : no, though I'd prefer if it was possible — as stated in the first message, it's part of the "optional" features About where I would get the icons : from within some .exe, .dll, .cur or .ani files. Possibly some .bmp renamed to .ico, since that seems to work fine enough under XP / 7 ok, my reasoning was that AHK does buttons or images, but not (easily) graphical buttons. The second part was about whether or not you had a folder of favourite icons (easier) or you were just going to use another resource (harder)
|
|
|
|
|
106
|
Main Area and Open Discussion / General Software Discussion / Re: Want to send a Batch file - but gmail & prob AV dont...
|
on: September 26, 2012, 06:10:27 PM
|
but is he able to open a command window on XP? I am not able to do it without first installing a link in the right-click context menu. I have no idea how else to do it. Does he? Computing is so hard if you're stuck with the default Windows only...  you can get to the prompt by running cmd.exe from the windows run menu option. I suspect you should also be able to concatenate the commands, eg cmd.exe dir etc, but I'm not sure how. Some of the command line mavens here should be able to answer, failing that google should get you the answer
|
|
|
|
|
108
|
Main Area and Open Discussion / General Software Discussion / Re: Want to send a Batch file - but gmail & prob AV dont...
|
on: September 25, 2012, 07:02:45 PM
|
|
I often need to transfer files that are blocked (executables) or are too large to go through the corporate mail system and I've found a couple of tricks that help.
for executables you can rename the file, eg give it an additional extension, like ABC.EXE.TRASH. Then advise the recipient to delete the bogus extension before they run the file (they have to save it locally first). You can also try packing it into a ZIP file, though this isn't always
for overlarge files I use 7Zip ('cos ZIP compression is woeful) and create an SFX archive. Now this is an executable, and I either pack it into a ZIP file, or add a dummy extension
if that fails, you could always break it up across multiple emails - potentially painful, but a line of text on it's own is pretty innocuous - or munge the code somehow, eg adding whitespaces or substituting ~ for the i character would turn most of it into gibberish, but would be simple for anyone to reverse
|
|
|
|
|
115
|
DonationCoder.com Software / Finished Programs / Re: IDEA: Batch-create shortcuts from a CSV file
|
on: September 12, 2012, 08:14:44 PM
|
Hello all, Here is what I want to achieve. I need to create around 80-90 shortcuts. I have a CSV file that is formatted as such: Formatted for Generic Code with the GeSHI Syntax Highlighter [ copy or print] Shortcut Title, Command
Is there a tool that can take this csv file and create shortscuts titled "Shortcut Title" and points to the "Command" executable or path? I haven't tested this, but try this AHK script... [ copy or print] #singleinstance,force fileselectfile, src, ,*.csv if errorlevel exitapp loop, read, %src% { stringsplit,tmp_,a_loopreadline,`, filecreateshortcut, %tmp_2%, %tmp_1% } exitapp shortcuts should be created in the same directory as the script, though if you want to create them in a specific location that could be catered for as well
|
|
|
|
|
116
|
Other Software / DC Gamer Club / Re: razer nostromo
|
on: September 12, 2012, 06:03:13 PM
|
hmmm, I was kinda hoping you guys might talk me out of this  I think a NAGA is a bit over the top for my needs (not to mention my budget, or my co-ordination!), but something else to consider when I get the urge to buy some new peripherals many thanks, and still interested to hear others experiences
|
|
|
|
|
117
|
Other Software / DC Gamer Club / razer nostromo
|
on: September 12, 2012, 02:05:30 AM
|
|
anyone here use one of these beasties?
I've got the itch to get one and I don't know whether or not it's a worthwhile investment (help save me from myself!!)
I have a friend who uses one and he seems to like it, but the online reviews are mixed
FWIW I mostly play shooters (single player), but I'd like to think it would have uses beyond gaming
|
|
|
|
|
121
|
Main Area and Open Discussion / General Software Discussion / Re: data recovery tool, [i]on a network drive[/i]
|
on: August 30, 2012, 10:25:32 PM
|
DOH, I never thought much about the OS We're a MS shop, so Win7 and/or XP (we're in the process of migrating). It's also a corporate lan so that drive is sitting on a machine 'somewhere' (probably a VM). It could be nearby, but most likely it's 2000km away. If I could access the drive directly this wouldn't be an issue I managed to find 'a copy' that might have been the latest version (or not), but it will get us out of trouble. If nothing else it will motivate me to setup the backup process I've been planning... thanks anyway 
|
|
|
|
|