PDA

View Full Version : Adobe woes...


rhosk
10-21-2003, 06:30 AM
This relates to this post (http://www.indigorose.com/ubbthreads/showflat.php?Cat=&Board=UBB2&Number=27261&page=0&v iew=collapsed&sb=5&o=&fpart=1)
I managed to solve the simple "Reader" problem hands down and I thank you all who contributed and helped me with my novice-ness.

The users with the "full Adobe software" is yet another issue. Apparently, when any of this software launches, there are a few processes that stick in task manager and it's really interrupting my CD interactivity. The "User Guides" are in PDF format and I have to include these in the presentation.

I guess a good question would be - can I use a "wildcard" to look for these windows in task manager to terminate their processes while navigating the CD? Like I said, I cured the problem with "Adobe Reader" window, but come to find out there's more - Adobe Acrobat Professional, Adbe(correct spelling)AcroFocusWatch, AcrobatIEHelper...does the list go on? When opening any of these user guides, then subsequently "moving on" by selecting another feature, Adobe likes throwing these annoying alerts at you, which like I said, is very intruding to say the least.

If you happen to have the full program (and I'm not saying that I dislike the program at all for you advocates :)), can you tell me what other processes/windows are created when executing? Or a mere wildcard statement that will get rid of them only for viewing of the CD? Any help would be appreciated immensely.

rhosk
10-21-2003, 09:02 AM
Well, I found a script on the forum here that helps a lot, but this only searches for the first window it comes to, then ends. Is there a way to search for more than one occurance, and in turn, close all occurances?

%WndTitles% = Window.GetTitles
%Count% = String.CountDelimitedStrings ("%WndTitles%", ";;")
%Ctr% = "0"
WHILE (%Ctr% < %Count%)
%Title% = String.GetDelimitedString ("%WndTitles%", ";;", %Ctr%)
%FoundPos% = String.Find ("%Title%", "Adobe", 0)
IF (%FoundPos% > -1)
%hWnd% = Window.Find ("%Title%")
Window.Close ("%hWnd%", TerminateProcess)
%Ctr% = "%Count%"
END IF
%Ctr% = Evaluate (%Ctr% + 1 )
END WHILE

Thanks for any tips.

TJ_Tigger
10-21-2003, 09:57 AM
Can you perform your search on "Acro"? In the above post the windows all have that string in common. That should allow you to find each window and close them appropriately.

I don't have Acrobat 6 still on version 5.

Tigg

rhosk
10-21-2003, 10:13 AM
No, that's just it, with version 5, the process is called "Adobe Reader" (no Acro). I tried making a window called "Acro" (with the process being acro.exe) and had acro as my search and it only closed the Reader in version 6, didn't close my made window. I just want to be able to find all those processes and terminate them while they view the CD.

TJ_Tigger
10-21-2003, 10:15 AM
You could try this as well

%AcroTitles% = ""
%WndTitles% = Window.GetTitles
%count% = String.CountDelimitedStrings ("%WndTitles%", ";;")
%Ctr% = Evaluate (0)
WHILE (%Ctr% < %Count%)
%Title% = String.GetDelimitedString ("%WndTitles%", ";;", %Ctr%)
%FoundPos% = String.Find ("%Title%", "Acro", 0)
IF (%FoundPos% != -1)
%AcroTitles% = "%AcroTitles%;;%Title%"
ELSE
%FoundPos% = String.Find ("%Title%", "Adobe", 0)
IF (%FoundPos% != -1)
%AcroTitles% = "%AcroTitles%;;%Title%"
END IF
END IF
%Ctr% = Evaluate (%Ctr% + 1)
END WHILE
%Result% = Dialog.MessageBox ("Title", "%AcroTitles%", Ok, Question)


The above would search for "Acro" and if that fails (%FoundPos% = -1) then it would search for "Adobe". If the second fails it is not added to the %AcroTitles% variable. It then displays in a dialog box rather than closing. The additional search for Adobe found this page in IE as well.

HTH
Tigg

=-=-=-=-=-=-Cut and Paste Code=-=-=-=-=-=
<IR_ACTIONS_LIST>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%AcroTitles%</Variable>
<Value/>
<Evaluate>0</Evaluate>
</Action>
<Action name="Get Titles">
<Type>129</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%WndTitles%</Variable>
<VariableDelimiter>;;</VariableDelimiter>
</Action>
<Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%count%</Variable>
<Source>%WndTitles%</Source>
<Delimiter>;;</Delimiter>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Ctr%</Variable>
<Value>0</Value>
<Evaluate>1</Evaluate>
</Action>
<Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Condition>%Ctr% &amp;lt; %Count%</Condition>
</Action>
<Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Title%</Variable>
<Source>%WndTitles%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Ctr%</ItemIndex>
</Action>
<Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%Title%</SearchIn>
<SearchFor>Acro</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
<Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%AcroTitles%</Variable>
<Value>%AcroTitles%;;%Title%</Value>
<Evaluate>0</Evaluate>
</Action>
<Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
<Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%Title%</SearchIn>
<SearchFor>Adobe</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
<Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%AcroTitles%</Variable>
<Value>%AcroTitles%;;%Title%</Value>
<Evaluate>0</Evaluate>
</Action>
<Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
<Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Ctr%</Variable>
<Value>%Ctr% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
<Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
<Action name="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<DialogTitle>Title</DialogTitle>
<DialogMessage>%AcroTitles%</DialogMessage>
<Icon>3</Icon>
<Variable>%Result%</Variable>
<DialogType>0</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
</IR_ACTIONS_LIST>

TJ_Tigger
10-21-2003, 10:23 AM
This line from your code

%Ctr% = "%Count%"

Would only allow the actions to be performed once. It will only close the first instance it found. Remove that and the While loop will continue looking for "Adobe" in the rest of the strings.

Tigg

rhosk
10-21-2003, 11:32 AM
Tigg, you are a God! I got everthing working except for one tiny (well major) thing. I'll paste the code, modified to close the windows, which it does beautifully I might add, but when I open the "Adobe Reader" only and and execute this code, my application shuts down???? I'm this || close. If I don't open the Adobe Reader and have (yes, even this post in IE up) my homemade acro window, they both shut down nicely! I just can't figure out why my application is terminating after the Adobe Reader is opened?? Hopefully you'll see something right away?

%AcroTitles% = ""
%WndTitles% = Window.GetTitles
%count% = String.CountDelimitedStrings ("%WndTitles%", ";;")
%Ctr% = Evaluate (0)
WHILE (%Ctr% < %Count%)
%Title% = String.GetDelimitedString ("%WndTitles%", ";;", %Ctr%)
%FoundPos% = String.Find ("%Title%", "Acro", 0)
IF (%FoundPos% != -1)
%AcroTitles% = "%AcroTitles%;;%Title%"
%hWnd% = Window.Find ("%Title%")
Window.Close ("%hWnd%", TerminateProcess)
ELSE
%FoundPos% = String.Find ("%Title%", "Adobe", 0)
IF (%FoundPos% != -1)
%AcroTitles% = "%AcroTitles%;;%Title%"
%hWnd% = Window.Find ("%Title%")
Window.Close ("%hWnd%", TerminateProcess)
END IF
END IF
%Ctr% = Evaluate (%Ctr% + 1)
END WHILE



<IR_ACTIONS_LIST>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%AcroTitles%</Variable>
<Value/>
<Evaluate>0</Evaluate>
</Action>
<Action name="Get Titles">
<Type>129</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%WndTitles%</Variable>
<VariableDelimiter>;;</VariableDelimiter>
</Action>
<Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%count%</Variable>
<Source>%WndTitles%</Source>
<Delimiter>;;</Delimiter>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Ctr%</Variable>
<Value>0</Value>
<Evaluate>1</Evaluate>
</Action>
<Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Condition>%Ctr% &amp;lt; %Count%</Condition>
</Action>
<Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Title%</Variable>
<Source>%WndTitles%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Ctr%</ItemIndex>
</Action>
<Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%Title%</SearchIn>
<SearchFor>Acro</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
<Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%AcroTitles%</Variable>
<Value>%AcroTitles%;;%Title%</Value>
<Evaluate>0</Evaluate>
</Action>
<Action name="Find">
<Type>127</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<FindText>%Title%</FindText>
<Variable>%hWnd%</Variable>
</Action>
<Action name="Close">
<Type>130</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<hWnd>%hWnd%</hWnd>
<IfRunning>1</IfRunning>
<ProgramDescription>Adobe</ProgramDescription>
</Action>
<Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
<Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%Title%</SearchIn>
<SearchFor>Adobe</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
<Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Condition>%FoundPos% != -1</Condition>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%AcroTitles%</Variable>
<Value>%AcroTitles%;;%Title%</Value>
<Evaluate>0</Evaluate>
</Action>
<Action name="Find">
<Type>127</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<FindText>%Title%</FindText>
<Variable>%hWnd%</Variable>
</Action>
<Action name="Close">
<Type>130</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<hWnd>%hWnd%</hWnd>
<IfRunning>1</IfRunning>
<ProgramDescription>Adobe</ProgramDescription>
</Action>
<Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
<Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
<Action name="Set Value">
<Type>6</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Ctr%</Variable>
<Value>%Ctr% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
<Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
</IR_ACTIONS_LIST>

Thanks for all your help so far, I'm really close here.

Corey
10-21-2003, 11:59 AM
Tigg, you are a God!


The Polynesian Love God actually, according to his bio...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

rhosk
10-21-2003, 12:26 PM
Well, debugged myself. It seems because I have the PDF loading in a BrowserObject, it becomes part of the Autoplay application (window - AdbeAcroFocusWatch) and when I search for "acro" string, it closes this along with the application; can't have that, LOL.

The "Adobe" string is fine and doesn't seem to cause any problems here local. Thanks again for the help!

TJ_Tigger
10-21-2003, 01:01 PM
You could put another IF statement in that would exclued the AdbeAcroFocusWatch from being searched. Or you could do a search and replace in your %WndTitles% to remove that string from the original. Just a coupld of ideas anyway.


Corey

Actually I always related more to Pan/Kokopelli, the image of a Flute playing God of Fertility was always intreaging.

rhosk
10-21-2003, 01:11 PM
Hey, thanks again Tigg. I just used "Adobe" and full "Acrobat" and if these processes terminate, it terminates the *Focus* stuff as well after the fact - without shutting down my program :crazy:

Anyway, you steered me right, I appreciate it a lot!!

Corey
10-21-2003, 01:22 PM
Kokopelli is my fave. I think I might start carving Kokopelli onto all my new skateboards starting with the next one, should be good for a larf.

Thoth (wisest of the Egyptian gods)isn't bad either because it was upon first discovering him that I finally learned to say, "Thpaghetti Thoth" which has its own obvious merits... :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)