Messages - murple [ switch to compact view ]

Pages: prev1 2 3 [4] 5next
16
Post New Requests Here / IDEA: Folder name column in Windows Explorer
« on: September 04, 2008, 01:20 PM »
Hey!

This is again relating specifically to Autodesk Inventor and even more specifically to Autodesk Inventor Vault. Inventor is a CAD software to create 3D models and drawing and Vault is a database which keeps track of all the files (Drawing numbers, revisions, links etc). It has a search feature which works fine but which doesn't display the folder in which the files are found which is important. The standard file search of windows does exactly what it should, it displays the file names of all files that meet the search criteria and it shows the names of all the folder in which the files are found. In Vault it is possible to select what file information you want to display for example modified and created dates, file sizes etc. These columns are the same columns which are available in the standard Windows Explorer. My question is, is it possible to create somekind of shell extension which will add a custom column to windows explorer? This column should display the path of the file name (with or without the filename itself). See screenshot attached.

Can this be done within a few hours of coding??


Thanks in advance,
Murple

17
Post New Requests Here / IDEA: Toggle Fullscreen of Control
« on: September 04, 2008, 01:01 PM »
Hey!

I would like to have a small program that will allow a user to stretch a given region of the screen (a window and/or control) to fill the entire screen and then "unstretch" it back to its original size and position. The program wouldn't need a user interface of its own, hotkeys would probably suffice. More specifically, I need to stretch a window in Autodesk Inventor which is a 3D CAD program and give the user the ability to show only the 3D model on the screen without any of toolbars, buttons, taskbars etc. that clutter the working space. This program would be of equal interest to many other 3D packages (That don't have this feature already) or other software. It's main intention is for presentation purposes where you want to clean the screen for distracting elements. I suppose this could be accomplished by hiding the regions of the screen that are not of interest, but I am looking for something that will make maximum use of the screen real estate.

I have experience with AutoHotkey but I haven't been able to find a suitable solution. I've tried a few different approaches so far:

-Set the size of the control to be equal to the screen size and set the control to be the topmost control.
This didn't work because the control is a child of the parent window (Autodesk Inventor) and I couldn't set the size of the child control to be larger than the size of the parent window. The control is stuck inside the parent window.

-Detach the control, set its parent to a new gui and set the size of the gui to be equal to the screen size
This is when I came across Skrommels DetachVideo. This seems to be very promising and a great starting point. Extending and modifying DetachVideo to detach and stretch any control would do the trick nicely. One issue with this approach is that even if all keystrokes and mouse clicks are "forwarded" to the parent window, the parent window has "lost control of the control" so the program might not function properly?

-Create a separate window which magnifies the original control
This might work as well, but I couldn't get things right and ideall I would like not to distort the image (zoom). If nothing else works then this will suffice.

Related links I've come across:
Similar request for program
SetParent function (make a gui belong to another window)
holomind's ScreenMagnifier

I've attached some pictures showing the Autodesk Inventor main window.
  • The first image shows the standard window with the window of the 3D model maximized inside the parent window.
  • The second image shows the standard window with the windows of the 3D model "restored" inside the parent window.
  • The third image shows what I want the full screen to look like. This essentially shows the entire goal of the program
  • Snapshot from WindowSpy

Can this be accomplished?


Thanks in advance.
Murple

18
Unfinished Requests / Re: IDEA: OCR & paste
« on: February 11, 2007, 07:40 PM »
ClipWrite isn't very good yet, mostly because it's slow because the code sucks and it's still buggy. But in functionality, this is what I had in mind:

#singleinstance force
;Run the script, then enter Win+C and type your text. Hitting the enter key, will hide the window and copy what you wrote to the clipboard. Ready to be pasted elsewhere.
coordmode, mouse, screen
;The codeline Enter:: means that hitting enter will close the program and copy the text. This makes it very quick to close, but it disables your enter key when elsewhere when the program is running. What is the workaround for this? I want the code in the Enter:: section to be executed only if the gui


#z::
 gosub, BuildGui
return



Enter::
 GuiControlGet, MyEdit
 if ErrorLevel = 0
  {
   clipboard = %ControlText%
   Gui, destroy
   SetTimer, UpdateGUI, Off
  }
return

#q::ExitApp


BuildGui:
 CustomColor = EEAA99  ; Can be any RGB color (it will be made transparent below).
 Gui, +AlwaysOnTop +LastFound +Owner  ; +Owner prevents a taskbar button from appearing.
 Gui, Color, %CustomColor%
 Gui, Font, s20
 Gui, Add, Text, w500 vMyText c800080, XXXXX YYYYY  ; XX & YY serve to auto-size the window.
 Gui, Add, Edit, vMyEdit
 GuiControl, Move, MyEdit, x10000 y10000 
 ;GuiControl, hide, MyEdit


 ; Make all pixels of this color transparent and make the text itself translucent (150):
 WinSet, TransColor, %CustomColor% 200
 Gui, -Caption  ; Remove the title bar and window borders.


 SetTimer, UpdateGUI, 50
  Gosub, UpdateGUI  ; Make the first update immediate rather than waiting for the timer.
 return

return


UpdateGUI:
 MouseGetPos, MouseX, MouseY
 msgWidth = 570
 msgHeight = 120
 SysGet, MonitorWorkArea, MonitorWorkArea, %A_Index%
 maxRight := (MonitorWorkAreaRight - msgWidth)
 maxBottom := (MonitorWorkAreaBottom - msgHeight)


 ;msgbox, msgWidth:%msgWidth%`nmsgHeight: %msgHeight%`n`nMouseX: %MouseX%`nMouseY: %MouseY%`n`nMonRight: %MonitorWorkAreaRight%`nMonBot: %MonitorWorkAreaBottom%`n`nMaxRight: %maxRight%`nMaxBot: %maxBottom%

 if(MouseX > maxRight)
 {
 MouseX = %maxRight%
 }

 if(MouseY > maxBottom)
 {
 MouseY = %maxBottom%
 }

 Gui, Show, x%MouseX% y%MouseY%
 ;GuiControl,, MyText, x%MouseX% y%MouseY%
 GuiControlGet, ControlText, , MyEdit, Text
 GuiControl,, MyText, %ControlText%
return

Could be used together with Jim Biancolo's PlainPaste as a sort of clipboard extension.

19
Unfinished Requests / Re: IDEA: OCR & paste
« on: February 08, 2007, 06:58 PM »
rjbull,

Unless I'm missing something, this doesn't look like OCR...

You're entirely right, that is not OCR (although one could -stupidly- argue that it's OCR performed by the user as opposed to the computer :). I would love to have a program which would allow me to select part of my screen, perform OCR on it and copy the recognized text to the clipboard. Unfortunately, coding anything involving OCR is lightyears out of my league.

Instead then, I'd like to conjure up a tiny application which allows you to "write directly to the clipboard" in the easiest, fastest most intuitive and least intrusive way. I'd call it ClipWrite.

Thank you for the program suggestions but they weren't quite what I had in mind.

20
Unfinished Requests / Re: IDEA: Get current directory
« on: February 08, 2007, 06:42 PM »
Neither did I, I learned it while trying to decipher your code. Glad you liked it. :D

Pages: prev1 2 3 [4] 5next
Go to full version