I believe there is a typographcial error in the Case statement for the left click function above: Case "oBase" The quotes refer to a variable rather than the literal expression. Removing the quotes allows the left click to function properly: Case oBase -Dave-
DJConnor
Again, Wow! Thanks for all the help, I'm learning a lot. SirSmiley, This is very close to the approach I tried except that I had no File System Object script (this is much neater) and I only used a foder object child (didn't think about the file shortcut being different) and I did a poor job at checking for errors ...and it took me a month to figure out. Other than that it's identical :) Now for the tricky part: Lets say that after you drop a folder the object goes from
Wow, thanks everybody. This is really good stuff. sViz, thanks for the fso script, that gives me an idea.... SirSmiley, yes, I am somewhat attached to the to the default folder menu since it allows for a unique browsing experience -the folders show up as folder icons and open automatically on mouse over. What is your idea?
Thanks for the suggestion, however that doesn't seem to work for my application: "I would use the object properties for this except that I don't want the object to react as a shortcut every time files are dragged to it." -Let's say that you were creating an object titled "Drop Files Here to Create a Shortcut". The first time a file or folder was dropped ont the object its path is used to set the object's shortcut. After that you want the object to act as a shortcut to th
I have seen several articles explaining methods for scripting a shortcut for an object. Could anyone suggest a method allowing the scripted shortcut to be opened as a folder shortcut popup menu? I would use the object properties for this except that I don't want the object to react as a shortcut every time files are dragged to it.
Does anyone know how I can make a DesktopX object respond to dragged files that are hovering over the object before they are dropped? Sub Object_OnDropFiles (files) responds after the mouse is released and the object does not seem to change state in response to a "mouse over" even though the operating system changes the cursor to indicate that files can be dropped.