topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday November 11, 2025, 6:01 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

Recent Posts

Pages: prev1 ... 24 25 26 27 28 [29] 30 31 32 33 34 ... 73next
701
Great work, Target!

not good enough - you got the guernsey  :Thmbsup:
702
just because I don't consider a dead horse can be flogged too much, here's an update

added the ability to rearrange the buttons, and 'breaks', and to start a new line.  This allows the creation of (rudimentary) button groups

added the ability to run a command 'locally' (press shift+Button).  This simply removes any the 'target' string from the command, so it may or may not work as expected depending on the command in question (I expect the user will have sufficient knowledge to know what will and what won't...)

And in keeping with the theme I've renamed it - Programmable Helpdesk Attendants Rescue Tool (PHART).  You  can change the (gui) title in the ini file

source code included...
703
Living Room / Re: New AHK Forum Software
« Last post by Target on October 30, 2012, 03:53 PM »
It's quite an improvement!
-cranioscopical (October 28, 2012, 03:43 PM)

So.  Much.  Wasteful.  Whitespace.

...Does anybody else feel this way?

yup - when I first saw it I thought I'd stumbled onto some sort of remedial reading site

on top of the new look some of the forums have been moved/rearranged
704
Living Room / science meets art?
« Last post by Target on October 15, 2012, 08:11 PM »
not sure whether or not this shouldn't have gone in the 'recommend a music video' thread, but I saw this on an RSS feed this morning

apparently there's a competition where students present their PHDs using 'interpretive dance' - Dance your PHD

705
Living Room / Re: Recommend some music videos to me!
« Last post by Target on October 15, 2012, 04:17 PM »
love that Beth Orton track, though I've not seen the video before (it doesn't add anything)

how about Regina Spector


 
706
next iteration

now includes an editor  - I'm not totally happy with the editor gui, but I suppose it gets the job done

I still haven't done anything about the 'errors' you posted (pending more detail)

EDIT: attachment removed (downloaded 22 times)
707
OK, I've been trying the latest version of Target's SUR and it works fine enough, however I have one problem, when running it under Windows 7 x64 —could not reproduce it under XP mode— when trying to run a telnet command, it fails with the following error message, even though I did install telnet in Windows 7 components, and can run the command manually.
Note : I have removed the ":" in the command line, which I should not have given as the correct syntax is "telnet target port", my bad.

unfortunately I don't have an x64 system to test it on, so we might be a bit stuck with this one (can anyone else help out with this one?)

what happens when you run the command from the run command (WIN+R)?

Edit : There also seems to be weird issues with running commands which require confirmation — it doesn't run the right command when confirmation is given ?_?

well I did say I'd only done limited testing  :o

can you give me a bit more detail on what happens with the offending commands, eg what command you requested, and what you got

708
cody for president?

CFP.jpg
709
try this then....

Screenshot.jpg

looks pretty much the same, just rearranged, though there are a lot of changes in the background

add as many buttons as you like - if you exceed the screen width it will start a new row

I've removed the editing functionality for the time being - I'm working on that at the moment, but in the meantime you can simply edit the ini by hand and the script will reload your changes when you save the file (NOTE - the COUNT key should equal the number of buttons)
710
Thank you, that's becoming closer to what I had in mind :]
Though I really wish the buttons could have custom captions, as that would make it much easier for the user to reach the intended function.

ummm, so do you want a physical caption (eg <my description here instead> of <B1>) or would you like the caption in the tooltip?

711
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

Screenshot.jpg

  • 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)
712
come on guys, where are all those solutions you were working on 8)

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)
713
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)
 
714
I've been playing with something for this

Clipboard_20120930.png

buttons are generated dynamically (from the favourites list).  the list view is only used for maintaining your favourites and would normally be 'hidden'

how picky are you about graphical buttons, and where do you anticipate you would get the icons?

and if you could provide a sample of some of the commands you use (and the parameters) that would be helpful
715
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
716
do you know the target path?

if so you don't need to send a batch file as one line will do it (sorry if I'm teaching you to suck eggs :-[)

get them to bring up the run dialog (WIN+R), then paste in 'dir C:\folderx\*.* /on /s > c:\folderx\list.txt' and press ok

output to a txt file in the target directory, and it shouldn't trigger the AV
717
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
718
Living Room / Re: Cascading grammar trolls
« Last post by Target on September 23, 2012, 06:30 PM »
doghouse_120924.jpg
719
Living Room / Re: Cascading grammar trolls
« Last post by Target on September 18, 2012, 08:15 PM »
damn troll's...
720
DC Gamer Club / Re: razer nostromo
« Last post by Target on September 18, 2012, 08:14 PM »
no one else? 

where's Nudone when you need him....
721
Living Room / Re: Cascading grammar trolls
« Last post by Target on September 18, 2012, 02:55 AM »
excelent  ;D

not a chance, no one here will fall for that

PS you spelt excelent wrong

Next time put a : after PS, wiil you?

you're smiley's incomplete
722
Living Room / Re: Cascading grammar trolls
« Last post by Target on September 18, 2012, 01:41 AM »
excelent  ;D

not a chance, no one here will fall for that

PS you spelt excelent wrong
723
Living Room / Re: Open source cell phone projects.
« Last post by Target on September 17, 2012, 07:46 PM »
legal issues aside, you might like to have a look at hack a days Cell Phone Hacks section
724
Finished Programs / Re: IDEA: Batch-create shortcuts from a CSV file
« Last post by Target on September 12, 2012, 08:14 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:

Code: Text [Select]
  1. 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...

#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
725
DC Gamer Club / Re: razer nostromo
« Last post by Target on September 12, 2012, 06:03 PM »
hmmm, I was kinda hoping you guys might talk me out of this ;D ;D

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

Pages: prev1 ... 24 25 26 27 28 [29] 30 31 32 33 34 ... 73next