Tried this after checking the documentation for FolderItem.TrueChild and still
no go ...
elseif not f.trueChild DesktopFolder("MyApp.app") then
msgbox "The alias (MyApp alias) could not be opened, because the original item
cannot be found" + EOL +_
"Please make sure that the alias is not orphaned."
return
Lennox.
Lennox Jacob <[EMAIL PROTECTED]> wrote: Hi Charles,
I checked it, not much info there ... still no go.
Lennox.
Charles Yeomans wrote: Ah. Check the documentation for FolderItem.TrueChild.
Charles Yeomans
On Dec 21, 2006, at 4:07 PM, Lennox Jacob wrote:
> Thanks Charles,
>
> The message is -
>
> that method needs more parameters:
>
> elseif f.trueChild = nil then
> msgbox "The alias (MyApp alias) could not be opened, because
> the original item cannot be found" + EOL +_
> "Please make sure that the alias is not orphaned."
> return
>
> Lennox.
>
> Charles Yeomans wrote: I'd suggest you
> tell us what error messages the compiler provided.
>
> Charles Yeomans
>
> On Dec 21, 2006, at 3:46 PM, Lennox Jacob wrote:
>
>> Hello,
>> This is what I have
>>
>> DIM EOL as New EndOfLine
>>
>> 'Dim f as FolderItem = DocumentsFolder.Child("MyApp.app") 'If app
>> exists
>> Dim f as FolderItem = DocumentsFolder.Child("MyApp alias") 'if
>> MyApp alias exists
>> 'Dim f as FolderItem = DocumentsFolder.Child("MyApp") 'if MyApp
>> alias exists and its name is changed to MyApp
>>
>> If f = Nil or f.Exists = False then
>> msgbox "The item (MyApp alias) is not found" + EOL +_
>> "Please make sure that it is there, and try again."
>> return
>>
>> elseif f.trueChild = nil then
>> msgbox "The alias (MyApp alias) could not be opened, because
>> the original item cannot be found" + EOL +_
>> "Please make sure that the alias is not orphaned."
>> return
>> else
>> f.launch
>> end if
>>
>> ... it does not compile.
>>
>> any suggestions?
>>
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
>
>
> Search the archives of this list here:
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Unsubscribe or switch delivery mode:
>
>
> Search the archives of this list here:
>
_______________________________________________
Unsubscribe or switch delivery mode:
Search the archives of this list here:
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
Search the archives of this list here:
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>