Can you open a window (sub window / top level?) that has a generic "OK" button and that button is given focus so that all the user has to do is hit return?
If lsort supplies the end result you need and you are not constrained by time issues of lists that are 100's of thousands long, then go with it. If you have huge lists and sorting speed is paramount, there are sites where you can find/review the various theories/algorithms on sorting. Bubble...
Bit of a swag here, but do you needdashboard_set_property ${::led_control::dash_path} box_led_${led} onChange ${::led_control::toggle ${led}} .. add a $ var ref to the last parameter? Try addding a "put 'xxx'" command inline and see if that parses out to the variable value you're after.
Give this a try. It's totally brute force, but for the sake of getting a job done over elegance -- #
# Reading in
#
undef %org_data ;
$line_num = 0 ;
$char_count = 0 ;
while ($inline = <DATA>) {
$line_str = substr('00000' . ++$line_num, -5) ;
chomp $inline ; # ?? Does your 'at char...
Skip - Thank you for your time. My attempt at a colloquial explanation of what I’m doing, versus demonstrating thru code, has fostered a completely wrong picture of what I’m doing. In this case a 'table' for me is roughly a grid 3x10 in size. The entire screen has columns A-0 (15 columns) and...
MOVE = CUT – Got it. Your usage of caps caused me to think you were referring to another command. Usually I see people asking for code more over than concepts - but here goes:
- User enters data into a textbox on a worksheet (not a cell but an activeX object). Hits enter.
- Sheet level...
Indirectly tried the saved address idea. ConsiderSelect Case some_val
Case 1: Set cell_ref = default_range1 ' Assume this is selected
Case 2: Set cell_ref = default_range2
End Select
save_addr = cell_ref.Address
cell_ref.Cut Destination:=cell_ref.offset(1,1)
set cell_ref =...
Problem: I want to move a range of data but using code similar to[CODE VBA]src_range.Cut Destination:=des_range[/CODE] I find src_range.Address is changed to match des_range.Address. In some cases my value for des_range is compromized. I want to retain the original definition of...
Problem: I want to move a range of data but using code similar tosrc_range.Cut Destionation:=des_rangeI find src_range.Address is changed to match des_range.Address. In some cases my value for des_range is compromized. I want to retain the original definition of src_range.Address. I...
This is a tad brute force, but will get you thereprint "cc>$cc<\n" ;
print "container>$container<\n" ;
print "h_set'component'>$h_set{"component"}{$cc}{$container}<\n";
prnit "\$_>$_<\n"; ;
print "h_set'interface'>$h_set{"interface"}{$cc}{$container}<\n";
print...
Thinking back, I have seen that sort of thing before - the system call executes under a different set of credentials. At a command prompt I tried 'help start' and 'help cmd' and neither of them showed references on how to supply a user/password in the calling sequence to potentially reset your...
Taking a swag here ... Does$cmd = "d:\\\\officetopdf\\\\officetopdf.exe /print"; work? (Using 4 backslashes) Try dumping $@, $! and $^E as well. May give more insight.
Couple thoughts:
1 - Your assignment $cmd = "d:\\xxx\\yyy" ;
Will translate into d:\xxx\yyy in $cmd. Then when you use `$cmd` it is looking at d:\xxx\yyy and will again translate the \x and \y into their equivalent escape characters. Try using single quotes on the initial $cmd = 'd:\\xxx\\yyy'...
Any insight as to which line it is hanging at? Unfortunately I'm thinking something as painful asproc GetData {chan} {
puts "1"
if {[gets $chan line] >= 0} {
puts $line
}
puts "2"
if {[eof $chan]} {
puts "2.1"
close $chan
puts "2.2"
}...
Well - never found out how to do this the way I wanted (which essentially involved changing the least amount of code possible). My original method used the 'EventLog' routine as presented above. This was nice as I was able to process data inline. What I came up with is less efficient but it...
I've been successfully using a home-grown event viewer that used$handle=Win32::EventLog->new($event_group, $server_name) ; where $event_group was one of the basic "Application", "System", or "Security".
One of the routines looked for print jobs to help me keep track of the heaviest users...
This isn't an elegant solution, but I've used this idea / concept in a couple of programs.
Read the documentation on GuiTest and some of this will make more sense.
- Start your program and give it an easily identifiable title
- use Win32:GuiTest ;
- $hWnd = FindWindowLike('your program title')...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.