View Full Version : Where can i see the Window Title??
infernalshade
13th June 2008, 08:31 AM
Hi Guys!
I have SPB MobileShell installed on my Phone. Now i want to create a little Mort-Script, but to do this, i have to know the MobileShell Window-Name...Is there a way to find it out?
greetz,
infernalshade
infernalshade
13th June 2008, 10:52 AM
Now i've made a little Mort-Script:
windowtitle=ActiveWindow()
wt=windowtitle&"^NL^"
WriteFile("wt.txt",wt,1)
sleep(1000)
Run("Programme\MortScript\wt.mscr")
When i run it, it'll write down the Window Title of the Curently shown Window in the File wt.txt every second!
Now the Files look like this (Line-Numbers are not included in the File, but i made it for readability..) :
1 Calendar
2 Calendar
3 Calendar
4 Contacts
5 Contacts
6 Desktop
7 Desktop
8
9
10
11
12
13 File Explorer
14 File Explorer
15 File Explorer
In line 8-12 i've opened SPB Mobile Shell and switched through the Tabs...How could it be, that there is no Window Title?!?!? If i run PointUI Home (Another WM Shell) the Window title "PointUI : Home" is saved in the file!
Any Idea?!
greetz
infernalshade
infernalshade
13th June 2008, 01:10 PM
Problem solved:
It works with "ActivePoc()" (Reads the Process Name) instead of "ActiveWnd()" (Reads the Window Name)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.