PDA

View Full Version : Apple QuickTime Program Error



HenryAdams
09-21-2002, 05:14 PM
Most of this code works correctly. However, the section that is supposed to bring up a dialog box if Acrobat Reader is not found and offer to search for the full version is not quite right(er, it's not working). Would someone look at this and show me where the error is, or attach the corrected code?

Thanks

<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>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>AcroRd32.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</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>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</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>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</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>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</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>%Found%</Variable>
<Value>TRUE</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="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>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</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>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</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="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>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</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="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>0</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>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%AcroVar% = False))</Condition>
</Action>
- <Action name="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Reader not Found</DialogTitle>
<DialogMessage>Acrobat reader was not found, would you like to search for the full Acrobat version?</DialogMessage>
<Icon>3</Icon>
<Variable>%FullVersion%</Variable>
<DialogType>1</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%FullVersion% = Yes))</Condition>
</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>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>Acrobat.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</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>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</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>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</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>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>3</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>4</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>TRUE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>3</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>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</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>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>2</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>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</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="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="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogMessage>Sorry, both Acrobat reader and the full Acrobat version could not be found. Would you like to manually search for them?</DialogMessage>
<Icon>0</Icon>
<Variable>%Result%</Variable>
<DialogType>2</DialogType>
<DefaultButton>0</DefaultButton>
</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>%Result% = OK</Condition>
</Action>
- <Action name="File Browse">
<Type>54</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DefaultDirectory>%MyDocumentsDir%</DefaultDirectory>
<DefaultFileName>Acrobat.exe</DefaultFileName>
<DefaultFileExtenstion>*.exe</DefaultFileExtenstion>
<FileFilter>All Files (*.*)|*.*</FileFilter>
<AllowMultipleSelect>0</AllowMultipleSelect>
<FileMustExist>1</FileMustExist>
<Variable>%AcroVar%</Variable>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogType>0</DialogType>
</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="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Result% = OK</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>%AcroVar%</Variable>
<Value>False</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="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%AcroVar% > 0))</Condition>
</Action>
- <Action name="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Acrobat Version</DialogTitle>
<DialogMessage>You have version %AcroVar% installed</DialogMessage>
<Icon>1</Icon>
<Variable>%Result%</Variable>
<DialogType>0</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%AcroVar% < 1))</Condition>
</Action>
- <Action name="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Acrobat Version</DialogTitle>
<DialogMessage>Sorry you do not have Acrobat Installed. It is reccomended that you click the button below and install Acrobat</DialogMessage>
<Icon>1</Icon>
<Variable>%Result%</Variable>
<DialogType>0</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
</IR_ACTIONS_LIST>

Derek
09-21-2002, 05:32 PM
the xml is not pasting or importing .. can yu attach the exported page please /ubbthreads/images/icons/smile.gif

TJ_Tigger
09-21-2002, 09:09 PM
That is weird on not being able to paste it into AMS. What version are you running?

Corey
09-21-2002, 10:44 PM
That's a big pronto on the 10-4 for the Rodger-dodger big D, won't paste here neither. The plot thickens... Da-da-da dum...

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

HenryAdams
09-22-2002, 11:04 AM
I exported the code to an xml file and copied the contents of the xml, then pasted into the post area. If this is not the correct procedure, please advise. I have also attached the page with the code in question via page>export.

