--- Alex Peters <[EMAIL PROTECTED]> wrote: > Thanks guys, you're right. A very silly error on my part. > > Bruce, if you don't mind my asking, would you consider slightly > changing the documentation on File.CreateShortcut to use some > different keywords, such as Target instead of FPathRes, just to make > it slightly less confusing? Perhaps LinkPath instead of FPath just to > emphasise that this is the field for the path to the link?
Although it's of no problem to me as I don't use *.lnk at all, the order of the arguments in the file.createshortcut() seems a bit odd in the current implementation. Maybe it's the remnant of the simplified implementation in the previous versions where the "from-to" concept is the clear and obvious choice. And it's not complete, i.e., missing "Work"/"How"/"Shortcut" arguments. I suspect it's because PP has a limit in number of arguments for the plugins, maybe "6" which I guessed from win.debug(arg(1),...,arg(6)) (:purely my guess, once again). Anyway, I suppose it'll serve well in most of the situations, if being careful about the order of the arguments. However, if in need of more detailed controls of the .lnk files, the following may be helpful: http://www.totalcmd.net/plugring/linkinfo.html where a "free & handy" shortcut editor is included. (FYI, I've never made use of it myself) Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
