• 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
problem with Microsoft
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with Microsoft


  • Subject: problem with Microsoft
  • From: "koenig.yvan" <email@hidden>
  • Date: Sun, 14 Oct 2012 20:16:51 +0200

Hello

Trying to help somebody, a month ago I downloaded the trial version of Microsoft Office.

Now it's dead so I am ready to uninstall it.

Working on a script, I tried to apply it to a folder installed by Microsoft :
"Macintosh HD:Users:myAccount:Documents:Données utilisateurs Microsoft:Excel Script Menu Items:

and my script failed.

I discovered that the folder contain files whose name embed antislash character. example :

nset foolishFile to "Macintosh HD:Users:myAccount:Documents:Données utilisateurs Microsoft:Excel Script Menu Items:Exemples de flux de travail de l'AutomatorConvert the format of specified Excel files\\scg.workflow"

tell application "System Events"
try
class of disk item foolishFile
--> error number -1728 from disk item "Macintosh HD:Users:myAccount:Documents:Données utilisateurs Microsoft:Excel Script Menu Items:Exemples de flux de travail de l'AutomatorConvert the format of specified Excel files\\scg.workflow"
end try
try
name of disk item foolishFile
--> error number -1728 from disk item "Macintosh HD:Users:myAccount:Documents:Données utilisateurs Microsoft:Excel Script Menu Items:Exemples de flux de travail de l'AutomatorConvert the format of specified Excel files\\scg.workflow"
end try
end tell

try
get info for file foolishFile
on error errMsg number errNbr
(errNbr as text) & ", " & errMsg
--> "-43, Le fichier file Macintosh HD:Users:myAccount:Documents:Données utilisateurs Microsoft:Excel Script Menu Items:Exemples de flux de travail de l'AutomatorConvert the format of specified Excel files\\scg.workflow est introuvable."
end try


Which is wrong ? Apple whose tools are fooled by the file name or Microsoft which build odd names.

I ask here because, as most of the time I name this company Merdosoft, I may be a bit biased.

Yvan KOENIG (VALLAURIS, France) dimanche 14 octobre 2012 20:16:24





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: problem with Microsoft
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: [ANN]Scripting Helper Update
  • Next by Date: Scripting Preview
  • Previous by thread: Re: [ANN]Scripting Helper Update
  • Next by thread: Re: problem with Microsoft
  • Index(es):
    • Date
    • Thread