- <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>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>AcroRd32.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</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>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</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>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</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>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</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>%Found%</Variable>
<Value>TRUE</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="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>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</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>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</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="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>%AcroVar%</Variable>
<Value>False</Value>
<Evaluate>0</Evaluate>
</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="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>0</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>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%AcroVar% = False))</Condition>
</Action>
- <Action name="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Reader not Found</DialogTitle>
<DialogMessage>Acrobat reader was not found, would you like to search for the full Acrobat version?</DialogMessage>
<Icon>3</Icon>
<Variable>%FullVersion%</Variable>
<DialogType>1</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%FullVersion% = Yes))</Condition>
</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>%CRCs%</Variable>
<Value />
<Evaluate>0</Evaluate>
</Action>
- <Action name="Search">
<Type>18</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Delimiter>;;</Delimiter>
<FileName>Acrobat.exe</FileName>
<LocalFixedDrives>1</LocalFixedDrives>
<RemoteDrives>0</RemoteDrives>
<RemovableDrives>1</RemovableDrives>
<CDROMDrives>1</CDROMDrives>
<SpecificDirectoriesDrives>1</SpecificDirectoriesDrives>
<CustomDirectoriesDrives>C:\Program Files\Adobe</CustomDirectoriesDrives>
<RecurseCustom>0</RecurseCustom>
<DialogTitle />
<DialogText>Searching for file...</DialogText>
<ShowDialog>1</ShowDialog>
</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>%AcroVar% != ""</Condition>
</Action>
- <Action name="Count Delimited Strings">
<Type>63</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Total%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
</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>%Count%</Variable>
<Value>0</Value>
<Evaluate>0</Evaluate>
</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>%Found%</Variable>
<Value>FALSE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="WHILE">
<Type>204</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>(%Count% < %Total%) AND (%Found% = "FALSE")</Condition>
</Action>
- <Action name="Get Delimited String">
<Type>64</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%CurrFile%</Variable>
<Source>%AcroVar%</Source>
<Delimiter>;;</Delimiter>
<ItemIndex>%Count%</ItemIndex>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>1</FileInformationToCollect>
<Variable>%FileCRC%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="Find">
<Type>21</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%FoundPos%</Variable>
<SearchIn>%CRCs%</SearchIn>
<SearchFor>%FileCRC%</SearchFor>
<StartAtPosition>0</StartAtPosition>
<SearchDirection>0</SearchDirection>
<CaseSensitive>0</CaseSensitive>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>3</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>4</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Found%</Variable>
<Value>TRUE</Value>
<Evaluate>0</Evaluate>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>3</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>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%Count%</Variable>
<Value>%Count% + 1</Value>
<Evaluate>1</Evaluate>
</Action>
- <Action name="END WHILE">
<Type>205</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</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>%Found% = "TRUE"</Condition>
</Action>
- <Action name="Get Information">
<Type>14</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>0</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<FileInformationToCollect>0</FileInformationToCollect>
<Variable>%AcroVar%</Variable>
<FileName>%CurrFile%</FileName>
</Action>
- <Action name="ELSE">
<Type>206</Type>
<Function>1</Function>
<DTIndentLevel>2</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>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Variable>%AcroVar%</Variable>
<Value>False</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="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="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogMessage>Sorry, both Acrobat reader and the full Acrobat version could not be found. Would you like to manually search for them?</DialogMessage>
<Icon>0</Icon>
<Variable>%Result%</Variable>
<DialogType>2</DialogType>
<DefaultButton>0</DefaultButton>
</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>%Result% = OK</Condition>
</Action>
- <Action name="File Browse">
<Type>54</Type>
<Function>0</Function>
<DTIndentLevel>3</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DefaultDirectory>%MyDocumentsDir%</DefaultDirectory>
<DefaultFileName>Acrobat.exe</DefaultFileName>
<DefaultFileExtenstion>*.exe</DefaultFileExtenstion>
<FileFilter>All Files (*.*)|*.*</FileFilter>
<AllowMultipleSelect>0</AllowMultipleSelect>
<FileMustExist>1</FileMustExist>
<Variable>%AcroVar%</Variable>
<DialogTitle>Cannot Locate File</DialogTitle>
<DialogType>0</DialogType>
</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="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>%Result% = OK</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>%AcroVar%</Variable>
<Value>False</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="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%AcroVar% > 0))</Condition>
</Action>
- <Action name="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Acrobat Version</DialogTitle>
<DialogMessage>You have version %AcroVar% installed</DialogMessage>
<Icon>1</Icon>
<Variable>%Result%</Variable>
<DialogType>0</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
- <Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<Condition>((%AcroVar% < 1))</Condition>
</Action>
- <Action name="Message Box">
<Type>5</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
<DialogTitle>Acrobat Version</DialogTitle>
<DialogMessage>Sorry you do not have Acrobat Installed. It is reccomended that you click the button below and install Acrobat</DialogMessage>
<Icon>1</Icon>
<Variable>%Result%</Variable>
<DialogType>0</DialogType>
<DefaultButton>0</DefaultButton>
</Action>
- <Action name="END IF">
<Type>201</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
- <ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage />
<OnErrorAction>0</OnErrorAction>
<JumpToLabel />
</ErrorHandling>
</Action>
</IR_ACTIONS_LIST>

11979-acrobat.pg4 (http://www.indigorose.com/ubbthreads/uploads/11979-acrobat.pg4)

Derek
09-22-2002, 12:14 PM
To paste the Actions, simply highlight the Actions you wish to include and copy [the Actions actually copy to the clipboard as xml], then paste into the forum like regular text. /ubbthreads/images/icons/smile.gif

Derek
09-22-2002, 01:53 PM
I have attached the pg4 file ... I have disabled your Actions and left them there for you and simply added Actions above them.

The Actions check to see if a default viewer for pdf is installed. If so, it provides info on the version number. If not, it gives the user oppertunity to install. YES will install : NO will not and does nothing.

You can adjust the Actions to suit.

Hope this helps, shout if you need more.

11990-acrobatR.pg4 (http://www.indigorose.com/ubbthreads/uploads/11990-acrobatR.pg4)

HenryAdams
09-22-2002, 09:07 PM
Hi Derek,

I downloaded the zip file; but I did not find a pg4 file to import into my project????

Derek
09-23-2002, 02:24 AM
bit lost on that one ... if you dloaded the 'zip' then you should have the file. The zip file is the pg4 file. You have to import the whole file as is.

HenryAdams
09-23-2002, 09:54 AM
Well, as the old saying goes, try to learn something new every day. All of my experience with zip files is that you extract them and then use them.

Additionally, when I go to page import in AMS, the default extension is am4.

After reading your last post I 'discovered' that page import also has the capacity to import zip files directly. Great feature.

Thanks for all your help Derek!

Bruce
09-23-2002, 11:01 AM
Once again Derek you are the "Poop!"

Lorne
09-23-2002, 02:47 PM
HenryAdams,

It looks like you opened the xml file in Internet Explorer and then copied and pasted from there. (Internet Explorer is the default viewer for .xml files, so if you double-click on an XML file, it will probably open up in that program.)

When you want to copy and paste actions into this forum, either load the XML file into a regular text file (like Notepad), or just copy them straight out of AutoPlay Media Studio.

In other words, highlight the actions, press Ctrl-C, switch to the post you're writing, and then press Ctrl-V.