Strydr Posted October 8, 2018 Share Posted October 8, 2018 Hopefully, by now most of you are either seeing advertising of Virtual Reality or have actually experienced it. It's on it's way. One of the problems that we have in VR is that since we have no way to access our keyboards, we have no way to copy and paste stuff. VR has progressed to the point that virtual keyboards are 'normal', but no one has come up with a way to cut, copy or paste in Virtual Reality. So my thought was to use a small piece of compiled script activated by a hotkey. A lot of us use a product called VoiceAttack, so I would use this to activate the hotkey. It would need to be able to copy any highlighted text on activation and then paste it, on command, where ever the cursor is. Keep in mind that we have no access to anything except a basic keyboard in VR. We can use our controllers to highlight text, but we typically have no mouse clicks and, especially, no right click menus. Since VR is so resource intensive, using a running script is not an option: activate it and be done and it needs to be simple or it will flash us out of VR every time we try to use it. They are still in the initial stages of getting our controllers to be programmable: in time we should be able to program the hotkey into our controllers, but for now, Voice Activation will have to do. Normally, I would explore and see if there was some way that I could do this. However, in this case, I think that this could end up being more useful than most would think and I'd like to possibly distribute it. Which means that it needs to be "bullet proof" and simple. Which means that it's out of my skill league. What I would like to do is see what you guys can come up with and then compile it, put it on a Github and then post about it on the VR Reddits. I'm not interested in taking any credit (obviously, I hope): if you decide to post an attempt at this, please be sure to include whatever and however you want to be credited; email? IM address, whatever. At the very least, I would link to the original post in these Autoit forums. To recap: my intent is for this to fill a public need, not just for my use. If it was just for me, I would just try to figure it out on my own. Thanks for your help! ps: this was a "shower" thought, I hope I'm not offending anyone by suggesting this. A lot of us in the VR community like to be helpful. We're trying to do anything we can to assist in the promotion and utilization of Virtual Reality technology. Thank you. "You haven't 'lived' until you've been eaten by a 60 foot sea snake!" Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted October 8, 2018 Share Posted October 8, 2018 @Strydr Sorry for the question, but, what do you need? A compiled script which does what? Copy-paste? Actioned from what? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
caramen Posted October 8, 2018 Share Posted October 8, 2018 Game automation ? This is particular. Wont answer before a mod. My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
Strydr Posted October 8, 2018 Author Share Posted October 8, 2018 (edited) I thought I made this clear, apparently not. (not the first time, lol, apparently I like to complicate things.) I need a script that can be compiled and activated from a hotkey (this part is simple) that will copy any highlighted text to the clipboard. Then I need another script that will paste the contents of the clipboard to where ever the cursor is. It needs to be simple and "bullet proof". Thanks. Edit: "Game automation"?!!!! I have no idea where that comes from! This is to make it possible to work in Virtual Reality. Edited October 8, 2018 by Strydr Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 8, 2018 Moderators Share Posted October 8, 2018 (edited) Strydr, Quote I need a script We do not just write scripts to order - we help you get your script running as you wish. Think of the old saying: "Give a man a fish, you feed him for a day; give a man a net and you feed him forever". We try to be net makers and repairers, not fishmongers. So I suggest not holding your breath awaiting a response - although if anyone is feeling generous you might be lucky..... M23 Edited October 8, 2018 by Melba23 Typo FrancescoDiMuro 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted October 8, 2018 Share Posted October 8, 2018 @Strydr As you know, "copy any highlighted text" is not a valid question, since you need a text container ( an Edit control, an Input control, and so on... ). So, you need first to know from where you want to copy the text, and then you can write some lines of script. To set the text in the Clipboard, you can use either Clip* and _Clip* functions PS: And, I agree with @Melba23; we can help you giving you some hints Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Strydr Posted October 8, 2018 Author Share Posted October 8, 2018 (edited) @Melba23 This is generally my policy as well. It doesn't do me any good to copy someone's script if I don't understand it. However, I believe that there is a need in the VR community and I thought that someone might feel helpful in general. As I mentioned, my thought was to fulfill the needs of others, not myself. As I also mentioned, making this as a software product for general consumption is beyond my current skill levels. @FrancescoDiMuro "copy any highlighted text" is where I expect the rub to be. And, no, I do not know that this is not a valid question. Your comment does give me a hint on how to proceed but it also hints that what I optimally want may not be possible. There are some scary serious programmers in the VR community: if it was easy, I'd expect someone to have done it already. Thank you, anyway. I do appreciate the fact that I can bring my "examples" to you guys for help!!! This was just a shower thought. If anyone wants to help the VR community tackle this, I do NOT need to be involved: just post where the exe's can be found on the VR Reddits. Heck, you can even market it on Steam, there's that much of a need! Out of curiosity, is anyone in this community involved in VR, yet? Edit: the real need is to be able to copy and paste in the Overlay! Edited October 8, 2018 by Strydr Link to comment Share on other sites More sharing options...
iamtheky Posted October 8, 2018 Share Posted October 8, 2018 You speak about 'VR' as though it is a singular ecosystem. What platform and application are you attempting automate copy/paste activities in? In most cases it's probably not even text you just selected, its an image placed at specific coordinates in a 3D world and you are searching for an OCR solution. Hololens works on many office apps, you think that is all happening without copy/paste functionality? ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
AnaIT Posted November 27, 2018 Share Posted November 27, 2018 On 08.10.2018 at 7:49 PM, Strydr said: Out of curiosity, is anyone in this community involved in VR, yet? Edit: the real need is to be able to copy and paste in the Overlay! Yes, I am involved in VR and AR application development and cooperate with this software development company. Actually, you can find a lot of useful information on their site and if you have further questions, try to ask them. Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted November 27, 2018 Share Posted November 27, 2018 I would not be doing any desktop emulation in VR without being.... at my desktop. That means easy access to keyboard and mouse. I do see VR headsets replacing desktops in some situations simply because you can have multiple desktops in 3d space using the pixels of only a single desktop, but the interaction remains the same mouse/keyboard. Just with head tracking moving in virtual space instead of moving your head IRL to look at multiple monitors. Keep in mind AutoIT is a windows program, so the only way to use it is in a windows environment, it wont run inside some VR application unless it exposes some kind of API to Windows running ontop of it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now