--- In [email protected], "david.sotropa" <david.sotr...@...> wrote:
>
> Hi: I have some notes that are completely off the screen and I cannot
> access. I know they exist because they're in my Notes folder. How do I
> "rescue" them?
>
> Thanks,
>
> Dave
>
I've had this problem myself with my laptop when I go from being on a large
monitor to the smaller laptop screen.
After I read your message I thought I'd try writing something to help both of
us.
This looks for windows that belong to powerpro and shows you a list.
Of course this shows you more than just notes but I think you can work with it.
You can choose to move one or all of them.
I found that I had more success in using handles to move notes rather than
captions because some of my captions were strange and occasionally wouldn't
move unless I used their handles.
I think you could also use this sort of idea if you had hidden many notes and
only wanted to show one instead of unhiding them all.
Hope you have as much fun using Powerpro as I have.
-Rick
;Move notes back on screen
local v=vec.createFromWords(win.handlelist("*"))
;;create a list of windows
local v2=vec.create(v.length,1)
;;create a vector to hold powerpro windows
local v3=vec.create(v.length,1)
;;create a vector to hold powerpro handles
local b = 0
local off = 10 ;;create offset value
for(local i=0; i<v.length; i++)
if (win.exename(v[i])=="powerpro") do
v2[b] = win.caption(v[i])
;;if they are powerpro put the captions in the vector
v3[b] = v[i] ;;get the handles for powerpro windows
b++
endif
endfor
v2[b] = "All" ;;Add a choice for all
answ1 = v2.showmenu ;;show the menu answ1 is an index
answ = v2[answ1] ;;answ is the value
if (answ == "All") do
for (local i=0; i<v3.length; i++)
win.move(v3[i], 400-off, 400-off) ;;move the window
off = off + 20 ;;offset windows
endfor
else
win.move(v3[answ1], 100, 100) ;;Move one note
endif