Well, maybe not totally straightforward... because when you copy a file to the clipboard, there's not just a text string representation of it's path in there. [/quote]
straightforward from the user's perspective. i know how files are not represented in clipboard as text, but, it can be obtained.
[quote="steje"]However, perhaps GPsoft could natively do something similar to what I'll suggest to you here as a way to do what you want:
I've attached a zip file with two files inside. One is the raw text for an autohotkey script, and the other is a compiled executable of that script. I would suggest you include the EXE in your Opus config. If you type /dopusdata in the location field in Opus and hit enter, in the folder it takes you to - if you don't already have a "Scripts" folder; create one and copy the EXE there. The "Scripts" folder is a special folder that Opus will include if you do a configuration backup, but really - you can put the EXE anywhere you want. Point being...:
You can then create an Opus hotkey (say Ctrl+P or whatever else you think makes sense)... that then runs: "<path_to_exe>\cliptext.exe"
What this will do is use AutoHotkeys clipboard = %clipboard% function to convert the actual "file" you copied to the clipboard in Windows Explorer (or Opus, doesn't matter) into a text string of the files path. The rest of the compiled script then just sends that text data to Opus and then exits. NOTE: the text won't paste into the location field... it'll actually type itself out into the file display and the FAYT field, where you can then hit Enter. Point being, you'll get the end result you're asking for.
Is this more natural and useful to you?
@Jon/Leo: maybe this is a bit of an edge case, but I wonder if you could treat the clipboards "file" content similarly to what this AutoHotkey function is doing - IF - there is non-text data in the clipboard - AND - input focus is on the location field? This way, people who want something similar can just use <Ctrl+V> in the location field and get this result? It's not as though you can actually paste a "file" into that field anyway...[/quote]
it's nice to see there are still hackers out there; hell, i was one myself, but, as the time goes by, i more and more admire simplicity. i don't want such workarounds. i want things to work out of the box, without the need of reading tons of manuals/faqs.