RE: Win32 Shortcut?
On Mon, 25 Jun 2007, Michael Higgins wrote: > I can't seem to find win32::shortcut... I'm assuming some other ppm- > available module now has this feature, but I haven't found it yet. It is part of the libwin32 package. It is already installed if you are using ActivePerl. One problem is that it is not using POD for documentation, so the docs will not show up in the HTML docs, and perldoc will come up empty too. You can browse them online here: http://search.cpan.org/src/JDB/libwin32-0.27/Shortcut/docs/index.html Cheers, -Jan ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Win32 Shortcut?
I can't seem to find win32::shortcut... I'm assuming some other ppm-available module now has this feature, but I haven't found it yet. Anyone have a suggested solution? Cheers, -- . . . . . . . . .. ... . . .``. .`. .`. . . .` . . . . .` .` . .`. . `. . ` . . .`..`` .```. . . .. . .. . . `.`. . . . . `. . . .`..` `..` . . . `..` ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: [Fwd: Re: Where to find the ppd for Win32::Shortcut?]
For the benefit of all, Win32::Shortcut seems to work still, at least on W2K. Maybe the work has stopped, cause I'm facing the following issues: 1. The required folders are not automatically created when Save() is used. This is minor and can be solved by called File::Path::mkpath() first. 2. Creating a shortcut to an executable does not seem to work. The shortcut is created, but clicking on the link does not call the application. I manually set an icon to it, and that seems to help. But there should be an easier way to do this. But if the shortcut is to a URL. that's ok. Correction to my previous post: Creating a shortcut to an application works only if you set the ShowCmd parameter, as in the following example: $link->{ShowCmd} = SW_SHOWNORMAL; ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[Fwd: Re: Where to find the ppd for Win32::Shortcut?]
>There is documentation for Win32::Shortcut, but it is not distributed in the standard way, i.e. as POD in the .pm file or as a separate file, so you have to look a bit harder. When you search for Win32::Shortcut on search.cpan.org you would have seen that it is part of the libwin32 package. If you follow that link (http://search.cpan.org/~jdb/libwin32-0.26/) and scroll down you will see the some html documentation under "Other Files". Note that the documentation seems quite old, circa 1997, which may be part of the reason for it being "non-standard". Thanks Brian for the response. For the benefit of all, Win32::Shortcut seems to work still, at least on W2K. Maybe the work has stopped, cause I'm facing the following issues: 1. The required folders are not automatically created when Save() is used. This is minor and can be solved by called File::Path::mkpath() first. 2. Creating a shortcut to an executable does not seem to work. The shortcut is created, but clicking on the link does not call the application. I manually set an icon to it, and that seems to help. But there should be an easier way to do this. But if the shortcut is to a URL. that's ok. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs