Jump to content

RedwookHighway

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by RedwookHighway

  1. Thanks, genius257, I'll look into that. I will need to make sure that the files actually get moved to the new location. I think I'll write something to move everything over first then change the registry and finally restart the system to set the changes.
  2. Is there an easy way to bring up Documents Properties in windows 10. I have been looking for a bit and I'm just not seeing much. Autoit Windows info doesn't seem to bring up a ControlID for anything within File Explorer. I am trying to make a script that will automatically change the locating of libraries in windows.
  3. For anyone interested, here is what I ultimately got. It will let me copy multiple lines of text. Once I am done copying I hit the ~ key and then start pasting. The script will run through all the items copied started with the first one and then switch back with a fresh clipboard once it's done. #include <Array.au3> #include<HotKey.au3> Func HotSwitch() If $modeswitch = 0 Then $modeswitch = 1 Else $modeswitch = 0 EndIf EndFunc HotKeySet("`", "HotSwitch") ;HotKeySet("^v", "HotPaste") Func HotPasteNorm() Send("{SHIFTDOWN}") Send("{INS}") Send("{SHIFTUP}") EndFunc Func HotPaste() ClipPut($ClipboardStore[$n]) Send("{SHIFTDOWN}") Send("{INS}") Send("{SHIFTUP}") sleep(20) $n += 1;increment varable n sleep(60) EndFunc While 1 CopyMode() PastMode() Wend Func CopyMode() HotKeySet("^v", "HotPasteNorm") Global $ClipboardStore[1] Global $modeswitch = 0 ClipPut("") While $modeswitch = 0 sleep(100) $sOut = clipget() If @Error Then continueloop _ArrayAdd( $ClipboardStore, $sOut) ClipPut("") WEnd Beep(1000, 500) EndFunc Func PastMode() HotKeySet("^v", "HotPaste") Global $n = 1 ;this vallue is used to increment the clipboard counter. Local $m = UBound($ClipboardStore) Do Sleep(100) Until $n = $m or $modeswitch = 0 Redim $ClipboardStore[1] $ClipboardStore[0] = "" $n = 1 beep(800, 500) EndFunc
  4. Interesting thing when running my test script the w key now makes the beep sound. There must be something going on with the Virtual-Key Codes. I looked them up but they seem correct.
  5. I'm trying to run a simple test for this but I'm not getting anything. The script I came up with should make a beep sound play when ctrl v is pressed. Can anyone see any glaring issues with my code? It should also not interfere with the proper function for the past command. #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.8.1 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- #include<HotKey_21b.au3> #include<vKConstants.au3> _HotKey_Assign(BitOr($VK_CONTROL, $VK_V), "HotTest", $HK_FLAG_NOBLOCKHOTKEY, 0) Func HotTest() Beep(1000, 500) EndFunc While 1 sleep(200) WEnd I am running this on a Windows 8.1 box.
  6. Thanks jguinch I'm not sure what the clipboard viewer is I will have to do a little reading. P.S. Nice cup.
  7. The example script will not run. Giver me an error Line 3 Array Variable subscript is badly formatted. Looks like it does not like the 0 in the array. I changed the number of elements to 1 and it now works. Thanks this method will form the base of my script.
  8. Thank you very much, I am looking at that now.
  9. Well for the most part it would be within a program called ConnectWise. I would be copying data out of there and pasting it into either a web page or Quickbooks.
  10. I am attempting to write a script that would allow me to copy one line of text after another and then on pressing a hotkey past them into fields in the order I copied them, on at a time. Ideally it would work with both a right click + copy and the Ctrl + C. I was thinking about using a hotkey but it looks like Ctrl will not work with the hotkey.
  11. Good day I am attempting to write a script that will copy the continence of the clipboard to an array every time a copy action is done. I was looking for the best way to signal to my script to run ClipGet() Is there a way for autoit to run a script on copy?
×
×
  • Create New...