• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Just returning Filename... not whole path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just returning Filename... not whole path


  • Subject: Re: Just returning Filename... not whole path
  • From: Brett Conlon/HU/AU/SonyDADC <email@hidden>
  • Date: Mon, 24 Oct 2005 11:27:56 +1000


Sorry Gary,

I was forwarding my own previous post back to the list as I hadn't received a response - kinda gently prompting for a response. It was a continuation of a thread that has been going since Fri (I think) of last week.

What I'm trying to do is have the file name, of the file/s dropped onto the droplet, appear in the display dialog window. When a user drops multiple files onto the droplet and it asks them to enter the DVD title, if it doesn't mention the name of the file it's working on then the user could enter the wrong title for the wrong file.

Sorry again, this was all explained in my previous posts... I didn't want to send a huge email boring the list with the whole thing again.  <8-}

Anyway, the error is saying it is an alias and can't return just the file name. I can get it working by just entering aFile in the display dialog line but the resulting dialog shows the entire file path, making the dialog look unnecessarily confusing.

Cheers,

Coj

The whole script is much longer (there are a number of handlers that were removed) so what you saw was just the parts that were playing up.



"Gary (Lists)" <email@hidden>

"Brett Conlon/HU/AU/SonyDADC" wrote:

> The code so far (or the bits you need to see):

[clipped lots of odd code]

> Can't get name of alias "...PATH TO FILE.PDF"

What are you trying to do? Is the subject of this email your goal?

I didn't see anything in your code that did anything at all except show a
dialog where I could enter a string.

Nothing I read suggested you were trying to get the name of a file at all.

:-|

--
Gary


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Just returning Filename... not whole path
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Just returning Filename... not whole path (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: Re: Just returning Filename... not whole path
  • Next by Date: Re: Just returning Filename... not whole path
  • Previous by thread: Re: Just returning Filename... not whole path
  • Next by thread: Re: Just returning Filename... not whole path
  • Index(es):
    • Date
    • Thread