AutoCAD .NET :: Capturing Escape Key During A Command
Dec 17, 2013
I have a vb.net Autocad add-in which runs an iterative routine with a while..wend loop that often takes a few minutes to finish. The routine is very stable and always restores user control eventually, but if the user hits the escape key while it is running, a fatal error occurs in acad.exe.
if there is a way to detect that the escape key has been pressed so the routine is exited?
Yesterday I was cruising along as normal when all of the sudden my escape key stopped working. I believe it happened after I accidentally loaded the dbconnection manager or something similar but not sure. When I envoke a command, the escape key does nothing. When I select something and hit the escape key, it doesn't deselect everything. I know it's not my keyboard because I'm using a laptop and both the attached keyboard and the keyboard on the laptop function the same in that the escape key doesn't work. I also have a Logitech Performance MX with a button set as the escape command and that doesn't work. When I type in cancel or ^c^c, the response is "unknown command".
To reproduce this bug, you must set the Command Line in the new semi-transparent style as featured in AutoCAD 2013. If it's docked in old-fashion like previous AutoCAD versions, the bug won't work.
When there's no command active, you have the following Command Line with the text "Type a command":
If you press the Escape key to cancel (weither you're in a command or not), AutoCAD focus on the command line with a bar sign and the transparent background turns white:
Now if you move the crosshair with your mouse in the drawing area, the Command Line bar sign will revert back to the "Type a command" text, which is fine.
But if the mouse cursor hovers the Ribbon region and you press the escape key, and then you click a Ribbon button, instead of executing the button's command/macro, the Command Line will simply revert to the "Type a command" text. So in the Ribbon area, if you want a Ribbon button to work, you must not have the bar sign in the Command Line. This gets annoying when you often have the habit of pressing escape while in a command and having the mouse ready to chose another command in the Ribbon.
My guess is that the new Command Line format in 2013 may have focus priority issues with other AutoCAD pallettes like the Ribbon. In AutoCAD 2012, the Command Line did not have a friendly "Type a command" message. So it probably has to do with this new implementation when AutoCAD decides when you have the "Type a command" text or the sign bar.
I can't find a keystroke or combination of keystrokes that will issue the "escape" command in a script file without ending the script. In other words, I want a line in the script which will issue the "escape" command and then go to the next line of the script and continue on.
Something I have found useful in day to day drafting is changing the F1 key to a secondary escape button. This way you won't have to wait for the help window to appear.
Any way to trap when the user hits the escape key without a user input function. The idea is to loop infinitely and perform some analysis until the user hits the escape key.
I suppose I could do the same thing with a form but I would not.
show me an event handler (or whatever is needed) for bailing out of an AddIn? I'm using VB.net. The end users would prefer to use the ESCAPE key for this.
I work in AI more than PS, so my habits from AI are hard to break. One interface difference I ran across was the "esc" key functionality. In AI hitting "esc" saves current changes in the symbol editor and moves the user back to the artboard. In PS, hitting "esc" cancels any editing tool, such as "transform" or "Puppet Warp" without saving changes. While the PS "esc" function is probably more appropriate, it is annoying for someone who is used to the AI worflow. Image my frustration when I worked diligently on a "Puppet Warp" session and lost it all by hitting "esc". Noticed this inconsistancy in the two programs?
I have addin running inside Inventor. The requirement is that addin should be able to capture the "save as" operation done by the user. Internally, addin stores unique information in the active Inventor file and when user does "Save as", it needs to generate and store the new unique information in the newly created file after Save As. That is the reason it is required to capture the Save As event.
It was possible to capture the "Save" event and there I get Event Timing Enum (kBefore and kAfter). But the file name is same for kBefore and kAfter. So its not possible to identify that its Save As operation.
I'm running X5 on Windows 7 and I'm trying to put a VHS tape to DVD. I have a Winfast VC100 U capturing device with the red white and yellow cables plugged into the VCR. The video plays through X5 (with no sound) and when I press the 'capture video' button, it says its capturing, but in the information box, the available space does not budge. Once I stop the capture and go to the edit screen it has only saved a video of 2 frames. I have never tried to capture a VHS tape before.
My current video settings are: Input source - Composite TV System - PAL B
When we capture music from CD's in Pro X3, the last few seconds of the songs get cut off. Or the recording skips, cuts out a few seconds of the song right before the end, and then captures the end of the song. It's an intermittent problem with no rhyme nor reason that we can figure out as to which songs are being affected. But once a song has been captured and the end garbled, that same song will always be garbled no matter how many times we delete the recording and recapture it.
I have used old tape type camcorder (sony) for 7 years and used firewire cable(1394) to capture the video into my desktop. capturing file format was AVI(DV type 1). It's pretty big size of files but I like this type of file format because there were no compression so that I can keep an uncompressed original DV files. When I captured(download) the video from camcorder, I usually turn power on the camcorder after connect into desktop, then VideoStudio automatically recognized my old SONY camcorder so it's always ready to capture the videos.
BTW, I purchased new HD camcorder (JVC, model jvc gz-e10). I did connect same what I did tape camcorder, but neither my computer nor VSX5 can't recognized to capture. (It just only detect as movable device, i.e. SD card...)
How to capture this video clip from HD camcorder using VideoStudio program? Inside of SD card, captured files have "mts" file extension.
Whenever I try to capture anything from VHS > DV > Firewire to my PC VS crashes hard core. Everything freezes and it reboots.
i7-2700K I have Two brand new 4th generation SSD (Vertex 4's) in RAID 0, Read and writes @ 1GB/sec I have 16GB of RAM, 2133, half is a RAMdrive (temp). This reads and writes @ 5GB/sec. I usually write to this because there is no possible chance of bottleneck. Though I've tried SSD or HDD write too. Top of the line everything else, MB, sound, etc. How the hell much more power do I need?
Can't believe the FREE 100Kb WinDV can capture for 8 hours + no hiccups, no lost frames, but the second I try to capture, even go into capture mode with VS14 it starts to stall, crash, choke up and eventually reboot the whole F%^&$%^ machine, leaving my 6TB RAID 5 to have to rebuild.
I have been using VS for quite a few years firstly with VS6 and currently have X3 (depending on a few things I will probably upgrade to X4).
Up until the present time I have been capturing on my PC at home via fire-wire from my current camcorder (Canon MD 235 which of course uses mini DV) . I want to purchase a new laptop to give me some mobility and also be able to edit produce DVD's on the move, looking around virtually no current laptops (unless I go well beyond my budget (around £500)) have fire-wire or even an express port to use a expansion card with fire-wire.
I realize that I will probably have to step up and get a newer more up to date camcorder over the summer and what I am trying to understand is the difference in capture formats. I like the look of some of the low end Hard drive/flash/SD card camcorders around, but how do you import to PC, is all done by USB?
In what formats is the video imported and how easy in comparison to say Avi files and is it easy to edit video using VS and produce a DVD from the resulting files?
I have VideoStudio X3 which has been had been running fine, however when I came to use it today I found that although I could capture video from within the capture tap, nothing was displayed on the "monitor" window. I've un-installed and re-installed and still nothing. I can control the tape transport via clicking on the play / pause / rew etc buttons under the monitor window, but there is no picture displayed. To check if this was a fault with the camera / Firewire card I launched Windows Movie maker and that displayed the incoming source without any problem, suggesting this is a VideoStudio issue.
System spec: Vista Business 32bit Dual core Pentium running at 2GHZ 4GB RAM Asus 210 silent (Nvidea) with 1GB RAM
Panasonic NV=GS65 3CCD
Using the monitor on the camera I captured a clip (again nothing displayed within VS) which when placed on the time line played back on the VS monitor, although it was very interlaced with zig-zagy edging on movement.
Capturing: DV-PAL Widescreen 48kHz from Sony J-30 Beta compact player.This device is equipped with Firewire port.Could not get 16:9 format of captured or preview material.
We forgot to stop capturing video using VS Pro X2. There is now a file size that is a bit over 337gb. When trying to open that file for editing, an error message pops up [There is no common media type between these pins] (17101:70:2)
I am assuming that this file cannot be opened to remove about 330gb of unwanted data.
When i want to record from tv/tuner card from vcr (smi grabber) my preview screen go's black. It records but i only hear the sound. No video preview. But it is recorded with video and audio. When i only play the vcr the video preview works in corel.
-I just installed the VideoStudio v10 software and it captures video fine, however I have an issue with the audio. The audio is present but for some reason there is a noticeable static on the video file. Im using a 2000 Sharp ViewCam VL-A10 monaural/analog 8mm camcorder to transfer video to my computer. Im confused because there is NO static on the original 8mm tape, when I play video on the camera, the sound is fine as well as when I plug it in to my TV set for playback. I dont understand where the static is coming from on the digital transfer? Ive tried several capture formats MPEG, DVD, AVI etc. the static is present on all versions. Im using the EasyCAP USB device with A/V plugs for capturing.
I have purchased a Sony DCR TRV480 to play Hi8 tapes and convert to Digital Video. My camera came with a USB cable that plugs into the camera in the video jack. I want to capture the video using VSProX4. What do I need to do to capture it? Do I need a driver for the USB. I dont seem to have a firewire jack on this computer but it does have a 1394 labeled jack in the back. It has several USB jacks.
I have our daughter's Nativity on my hard drive, and wanted to try some image screen capture so that our Playgroup can send a photo to our local newspaper. I have played the video, paused then performed a "Print Screen." I have then pasted that paused image into Xara PGDv7. But seem unable to resize the pasted image. If I try to resize the image, the resizing window just concentrated upon a portion of the pasted image. I thought this would have been straight forward, but it doesn't seem to have worked. Playgroup asked whether I could do this asap.
Capture a bunch of signatures to be later used in PS for creating a collage of a sports team...each photo will have the players signature... I'd like to ideally use my i pad to capture and then move to PS where I can associate each signature with a photo, etc. The trick is to work off a list of names and be able to keep the association as a move it to PS...
File Maker Pro / Go combo will do what I want I think but its quite pricey at $150+40...was hoping some other cheaper way was possible. Obviously need to pay attention to transparency issues..Don't want to have to manually delete white backgrounds once imported, etc.
Sometimes when working with particularly difficult imaging I'll start with a quick auto-level or auto-color adjustment. More often than not these attempts leave little to be desired and I move on to other techniques. But once and a while (like today's subjects) I'l do an auto-color and the result is good enough to warrant inclusion in an action where I want to apply the exact same settings from that single auto-color step to a few more files.
Trouble is, unlike the levels where you can see what's been done and can save the .alv, there seems to be no equivalent for the auto-color adjustment. Can those settings be saved out?
I have a Logitech webcam (not the best, but not the worst) connected to my Windows XP 32 Bit computer. (Yes, I realize I need to upgrade. We are working on that.) However, I make YT videos on a regular basis for crafting, and have recently started using Corel VideoStudio Pro X-5 Ultimate to capture via webcam and edit my videos. When I go to watch the video after it's been captured, the sound "skips" during the video. Words will be cut off, but the video looks fine. The actual video itself doesn't skip.
I'm wondering what the best setting would be to capture a video via webcam so that it is a smooth picture/sound (as smooth as a mid grade Logitech cam will do, of course), and have the file not be 3gb. Since I upload these to YT (not via the YT uploader), the smaller the file, the better, within quality reason.
when I try to import footage from camcorder as an AV file I'm getting message, 'Capturing failed. The file is corrupted and unusable. It will be automatically deleted'.The only recent change I've made to my laptop is renewing my Panda security.