Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-23-2019, 07:31 AM
ashwa ashwa is offline
Registered User
 
Join Date: Jul 2019
Posts: 1
Import error

import ctypes
from ctypes import wintypes
import time

user32 = ctypes.WinDLL('user32', use_last_error=True)

INPUT_MOUSE = 0
INPUT_KEYBOARD = 1
INPUT_HARDWARE = 2

KEYEVENTF_EXTENDEDKEY = 0x0001
KEYEVENTF_KEYUP = 0x0002
KEYEVENTF_UNICODE = 0x0004
KEYEVENTF_SCANCODE = 0x0008

MAPVK_VK_TO_VSC = 0


VK_TAB = 0x09
VK_MENU = 0x12



wintypes.ULONG_PTR = wintypes.WPARAM

GETTING IMOPRT CTYPES ERROR NO SUCH MODULE

SecureCRT
---------------------------
ImportError



Error: No module named _ctypes

Line: 16



import ctypes
Reply With Quote
 

Tags
ctypes , import error , python import , python key press


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:16 AM.