ionally. It is a
great lang for the file processing and text parsing I routinely do, as
well as easy Win32 programming thanks to all the wonderful modules in
the Win32::* namespace and the ease of use of PPM.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, s
ile::Spec::OS2 works on DJGPP.
cygwin => 'Cygwin');
my $module = $module{$^O} || 'Unix';
require "File/Spec/$module.pm";
@ISA = ("File::Spec::$module");
etc...
Hope this helps.
BTW: this is the first time I'm viewing the File::Spec
r32 =>
'BOOL UnregisterHotKey(HWND w, int id)'
);
# Hooking and calling after having created win.
$win->Hook(WM_HOTKEY, \&key);
RegisterHotKey
(
$win->{'-handle'}, HOTKEY_ID,
MOD_SHIFT | MOD_CONTROL,
ord 'q'
e project.
Googling for Win32 hooks produces some nice links, for instance. I've
used hooks a bit in screen reading but the code is way too ugly to be
published, . And for screen reading, Win32::ActAcc is infinitely
better.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Acce
's a link to an early alpha version, though
the GUi code is messy and the architecture could be much better:
http://www.student.oulu.fi/~vtatila/beats_me.html
Any help appreciated. I've already asked in the Win32::GUI list so
appologies for any redundancy.
--
With kind regards Veli-Pekka T
-+
(1 package installed matching 'readline')
>perl -v
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 18 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Binary build 822 [280952] provided by ActiveState
http:/
Sisyphus wrote:
> From: "Veli-Pekka Tätilä" <[EMAIL PROTECTED]>
> > If lib and site lib both have
> > the same package, which one takes priority in use?
> With build 822, site/lib is searched first, then lib, then the cwd
> However, the order is different for
talled module is not installed according to PPM,
and needs to be reinstalled to site, for the PPM install of the desired
module to succeed.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http:
owledge, GTK2
is still currently the only accessible major GUI library in Linux, although
QT4 will follow. On the Macintosh, the Aqua UI generaly works, where as
anything else including MacOS Classic, Carbon and X Window System does not.
Well, hope this can be of help.
I would appreciate
ying to add new actions to folders. In my case, this Microsoft
article helped:
http://support.microsoft.com/?kbid=321186
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.s
e licence policy, which wouldn't let me distribute such
modified distroes if based on Active State.
So any help greatly appreciated. I've Googled the Web and
comp.lang.perl-misc with pretty bad results so far.
Gotta go now.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTE
Joe Discenza wrote:
"Veli-Pekka Tätilä" wrote, on Wednesday, June 21, 2006 1:54 PM
$# = '%s'; # But an invalid format.
print $pi; # crashes the interpreter.
I'm running Active State Perl v5.8.7 build 815 [211909].
I just tested this with build 638, also XP Pro SP2, w
Pro
SP2 with all the latest fixes and this is an HP & Compaq NX8220 laptop, in
case it has any relevance.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
wParam, lParam=$lParam\n";
$CallNextHookEx->Call(0, $nCode, $wParam, $lParam);
}
my $KeyboardHookCallback =
new Win32::API::Callback(\&KeyboardHook, 'NNP', 'N');
my $ThreadId = $GetCurrentThreadId->Call();
my $Hook = $SetWindowsHookEx->Call($WH_KEYBOA
d-line equivalent to my
knowledge.
Hope this clarifies matters.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-Users mailing l
http://redish.net/content/papers/interactions.html
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-Users mailing list
Perl-Win32-U
Win32 hooks. I
wrote it before having taken any courses in WIn32 programming so the code
isn't that good to begin with. But I've tried to explain most of the
concepts on the way. Here you are:
http://tols17.oulu.fi/~vtatila/ohjy/english/
--
With kind regards Veli-Pekka
mess around
with class paths and so on, guess you get the picture.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-U
matter. Access to the taskkill program in XP or setting
focus to task manager by windows+r, taskmgr would be fatal, too. Or a user
simply bringing their own task manager with them on removable media, and
written in PErl for good measure.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED
out an unknown file format if I give
it a dash input file, and attempt piping using the shell (cmd.exe in XP).
I've checked Irfan's command-lien options but saw no mention of piping. Oh
welll.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthes
familiar with Win32::GUI, though, and have never really programmed TK,
but fortunately it would seem that displaying a bitmap or drawing requires
minimal startup code.
Any module suggestions appreciated.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, ga
for me at least. Try the following:
use strict; use warnings;
$SIG{INT} = sub { print "Ctrl+c\n" };
local $_ = <>; # Opportunity for pressing ctrl+c.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programm
be of help.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubsc
u use the marginally shorter
forms u and ur in stead of you and your. U renders quite well with a speech
synth here, but ur is pretty much indistinguishable from err, .
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synth
modules available via PPM if there
are any.
Lastly, out of curiosity how do these things work in Unix? I haven't used
much of it but the first example that came to mind is the app which let's
you know of new mail in SunOs.
Any help appreciated as usual.
--
With kind regards Veli-P
rsing module/eval
true (1)Executing an eval
false (0) Otherwise
The first state may happen in $SIG{__DIE__} and $SIG{__WARN__} handlers.
End quote.
Hope this helps.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.st
y purposes.
Lastly, seems the task info tool is an excellent 3rd party utility for the
job. Very extensive info and a command-line interface, too.
Nice.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.f
at kind of activity I should be looking for, that is by which name
the function might go by.
Any help greatly appreciated as usual.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
_
in the process.
So, are there any strategies I might have overlooked or is this pseudo-OOP
syntax simply something unreachable (without doing func specific work)?
Also, any tips or general help would be appreciated as usual.
PS: I reckon it is ok to ask this kind of question, even
Hi Randy and Lynn,
And thanks for your quick and informative replies.
Veli-Pekka Tätilä wrote:
How can I tell which packages are supplied with a given Active State
Perl release? I've often been wondering this when distributing some of
my own scripts to other people running Windows.
ot seem to find it, oh well. One way might be to
have the person list his or her package directory with the tree command in a
DOS Box. But this is still a manual method and requires a bit of hand
holding, if the person at the other end has never used a command-line
before.
--
With kind reg
$Bill Luebkert wrote:
Veli-Pekka Tätilä wrote:
problem is how do I wrap PPM so that I can both read from and write to
it?
Why not just modify this code in ppm3-bin starting around line 3109 :
Well, I was hoping for a more generic solution so I might learn something
new in the process, too
. But I'll stop right here before this
whole thing is totally OT.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-Users mailing
imer running in another thread,
when main is blocked in waiting for more input.
Just some thoughts.
I tried looking in the PPm FAQ but didn't find answers to these questions.
By the way, I'm running Active State 5.8.6 on a Win XP Pro machine with all
the latest fixes:
--
With kind rega
Joe Discenza wrote:
"Veli-Pekka Tätilä" wrote, on Sun 10/9/2005 15:58
replacement is so complex that it cannot be
expressed as a straight substitution. So I would have to find a
piece of text, process it in a separate function, and replace the
matched text with the newly computed
tch the whole thing. I'm currently going through a
tutorial on recursive, descent parsers and writing the stuff in, you guessed
it Perl, rather than Pascal. But this is getting OT, at least as far as my
original problem goes, which was cleanly solved by at least two people
already,
y or incomplete, just ask
and I'll try to provide more info.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-
greatly appreciated.
System:
-HP NX8220 laptop with 1 GB of RAM
-Win XP SP 2 Pro English with latest fixes
-Dolphin Supernova 6.03
-Active State Perl 5.86
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synth
en the thing running in the first place.
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-Users mailing list
Pe
standard. But that is an OT:ish
quibble, anyway.
Any thoughts appreciated.
--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-Users mailing li
in Supernova,
isn't able to pull off yet, though it costs 1000 euros. Nice.
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
___
Perl-Win32-User
e of installation as
I've added quite many of them afterwords. Searching based on date may also
fail, because of a recently run update all style command in PPM. I didn't
update precious, though, whatever that means.
PS: OS is the English XP SP 2 with all the latest fixes applied.
"Async flag: $const->{SVSFlagsAsync}\n";
# Win32::API
Win32::API::Struct->typedef( POINT => qw
{
LONG x;
LONG y;
}); # point.
Win32::API->Import('user32', 'BOOL GetCursorPos(LPPOINT lpPoint)');
my $point = Win32::API::Struct->new('POINT');
GetCurs
is there an easy manual method
that I could apply systematically to find the files? Lastly, are there any
other perl to exe converters worth trying?
I'm still a perl newbie as you might have noticed but have programmed in
some other languages both OOPy and procedural. Any and all help gre
Sisyphus wrote:
From: "Veli-Pekka Tätilä" <[EMAIL PROTECTED]>
able to get the mouse pointer location in Perl regardless of whether
mouse events are going to muy application window or to some other
thread or process in stead.
use Win32::API;
Win32::API::Struct->typedef( PO
be written in C, because system wide hooks must
reside in DLLs according to MSDN and thus Perl is out, I guess.
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
_
Jan Dubois wrote:
On Fri, 12 Aug 2005, Veli-Pekka Tätilä wrote:
The issue occurs hwen trying to use OLE together with threading.
Yes, that is a known issue. Don't use Win32::OLE with threading,
it doesn't work.
Ok, good to know and thanks for a quick reply. Is this fact already
some levle but am just experimenting with those
of Perl. If the crashing problem is a real bug, will updating to the latest
version of Win32::OLE and or Active State Perl fix it? Lastly, where can I
get the latest version of Win32::OLE using PPM?
Hope this can be of help and sorry in advance, i
edhat etc... using in ASCII wizards and can I get the same thing for
Windows applications in Perl?
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
Octavian Rasnita wrote:
Hi,
I am trying to cre
ant methods won't work with 2.0 or the screen reader
causes some side effects. Both explanations are very unlikely but I'm
beginning to run out of ideas, , and thought I'd post some newbie Qs
here, then.
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibili
inally I should mention that it would probably be easiest to use MSAA, if
there was a Perl module for it. I found a neat Python wrapper around MSAA
at:
http://www.cs.unc.edu/~parente/tech/tr09.shtml
but haven't so far found anything equivalent implemented in Perl.
With kind regards Veli-
f I could do a little perl script that does the job it might help
a great deal in interpreting textual but image based content quickly without
having to
fall back to full-screen magnification, or manual OCRing for that matter.
Any help greatly appreciated as usual.
With kind regards Veli-Pekka Tätilä
52 matches
Mail list logo